Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed catalog is being showed as unchanged #283

Closed
amuhametov opened this issue Jul 26, 2016 · 14 comments
Closed

Failed catalog is being showed as unchanged #283

amuhametov opened this issue Jul 26, 2016 · 14 comments

Comments

@amuhametov
Copy link

Hi!

I've catalog failed with this error:
https://www.dropbox.com/s/9aklf7b3ncxe9c4/Screenshot%202016-07-26%2015.13.50.png?dl=0
At the same time the node's status is "unchanged":
https://www.dropbox.com/s/pr6qjosqbauquci/Screenshot%202016-07-26%2015.14.34.png?dl=0

I suppose it should be "failed" instead of "unchanged"

@corey-hammerton
Copy link
Contributor

Can you curl your PuppetDB server for that report and paste the results?

You can use, for example:
curl -XGET localhost:8080/pdb/query/v4/reports -d 'query=["=", "hash", "daa49f54e6e8481337f160b334ac8f107e8c2c40"]'

@amuhametov
Copy link
Author

[{"catalog_uuid":"982693b6-b6ff-45aa-b5a1-c43cfb42233c","receive_time":"2016-07-29T04:55:48.530Z","hash":"518070ea147f6aed6c3d0e825e0d2382acc006a2","transaction_uuid":"aa247fe5-7c2b-492f-b5b7-587be44f03d1","puppet_version":"4.5.2","noop":false,"logs":{"data":[{"file": null, "line": null, "tags": ["err"], "time": "2016-07-29T07:55:48.105886136+03:00", "level": "err", "source": "Puppet", "message": "Failed to apply catalog: sysctl parameter net.ipv4.conf.eth1.rp_filter wasn't found on this system"}],"href":"/pdb/query/v4/reports/518070ea147f6aed6c3d0e825e0d2382acc006a2/logs"},"report_format":5,"start_time":"2016-07-29T04:54:07.302Z","producer_timestamp":"2016-07-29T04:55:48.406Z","cached_catalog_status":"not_used","end_time":"2016-07-29T04:55:40.998Z","resource_events":{"data":[{"status":"skipped","timestamp":"2016-07-29T07:55:47.55+03:00","resource_type":"Exec","resource_title":"mcollective-restart","property":null,"new_value":null,"old_value":null,"message":null,"file":"/etc/puppetlabs/code/modules/mcollective/manifests/instance.pp","line":89,"containment_path":["Stage[main]","Mcollective::Instance","Exec[mcollective-restart]"],"containing_class":”Mcollective::Instance"}, {"status":"skipped","timestamp":"2016-07-29T07:55:47.135+03:00","resource_type":"Exec","resource_title":"puppet-restart","property":null,"new_value":null,"old_value":null,"message":null,"file":"/etc/puppetlabs/code/modules/puppet4/manifests/agent.pp","line":25,"containment_path":["Stage[main]","Puppet4::Agent","Exec[puppet-restart]"],"containing_class":"Puppet4::Agent"}],"href":"/pdb/query/v4/reports/518070ea147f6aed6c3d0e825e0d2382acc006a2/events"},"status":"unchanged","configuration_version":"88376bcbe930b376061e446bd3eb9d0717761d49","environment":"production","code_id":"88376bcbe930b376061e446bd3eb9d0717761d49","certname":"node1","metrics":{"data":[{"name": "changed", "value": 0, "category": "resources"}, {"name": "failed", "value": 0, "category": "resources"}, {"name": "failed_to_restart", "value": 0, "category": "resources"}, {"name": "out_of_sync", "value": 0, "category": "resources"}, {"name": "restarted", "value": 0, "category": "resources"}, {"name": "scheduled", "value": 0, "category": "resources"}, {"name": "skipped", "value": 2, "category": "resources"}, {"name": "total", "value": 255, "category": "resources"}, {"name": "anchor", "value": 0.000452192, "category": "time"}, {"name": "augeas", "value": 1.1774491679999999, "category": "time"}, {"name": "config_retrieval", "value": 8.456145605, "category": "time"}, {"name": "cron", "value": 0.0008603250000000001, "category": "time"}, {"name": "datacat_collector", "value": 0.005018035, "category": "time"}, {"name": "datacat_fragment", "value": 0.00024012300000000002, "category": "time"}, {"name": "exec", "value": 0.081281991, "category": "time"}, {"name": "file", "value": 0.411121688, "category": "time"}, {"name": "group", "value": 0.00079108, "category": "time"}, {"name": "ini_setting", "value": 0.00449484, "category": "time"}, {"name": "package", "value": 83.33360926299999, "category": "time"}, {"name": "schedule", "value": 0.000233024, "category": "time"}, {"name": "service", "value": 0.219919308, "category": "time"}, {"name": "sysctl", "value": 0.000213649, "category": "time"}, {"name": "total", "value": 93.696391427, "category": "time"}, {"name": "user", "value": 0.0017939420000000002, "category": "time"}, {"name": "yumrepo", "value": 0.002767194, "category": "time"}, {"name": "total", "value": 0, "category": "changes"}, {"name": "failure", "value": 0, "category": "events"}, {"name": "success", "value": 0, "category": "events"}, {"name": "total", "value": 0, "category": "events"}],"href":"/pdb/query/v4/reports/518070ea147f6aed6c3d0e825e0d2382acc006a2/metrics"}}]

On 28 Jul 2016, at 23:51, Corey Hammerton <[email protected] mailto:[email protected]> wrote:

Can you curl your PuppetDB server for that report and paste the results?

You can use, for example:
curl -XGET localhost:8080/pdb/query/v4/reports -d 'query=["=", "hash", "daa49f54e6e8481337f160b334ac8f107e8c2c40"]'


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub #283 (comment), or mute the thread https://github.com/notifications/unsubscribe-auth/AAn1lZaIjDIRwMghXAYHdMFOTpqOqJiFks5qaRZHgaJpZM4JVFdl.

@amuhametov
Copy link
Author

@corey-hammerton any ideas?

@corey-hammerton
Copy link
Contributor

Sorry for the delay, I have not had a chance to analyze this output as I've had many things on the go over the last couple weeks.

I will update this issue when I've had a chance to look at this.

@corey-hammerton
Copy link
Contributor

OK, I've had a chance to look at the catalog JSON. There is indeed an error message in the logs section, I've also noticed a status key value of "unchanged" but this doesn't affect the overall Node or Report status.

The easiest thing next to do is submit the raw JSON from the Reports endpoint. Specifically I want to see the status field.

@tux-o-matic
Copy link
Contributor

tux-o-matic commented Sep 6, 2016

This is quite misleading. Whatever is behind the macros, the one used on the 'node' and reports page is able to show a run as "failed" where as the 'nodes' page will show unchanged.

@amuhametov
Copy link
Author

Here is another machine's report. Status is "changed" due to some resources have been applied, but /etc/puppetlabs/code/modules/nginx/manifests/init.pp has not been applied properly.

[
{
"cached_catalog_status": "not_used",
"catalog_uuid": "950f9e62-a1d9-4031-a42d-65acbd058f7c",
"certname": "mrr01.test.domain.ru",
"code_id": "ef469c3b637f3340998794079d9434bf588b7d2d",
"configuration_version": "ef469c3b637f3340998794079d9434bf588b7d2d",
"end_time": "2016-10-06T11:31:54.579Z",
"environment": "dev_master",
"hash": "15dc95253d4de077eb9ea7764cebe4bdf9fd4e49",
"logs": {
"data": [
{
"file": "/etc/puppetlabs/code/modules/nginx/manifests/vhost.pp",
"level": "notice",
"line": 25,
"message": "content changed '{md5}ef182de72fa9c3f1f1957a3a9c600020' to '{md5}4d61c5f89e74513df17062255b4db83b'",
"source": "/Stage[main]/Roles::Com_web_mirror/Roles::Com_web_mirror::Eachmirror[test.v2.domainplus.ru]/Com_webmirrors::Vhost[test.v2.domainplus.ru]/Nginx::Vhost[test.v2.domainplus.ru]/File[test.v2.domainplus.ru.conf]/content",
"tags": [
"notice",
"file",
"test.v2.domainplus.ru.conf",
"nginx::vhost",
"nginx",
"vhost",
"test.v2.domainplus.ru",
"domain_webmirrors::vhost",
"domain_webmirrors",
"roles::domain_web_mirror::eachmirror",
"roles",
"domain_web_mirror",
"eachmirror",
"class",
"roles::domain_web_mirror",
"base",
"node",
"default"
],
"time": "2016-10-06T14:32:04.206033266+03:00"
},
{
"file": "/etc/puppetlabs/code/modules/nginx/manifests/vhost.pp",
"level": "notice",
"line": 25,
"message": "content changed '{md5}13a4137f8064d50eeb6e410b10e906ed' to '{md5}c60d3a86dec19e6307cf55889674e7e7'",
"source": "/Stage[main]/Roles::Com_web_mirror/Roles::Com_web_mirror::Eachmirror[test.pics.domain.ru]/Com_webmirrors::Vhost[test.pics.domain.ru]/Nginx::Vhost[test.pics.domain.ru]/File[test.pics.domain.ru.conf]/content",
"tags": [
"notice",
"file",
"test.pics.domain.ru.conf",
"nginx::vhost",
"nginx",
"vhost",
"test.pics.domain.ru",
"domain_webmirrors::vhost",
"domain_webmirrors",
"roles::domain_web_mirror::eachmirror",
"roles",
"domain_web_mirror",
"eachmirror",
"class",
"roles::domain_web_mirror",
"base",
"node",
"default"
],
"time": "2016-10-06T14:32:04.233876350+03:00"
},
{
"file": "/etc/puppetlabs/code/modules/nginx/manifests/init.pp",
"level": "notice",
"line": 115,
"message": "nginx: [warn] "ssl_stapling" ignored, no OCSP responder URL in the certificate",
"source": "/Stage[main]/Nginx/Exec[nginx-test]/returns",
"tags": [
"notice",
"exec",
"nginx-test",
"class",
"nginx",
"roles::domain_web_mirror",
"roles",
"domain_web_mirror",
"base",
"node",
"default",
"returns"
],
"time": "2016-10-06T14:32:04.729712060+03:00"
},
{
"file": "/etc/puppetlabs/code/modules/nginx/manifests/init.pp",
"level": "notice",
"line": 115,
"message": "nginx: [warn] "ssl_stapling" ignored, no OCSP responder URL in the certificate",
"source": "/Stage[main]/Nginx/Exec[nginx-test]/returns",
"tags": [
"notice",
"exec",
"nginx-test",
"class",
"nginx",
"roles::domain_web_mirror",
"roles",
"domain_web_mirror",
"base",
"node",
"default",
"returns"
],
"time": "2016-10-06T14:32:04.729992279+03:00"
},
{
"file": "/etc/puppetlabs/code/modules/nginx/manifests/init.pp",
"level": "notice",
"line": 115,
"message": "nginx: [warn] "ssl_stapling" ignored, no OCSP responder URL in the certificate",
"source": "/Stage[main]/Nginx/Exec[nginx-test]/returns",
"tags": [
"notice",
"exec",
"nginx-test",
"class",
"nginx",
"roles::domain_web_mirror",
"roles",
"domain_web_mirror",
"base",
"node",
"default",
"returns"
],
"time": "2016-10-06T14:32:04.730284302+03:00"
},
{
"file": "/etc/puppetlabs/code/modules/nginx/manifests/init.pp",
"level": "notice",
"line": 115,
"message": "nginx: [warn] "ssl_stapling" ignored, no OCSP responder URL in the certificate",
"source": "/Stage[main]/Nginx/Exec[nginx-test]/returns",
"tags": [
"notice",
"exec",
"nginx-test",
"class",
"nginx",
"roles::domain_web_mirror",
"roles",
"domain_web_mirror",
"base",
"node",
"default",
"returns"
],
"time": "2016-10-06T14:32:04.730567314+03:00"
},
{
"file": "/etc/puppetlabs/code/modules/nginx/manifests/init.pp",
"level": "notice",
"line": 115,
"message": "nginx: [warn] "ssl_stapling" ignored, no OCSP responder URL in the certificate",
"source": "/Stage[main]/Nginx/Exec[nginx-test]/returns",
"tags": [
"notice",
"exec",
"nginx-test",
"class",
"nginx",
"roles::domain_web_mirror",
"roles",
"domain_web_mirror",
"base",
"node",
"default",
"returns"
],
"time": "2016-10-06T14:32:04.730729425+03:00"
},
{
"file": "/etc/puppetlabs/code/modules/nginx/manifests/init.pp",
"level": "notice",
"line": 115,
"message": "nginx: [warn] "ssl_stapling" ignored, no OCSP responder URL in the certificate",
"source": "/Stage[main]/Nginx/Exec[nginx-test]/returns",
"tags": [
"notice",
"exec",
"nginx-test",
"class",
"nginx",
"roles::domain_web_mirror",
"roles",
"domain_web_mirror",
"base",
"node",
"default",
"returns"
],
"time": "2016-10-06T14:32:04.731025569+03:00"
},
{
"file": "/etc/puppetlabs/code/modules/nginx/manifests/init.pp",
"level": "notice",
"line": 115,
"message": "nginx: [warn] "ssl_stapling" ignored, no OCSP responder URL in the certificate",
"source": "/Stage[main]/Nginx/Exec[nginx-test]/returns",
"tags": [
"notice",
"exec",
"nginx-test",
"class",
"nginx",
"roles::domain_web_mirror",
"roles",
"domain_web_mirror",
"base",
"node",
"default",
"returns"
],
"time": "2016-10-06T14:32:04.731197248+03:00"
},
{
"file": "/etc/puppetlabs/code/modules/nginx/manifests/init.pp",
"level": "notice",
"line": 115,
"message": "nginx: [warn] "ssl_stapling" ignored, no OCSP responder URL in the certificate",
"source": "/Stage[main]/Nginx/Exec[nginx-test]/returns",
"tags": [
"notice",
"exec",
"nginx-test",
"class",
"nginx",
"roles::domain_web_mirror",
"roles",
"domain_web_mirror",
"base",
"node",
"default",
"returns"
],
"time": "2016-10-06T14:32:04.731453929+03:00"
},
{
"file": "/etc/puppetlabs/code/modules/nginx/manifests/init.pp",
"level": "notice",
"line": 115,
"message": "nginx: [warn] "ssl_stapling" ignored, no OCSP responder URL in the certificate",
"source": "/Stage[main]/Nginx/Exec[nginx-test]/returns",
"tags": [
"notice",
"exec",
"nginx-test",
"class",
"nginx",
"roles::domain_web_mirror",
"roles",
"domain_web_mirror",
"base",
"node",
"default",
"returns"
],
"time": "2016-10-06T14:32:04.731669192+03:00"
},
{
"file": "/etc/puppetlabs/code/modules/nginx/manifests/init.pp",
"level": "notice",
"line": 115,
"message": "nginx: [warn] "ssl_stapling" ignored, no OCSP responder URL in the certificate",
"source": "/Stage[main]/Nginx/Exec[nginx-test]/returns",
"tags": [
"notice",
"exec",
"nginx-test",
"class",
"nginx",
"roles::domain_web_mirror",
"roles",
"domain_web_mirror",
"base",
"node",
"default",
"returns"
],
"time": "2016-10-06T14:32:04.731828788+03:00"
},
{
"file": "/etc/puppetlabs/code/modules/nginx/manifests/init.pp",
"level": "notice",
"line": 115,
"message": "nginx: [warn] "ssl_stapling" ignored, no OCSP responder URL in the certificate",
"source": "/Stage[main]/Nginx/Exec[nginx-test]/returns",
"tags": [
"notice",
"exec",
"nginx-test",
"class",
"nginx",
"roles::domain_web_mirror",
"roles",
"domain_web_mirror",
"base",
"node",
"default",
"returns"
],
"time": "2016-10-06T14:32:04.732077297+03:00"
},
{
"file": "/etc/puppetlabs/code/modules/nginx/manifests/init.pp",
"level": "notice",
"line": 115,
"message": "nginx: [warn] "ssl_stapling" ignored, no OCSP responder URL in the certificate",
"source": "/Stage[main]/Nginx/Exec[nginx-test]/returns",
"tags": [
"notice",
"exec",
"nginx-test",
"class",
"nginx",
"roles::domain_web_mirror",
"roles",
"domain_web_mirror",
"base",
"node",
"default",
"returns"
],
"time": "2016-10-06T14:32:04.732268603+03:00"
},
{
"file": "/etc/puppetlabs/code/modules/nginx/manifests/init.pp",
"level": "notice",
"line": 115,
"message": "nginx: [warn] "ssl_stapling" ignored, no OCSP responder URL in the certificate",
"source": "/Stage[main]/Nginx/Exec[nginx-test]/returns",
"tags": [
"notice",
"exec",
"nginx-test",
"class",
"nginx",
"roles::domain_web_mirror",
"roles",
"domain_web_mirror",
"base",
"node",
"default",
"returns"
],
"time": "2016-10-06T14:32:04.732495530+03:00"
},
{
"file": "/etc/puppetlabs/code/modules/nginx/manifests/init.pp",
"level": "notice",
"line": 115,
"message": "nginx: [warn] "ssl_stapling" ignored, no OCSP responder URL in the certificate",
"source": "/Stage[main]/Nginx/Exec[nginx-test]/returns",
"tags": [
"notice",
"exec",
"nginx-test",
"class",
"nginx",
"roles::domain_web_mirror",
"roles",
"domain_web_mirror",
"base",
"node",
"default",
"returns"
],
"time": "2016-10-06T14:32:04.732783572+03:00"
},
{
"file": "/etc/puppetlabs/code/modules/nginx/manifests/init.pp",
"level": "notice",
"line": 115,
"message": "nginx: [warn] "ssl_stapling" ignored, no OCSP responder URL in the certificate",
"source": "/Stage[main]/Nginx/Exec[nginx-test]/returns",
"tags": [
"notice",
"exec",
"nginx-test",
"class",
"nginx",
"roles::domain_web_mirror",
"roles",
"domain_web_mirror",
"base",
"node",
"default",
"returns"
],
"time": "2016-10-06T14:32:04.732933669+03:00"
},
{
"file": "/etc/puppetlabs/code/modules/nginx/manifests/init.pp",
"level": "notice",
"line": 115,
"message": "nginx: [warn] "ssl_stapling" ignored, no OCSP responder URL in the certificate",
"source": "/Stage[main]/Nginx/Exec[nginx-test]/returns",
"tags": [
"notice",
"exec",
"nginx-test",
"class",
"nginx",
"roles::domain_web_mirror",
"roles",
"domain_web_mirror",
"base",
"node",
"default",
"returns"
],
"time": "2016-10-06T14:32:04.733187766+03:00"
},
{
"file": "/etc/puppetlabs/code/modules/nginx/manifests/init.pp",
"level": "notice",
"line": 115,
"message": "nginx: [warn] "ssl_stapling" ignored, no OCSP responder URL in the certificate",
"source": "/Stage[main]/Nginx/Exec[nginx-test]/returns",
"tags": [
"notice",
"exec",
"nginx-test",
"class",
"nginx",
"roles::domain_web_mirror",
"roles",
"domain_web_mirror",
"base",
"node",
"default",
"returns"
],
"time": "2016-10-06T14:32:04.733349877+03:00"
},
{
"file": "/etc/puppetlabs/code/modules/nginx/manifests/init.pp",
"level": "notice",
"line": 115,
"message": "nginx: [warn] "ssl_stapling" ignored, no OCSP responder URL in the certificate",
"source": "/Stage[main]/Nginx/Exec[nginx-test]/returns",
"tags": [
"notice",
"exec",
"nginx-test",
"class",
"nginx",
"roles::domain_web_mirror",
"roles",
"domain_web_mirror",
"base",
"node",
"default",
"returns"
],
"time": "2016-10-06T14:32:04.733577502+03:00"
},
{
"file": "/etc/puppetlabs/code/modules/nginx/manifests/init.pp",
"level": "notice",
"line": 115,
"message": "nginx: [warn] "ssl_stapling" ignored, no OCSP responder URL in the certificate",
"source": "/Stage[main]/Nginx/Exec[nginx-test]/returns",
"tags": [
"notice",
"exec",
"nginx-test",
"class",
"nginx",
"roles::domain_web_mirror",
"roles",
"domain_web_mirror",
"base",
"node",
"default",
"returns"
],
"time": "2016-10-06T14:32:04.733850527+03:00"
},
{
"file": "/etc/puppetlabs/code/modules/nginx/manifests/init.pp",
"level": "notice",
"line": 115,
"message": "nginx: [warn] "ssl_stapling" ignored, no OCSP responder URL in the certificate",
"source": "/Stage[main]/Nginx/Exec[nginx-test]/returns",
"tags": [
"notice",
"exec",
"nginx-test",
"class",
"nginx",
"roles::domain_web_mirror",
"roles",
"domain_web_mirror",
"base",
"node",
"default",
"returns"
],
"time": "2016-10-06T14:32:04.734015431+03:00"
},
{
"file": "/etc/puppetlabs/code/modules/nginx/manifests/init.pp",
"level": "notice",
"line": 115,
"message": "nginx: [warn] "ssl_stapling" ignored, no OCSP responder URL in the certificate",
"source": "/Stage[main]/Nginx/Exec[nginx-test]/returns",
"tags": [
"notice",
"exec",
"nginx-test",
"class",
"nginx",
"roles::domain_web_mirror",
"roles",
"domain_web_mirror",
"base",
"node",
"default",
"returns"
],
"time": "2016-10-06T14:32:04.734241939+03:00"
},
{
"file": "/etc/puppetlabs/code/modules/nginx/manifests/init.pp",
"level": "notice",
"line": 115,
"message": "nginx: [warn] "ssl_stapling" ignored, no OCSP responder URL in the certificate",
"source": "/Stage[main]/Nginx/Exec[nginx-test]/returns",
"tags": [
"notice",
"exec",
"nginx-test",
"class",
"nginx",
"roles::domain_web_mirror",
"roles",
"domain_web_mirror",
"base",
"node",
"default",
"returns"
],
"time": "2016-10-06T14:32:04.734487166+03:00"
},
{
"file": "/etc/puppetlabs/code/modules/nginx/manifests/init.pp",
"level": "notice",
"line": 115,
"message": "nginx: [warn] "ssl_stapling" ignored, no OCSP responder URL in the certificate",
"source": "/Stage[main]/Nginx/Exec[nginx-test]/returns",
"tags": [
"notice",
"exec",
"nginx-test",
"class",
"nginx",
"roles::domain_web_mirror",
"roles",
"domain_web_mirror",
"base",
"node",
"default",
"returns"
],
"time": "2016-10-06T14:32:04.734646273+03:00"
},
{
"file": "/etc/puppetlabs/code/modules/nginx/manifests/init.pp",
"level": "notice",
"line": 115,
"message": "nginx: [warn] "ssl_stapling" ignored, no OCSP responder URL in the certificate",
"source": "/Stage[main]/Nginx/Exec[nginx-test]/returns",
"tags": [
"notice",
"exec",
"nginx-test",
"class",
"nginx",
"roles::domain_web_mirror",
"roles",
"domain_web_mirror",
"base",
"node",
"default",
"returns"
],
"time": "2016-10-06T14:32:04.734874807+03:00"
},
{
"file": "/etc/puppetlabs/code/modules/nginx/manifests/init.pp",
"level": "notice",
"line": 115,
"message": "nginx: [warn] "ssl_stapling" ignored, no OCSP responder URL in the certificate",
"source": "/Stage[main]/Nginx/Exec[nginx-test]/returns",
"tags": [
"notice",
"exec",
"nginx-test",
"class",
"nginx",
"roles::domain_web_mirror",
"roles",
"domain_web_mirror",
"base",
"node",
"default",
"returns"
],
"time": "2016-10-06T14:32:04.735032796+03:00"
},
{
"file": "/etc/puppetlabs/code/modules/nginx/manifests/init.pp",
"level": "notice",
"line": 115,
"message": "nginx: [warn] "ssl_stapling" ignored, no OCSP responder URL in the certificate",
"source": "/Stage[main]/Nginx/Exec[nginx-test]/returns",
"tags": [
"notice",
"exec",
"nginx-test",
"class",
"nginx",
"roles::domain_web_mirror",
"roles",
"domain_web_mirror",
"base",
"node",
"default",
"returns"
],
"time": "2016-10-06T14:32:04.735265102+03:00"
},
{
"file": "/etc/puppetlabs/code/modules/nginx/manifests/init.pp",
"level": "notice",
"line": 115,
"message": "nginx: [warn] "ssl_stapling" ignored, no OCSP responder URL in the certificate",
"source": "/Stage[main]/Nginx/Exec[nginx-test]/returns",
"tags": [
"notice",
"exec",
"nginx-test",
"class",
"nginx",
"roles::domain_web_mirror",
"roles",
"domain_web_mirror",
"base",
"node",
"default",
"returns"
],
"time": "2016-10-06T14:32:04.735490911+03:00"
},
{
"file": "/etc/puppetlabs/code/modules/nginx/manifests/init.pp",
"level": "notice",
"line": 115,
"message": "nginx: [warn] "ssl_stapling" ignored, no OCSP responder URL in the certificate",
"source": "/Stage[main]/Nginx/Exec[nginx-test]/returns",
"tags": [
"notice",
"exec",
"nginx-test",
"class",
"nginx",
"roles::domain_web_mirror",
"roles",
"domain_web_mirror",
"base",
"node",
"default",
"returns"
],
"time": "2016-10-06T14:32:04.735643453+03:00"
},
{
"file": "/etc/puppetlabs/code/modules/nginx/manifests/init.pp",
"level": "notice",
"line": 115,
"message": "nginx: [warn] "ssl_stapling" ignored, no OCSP responder URL in the certificate",
"source": "/Stage[main]/Nginx/Exec[nginx-test]/returns",
"tags": [
"notice",
"exec",
"nginx-test",
"class",
"nginx",
"roles::domain_web_mirror",
"roles",
"domain_web_mirror",
"base",
"node",
"default",
"returns"
],
"time": "2016-10-06T14:32:04.735859135+03:00"
},
{
"file": "/etc/puppetlabs/code/modules/nginx/manifests/init.pp",
"level": "notice",
"line": 115,
"message": "nginx: [warn] "ssl_stapling" ignored, no OCSP responder URL in the certificate",
"source": "/Stage[main]/Nginx/Exec[nginx-test]/returns",
"tags": [
"notice",
"exec",
"nginx-test",
"class",
"nginx",
"roles::domain_web_mirror",
"roles",
"domain_web_mirror",
"base",
"node",
"default",
"returns"
],
"time": "2016-10-06T14:32:04.736088576+03:00"
},
{
"file": "/etc/puppetlabs/code/modules/nginx/manifests/init.pp",
"level": "notice",
"line": 115,
"message": "nginx: [warn] "ssl_stapling" ignored, no OCSP responder URL in the certificate",
"source": "/Stage[main]/Nginx/Exec[nginx-test]/returns",
"tags": [
"notice",
"exec",
"nginx-test",
"class",
"nginx",
"roles::domain_web_mirror",
"roles",
"domain_web_mirror",
"base",
"node",
"default",
"returns"
],
"time": "2016-10-06T14:32:04.736275971+03:00"
},
{
"file": "/etc/puppetlabs/code/modules/nginx/manifests/init.pp",
"level": "notice",
"line": 115,
"message": "nginx: [warn] "ssl_stapling" ignored, no OCSP responder URL in the certificate",
"source": "/Stage[main]/Nginx/Exec[nginx-test]/returns",
"tags": [
"notice",
"exec",
"nginx-test",
"class",
"nginx",
"roles::domain_web_mirror",
"roles",
"domain_web_mirror",
"base",
"node",
"default",
"returns"
],
"time": "2016-10-06T14:32:04.736505342+03:00"
},
{
"file": "/etc/puppetlabs/code/modules/nginx/manifests/init.pp",
"level": "notice",
"line": 115,
"message": "nginx: [warn] "ssl_stapling" ignored, no OCSP responder URL in the certificate",
"source": "/Stage[main]/Nginx/Exec[nginx-test]/returns",
"tags": [
"notice",
"exec",
"nginx-test",
"class",
"nginx",
"roles::domain_web_mirror",
"roles",
"domain_web_mirror",
"base",
"node",
"default",
"returns"
],
"time": "2016-10-06T14:32:04.736664939+03:00"
},
{
"file": "/etc/puppetlabs/code/modules/nginx/manifests/init.pp",
"level": "notice",
"line": 115,
"message": "nginx: [warn] "ssl_stapling" ignored, no OCSP responder URL in the certificate",
"source": "/Stage[main]/Nginx/Exec[nginx-test]/returns",
"tags": [
"notice",
"exec",
"nginx-test",
"class",
"nginx",
"roles::domain_web_mirror",
"roles",
"domain_web_mirror",
"base",
"node",
"default",
"returns"
],
"time": "2016-10-06T14:32:04.736889351+03:00"
},
{
"file": "/etc/puppetlabs/code/modules/nginx/manifests/init.pp",
"level": "notice",
"line": 115,
"message": "nginx: [warn] "ssl_stapling" ignored, no OCSP responder URL in the certificate",
"source": "/Stage[main]/Nginx/Exec[nginx-test]/returns",
"tags": [
"notice",
"exec",
"nginx-test",
"class",
"nginx",
"roles::domain_web_mirror",
"roles",
"domain_web_mirror",
"base",
"node",
"default",
"returns"
],
"time": "2016-10-06T14:32:04.737048598+03:00"
},
{
"file": "/etc/puppetlabs/code/modules/nginx/manifests/init.pp",
"level": "notice",
"line": 115,
"message": "nginx: [emerg] unknown "v2plt_plv2_top_mobtype" variable",
"source": "/Stage[main]/Nginx/Exec[nginx-test]/returns",
"tags": [
"notice",
"exec",
"nginx-test",
"class",
"nginx",
"roles::domain_web_mirror",
"roles",
"domain_web_mirror",
"base",
"node",
"default",
"returns"
],
"time": "2016-10-06T14:32:04.737280903+03:00"
},
{
"file": "/etc/puppetlabs/code/modules/nginx/manifests/init.pp",
"level": "notice",
"line": 115,
"message": "nginx: configuration file /usr/local/etc/nginx/nginx.conf test failed",
"source": "/Stage[main]/Nginx/Exec[nginx-test]/returns",
"tags": [
"notice",
"exec",
"nginx-test",
"class",
"nginx",
"roles::domain_web_mirror",
"roles",
"domain_web_mirror",
"base",
"node",
"default",
"returns"
],
"time": "2016-10-06T14:32:04.737488413+03:00"
},
{
"file": "/etc/puppetlabs/code/modules/nginx/manifests/init.pp",
"level": "err",
"line": 115,
"message": "Failed to call refresh: /usr/local/domain/bin/nginx_puppet_test returned 1 instead of one of [0]",
"source": "/Stage[main]/Nginx/Exec[nginx-test]",
"tags": [
"err",
"exec",
"nginx-test",
"class",
"nginx",
"roles::domain_web_mirror",
"roles",
"domain_web_mirror",
"base",
"node",
"default"
],
"time": "2016-10-06T14:32:04.737793427+03:00"
},
{
"file": "/etc/puppetlabs/code/modules/nginx/manifests/init.pp",
"level": "err",
"line": 115,
"message": "/usr/local/domain/bin/nginx_puppet_test returned 1 instead of one of [0]",
"source": "/Stage[main]/Nginx/Exec[nginx-test]",
"tags": [
"err",
"exec",
"nginx-test",
"class",
"nginx",
"roles::domain_web_mirror",
"roles",
"domain_web_mirror",
"base",
"node",
"default"
],
"time": "2016-10-06T14:32:04.738186376+03:00"
},
{
"file": "/etc/puppetlabs/code/modules/nginx/manifests/init.pp",
"level": "notice",
"line": 126,
"message": "Triggered 'refresh' from 2 events",
"source": "/Stage[main]/Nginx/Exec[nginx-reload]",
"tags": [
"notice",
"exec",
"nginx-reload",
"class",
"nginx",
"roles::domain_web_mirror",
"roles",
"domain_web_mirror",
"base",
"node",
"default"
],
"time": "2016-10-06T14:32:07.791764595+03:00"
},
{
"file": null,
"level": "notice",
"line": null,
"message": "Applied catalog in 13.39 seconds",
"source": "Puppet",
"tags": [
"notice"
],
"time": "2016-10-06T14:32:08.590838549+03:00"
}
],
"href": "/pdb/query/v4/reports/15dc95253d4de077eb9ea7764cebe4bdf9fd4e49/logs"
},
"metrics": {
"data": [
{
"category": "resources",
"name": "changed",
"value": 2
},
{
"category": "resources",
"name": "failed",
"value": 0
},
{
"category": "resources",
"name": "failed_to_restart",
"value": 1
},
{
"category": "resources",
"name": "out_of_sync",
"value": 2
},
{
"category": "resources",
"name": "restarted",
"value": 1
},
{
"category": "resources",
"name": "scheduled",
"value": 0
},
{
"category": "resources",
"name": "skipped",
"value": 2
},
{
"category": "resources",
"name": "total",
"value": 1113
},
{
"category": "time",
"name": "anchor",
"value": 0.0007221999999999999
},
{
"category": "time",
"name": "augeas",
"value": 1.9974976660000001
},
{
"category": "time",
"name": "concat_file",
"value": 0.000164486
},
{
"category": "time",
"name": "concat_fragment",
"value": 0.0007205919999999999
},
{
"category": "time",
"name": "config_retrieval",
"value": 12.109021259471774
},
{
"category": "time",
"name": "cron",
"value": 0.00597763
},
{
"category": "time",
"name": "datacat_collector",
"value": 0.011949602
},
{
"category": "time",
"name": "datacat_fragment",
"value": 0.004802902
},
{
"category": "time",
"name": "exec",
"value": 0.715032388
},
{
"category": "time",
"name": "file",
"value": 1.708995292
},
{
"category": "time",
"name": "file_line",
"value": 0.00037437
},
{
"category": "time",
"name": "filebucket",
"value": 0.000220641
},
{
"category": "time",
"name": "group",
"value": 0.003053352
},
{
"category": "time",
"name": "ini_setting",
"value": 0.00062267
},
{
"category": "time",
"name": "mailalias",
"value": 0.000282734
},
{
"category": "time",
"name": "package",
"value": 0.004847744
},
{
"category": "time",
"name": "schedule",
"value": 0.00074469
},
{
"category": "time",
"name": "service",
"value": 0.8547455259999999
},
{
"category": "time",
"name": "total",
"value": 17.762211175471776
},
{
"category": "time",
"name": "user",
"value": 0.34243543100000007
},
{
"category": "changes",
"name": "total",
"value": 2
},
{
"category": "events",
"name": "failure",
"value": 0
},
{
"category": "events",
"name": "success",
"value": 2
},
{
"category": "events",
"name": "total",
"value": 2
}
],
"href": "/pdb/query/v4/reports/15dc95253d4de077eb9ea7764cebe4bdf9fd4e49/metrics"
},
"noop": false,
"producer_timestamp": "2016-10-06T11:32:09.814Z",
"puppet_version": "4.4.1",
"receive_time": "2016-10-06T11:32:10.002Z",
"report_format": 5,
"resource_events": {
"data": [
{
"containing_class": "Roles::Com_web_mirror",
"containment_path": [
"Stage[main]",
"Roles::Com_web_mirror",
"Roles::Com_web_mirror::Eachmirror[test.pics.domain.ru]",
"Com_webmirrors::Vhost[test.pics.domain.ru]",
"Nginx::Vhost[test.pics.domain.ru]",
"File[test.pics.domain.ru.conf]"
],
"file": "/etc/puppetlabs/code/modules/nginx/manifests/vhost.pp",
"line": 25,
"message": "content changed '{md5}13a4137f8064d50eeb6e410b10e906ed' to '{md5}c60d3a86dec19e6307cf55889674e7e7'",
"new_value": "{md5}c60d3a86dec19e6307cf55889674e7e7",
"old_value": "{md5}13a4137f8064d50eeb6e410b10e906ed",
"property": "content",
"resource_title": "test.pics.domain.ru.conf",
"resource_type": "File",
"status": "success",
"timestamp": "2016-10-06T14:32:04.212+03:00"
},
{
"containing_class": "Roles::Com_web_mirror",
"containment_path": [
"Stage[main]",
"Roles::Com_web_mirror",
"Roles::Com_web_mirror::Eachmirror[test.v2.domainplus.ru]",
"Com_webmirrors::Vhost[test.v2.domainplus.ru]",
"Nginx::Vhost[test.v2.domainplus.ru]",
"File[test.v2.domainplus.ru.conf]"
],
"file": "/etc/puppetlabs/code/modules/nginx/manifests/vhost.pp",
"line": 25,
"message": "content changed '{md5}ef182de72fa9c3f1f1957a3a9c600020' to '{md5}4d61c5f89e74513df17062255b4db83b'",
"new_value": "{md5}4d61c5f89e74513df17062255b4db83b",
"old_value": "{md5}ef182de72fa9c3f1f1957a3a9c600020",
"property": "content",
"resource_title": "test.v2.domainplus.ru.conf",
"resource_type": "File",
"status": "success",
"timestamp": "2016-10-06T14:32:04.189+03:00"
},
{
"containing_class": "Mcollective_domain::Instance",
"containment_path": [
"Stage[main]",
"Mcollective_domain::Instance",
"Exec[mcollective-restart]"
],
"file": "/etc/puppetlabs/code/modules/mcollective_domain/manifests/instance.pp",
"line": 89,
"message": null,
"new_value": null,
"old_value": null,
"property": null,
"resource_title": "mcollective-restart",
"resource_type": "Exec",
"status": "skipped",
"timestamp": "2016-10-06T14:31:59.153+03:00"
},
{
"containing_class": "Puppet4::Agent",
"containment_path": [
"Stage[main]",
"Puppet4::Agent",
"Exec[puppet-restart]"
],
"file": "/etc/puppetlabs/code/modules/puppet4/manifests/agent.pp",
"line": 25,
"message": null,
"new_value": null,
"old_value": null,
"property": null,
"resource_title": "puppet-restart",
"resource_type": "Exec",
"status": "skipped",
"timestamp": "2016-10-06T14:31:58.629+03:00"
}
],
"href": "/pdb/query/v4/reports/15dc95253d4de077eb9ea7764cebe4bdf9fd4e49/events"
},
"start_time": "2016-10-06T11:31:36.816Z",
"status": "changed",
"transaction_uuid": "3394f6ea-864b-4acb-bae6-56dec469d54c"
}
]

@gdubicki
Copy link
Contributor

What puppetboard version do you use, @amuhametov? Because I have this issue too in an old 0.0.4 but I was sure that this has been resolved since then..

@amuhametov
Copy link
Author

amuhametov commented Jan 12, 2017 via email

@mterzo
Copy link
Contributor

mterzo commented Jan 30, 2017

I think this maybe fixed in PR #342.

I'm going to create a test around this using your data provided in earlier posts.

@mterzo mterzo added this to the 0.2.1 milestone Jan 31, 2017
@thias
Copy link

thias commented Feb 1, 2017

I saw something similar before updating to pypuppetdb 0.3.2 : I added a node for the first time, but then if the catalog compilation failed, the Overview "Population" counter was incremented (so the new node was known by PuppetDB), but the failed counter wasn't and no failed report was seen.

I have just tried the same again now with pypuppetdb 0.3.2 and the latest master puppetboard code, and the problem seems to be gone for me.

@mterzo mterzo modified the milestones: 0.2.2, 0.2.1 Feb 3, 2017
@mterzo
Copy link
Contributor

mterzo commented Feb 3, 2017

This will be in 0.2.1, just needs some unit tests, to prevent regression.

@jimr6007
Copy link

jimr6007 commented Jan 25, 2018

same for me, clean/new install, latest 4.X of Puppet server, puppetdb, fresh CentOS 7 minimal install

but shows as unchanged/no error on the node list and doe snot show as error'd on the front node status detail page

screen shot 2018-01-25 at 2 27 28 am

@gdubicki
Copy link
Contributor

Please see my last comment in #449.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

8 participants