a filter option(region_name) in swift cli not working as expected
Bug #1957935 reported by
Youngsol Koh
This bug report is a duplicate of:
Bug #1957933: swift-cli : a filter option(region_name) not working as expected.
Edit
Remove
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-swiftclient |
In Progress
|
Undecided
|
Youngsol Koh |
Bug Description
swift --os-auth-url ${AUTH_URL}
-
-
-
-
-
If you have multiple regions, the result of the cli is always pointing to last element in end-point list, regardless of the specified region(${REGION}).
swift version: python-swiftclient 3.13.0
Similar issue: https:/
Changed in python-swiftclient: | |
assignee: | nobody → Youngsol Koh (youngsol) |
Changed in python-swiftclient: | |
status: | New → In Progress |
To post a comment you must log in.
Originated from this issue below. /bugs.launchpad .net/python- swiftclient/ +bug/1506383
https:/
This problem is marked as commited but it is not working properly.
warnings.warn(
'Providing attr without filter_value to get_urls() is '
'deprecated as of the 1.7.0 release and may be removed in the '
'2.0. 0 release. Either both should be provided or neither '
'should be provided.')
The commit forces put literal 'attr' to filter_kwarg though I think attr is attribute to filter.
Thus, literal 'attr' should be 'region_name' and corresponding filter value should be provided in the kwarg dict.