{"action":"created","issue":{"url":"https://api.github.com/repos/sensu/sensu-chef/issues/585","repository_url":"https://api.github.com/repos/sensu/sensu-chef","labels_url":"https://api.github.com/repos/sensu/sensu-chef/issues/585/labels{/name}","comments_url":"https://api.github.com/repos/sensu/sensu-chef/issues/585/comments","events_url":"https://api.github.com/repos/sensu/sensu-chef/issues/585/events","html_url":"https://github.com/sensu/sensu-chef/issues/585","id":269841146,"number":585,"title":"sensu installation fails due to rabbitmq cookbook","user":{"login":"ff-pjha","id":30178063,"avatar_url":"https://avatars3.githubusercontent.com/u/30178063?v=4","gravatar_id":"","url":"https://api.github.com/users/ff-pjha","html_url":"https://github.com/ff-pjha","followers_url":"https://api.github.com/users/ff-pjha/followers","following_url":"https://api.github.com/users/ff-pjha/following{/other_user}","gists_url":"https://api.github.com/users/ff-pjha/gists{/gist_id}","starred_url":"https://api.github.com/users/ff-pjha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ff-pjha/subscriptions","organizations_url":"https://api.github.com/users/ff-pjha/orgs","repos_url":"https://api.github.com/users/ff-pjha/repos","events_url":"https://api.github.com/users/ff-pjha/events{/privacy}","received_events_url":"https://api.github.com/users/ff-pjha/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2017-10-31T05:40:02Z","updated_at":"2018-03-28T13:07:19Z","closed_at":null,"author_association":"NONE","body":"Recipe: sensu::rabbitmq\r\n         * group[rabbitmq] action create\r\n           - create group rabbitmq\r\n         * directory[/etc/rabbitmq/ssl] action create\r\n           - create new directory /etc/rabbitmq/ssl\r\n           - change mode from '' to '0755'\r\n         * file[/etc/rabbitmq/ssl/cacert.pem] action create\r\n           - create new file /etc/rabbitmq/ssl/cacert.pem\r\n           - update content in file /etc/rabbitmq/ssl/cacert.pem from none to 704c98\r\n           - suppressed sensitive resource\r\n           - change mode from '' to '0640'\r\n           - change group from '' to 'rabbitmq'\r\n         * file[/etc/rabbitmq/ssl/cert.pem] action create\r\n           - create new file /etc/rabbitmq/ssl/cert.pem\r\n           - update content in file /etc/rabbitmq/ssl/cert.pem from none to 3d6db7\r\n           - suppressed sensitive resource\r\n           - change mode from '' to '0640'\r\n           - change group from '' to 'rabbitmq'\r\n         * file[/etc/rabbitmq/ssl/key.pem] action create\r\n           - create new file /etc/rabbitmq/ssl/key.pem\r\n           - update content in file /etc/rabbitmq/ssl/key.pem from none to c79a15\r\n           - suppressed sensitive resource\r\n           - change mode from '' to '0640'\r\n           - change group from '' to 'rabbitmq'\r\n         * directory[/etc/rabbitmq/ssl/client] action create\r\n           - create new directory /etc/rabbitmq/ssl/client\r\n           - change mode from '' to '0755'\r\n         * file[/etc/rabbitmq/ssl/client/cert.pem] action create\r\n           - create new file /etc/rabbitmq/ssl/client/cert.pem\r\n           - update content in file /etc/rabbitmq/ssl/client/cert.pem from none to 4092c4\r\n           - suppressed sensitive resource\r\n           - change mode from '' to '0640'\r\n           - change group from '' to 'rabbitmq'\r\n         * file[/etc/rabbitmq/ssl/client/key.pem] action create\r\n           - create new file /etc/rabbitmq/ssl/client/key.pem\r\n           - update content in file /etc/rabbitmq/ssl/client/key.pem from none to 53aa46\r\n           - suppressed sensitive resource\r\n           - change mode from '' to '0640'\r\n           - change group from '' to 'rabbitmq'\r\n       Recipe: rabbitmq::default\r\n         * directory[/var/lib/rabbitmq/mnesia] action create\r\n           * cannot determine user id for 'rabbitmq', does the user exist on this system?\r\n           ================================================================================\r\n           Error executing action `create` on resource 'directory[/var/lib/rabbitmq/mnesia]'\r\n           ================================================================================\r\n           \r\n           Chef::Exceptions::UserIDNotFound\r\n           --------------------------------\r\n           cannot determine user id for 'rabbitmq', does the user exist on this system?\r\n           \r\n           Resource Declaration:\r\n           ---------------------\r\n           # In /tmp/kitchen/cache/cookbooks/rabbitmq/recipes/default.rb\r\n           \r\n           206: directory node['rabbitmq']['mnesiadir'] do\r\n           207:   owner 'rabbitmq'\r\n           208:   group 'rabbitmq'\r\n           209:   mode '775'\r\n           210:   recursive true\r\n           211: end\r\n           212: \r\n           \r\n           Compiled Resource:\r\n           ------------------\r\n           # Declared in /tmp/kitchen/cache/cookbooks/rabbitmq/recipes/default.rb:206:in `from_file'\r\n           \r\n           directory(\"/var/lib/rabbitmq/mnesia\") do\r\n             action [:create]\r\n             default_guard_interpreter :default\r\n             path \"/var/lib/rabbitmq/mnesia\"\r\n             recursive true\r\n             declared_type :directory\r\n             cookbook_name \"rabbitmq\"\r\n             recipe_name \"default\"\r\n             owner \"rabbitmq\"\r\n             group \"rabbitmq\"\r\n             mode \"775\"\r\n           end\r\n           \r\n           System Info:\r\n           ------------\r\n           chef_version=13.6.0\r\n           platform=amazon\r\n           platform_version=2017.09\r\n           ruby=ruby 2.4.2p198 (2017-09-14 revision 59899) [x86_64-linux]\r\n           program_name=chef-client worker: ppid=2938;start=05:36:48;\r\n           executable=/opt/chef/bin/chef-client\r\n           \r\n       Recipe: sensu::default\r\n         * ruby_block[sensu_service_trigger] action create\r\n           - execute the ruby block sensu_service_trigger\r\n       \r\n       Running handlers:\r\n       [2017-10-31T05:37:05+00:00] ERROR: Running exception handlers\r\n       [2017-10-31T05:37:05+00:00] ERROR: Running exception handlers\r\n       Running handlers complete\r\n       [2017-10-31T05:37:05+00:00] ERROR: Exception handlers complete\r\n       [2017-10-31T05:37:05+00:00] ERROR: Exception handlers complete\r\n       Chef Client failed. 28 resources updated in 16 seconds\r\n       [2017-10-31T05:37:05+00:00] FATAL: Stacktrace dumped to /tmp/kitchen/cache/chef-stacktrace.out\r\n       [2017-10-31T05:37:05+00:00] FATAL: Stacktrace dumped to /tmp/kitchen/cache/chef-stacktrace.out\r\n       [2017-10-31T05:37:05+00:00] FATAL: Please provide the contents of the stacktrace.out file if you file a bug report\r\n       [2017-10-31T05:37:05+00:00] FATAL: Please provide the contents of the stacktrace.out file if you file a bug report\r\n       [2017-10-31T05:37:05+00:00] ERROR: directory[/var/lib/rabbitmq/mnesia] (rabbitmq::default line 206) had an error: Chef::Exceptions::UserIDNotFound: cannot determine user id for 'rabbitmq', does the user exist on this system?\r\n       [2017-10-31T05:37:05+00:00] ERROR: directory[/var/lib/rabbitmq/mnesia] (rabbitmq::default line 206) had an error: Chef::Exceptions::UserIDNotFound: cannot determine user id for 'rabbitmq', does the user exist on this system?\r\n       [2017-10-31T05:37:05+00:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1)\r\n       [2017-10-31T05:37:05+00:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1)\r\n\r\n\r\nDo we need to pass the user explicitly from our recipe ? Why this is required?\r\n"},"comment":{"url":"https://api.github.com/repos/sensu/sensu-chef/issues/comments/376879822","html_url":"https://github.com/sensu/sensu-chef/issues/585#issuecomment-376879822","issue_url":"https://api.github.com/repos/sensu/sensu-chef/issues/585","id":376879822,"user":{"login":"ff-pjha","id":30178063,"avatar_url":"https://avatars3.githubusercontent.com/u/30178063?v=4","gravatar_id":"","url":"https://api.github.com/users/ff-pjha","html_url":"https://github.com/ff-pjha","followers_url":"https://api.github.com/users/ff-pjha/followers","following_url":"https://api.github.com/users/ff-pjha/following{/other_user}","gists_url":"https://api.github.com/users/ff-pjha/gists{/gist_id}","starred_url":"https://api.github.com/users/ff-pjha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ff-pjha/subscriptions","organizations_url":"https://api.github.com/users/ff-pjha/orgs","repos_url":"https://api.github.com/users/ff-pjha/repos","events_url":"https://api.github.com/users/ff-pjha/events{/privacy}","received_events_url":"https://api.github.com/users/ff-pjha/received_events","type":"User","site_admin":false},"created_at":"2018-03-28T13:07:19Z","updated_at":"2018-03-28T13:07:19Z","author_association":"NONE","body":"Yes can you add support for Amazon Linux.\nMay I know what are the steps I need to do ?\n\nRegards\nPrakash\n\nOn Mon, Mar 26, 2018 at 12:29 AM, Ben Abrams <notifications@github.com>\nwrote:\n\n> As Josh points out the cookbook does not officially support Amazon Linux\n> or Amazon Linux 2. I am open to adding support if you can provide a\n> contribution here and in the upstream rabbitmq cookbook.\n>\n> —\n> You are receiving this because you authored the thread.\n> Reply to this email directly, view it on GitHub\n> <https://github.com/sensu/sensu-chef/issues/585#issuecomment-375994418>,\n> or mute the thread\n> <https://github.com/notifications/unsubscribe-auth/Acx7D9OsDFmFb2sP-5mQ71Tc4nClcCcNks5th-kOgaJpZM4QMPEb>\n> .\n>\n"}}
{"actor":{"display_login":"ff-pjha"}}