Red Hat Bugzilla – Bug 1283932
openstack command issue InsecurePlatformWarning warning
Last modified: 2017-02-28 19:42:09 EST
When running openstack commands on a RHEL7 machine, using HTTPS URL:s to the services, every command starts with a warning:
/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.
According to the web page referred, this seems to be a problem that has been fixed in a later version.
Similar messages happens with OSP7 Bug 1242675 " When the undercloud is configured with SSL=true any Cli command produce multiple SSL SecurityWarning. (edit) "
If using the package python-ndg_httpsclient from EPEL makes these warnings go away so basically the workaround is:
export PYTHONWARNINGS="ignore:Certificate has no, ignore:A true SSLContext object is not available"
This warning isn't present in RDO with pyOpenSSL-0.15.1-1.el7ost, can we add that (or higher) to OSP?
If we talk about the pyOpenSSL this package is shipped with the current RHEL Server repositories and [latest] in the pyOpenSSL package is 0.13.1-3.el7. then we need to negotiate on adding this package to current RHEL Server repo. Not the OSP one.
Issues which blocks pyOpenSSL-0.15.1-1.el7ost being shipped yet with RHEL
not openstackclient issue