This bug was fixed in the package simplestreams - 0.1.0~bzr460-0ubuntu1
---------------
simplestreams (0.1.0~bzr460-0ubuntu1) bionic; urgency=medium
* New upstream snapshot.
- Glance: handle Keystone v2 session based authentication.
[David Ames] (LP: #1611987)
-- Scott Moser <[email protected]> Thu, 12 Apr 2018 12:50:58 -0400
** Changed in: simplestreams (Ubuntu Bionic)
Status: Confirmed => Fix Released
--
You received this bug notification because you are a member of नेपाली
भाषा समायोजकहरुको समूह, which is subscribed to Xenial.
Matching subscriptions: Ubuntu 16.04 Bugs
https://bugs.launchpad.net/bugs/1611987
Title:
glance-simplestreams-sync charm doesn't support keystone v3
Status in OpenStack glance-simplestreams-sync charm:
Fix Committed
Status in Glance - Simplestreams Sync Charm:
Invalid
Status in simplestreams:
Confirmed
Status in simplestreams package in Ubuntu:
Fix Released
Status in simplestreams source package in Xenial:
Confirmed
Status in simplestreams source package in Artful:
Confirmed
Status in simplestreams source package in Bionic:
Fix Released
Status in glance-simplestreams-sync package in Juju Charms Collection:
Invalid
Bug description:
I was deploying a Mitaka Trusty 16.04 charm based Openstack cloud
(using the cloud archives), including glance-simplestreams-sync, using
keystone v3.
Once I had everything deployed, the glance-simplestreams-sync service
couldn't authenticate because it's using keystone v2, not v3, as you
can see from the following:
INFO * 08-10 23:16:01 [PID:33554] * root * glance-simplestreams-sync
started.
DEBUG * 08-10 23:16:01 [PID:33554] * keystoneclient.session * REQ: curl
-i -X POST http://x.y.z.240:5000/v2.0/tokens -H "Content-Type:
application/json" -H "User-Agent: python-keystoneclient" -d '{"auth":
{"passwordCredentials": {"username": "image-stream", "password":
"thisisnotapassword"}, "tenantId": "blahblahtenantidblahblah"}}'
INFO * 08-10 23:16:01 [PID:33554] * urllib3.connectionpool * Starting
new HTTP connection (1): x.y.z.240
DEBUG * 08-10 23:16:01 [PID:33554] * urllib3.connectionpool * Setting
read timeout to None
DEBUG * 08-10 23:16:01 [PID:33554] * urllib3.connectionpool * "POST
/v2.0/tokens HTTP/1.1" 401 114
DEBUG * 08-10 23:16:01 [PID:33554] * keystoneclient.session * RESP: [401]
CaseInsensitiveDict({'content-length': '114', 'vary': 'X-Auth-Token', 'server':
'Apache/2.4.7 (Ubuntu)', 'date': 'Wed, 10 Aug 2016 23:16:01 GMT',
'www-authenticate': 'Keystone uri="http://x.y.z.240:5000"',
'x-openstack-request-id': 'req-f8aaf12d-01ea-46be-869a-6948ab38361b',
'content-type': 'application/json', 'x-distribution': 'Ubuntu'})
RESP BODY: {"error": {"message": "The request you have made requires
authentication.", "code": 401, "title": "Unauthorized"}}
DEBUG * 08-10 23:16:01 [PID:33554] * keystoneclient.session * Request
returned failure status: 401
DEBUG * 08-10 23:16:01 [PID:33554] * keystoneclient.v2_0.client *
Authorization Failed.
Please update the charm to understand when its using keystone v3 and
use the right auth methods.
Related bugs:
* bug 1686437: glance sync: need keystone v3 auth support
To manage notifications about this bug go to:
https://bugs.launchpad.net/charm-glance-simplestreams-sync/+bug/1611987/+subscriptions
_______________________________________________
Mailing list: https://launchpad.net/~group.of.nepali.translators
Post to : [email protected]
Unsubscribe : https://launchpad.net/~group.of.nepali.translators
More help : https://help.launchpad.net/ListHelp