After grizzly upgrade, EC2 API requests fail:Could not find: credential
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
keystone (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Upgrading a fairly standard Folsom setup to Grizzly using our packages. After the updated config files are put in place and database has been migrated, nova's EC2 API fails to authenticate requests with keystone. The OSAPI end point works just fine.
On the client:
$ euca-describe-
Unauthorized: Failure communicating with keystone
On the keystone server, with debug enabled:
2013-03-21 18:53:36 DEBUG [keystone.
2013-03-21 18:53:36 DEBUG [keystone.
2013-03-21 18:53:36 DEBUG [keystone.
2013-03-21 18:53:36 DEBUG [keystone.
2013-03-21 18:53:36 DEBUG [keystone.
2013-03-21 18:53:36 DEBUG [keystone.
2013-03-21 18:53:36 DEBUG [keystone.
2013-03-21 18:53:36 DEBUG [keystone.
2013-03-21 18:53:36 DEBUG [keystone.
2013-03-21 18:53:36 DEBUG [keystone.
2013-03-21 18:53:36 DEBUG [keystone.
2013-03-21 18:53:36 DEBUG [keystone.
2013-03-21 18:53:36 DEBUG [keystone.
2013-03-21 18:53:36 DEBUG [keystone.
2013-03-21 18:53:36 DEBUG [keystone.
2013-03-21 18:53:36 DEBUG [keystone.
2013-03-21 18:53:36 DEBUG [keystone.
2013-03-21 18:53:36 DEBUG [keystone.
2013-03-21 18:53:36 DEBUG [keystone.
2013-03-21 18:53:36 DEBUG [keystone.
2013-03-21 18:53:36 DEBUG [keystone.
2013-03-21 18:53:36 DEBUG [keystone.
2013-03-21 18:53:36 DEBUG [keystone.
2013-03-21 18:53:36 DEBUG [keystone.
2013-03-21 18:53:36 DEBUG [keystone.
2013-03-21 18:53:36 DEBUG [keystone.
2013-03-21 18:53:36 DEBUG [keystone.
2013-03-21 18:53:36 DEBUG [keystone.
2013-03-21 18:53:36 DEBUG [keystone.
2013-03-21 18:53:36 DEBUG [keystone.
2013-03-21 18:53:36 DEBUG [keystone.
2013-03-21 18:53:36 DEBUG [keystone.
2013-03-21 18:53:36 DEBUG [keystone.
2013-03-21 18:53:36 WARNING [keystone.
2013-03-21 18:53:36 DEBUG [keystone.
2013-03-21 18:53:36 DEBUG [keystone.
2013-03-21 18:53:36 DEBUG [keystone.
2013-03-21 18:53:36 DEBUG [keystone.
2013-03-21 18:53:36 DEBUG [keystone.
2013-03-21 18:53:36 DEBUG [keystone.
2013-03-21 18:53:36 DEBUG [keystone.
2013-03-21 18:53:36 INFO [access] 192.168.20.50 - - [21/Mar/
2013-03-21 18:53:36 DEBUG [eventlet.
The nova-api-ec2.log:
2013-03-21 18:54:28.516 13600 ERROR nova.api.ec2 [-] Unauthorized: Failure communicating with keystone
2013-03-21 18:54:28.516 13600 INFO nova.api.ec2 [-] 0.14199s 192.168.20.1 POST /services/Cloud/ None:None 400 [Boto/2.3.0 (linux2)] application/
2013-03-21 18:54:28.517 13600 INFO nova.ec2.
Related branches
- Openstack Ubuntu Testers: Pending requested
-
Diff: 80 lines (+25/-8)2 files modifieddebian/changelog (+7/-0)
debian/patches/sql_connection.patch (+18/-8)
tags: | added: upgrade |
tags: | added: ec2 |
Changed in keystone (Ubuntu): | |
status: | New → Confirmed |
This is total configuration / packaging error. After the package upgrade, the EC2 was set to use the KVS backend, when it was originally using SQL.