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
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?
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
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.
Thank you, will cherry pick this to next build!
Verified ======== python-django-horizon-2015.1.0-10.el7ost.noarch
*** Bug 1233939 has been marked as a duplicate of this bug. ***
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