Merge lp:~niedbalski/charms/trusty/rabbitmq-server/hosts-ipv4 into lp:charms/trusty/rabbitmq-server
Proposed by
Jorge Niedbalski
Status: | Rejected | ||||
---|---|---|---|---|---|
Rejected by: | David Britton | ||||
Proposed branch: | lp:~niedbalski/charms/trusty/rabbitmq-server/hosts-ipv4 | ||||
Merge into: | lp:charms/trusty/rabbitmq-server | ||||
Diff against target: |
187 lines (+113/-13) 3 files modified
Makefile (+1/-1) hooks/rabbitmq_server_relations.py (+19/-11) unit_tests/test_rabbitmq_server_relations.py (+93/-1) |
||||
To merge this branch: | bzr merge lp:~niedbalski/charms/trusty/rabbitmq-server/hosts-ipv4 | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
James Page | Disapprove | ||
Review Queue (community) | automated testing | Approve | |
Felipe Reyes (community) | Approve | ||
Review via email: mp+244492@code.launchpad.net |
Description of the change
Prior to this change, the /etc/hosts file was populated only when ipv6-prefer is set, this change removes the ipv6 constraint.
- Added tests to cover the change.
To post a comment you must log in.
Unmerged revisions
- 75. By Jorge Niedbalski
-
- Added /etc/hosts addition on ipv4 and ipv6 cases.
- Added tests for cover the changes
LGTM, the cluster was formed successfully with this change /etc/hosts contained IPv4 values.
$ juju run --service rabbitmq-server 'grep machine /etc/hosts' local-machine- 3
- MachineId: "1"
Stderr: "Warning: Permanently added '10.0.3.7' (ECDSA) to the list of known hosts.\r\n"
Stdout: '10.0.3.176 freyes-
10.0.3.241 freyes- local-machine- 2
' local-machine- 3
UnitId: rabbitmq-server/0
- MachineId: "2"
Stderr: "Warning: Permanently added '10.0.3.241' (ECDSA) to the list of known hosts.\r\n"
Stdout: '10.0.3.176 freyes-
10.0.3.7 freyes- local-machine- 1
' local-machine- 1
UnitId: rabbitmq-server/1
- MachineId: "3"
Stderr: "Warning: Permanently added '10.0.3.176' (ECDSA) to the list of known hosts.\r\n"
Stdout: '10.0.3.7 freyes-
10.0.3.241 freyes- local-machine- 2
'
UnitId: rabbitmq-server/2