resizeNotAllowed incorrectly raised
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Medium
|
Anthony Young |
Bug Description
While doing a /images/detail request, I got back the error at the bottom of this report. There are two problems:
1) The element is resizeNotAllowed, but I think it's just an auth problem. I'm not asking for a resize!
2) The code in the error and the response code is 403, but the Details says "401..."
If it's relevant, I updated devstack by doing a manual 'git pull' in each directory, and then restarted the services; when this doesn't fail catastrophically (e.g. because of a DB change) it often shows up these problems. I think glance & nova have a different idea on what the auth token should be, and so glance is returning a 401 to nova:
2012-03-07 13:53:32 351 DEBUG [eventlet.
The circumstances that cause this to happen are a different bug though, I think...
---
1 > GET http://
1 > X-Auth-Token: b599fcbdf42f4bf
1 > Accept: application/xml
1 > Content-Type: application/xml
1 * Client in-bound response
1 < 403
1 < Date: Wed, 07 Mar 2012 21:53:32 GMT
1 < Content-Length: 451
1 < Content-Type: application/xml; charset=UTF-8
1 < Connection: keep-alive
1 < X-Compute-
1 <
<resizeNotAllowed code="403" xmlns="http://
Details: 401 Unauthorized
This server could not verify that you are authorized to access the document you requested. Either you supplied the wrong credentials (e.g., bad password), or your browser does not understand how to supply the credentials required.
Authentication required </message>
Changed in nova: | |
importance: | Undecided → Medium |
status: | New → Confirmed |
tags: | added: essex-rc-potential |
Changed in nova: | |
milestone: | none → essex-rc2 |
tags: | removed: essex-rc-potential |
Changed in nova: | |
milestone: | essex-rc2 → 2012.1 |
Can you add the following to nova.conf and restart nova-api?
auth_strategy= keystone
I was able to resolve this same error in my lab by making this change.