oslo.messaging transport does not work with multiple transport hosts in the same(HA) RMQ cluster specified as transport://user:pass@host1:port[,hostN:portN]/virtual_host
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ceilometer |
Invalid
|
Undecided
|
Unassigned |
Bug Description
When specifying messaging_urls = rabbit:
oslo.messaging considers the first host as Transport and neglects others.
It only seems to work when this is done:
messaging_urls = rabbit:
messaging_urls = rabbit:
When specifying multiple transport hosts as belonging to same cluster in HA (without LB), the configuration is expected to be of the form: transport:
However, we tested with messaging_urls = rabbit:
and found that oslo.messaging allowed connects only to 192.168.
summary: |
- oslo.messaging transport cannot accept multiple transport hosts with - different ports and credentials in the same(HA) RMQ cluster + oslo.messaging transport does not work with multiple transport hosts in + the same(HA) RMQ cluster specified as + transport://user:pass@host1:port[,hostN:portN]/virtual_host |
summary: |
- oslo.messaging transport does not work with multiple transport hosts in - the same(HA) RMQ cluster specified as + oslo.messaging transport does not work with multiple transport hosts and + credentials in the same(HA) RMQ cluster specified as transport://user:pass@host1:port[,hostN:portN]/virtual_host |
summary: |
- oslo.messaging transport does not work with multiple transport hosts and - credentials in the same(HA) RMQ cluster specified as + oslo.messaging transport does not work with multiple transport hosts in + the same(HA) RMQ cluster specified as transport://user:pass@host1:port[,hostN:portN]/virtual_host |
Changed in ceilometer: | |
status: | New → Triaged |
Changed in ceilometer: | |
status: | Triaged → Invalid |
On further analysis, looks like oslo_messaging: transport.py is parsing the url correctly and identifying the multiple hosts, ports.