{"action":"closed","issue":{"url":"https://api.github.com/repos/chef/chef-server/issues/686","labels_url":"https://api.github.com/repos/chef/chef-server/issues/686/labels{/name}","comments_url":"https://api.github.com/repos/chef/chef-server/issues/686/comments","events_url":"https://api.github.com/repos/chef/chef-server/issues/686/events","html_url":"https://github.com/chef/chef-server/issues/686","id":126244505,"number":686,"title":"Set rabbitmq_management listener IP to `node['private_chef']['rabbitmq']['node_ip_address']`","user":{"login":"jeremiahsnapp","id":430911,"avatar_url":"https://avatars.githubusercontent.com/u/430911?v=3","gravatar_id":"","url":"https://api.github.com/users/jeremiahsnapp","html_url":"https://github.com/jeremiahsnapp","followers_url":"https://api.github.com/users/jeremiahsnapp/followers","following_url":"https://api.github.com/users/jeremiahsnapp/following{/other_user}","gists_url":"https://api.github.com/users/jeremiahsnapp/gists{/gist_id}","starred_url":"https://api.github.com/users/jeremiahsnapp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeremiahsnapp/subscriptions","organizations_url":"https://api.github.com/users/jeremiahsnapp/orgs","repos_url":"https://api.github.com/users/jeremiahsnapp/repos","events_url":"https://api.github.com/users/jeremiahsnapp/events{/privacy}","received_events_url":"https://api.github.com/users/jeremiahsnapp/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/chef/chef-server/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/chef/chef-server/labels/in%20progress","name":"in progress","color":"ededed"}],"state":"closed","locked":false,"assignee":{"login":"jeremiahsnapp","id":430911,"avatar_url":"https://avatars.githubusercontent.com/u/430911?v=3","gravatar_id":"","url":"https://api.github.com/users/jeremiahsnapp","html_url":"https://github.com/jeremiahsnapp","followers_url":"https://api.github.com/users/jeremiahsnapp/followers","following_url":"https://api.github.com/users/jeremiahsnapp/following{/other_user}","gists_url":"https://api.github.com/users/jeremiahsnapp/gists{/gist_id}","starred_url":"https://api.github.com/users/jeremiahsnapp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeremiahsnapp/subscriptions","organizations_url":"https://api.github.com/users/jeremiahsnapp/orgs","repos_url":"https://api.github.com/users/jeremiahsnapp/repos","events_url":"https://api.github.com/users/jeremiahsnapp/events{/privacy}","received_events_url":"https://api.github.com/users/jeremiahsnapp/received_events","type":"User","site_admin":false},"milestone":null,"comments":5,"created_at":"2016-01-12T18:36:49Z","updated_at":"2016-01-21T16:19:22Z","closed_at":"2016-01-21T16:19:22Z","body":"Please set the `rabbitmq_management` listener IP to `node['private_chef']['rabbitmq']['node_ip_address']` in [the omnibus configuration](https://github.com/chef/chef-server/blob/12.3.1/omnibus/files/private-chef-cookbooks/private-chef/templates/default/rabbitmq.config.erb#L11) asap.\r\n\r\nThe current behavior breaks Chef Servers that run version 12.3+ and set `rabbitmq['vip']` to an FQDN. This is especially true of Chef Servers installed by the delivery-cluster cookbook because its default behavior is to set `rabbitmq['vip']` to an FQDN.\r\n\r\nThe `rabbitmq_management` listener IP setting only takes an IP address as a value so if `rabbitmq['vip']` is set in chef-server.rb to an FQDN rabbitmq_management refuses to come up which prevents rabbitmq from coming up which ultimately breaks the Chef Server API.\r\n\r\n```\r\nError description:\r\n   {could_not_start,rabbitmq_management,\r\n       {could_not_start_listener,\r\n           [{ip,\"chef.lxc\"},{port,15672},{ssl,true}],\r\n           {'EXIT',\r\n               {{badmatch,{error,einval}},\r\n                [{mochiweb_socket_server,parse_options,2,[]},\r\n                 {mochiweb_socket_server,start_link,1,[]},\r\n                 {supervisor,do_start_child,2,\r\n                     [{file,\"supervisor.erl\"},{line,314}]},\r\n                 {supervisor,handle_start_child,2,\r\n                     [{file,\"supervisor.erl\"},{line,685}]},\r\n                 {supervisor,handle_call,3,\r\n                     [{file,\"supervisor.erl\"},{line,394}]},\r\n                 {gen_server,try_handle_call,4,\r\n                     [{file,\"gen_server.erl\"},{line,607}]},\r\n                 {gen_server,handle_msg,5,\r\n                     [{file,\"gen_server.erl\"},{line,639}]},\r\n                 {proc_lib,init_p_do_apply,3,\r\n                     [{file,\"proc_lib.erl\"},{line,237}]}]}}}}\r\n```\r\n\r\nThe `rabbitmq['node_ip_address']` setting is specifically available for defining what IP address rabbitmq should bind to. rabbitmq_management should bind to the same IP address.\r\n\r\nThe `rabbitmq['vip']` setting is specifically available for defining what IP address or FQDN services should use to connect to rabbitmq and should not be used in this case."}}