** Changed in: python-glanceclient (Ubuntu Xenial)
Status: New => In Progress
** Description changed:
+ [Impact]
If you have multiple endpoints configured as follows:
- $ openstack endpoint list|grep glance
- | 3ee11ce39098457d9dbf788fcdffbb5e | region1 | glance | image
| True | internal | https://192.168.245.9:9292 |
- | bba9cb25c0fc46f38ad41bc2944f952f | region1 | glance | image
| True | public | https://myhelion.test:9292 |
- | db38baa73a8542f39df4de424e407014 | region1 | glance | image
| True | admin | https://192.168.245.9:9292
-
+ $ openstack endpoint list|grep glance
+ | 3ee11ce39098457d9dbf788fcdffbb5e | region1 | glance | image
| True | internal | https://192.168.245.9:9292 |
+ | bba9cb25c0fc46f38ad41bc2944f952f | region1 | glance | image
| True | public | https://myhelion.test:9292 |
+ | db38baa73a8542f39df4de424e407014 | region1 | glance | image
| True | admin | https://192.168.245.9:9292
It should be possible to run:
- $ glance --os-cacert /tmp/ca-certificates.crt --os-tenant-name admin
+ $ glance --os-cacert /tmp/ca-certificates.crt --os-tenant-name admin
--os-username admin --os-password xxx --os-auth-url
https://192.168.245.9:35357 --os-endpoint-type internalURL image-list
This command used to work successfully on the liberty stable branch.
For example if you check out this commit from the liberty stable branch:
- $ git checkout c077858dd6e0cd827af2418e1a05ca1f27937764
+ $ git checkout c077858dd6e0cd827af2418e1a05ca1f27937764
it works ok.
If you check out the head of the liberty stable branch though it fails
with:
- Error finding address for https://myhelion.test:9292/versions: Unable
+ Error finding address for https://myhelion.test:9292/versions: Unable
to establish connection to https://myhelion.test:9292/versions
-
If you checkout the master branch it fails with the same error.
If you revert this patch:
- commit c11c8c432bde60e6ef652119186aa205c3bf3076
- Author: Darja Shakhray <[email protected]>
- Date: Tue Dec 29 16:41:38 2015 +0300
+ commit c11c8c432bde60e6ef652119186aa205c3bf3076
+ Author: Darja Shakhray <[email protected]>
+ Date: Tue Dec 29 16:41:38 2015 +0300
- Use session when not specified token or endpoint
-
- When no token or endpoint, it creates a session and from there
- taken the necessary values.
- This commit proposes to transfer a session in such cases.
- This will avoid unnecessary actions and some of the problems.
-
- Change-Id: Idc874b6c01e915e52904604d59e8e0b460e71621
- Partial-bug: #1519546
- (cherry picked from commit bda34034eb74023ffb1edf4a0c26aa574da0926d)
+ Use session when not specified token or endpoint
+ When no token or endpoint, it creates a session and from there
+ taken the necessary values.
+ This commit proposes to transfer a session in such cases.
+ This will avoid unnecessary actions and some of the problems.
+
+ Change-Id: Idc874b6c01e915e52904604d59e8e0b460e71621
+ Partial-bug: #1519546
+ (cherry picked from commit bda34034eb74023ffb1edf4a0c26aa574da0926d)
On stable/liberty, then the command starts working again.
Similarly, if you revert that change on master the command starts
working again.
+ (The equivalent openstack client command works ok.)
- (The equivalent openstack client command works ok.)
+ [Test Case]
+
+ See Impact section.
+
+ [Regression Potential]
+
+ The fixes are cherry-picked and unchanged from upstream master and
+ stable/mitaka branches, helping to limit the regression potential.
** Changed in: python-glanceclient (Ubuntu Xenial)
Status: In Progress => Fix Committed
** Changed in: python-glanceclient (Ubuntu Xenial)
Status: Fix Committed => In Progress
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1579768
Title:
[SRU] CLI endpoint type handling broken
To manage notifications about this bug go to:
https://bugs.launchpad.net/python-glanceclient/+bug/1579768/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs