Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1192517

Summary: Swift.py does not respect the OPENSTACK_SSL_NO_VERIFY setting for use with self signed certs
Product: Red Hat OpenStack Reporter: Lee Yarwood <lyarwood>
Component: python-django-horizonAssignee: Matthias Runge <mrunge>
Status: CLOSED ERRATA QA Contact: Ido Ovadia <iovadia>
Severity: high Docs Contact:
Priority: high    
Version: 5.0 (RHEL 6)CC: ajeain, aortega, athomas, dnavale, mrunge, scohen, yeylon
Target Milestone: z4Keywords: ZStream
Target Release: 5.0 (RHEL 7)   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: python-django-horizon-2014.1.3-5.el7ost, python-django-horizon-2014.1.3-5.el6ost Doc Type: Bug Fix
Doc Text:
The option 'OPENSTACK_SSL_NO_VERIFY' is used to enable or disable checks for SSL certificate validity. Swift client ignored this check. As a result, you could not use Horizon with swift and swift was accessed by a self signed certificate. With this update, the option is now handled properly and Horizon is able to use this endpoint while the 'OPENSTACK_SSL_NO_VERIFY' option is enabled.
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-04-16 15:10:13 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Lee Yarwood 2015-02-13 15:36:20 UTC
Description of problem:
Swift.py does not respect the OPENSTACK_SSL_NO_VERIFY setting for use with self signed certs. This issue has been resolved upstream [1] for the Juno release [2].  This isn't viable for a stable/Icehouse backport but IMHO is for a RHEL OSP 5.0.z backport.

[1] https://bugs.launchpad.net/horizon/+bug/1311357
[2] https://review.openstack.org/#/c/89975/

Version-Release number of selected component (if applicable):
python-django-horizon-2014.1.3-3.el7ost.src.rpm

How reproducible:
Always.

Steps to Reproduce:
1. Configure a swift endpoint using self signed SSL certificates and attempt to use this from Horizon.

Actual results:
Horizon is unable to use this endpoint as it's own Swift client ignores the OPENSTACK_SSL_NO_VERIFY option.

Expected results:
Horizon is able to use this endpoint while the OPENSTACK_SSL_NO_VERIFY option is enabled.

Additional info:

Comment 7 Ido Ovadia 2015-04-01 15:42:27 UTC
Verified
========
python-django-horizon-2014.1.4-1.el7ost.noarch

Comment 9 errata-xmlrpc 2015-04-16 15:10:13 UTC
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://rhn.redhat.com/errata/RHSA-2015-0839.html