Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1226906 - Failed to upload images from Horizon - stuck in queued state.
Failed to upload images from Horizon - stuck in queued state.
Status: CLOSED ERRATA
Product: Red Hat OpenStack
Classification: Red Hat
Component: python-django-horizon (Show other bugs)
7.0 (Kilo)
x86_64 Linux
medium Severity unspecified
: ga
: 7.0 (Kilo)
Assigned To: Matthias Runge
Ido Ovadia
: Triaged
: 1233939 (view as bug list)
Depends On:
Blocks: 1163445
  Show dependency treegraph
 
Reported: 2015-06-01 08:19 EDT by Tzach Shefi
Modified: 2015-08-05 09:24 EDT (History)
8 users (show)

See Also:
Fixed In Version: python-django-horizon-2015.1.0-9.el7ost
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2015-08-05 09:24:41 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
Glance Horizon and audit logs (3.67 MB, application/x-gzip)
2015-06-01 08:19 EDT, Tzach Shefi
no flags Details


External Trackers
Tracker ID Priority Status Summary Last Updated
Launchpad 1451429 None None None Never
Red Hat Product Errata RHEA-2015:1548 normal SHIPPED_LIVE Red Hat Enterprise Linux OpenStack Platform Enhancement Advisory 2015-08-05 13:07:06 EDT

  None (edit)
Description Tzach Shefi 2015-06-01 08:19:02 EDT
Created attachment 1033308 [details]
Glance Horizon and audit logs

Description of problem:  Fail to upload image from file via Horizon, image is stuck in queued state, same image successfully uploaded via Glance CLI. 

Version-Release number of selected component (if applicable):
rhel7.1
python-glance-2015.1.0-6.el7ost.noarch
python-glance-store-0.4.0-1.el7ost.noarch
openstack-glance-2015.1.0-6.el7ost.noarch
python-glanceclient-0.17.0-2.el7ost.noarch

python-django-horizon-2015.1.0-8.el7ost.noarch

openstack-selinux-0.6.31-1.el7ost.noarch
selinux-policy-targeted-3.13.1-23.el7_1.7.noarch
selinux-policy-3.13.1-23.el7_1.7.noarch

How reproducible:
Not sure, problem happened on default SE enforcing. With permissive I was able to upload image once or twice.  Going back to enforcing it failed again. 
The off thing setting permissive on second attempt (even disabling SE) doesn't help I can't upload an images from Horizon. 

Steps to Reproduce:
1. Setup All in one, with packstack basic setup. 
2. Upload images from Glance CLI works fine.
3. Try to upload images from Horizon -> image stuck in queued state. 

Actual results:
Images stuck in queued state

Expected results:
Image should upload successfully.

Additional info:

Under glance api.log this is an image which failed to upload from Horizon and is stuck in queued state-> 
a5f28b1a-de6f-4a76-8811-b6fa26ebd68b
Comment 2 Matthias Runge 2015-06-02 03:02:44 EDT
Do you still have access to the machine?
If yes, could you please verify, the files

/usr/share/openstack-dashboard/static/dashboard/css/393475cb8105.css
/usr/share/openstack-dashboard/static/dashboard/css/ad4e9725e83e.css
exist?

(taken from logs, suspecting a misleading error message)

Something, which makes me suspicious is:

CommunicationError: Error finding address for http://10.35.160.137:9292/v1/images/a5f28b1a-de6f-4a76-8811-b6fa26ebd68b: ('Connection aborted.', error(104, 'Connection reset by peer'))

That message comes from communication between horizon and glance, meaning, glance has gone away?
Comment 3 Tzach Shefi 2015-06-02 03:58:33 EDT
Yep system is still up, I'll send details on xchat 
Don't have the files you ask for, only these:

-rw-r--r--. 1 root root  894087 Jun  1 15:49 c024f70c05f5.css
-rw-r--r--. 1 root root 1341695 Jun  1 15:49 d52334d93318.css
-rw-r--r--. 1 root root    3562 Jun  1 15:49 d7fc3590f4a6.css
-rw-r--r--. 1 root root   17780 May 28 15:15 font-awesome.min.css
Comment 4 Tzach Shefi 2015-06-03 05:11:53 EDT
Tip from Matthias -> https://review.openstack.org/#/c/184935/3

Cherry picking fixed problem, upload now works fine on same deployment that would failed before.
Comment 5 Matthias Runge 2015-06-03 05:17:05 EDT
Thank you, will cherry pick this to next build!
Comment 8 Ido Ovadia 2015-06-14 11:16:54 EDT
Verified
========
python-django-horizon-2015.1.0-10.el7ost.noarch
Comment 9 Matthias Runge 2015-06-23 10:25:53 EDT
*** Bug 1233939 has been marked as a duplicate of this bug. ***
Comment 11 errata-xmlrpc 2015-08-05 09:24:41 EDT
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHEA-2015:1548

Note You need to log in before you can comment on or make changes to this bug.