glance client doc root initialized to /v1/v1
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Glance |
Fix Released
|
High
|
Dan Prince | ||
Essex |
Invalid
|
Medium
|
Unassigned |
Bug Description
Using Glance Folsom after commit 60ab521b01b4f65
I'm getting the following error when trying to use glance CLI commands:
[root@nova1 glance]# glance index
Failed to show index. Got error:
An object with the specified identifier was not found.
Details: 404 Not Found
The resource could not be found.
-----
After some debugging it looks like glance client's new URL version checks don't handle the case where doc_root starts with a slash.
This seems to fix it...
--- a/glance/
+++ b/glance/
@@ -50,7 +50,7 @@ LOG = logging.
# common chunk size for get and put
CHUNKSIZE = 65536
-VERSION_REGEX = re.compile(
+VERSION_REGEX = re.compile(
Changed in glance: | |
assignee: | nobody → Dan Prince (dan-prince) |
status: | New → In Progress |
importance: | Undecided → High |
Changed in glance: | |
milestone: | none → folsom-1 |
status: | Fix Committed → Fix Released |
Changed in glance: | |
milestone: | folsom-1 → 2012.2 |
Fix proposed to branch: master /review. openstack. org/6960
Review: https:/