Your message dated Wed, 30 May 2018 15:02:36 +0000
with message-id <[email protected]>
and subject line Bug#899975: fixed in horizon 3:13.0.1-1
has caused the Debian Bug report #899975,
regarding Can't upload image over dashboard
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
899975: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=899975
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: openstack-dashboard
Version: 3:13.0.0-3
Can't upload image over dashboard
Reproduction:
In dahsboard
Admin -> Compute -> Images -> Create Image
Image name: cirros
Source type: cirros-0.4.0-x86_64-disk.img
Format: qcow2
Log:
10.233.120.64 - - [24/May/2018:11:10:41 +0300] "POST
/horizon/api/policy/ HTTP/1.1" 200 293
"http://10.211.5.250/horizon/admin/images" "Mozilla/5.0 (X11; Linux
x86_64; rv:59.0) Gecko/20100101
Firefox/59.0" 10.233.120.64 - -
[24/May/2018:11:10:41 +0300] "GET
/horizon/api/glance/images/?paginate=false HTTP/1.1" 200 3857
"http://10.211.5.250/horizon/admin/images" "Mozilla/5.0 (X11; Linux
x86_64; rv:59.0) Gecko/20100101 Firefox/59.0"
[Thu May 24 11:11:29.303047 2018] [wsgi:error] [pid 12:tid
140211979110144] Failed to remove temporary image file
/var/tmp/tmpxz8z2q9j.upload ([Errno 2] No such file or directory:
'/var/tmp/tmpxz8z2q9j.upload') [Thu May 24
11:11:29.303127 2018] [wsgi:error] [pid 12:tid 140211979110144]
Unhandled exception in thread started by <function
image_create.<locals>.upload at 0x7f861c06f158>
[Thu May 24 11:11:29.303145 2018] [wsgi:error] [pid 12:tid
140211979110144] Traceback (most recent call last):
[Thu May 24 11:11:29.303157 2018] [wsgi:error] [pid 12:tid
140211979110144] File
"/usr/share/openstack-dashboard/openstack_dashboard/api/glance.py", line
465, in upload
[Thu May 24 11:11:29.303706 2018] [wsgi:error] [pid 12:tid
140211979110144] return
glanceclient(request).images.upload(image.id, data)
[Thu May 24 11:11:29.303725 2018] [wsgi:error] [pid 12:tid
140211979110144] File
"/usr/lib/python3/dist-packages/glanceclient/common/utils.py", line 545,
in inner
[Thu May 24 11:11:29.304187 2018] [wsgi:error] [pid 12:tid
140211979110144] return RequestIdProxy(wrapped(*args, **kwargs))
[Thu May 24 11:11:29.304204 2018] [wsgi:error] [pid 12:tid
140211979110144] File
"/usr/lib/python3/dist-packages/glanceclient/v2/images.py", line 232, in
upload
[Thu May 24 11:11:29.304472 2018] [wsgi:error] [pid 12:tid
140211979110144] resp, body = self.http_client.put(url,
headers=hdrs, data=body)
[Thu May 24 11:11:29.304488 2018] [wsgi:error] [pid 12:tid
140211979110144] File
"/usr/lib/python3/dist-packages/glanceclient/common/http.py", line 292,
in put
[Thu May 24 11:11:29.304758 2018] [wsgi:error] [pid 12:tid
140211979110144] return self._request('PUT', url, **kwargs)
[Thu May 24 11:11:29.304772 2018] [wsgi:error] [pid 12:tid
140211979110144] File
"/usr/lib/python3/dist-packages/glanceclient/common/http.py", line 245,
in _request
[Thu May 24 11:11:29.305055 2018] [wsgi:error] [pid 12:tid
140211979110144] **kwargs)
[Thu May 24 11:11:29.305070 2018] [wsgi:error] [pid 12:tid
140211979110144] File
"/usr/lib/python3/dist-packages/requests/sessions.py", line 508, in request
10.233.120.64 - - [24/May/2018:11:11:09 +0300] "POST
/horizon/api/glance/images/ HTTP/1.1" 201 753
"http://10.211.5.250/horizon/admin/images" "Mozilla/5.0 (X11; Linux
x86_64; rv:59.0) Gecko/20100101 Firefox/59.0"
[Thu May 24 11:11:29.377728 2018] [wsgi:error] [pid 12:tid
140211979110144] resp = self.send(prep, **send_kwargs)
[Thu May 24 11:11:29.377759 2018] [wsgi:error] [pid 12:tid
140211979110144] File
"/usr/lib/python3/dist-packages/requests/sessions.py", line 618, in send
[Thu May 24 11:11:29.379271 2018] [wsgi:error] [pid 12:tid
140211979110144] r = adapter.send(request, **kwargs)
[Thu May 24 11:11:29.379290 2018] [wsgi:error] [pid 12:tid
140211979110144] File
"/usr/lib/python3/dist-packages/requests/adapters.py", line 460, in send
[Thu May 24 11:11:29.379818 2018] [wsgi:error] [pid 12:tid
140211979110144] for i in request.body:
[Thu May 24 11:11:29.379837 2018] [wsgi:error] [pid 12:tid
140211979110144] File
"/usr/lib/python3/dist-packages/glanceclient/common/http.py", line 66,
in _chunk_body
[Thu May 24 11:11:29.380058 2018] [wsgi:error] [pid 12:tid
140211979110144] chunk = body.read(CHUNKSIZE) [Thu May 24
11:11:29.380077 2018] [wsgi:error] [pid 12:tid 140211979110144] File
"/usr/lib/python3.6/tempfile.py", line 622, in func_wrapper
[Thu May 24 11:11:29.380526 2018] [wsgi:error] [pid 12:tid
140211979110144] return func(*args, **kwargs) [Thu May 24
11:11:29.380553 2018] [wsgi:error] [pid 12:tid 140211979110144]
ValueError: read of closed file
Load from console (like openstack image create "cirros"....) is worked
--- End Message ---
--- Begin Message ---
Source: horizon
Source-Version: 3:13.0.1-1
We believe that the bug you reported is fixed in the latest version of
horizon, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Thomas Goirand <[email protected]> (supplier of updated horizon package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Wed, 30 May 2018 16:40:53 +0200
Source: horizon
Binary: horizon-doc openstack-dashboard openstack-dashboard-apache
python3-django-horizon
Architecture: source all
Version: 3:13.0.1-1
Distribution: unstable
Urgency: medium
Maintainer: Debian OpenStack <[email protected]>
Changed-By: Thomas Goirand <[email protected]>
Description:
horizon-doc - web application to control an OpenStack cloud - doc
openstack-dashboard - web application to control an OpenStack cloud
openstack-dashboard-apache - web application to control an OpenStack cloud -
Apache support
python3-django-horizon - Django module providing web interaction with OpenStack
Closes: 899975
Changes:
horizon (3:13.0.1-1) unstable; urgency=medium
.
[ Michal Arbet ]
* New upstream version
* Add fix-upload-image.patch (Closes: #899975).
Checksums-Sha1:
91d55ea22567d88bac6e3952ecf2bc1bb94109df 4863 horizon_13.0.1-1.dsc
047ae8c494cad593041c71efa36fec332d36ceb8 2824252 horizon_13.0.1.orig.tar.xz
99e565c7f78a2017eefda08a5c24c5f4033e8ee2 28572 horizon_13.0.1-1.debian.tar.xz
3c8f99ece7a19cc82b1bdd0fc796db324e1c1813 1963784 horizon-doc_13.0.1-1_all.deb
5d674d71249619b31ddba0a0955b1ba820bfc0b3 18194 horizon_13.0.1-1_amd64.buildinfo
624cfd89aafaed7bc8b6936a6108641a254eeb84 15552
openstack-dashboard-apache_13.0.1-1_all.deb
29d2820e649dafbf14bcd6ef3966658fca6e3c37 2292672
openstack-dashboard_13.0.1-1_all.deb
6cb0e74473b495bb809ceb8ffee7f97d0f86b29d 2722564
python3-django-horizon_13.0.1-1_all.deb
Checksums-Sha256:
438811573a03e489097029a3d38cac1730c07e1e76ebd231fd7493a3a7ada677 4863
horizon_13.0.1-1.dsc
f57b8ca3a72fa63a7256c3a5462bdbe78d99b097ce222bb28f0687e61fbd1bf9 2824252
horizon_13.0.1.orig.tar.xz
7cc10ba90608801e9021de393cf4ac5ecad755f7628ca6d8588d29b4f1e666fc 28572
horizon_13.0.1-1.debian.tar.xz
5f3d4c45045a1d1bbb9eb4827439b9de60ee15a3f55a6979c226b22c658e55d6 1963784
horizon-doc_13.0.1-1_all.deb
205af3d867757725ac45ae4d05376362a96602e46a68fb0d8bb64ff26266468d 18194
horizon_13.0.1-1_amd64.buildinfo
cfe61d39bf739ae440a3e5a9048ece5c99c16034d31b6f0380c4a39d682b9790 15552
openstack-dashboard-apache_13.0.1-1_all.deb
6e0c0a7f546273b1212adc884049244ef1e2bed391ff401c00a06ae19f8d0244 2292672
openstack-dashboard_13.0.1-1_all.deb
757a538a0957f760f83422f12fae231f5dba7c2b6f237c9cf4d52f1710646373 2722564
python3-django-horizon_13.0.1-1_all.deb
Files:
4c4821168fc0024f29c1bee5a64c32ef 4863 net optional horizon_13.0.1-1.dsc
49cc7b6c4f3536536af957ec32622627 2824252 net optional
horizon_13.0.1.orig.tar.xz
649fa21d9ab0667a97efd68263c20394 28572 net optional
horizon_13.0.1-1.debian.tar.xz
553013d7885820cf4ce1aff159922f60 1963784 doc optional
horizon-doc_13.0.1-1_all.deb
d1948f4a44e4819e852fe6d3a26b3269 18194 net optional
horizon_13.0.1-1_amd64.buildinfo
b632ba27d9827a9754bb06ec9bd6dcea 15552 net optional
openstack-dashboard-apache_13.0.1-1_all.deb
c4cffe1af703c0429365707853522402 2292672 net optional
openstack-dashboard_13.0.1-1_all.deb
bbf7ad12eb7f8c54f0b25b0a3ae7c39a 2722564 python optional
python3-django-horizon_13.0.1-1_all.deb
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCAAdFiEEtKCq/KhshgVdBnYUq1PlA1hod6YFAlsOuS4ACgkQq1PlA1ho
d6ZrnA/9H1VmM0IG6eCG3c84Ha5OdqqOM1jBQ7vCHJuBINrrYpYkM6KFVFE724+d
AnOQNe+af1HHtkEe1joB0KR7wahxDM1ZgAgsF8rPRF9db/fXJVdlZSEzfuo2yP83
YyADhJDRYqvR1Qk9jZKVd636ltQ1rGdCPwSt0L3RSbSdOaCF0cuEuJwUunWb1sDr
a/jeJlxK3M/kc93SyprzvHNI7FVigACvW+oJFR4A1TDZql7Hwk3gOOj45YmYs51H
lVdEC8PLH5uBG1RDBblcAj6qK2JidsJJuLpjrvaTuQvwhNZkChJ4PeFqYFztKRWr
K77s9Z+DKB3iFbCulGPM1CHI1stuRT8rPxsl5caElghy1CoeIvtEkq37ybC3NE4B
gIA+l0ZusCOlNW/UF13vC/pj3W3hjYF/+tMGp47/mlvI9gvBOVECxqQdtw4KOhFi
NlwX4G259Epedj6splow1zkEKIdZjWs0oyjKcexmObxDLEHxBkaLRbI7edsZKxjP
yY1Jp19+2SVZLoydPzcJrgoPjRTEAlfVKbNNnw4N5yRpaUyfX0nSNXz2qTUMre3s
ttKq11mix05mC9JN92SldA3xV7b78f2XSzek0u263Y2/SpjKjFJj2JCxFTtcROwF
9k9jd55ufxA8qF7fI6gtQIJYjQjgzcgrisVyJR4wsvlAhtjqKM0=
=P28w
-----END PGP SIGNATURE-----
--- End Message ---