restarting mysql, Keystone doesn't reconnect, AttributeError
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Identity (keystone) |
Fix Released
|
High
|
Brant Knudson |
Bug Description
When restart the mysqld server that Keystone is connected to, Keystone operations fail with a 500 Internal Server Error.
To recreate, start with normal devstack. Run a keystone command:
$ keystone user-list
+------
| id | name | enabled | email |
+------
| 1fae4ded68444d5
| 3ff71f71063f4ae
...
Then restart mysqld:
$ sudo service mysql restart
Then run a keystone command again:
$ keystone user-list
Authorization Failed: An unexpected error prevented the server from fulfilling your request. 'module' object has no attribute 'warn' (HTTP 500)
The Keystone server log has:
File "/opt/stack/
logging.
AttributeError: 'module' object has no attribute 'warn'
The expected behavior is that the Keystone server will reconnect properly and the command will work as normal.
Changed in keystone: | |
assignee: | nobody → Brant Knudson (blk-u) |
Changed in keystone: | |
status: | New → In Progress |
Changed in keystone: | |
milestone: | none → havana-rc2 |
tags: | removed: havana-backport-potential |
Changed in keystone: | |
milestone: | havana-rc2 → 2013.2 |
This doesn't affect grizzly, right?