Bug 1259529

Summary: When using SSL in undercloud, urllib3 display InsecurePlatformWarning messages
Product: Red Hat OpenStack Reporter: David Hill <dhill>
Component: rhosp-directorAssignee: chris alfonso <calfonso>
Status: CLOSED DUPLICATE QA Contact: yeylon <yeylon>
Severity: low Docs Contact:
Priority: unspecified    
Version: 7.0 (Kilo)CC: hbrock, mburns, rhel-osp-director-maint, srevivo
Target Milestone: ---   
Target Release: 8.0 (Liberty)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-09-02 23:36:07 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 David Hill 2015-09-02 23:21:14 UTC
Description of problem:
When using SSL in undercloud, urllib3 display InsecurePlatformWarning messages like this:
/usr/lib/python2.7/site-packages/requests/packages/urllib3/util/ssl_.py:90: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning.
  InsecurePlatformWarning


Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1. Use SSL in undercloud.conf
2. Install the undercloud
3. While installing, the warning messages will be displayed and each time the openstack command is ran, that warning message will be displayed again

Actual results:
/usr/lib/python2.7/site-packages/requests/packages/urllib3/util/ssl_.py:90: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning.
  InsecurePlatformWarning
+--------------------------------------+--------------------+----------------------------+-------+----------------+---------------------------+
| id                                   | agent_type         | host                       | alive | admin_state_up | binary                    |
+--------------------------------------+--------------------+----------------------------+-------+----------------+---------------------------+
| 79f0a0e2-9f22-479c-802d-fd0d67dcb44d | Open vSwitch agent | osp-director.openstack.org | :-)   | True           | neutron-openvswitch-agent |
| d8392383-caf7-4b4b-9c36-cc681b0430c2 | DHCP agent         | osp-director.openstack.org | :-)   | True           | neutron-dhcp-agent        |
+--------------------------------------+--------------------+----------------------------+-------+----------------+---------------------------+

Expected results:
+--------------------------------------+--------------------+----------------------------+-------+----------------+---------------------------+
| id                                   | agent_type         | host                       | alive | admin_state_up | binary                    |
+--------------------------------------+--------------------+----------------------------+-------+----------------+---------------------------+
| 79f0a0e2-9f22-479c-802d-fd0d67dcb44d | Open vSwitch agent | osp-director.openstack.org | :-)   | True           | neutron-openvswitch-agent |
| d8392383-caf7-4b4b-9c36-cc681b0430c2 | DHCP agent         | osp-director.openstack.org | :-)   | True           | neutron-dhcp-agent        |
+--------------------------------------+--------------------+----------------------------+-------+----------------+---------------------------+

Additional info:

Comment 3 Mike Burns 2015-09-02 23:36:07 UTC

*** This bug has been marked as a duplicate of bug 1242675 ***