Updating an image with malformed location returns E500
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Glance |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
$ glance image-create --name s1
+------
| Property | Value |
+------
| checksum | None |
| container_format | None |
| created_at | 2013-07-25T17:07:55 |
| deleted | False |
| deleted_at | None |
| disk_format | None |
| id | 9815e880-
| is_public | False |
| min_disk | 0 |
| min_ram | 0 |
| name | s1 |
| owner | ecc4670241e842c
| protected | False |
| size | 0 |
| status | queued |
| updated_at | 2013-07-25T17:07:55 |
+------
$ glance image-update 9815e880-
Request returned failure status.
HTTPInternalSer
Stacktrace:
4841 DEBUG eventlet.
File "/usr/local/
result = self.applicatio
File "/usr/local/
resp = self.call_func(req, *args, **self.kwargs)
File "/usr/local/
return self.func(req, *args, **kwargs)
File "/opt/stack/
response = req.get_
File "/usr/local/
application, catch_exc_
File "/usr/local/
app_iter = application(
File "/opt/stack/
return self.app(env, start_response)
File "/usr/local/
resp = self.call_func(req, *args, **self.kwargs)
File "/usr/local/
return self.func(req, *args, **kwargs)
File "/opt/stack/
response = req.get_
File "/usr/local/
application, catch_exc_
File "/usr/local/
app_iter = application(
File "/usr/local/
resp = self.call_func(req, *args, **self.kwargs)
File "/usr/local/
return self.func(req, *args, **kwargs)
File "/opt/stack/
response = req.get_
File "/usr/local/
application, catch_exc_
File "/usr/local/
app_iter = application(
File "/usr/local/
resp = self.call_func(req, *args, **self.kwargs)
File "/usr/local/
return self.func(req, *args, **kwargs)
File "/opt/stack/
response = req.get_
File "/usr/local/
application, catch_exc_
File "/usr/local/
app_iter = application(
File "/usr/lib/
return app(environ, start_response)
File "/usr/local/
return resp(environ, start_response)
File "/usr/lib/
response = self.app(environ, start_response)
File "/usr/local/
return resp(environ, start_response)
File "/usr/local/
resp = self.call_func(req, *args, **self.kwargs)
File "/usr/local/
return self.func(req, *args, **kwargs)
File "/opt/stack/
request, **action_args)
File "/opt/stack/
return method(*args, **kwargs)
File "/opt/stack/
return func(self, req, *args, **kwargs)
File "/opt/stack/
location)
File "/opt/stack/
location)
File "/opt/stack/
return store.get_size(loc)
File "/opt/stack/
connection = self.get_
File "/opt/stack/
raise exception.
BadStoreUri: The Store URI was malformed.
Changed in glance: | |
status: | New → Confirmed |
I can recreate this 500 error. But what's the expected result? 400?