Documentation anomaly in TransportURL parse classmethod
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
oslo.messaging |
Fix Released
|
Low
|
Oleksii Zamiatin |
Bug Description
The documentation for the classmethod `parse` states that
The last parsed username and password will be propagated to the rest
of hosts specified::
user:
[
{"username": "user", "password": "pass", "host": "host1:port1"},
{"username": "user", "password": "pass", "host": "host2:port2"}
]
However, in practice one needs to specify the usernames and passwords individually with every host. Otherwise no authentication credentials are set for that host. The test cases in the test_url.py file are also written keeping that behaviour in mind.
>>> TransportURL.
<TransportURL transport='rabbit', virtual_host='/', hosts=[
>>> TransportURL.
<TransportURL transport='rabbit', virtual_host='/', hosts=[
One out of code+tests or documentation needs to be changed.
description: | updated |
summary: |
- Documentation anomaly in TranportURL parse classmethod + Documentation anomaly in TransportURL parse classmethod |
Changed in oslo.messaging: | |
importance: | Undecided → Low |
status: | New → Confirmed |
Changed in oslo.messaging: | |
assignee: | nobody → Oleksii Zamiatin (ozamiatin) |
Changed in oslo.messaging: | |
milestone: | none → 1.5.0 |
status: | Fix Committed → Fix Released |
Fix proposed to branch: master /review. openstack. org/131812
Review: https:/