Bug 1572173

Summary: TLS everywhere Deployment - Openstack commands fail with ERROR (DiscoveryFailure): Could not determine a suitable URL for the plugin
Product: Red Hat OpenStack Reporter: Itzik Brown <itbrown>
Component: openstack-tripleo-heat-templatesAssignee: Emilien Macchi <emacchi>
Status: CLOSED CURRENTRELEASE QA Contact: Gurenko Alex <agurenko>
Severity: high Docs Contact:
Priority: unspecified    
Version: 13.0 (Queens)CC: hrybacki, itbrown, josorior, mburns, nyechiel, rmascena, trozet
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-05-22 05:14:25 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 Itzik Brown 2018-04-26 10:28:33 UTC
Description of problem:
After deployment with TLS any command fail
For example:
(overcloud) [stack@undercloud-0 ~]$ openstack server list
Failed to discover available identity versions when contacting https://overcloud.redhat.local:13000//v3. Attempting to parse version from URL.
Could not determine a suitable URL for the plugin


Version-Release number of selected component (if applicable):
openstack-tripleo-heat-templates-8.0.2-0.20180416194362.29a5ad5.el7ost.noarch

How reproducible:


Steps to Reproduce:
1. Deploy with TLS everywhere
2. Run source overcloudrc && openstack server list
3.

Actual results:


Expected results:


Additional info:
When adding entries to /etc/hosts there are no failures.
For example:
10.0.0.104 overcloud.redhat.local
192.168.24.10 overcloud.ctlplane.redhat.local

Comment 3 Itzik Brown 2018-05-15 06:06:23 UTC
Now it seems that there are duplicate entries of
overcloud.ctlplane.redhat.local

When removing one entry - there is no problem

Comment 5 Itzik Brown 2018-05-22 05:14:25 UTC
Checked with:
openstack-tripleo-heat-templates-8.0.2-22.el7ost.noarch

There are still duplicate entries in /etc/hosts but it seems to work anyway.