Unable to upload image via dashboard
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Dashboard (Horizon) |
Fix Released
|
Undecided
|
Michal Arbet |
Bug Description
It is unable to upload image via Horizon Dashboard.
Admin -> compute -> images -> Create new Image
Here is error log from apache:
Failed to remove temporary image file /tmp/tmpx0sza19
Unhandled exception in thread started by <function image_create.
Traceback (most recent call last):
File "/usr/lib/
return glanceclient(
File "/usr/lib/
return RequestIdProxy(
File "/usr/lib/
return (resp, body), resp
File "/usr/lib/
class SessionClient(
File "/usr/lib/
{'url': conn_url, 'e': e})
File "/usr/lib/
resp = self.send(prep, **send_kwargs)
File "/usr/lib/
r = adapter.
File "/usr/lib/
for i in request.body:
File "/usr/lib/
# a file-like object
File "/usr/lib/
return func(*args, **kwargs)
ValueError: read of closed file
I tried replicate the issue on devstack/queens but it is working there ... ( i think the issue is python3 related , so on devstack it is working because devstack is running under py2.7 )
I'm running horizon and also glance on python3 , installed from debian packages which are now supporting python3.
dpkg -l | grep horizon
ii python3-
dpkg -l | grep glance
ii glance 2:16.0.1-2+deb9ut1 all OpenStack Image Registry and Delivery Service - Daemons
After upload image via dashboard , image is in queued state forewer ..
If you need some more findings from me ... Logs, tcpdumps , etc ... let me know ..
Thanks
Changed in horizon: | |
assignee: | nobody → Michal Arbet (michalarbet) |
For example:
Dashboard -> Admin -> compute -> images -> Create Image ---> image=cirros , format=qcow2