Bug 1119429
| Summary: | HA RabbitMQ needs to strip domain from cluster node names | ||
|---|---|---|---|
| Product: | Red Hat OpenStack | Reporter: | John Eckersberg <jeckersb> |
| Component: | openstack-foreman-installer | Assignee: | John Eckersberg <jeckersb> |
| Status: | CLOSED ERRATA | QA Contact: | Leonid Natapov <lnatapov> |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | Foreman (RHEL 6) | CC: | jguiditt, mburns, morazi, rhos-maint, sclewis, yeylon |
| Target Milestone: | ga | ||
| Target Release: | Installer | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | openstack-foreman-installer-2.0.15-1.el6ost | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2014-08-21 18:05:23 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
openstack-foreman-installer-2.0.18-1.el6ost.noarch
[root@maca25400702875 ~]# grep node /etc/rabbitmq/*
/etc/rabbitmq/rabbitmq.config: {cluster_nodes, {['rabbit@maca25400702875', 'rabbit@maca25400702877', 'rabbit@maca25400702876'], disc}}
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHBA-2014-1090.html |
The HA rabbitmq manifest configues the cluster nodes via the lb_backend_server_names parameter. However under staypuft, this is the FQDN of the nodes. Rabbit requires the short hostname to be the node name, so for example you get this error using the FQDN: # rabbitmqctl -n rabbit.org status Status of node 'rabbit.org' ... Error: unable to connect to node 'rabbit.org': nodedown =ERROR REPORT==== 14-Jul-2014::18:39:38 === ** System NOT running to use fully qualified hostnames ** ** Hostname 5254000021ab.example.org is illegal ** DIAGNOSTICS =========== nodes in question: ['rabbit.org'] hosts, their running nodes and ports: - 5254000021ab.example.org: [{rabbit,35672},{rabbitmqctl14693,54770}] current node details: - node name: rabbitmqctl14693@5254000021ab - home dir: /var/lib/rabbitmq - cookie hash: soeIWU2jk2YNseTyDSlsEA== The fix is to strip off the domain part of the nodes before passing into the rabbit class as the cluster_nodes param.