rabbitmq hostname resolution error while deploying
Bug #1401830 reported by
Victor Tapia
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
rabbitmq-server (Juju Charms Collection) |
Fix Released
|
Undecided
|
Jorge Niedbalski |
Bug Description
rabbitmq-server does not resolve its machine's hostname and is unable to start the service.
How to reproduce:
- Deploy by running:
> juju-deployer --bootstrap -c default-
(rev10 yaml from lp:~openstack-charm-testers/+junk/ceilometer-ha/ )
Workaround:
- Add an entry to /etc/hosts, such as:
127.0.1.1 juju-vtapia-
- Start the service and resume the deployment
Related branches
lp:~niedbalski/charms/trusty/rabbitmq-server/hosts-ipv4
Rejected
for merging
into
lp:charms/trusty/rabbitmq-server
- James Page: Disapprove
- Review Queue (community): Approve (automated testing)
- Felipe Reyes (community): Approve
-
Diff: 187 lines (+113/-13)3 files modifiedMakefile (+1/-1)
hooks/rabbitmq_server_relations.py (+19/-11)
unit_tests/test_rabbitmq_server_relations.py (+93/-1)
tags: | added: cts openstack |
tags: | removed: openstack |
Changed in rabbitmq-server (Juju Charms Collection): | |
assignee: | nobody → Jorge Niedbalski (niedbalski) |
tags: |
added: sts removed: cts |
To post a comment you must log in.
Victor could you provide a bit more info about the environment that you are deploying in? This should only be a problem if (a) you are not using ipv6 mode in that charms and (b) your rabbitmq-server node is unable to resolve name like juju-vtapia- machine- 20 from the configured dns server. This *should* work fine if you have dns setup properly but I think there are some cases (MaaS dns?) where the name does not get resolved properly.