The update_hosts_file function requires a full map of entries to
write into /etc/hosts; the previous use of this function tried
to write individual host entries only.
Ensure that a full map of self + peers is written at appropriate
points in a units lifecycle to ensure self and peer hostname
resolvability.
Reviewed: https:/ /review. openstack. org/338865 /git.openstack. org/cgit/ openstack/ charm-rabbitmq- server/ commit/ ?id=0ded449e8d3 2428baf7992cfc6 999f82e9996c1a
Committed: https:/
Submitter: Jenkins
Branch: master
commit 0ded449e8d32428 baf7992cfc6999f 82e9996c1a
Author: James Page <email address hidden>
Date: Thu Jul 7 11:48:52 2016 +0100
Ensure rabbit hosts are resolvable
The update_hosts_file function requires a full map of entries to
write into /etc/hosts; the previous use of this function tried
to write individual host entries only.
Ensure that a full map of self + peers is written at appropriate
points in a units lifecycle to ensure self and peer hostname
resolvability.
(also fixed a typo in a status message)
Change-Id: If40b31a5564186 1a1e03985f318e0 12b545fcc25
Closes-Bug: 1592200
Closes-Bug: 1590085