{"action":"created","issue":{"url":"https://api.github.com/repos/SUSE/machinery/issues/1609","labels_url":"https://api.github.com/repos/SUSE/machinery/issues/1609/labels{/name}","comments_url":"https://api.github.com/repos/SUSE/machinery/issues/1609/comments","events_url":"https://api.github.com/repos/SUSE/machinery/issues/1609/events","html_url":"https://github.com/SUSE/machinery/issues/1609","id":115559375,"number":1609,"title":"Machinery experienced an unexpected error","user":{"login":"matwey","id":156627,"avatar_url":"https://avatars.githubusercontent.com/u/156627?v=3","gravatar_id":"","url":"https://api.github.com/users/matwey","html_url":"https://github.com/matwey","followers_url":"https://api.github.com/users/matwey/followers","following_url":"https://api.github.com/users/matwey/following{/other_user}","gists_url":"https://api.github.com/users/matwey/gists{/gist_id}","starred_url":"https://api.github.com/users/matwey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matwey/subscriptions","organizations_url":"https://api.github.com/users/matwey/orgs","repos_url":"https://api.github.com/users/matwey/repos","events_url":"https://api.github.com/users/matwey/events{/privacy}","received_events_url":"https://api.github.com/users/matwey/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/SUSE/machinery/labels/Bug","name":"Bug","color":"006b75"},{"url":"https://api.github.com/repos/SUSE/machinery/labels/P2","name":"P2","color":"eb6420"},{"url":"https://api.github.com/repos/SUSE/machinery/labels/Tracked%20by%20SUSE","name":"Tracked by SUSE","color":"009800"}],"state":"open","locked":false,"assignee":{"login":"mschnitzer","id":8287131,"avatar_url":"https://avatars.githubusercontent.com/u/8287131?v=3","gravatar_id":"","url":"https://api.github.com/users/mschnitzer","html_url":"https://github.com/mschnitzer","followers_url":"https://api.github.com/users/mschnitzer/followers","following_url":"https://api.github.com/users/mschnitzer/following{/other_user}","gists_url":"https://api.github.com/users/mschnitzer/gists{/gist_id}","starred_url":"https://api.github.com/users/mschnitzer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mschnitzer/subscriptions","organizations_url":"https://api.github.com/users/mschnitzer/orgs","repos_url":"https://api.github.com/users/mschnitzer/repos","events_url":"https://api.github.com/users/mschnitzer/events{/privacy}","received_events_url":"https://api.github.com/users/mschnitzer/received_events","type":"User","site_admin":false},"milestone":null,"comments":8,"created_at":"2015-11-06T18:18:23Z","updated_at":"2015-11-12T10:18:13Z","closed_at":null,"body":"Hello, I've faced unexpected error and machinery 1.14.1 (and 1.16.0) asked me to fill the issue.\r\n\r\n```\r\nMachinery experienced an unexpected error. Please file a bug report at: https://github.com/SUSE/machinery/issues/new\r\nExecution of \"ssh matwey@192.168.10.7 -o LogLevel\\=ERROR LC_ALL\\=en_US.utf8 stat --printf \\\\\\%a:\\\\\\%U:\\\\\\%G:\\\\\\%u:\\\\\\%g:\\\\\\%F:\\\\\\%n\\\\\\\\n /etc/ssh/sshd_config /etc/pam.d/common-account /etc/pam.d/common-auth /etc/pam.d/common-password /etc/pam.d/common-session /etc/influxdb/config.toml /etc/sudoers /etc/django-eagle/local_settings.py /etc/lighttpd/vhosts.d/django-eagle.conf /etc/collectd.conf /etc/logrotate.d/syslog /etc/ntp.conf /etc/lighttpd/lighttpd.conf /etc/lighttpd/modules.conf /etc/sysconfig/SuSEfirewall2 /etc/default/grub /etc/systemd/journald.conf /etc/syslog-ng/syslog-ng.conf\" failed with status 1: stat: cannot stat ‘/etc/lighttpd/vhosts.d/django-eagle.conf’: Permission denied (...).\r\n\r\nError output:\r\nstat: cannot stat ‘/etc/lighttpd/vhosts.d/django-eagle.conf’: Permission denied\r\nstat: cannot stat ‘/etc/lighttpd/lighttpd.conf’: Permission denied\r\nstat: cannot stat ‘/etc/lighttpd/modules.conf’: Permission denied\r\n\r\nStandard output:\r\n640:root:root:0:0:regular file:/etc/ssh/sshd_config\r\n777:root:root:0:0:symbolic link:/etc/pam.d/common-account\r\n777:root:root:0:0:symbolic link:/etc/pam.d/common-auth\r\n777:root:root:0:0:symbolic link:/etc/pam.d/common-password\r\n777:root:root:0:0:symbolic link:/etc/pam.d/common-session\r\n644:root:root:0:0:regular file:/etc/influxdb/config.toml\r\n440:root:root:0:0:regular file:/etc/sudoers\r\n644:root:root:0:0:regular file:/etc/django-eagle/local_settings.py\r\n640:root:root:0:0:regular file:/etc/collectd.conf\r\n644:root:root:0:0:regular file:/etc/logrotate.d/syslog\r\n640:root:ntp:0:493:regular file:/etc/ntp.conf\r\n644:root:root:0:0:regular file:/etc/sysconfig/SuSEfirewall2\r\n644:root:root:0:0:regular file:/etc/default/grub\r\n644:root:root:0:0:regular file:/etc/systemd/journald.conf\r\n644:root:root:0:0:regular file:/etc/syslog-ng/syslog-ng.conf\r\n\r\n\r\nBacktrace:\r\n/usr/lib64/ruby/gems/2.1.0/gems/machinery-tool-1.14.1/bundle/ruby/2.1.0/gems/cheetah-0.4.0/lib/cheetah.rb:555:in `check_errors'\r\n/usr/lib64/ruby/gems/2.1.0/gems/machinery-tool-1.14.1/bundle/ruby/2.1.0/gems/cheetah-0.4.0/lib/cheetah.rb:364:in `run'\r\n/usr/lib64/ruby/gems/2.1.0/gems/machinery-tool-1.14.1/lib/logged_cheetah.rb:23:in `run'\r\n/usr/lib64/ruby/gems/2.1.0/gems/machinery-tool-1.14.1/lib/remote_system.rb:84:in `run_command'\r\n/usr/lib64/ruby/gems/2.1.0/gems/machinery-tool-1.14.1/lib/changed_rpm_files_helper.rb:108:in `get_file_properties'\r\n/usr/lib64/ruby/gems/2.1.0/gems/machinery-tool-1.14.1/lib/changed_rpm_files_helper.rb:139:in `get_path_data'\r\n/usr/lib64/ruby/gems/2.1.0/gems/machinery-tool-1.14.1/plugins/config_files/config_files_inspector.rb:99:in `inspect'\r\n/usr/lib64/ruby/gems/2.1.0/gems/machinery-tool-1.14.1/lib/inspect_task.rb:87:in `block in build_description'\r\n/usr/lib64/ruby/gems/2.1.0/gems/machinery-tool-1.14.1/lib/inspect_task.rb:79:in `each'\r\n/usr/lib64/ruby/gems/2.1.0/gems/machinery-tool-1.14.1/lib/inspect_task.rb:79:in `build_description'\r\n/usr/lib64/ruby/gems/2.1.0/gems/machinery-tool-1.14.1/lib/inspect_task.rb:21:in `inspect_system'\r\n/usr/lib64/ruby/gems/2.1.0/gems/machinery-tool-1.14.1/lib/cli.rb:600:in `block (2 levels) in <class:Cli>'\r\n/usr/lib64/ruby/gems/2.1.0/gems/machinery-tool-1.14.1/bundle/ruby/2.1.0/gems/gli-2.13.1/lib/gli/command_support.rb:126:in `call'\r\n/usr/lib64/ruby/gems/2.1.0/gems/machinery-tool-1.14.1/bundle/ruby/2.1.0/gems/gli-2.13.1/lib/gli/command_support.rb:126:in `execute'\r\n/usr/lib64/ruby/gems/2.1.0/gems/machinery-tool-1.14.1/bundle/ruby/2.1.0/gems/gli-2.13.1/lib/gli/app_support.rb:296:in `block in call_command'\r\n/usr/lib64/ruby/gems/2.1.0/gems/machinery-tool-1.14.1/bundle/ruby/2.1.0/gems/gli-2.13.1/lib/gli/app_support.rb:309:in `call'\r\n/usr/lib64/ruby/gems/2.1.0/gems/machinery-tool-1.14.1/bundle/ruby/2.1.0/gems/gli-2.13.1/lib/gli/app_support.rb:309:in `call_command'\r\n/usr/lib64/ruby/gems/2.1.0/gems/machinery-tool-1.14.1/bundle/ruby/2.1.0/gems/gli-2.13.1/lib/gli/app_support.rb:83:in `run'\r\n/usr/lib64/ruby/gems/2.1.0/gems/machinery-tool-1.14.1/bin/machinery:34:in `<top (required)>'\r\n/usr/bin/machinery:24:in `load'\r\n/usr/bin/machinery:24:in `<main>'```"},"comment":{"url":"https://api.github.com/repos/SUSE/machinery/issues/comments/156058961","html_url":"https://github.com/SUSE/machinery/issues/1609#issuecomment-156058961","issue_url":"https://api.github.com/repos/SUSE/machinery/issues/1609","id":156058961,"user":{"login":"mschnitzer","id":8287131,"avatar_url":"https://avatars.githubusercontent.com/u/8287131?v=3","gravatar_id":"","url":"https://api.github.com/users/mschnitzer","html_url":"https://github.com/mschnitzer","followers_url":"https://api.github.com/users/mschnitzer/followers","following_url":"https://api.github.com/users/mschnitzer/following{/other_user}","gists_url":"https://api.github.com/users/mschnitzer/gists{/gist_id}","starred_url":"https://api.github.com/users/mschnitzer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mschnitzer/subscriptions","organizations_url":"https://api.github.com/users/mschnitzer/orgs","repos_url":"https://api.github.com/users/mschnitzer/repos","events_url":"https://api.github.com/users/mschnitzer/events{/privacy}","received_events_url":"https://api.github.com/users/mschnitzer/received_events","type":"User","site_admin":false},"created_at":"2015-11-12T10:18:13Z","updated_at":"2015-11-12T10:18:13Z","body":"OK, there is currently no temporarily solution for you but I found the bug and the bug will be fixed in the next release. It doesn't help when you allow the user to execute the `stat` command in the /etc/sudoers file cause we don't call the `stat` command with sudo privileges in Machinery. "}}