Bug 1276353
Summary: | CFME should not use OpenStack adminURL endpoints for any services | ||
---|---|---|---|
Product: | Red Hat CloudForms Management Engine | Reporter: | Chris Pelland <cpelland> |
Component: | Providers | Assignee: | Greg Blomquist <gblomqui> |
Status: | CLOSED ERRATA | QA Contact: | Jan Krocil <jkrocil> |
Severity: | high | Docs Contact: | |
Priority: | high | ||
Version: | 5.4.0 | CC: | cpelland, dajohnso, gblomqui, jfrey, jhardy, jprause, kmorey, mfeifer, obarenbo, tcarlin |
Target Milestone: | GA | Keywords: | ZStream |
Target Release: | 5.4.4 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | 5.4.4.1 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | 1276118 | Environment: | |
Last Closed: | 2015-12-16 13:19:05 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: | |||
Bug Depends On: | 1276118 | ||
Bug Blocks: |
Description
Chris Pelland
2015-10-29 14:13:03 UTC
New commit detected on cfme/5.4.z: https://code.engineering.redhat.com/gerrit/gitweb?p=cfme.git;a=commitdiff;h=24908430af1ca6ee6d12266b3fe27ddd42882eca commit 24908430af1ca6ee6d12266b3fe27ddd42882eca Author: Greg Blomquist <gblomqui> AuthorDate: Wed Oct 28 14:55:40 2015 -0400 Commit: Greg Blomquist <gblomqui> CommitDate: Tue Nov 10 16:41:16 2015 -0500 Stop using adminURL OSP service endpoints Fog defaults to using adminURL OSP service endpoints for some services. A blind grep of Fog code shows the following: > identity_v2.rb: @openstack_endpoint_type = options[:openstack_endpoint_type] || 'adminURL' > identity_v3.rb: @openstack_endpoint_type = options[:openstack_endpoint_type] || 'adminURL' > image_v1.rb: @openstack_endpoint_type = options[:openstack_endpoint_type] || 'adminURL' > image_v2.rb: @openstack_endpoint_type = options[:openstack_endpoint_type] || 'adminURL' > metering.rb: @openstack_endpoint_type = options[:openstack_endpoint_type] || 'adminURL' > planning.rb: @openstack_endpoint_type = options[:openstack_endpoint_type] || 'adminURL' > volume.rb: @openstack_endpoint_type = options[:openstack_endpoint_type] || 'adminURL' By explicitly setting the openstack_endpoint_type to 'publicURL', manageIQ will always use the publicURL for all connections to any OpenStack Service Endpoint. https://bugzilla.redhat.com/show_bug.cgi?id=1276118 https://bugzilla.redhat.com/show_bug.cgi?id=1276353 lib/openstack/openstack_handle/handle.rb | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) New commit detected on cfme/5.4.z: https://code.engineering.redhat.com/gerrit/gitweb?p=cfme.git;a=commitdiff;h=f1cf151a52faf1301d3f11fd117ae362d9eadfbe commit f1cf151a52faf1301d3f11fd117ae362d9eadfbe Merge: acee802 2490843 Author: Jason Frey <jfrey> AuthorDate: Wed Nov 11 16:18:07 2015 -0500 Commit: Jason Frey <jfrey> CommitDate: Wed Nov 11 16:18:07 2015 -0500 Merge branch 'bz1276353-os-use-public-endpoints' into '5.4.z' Stop using adminURL OSP service endpoints Fog defaults to using adminURL OSP service endpoints for some services. A blind grep of Fog code shows the following: > identity_v2.rb: @openstack_endpoint_type = options[:openstack_endpoint_type] || 'adminURL' > identity_v3.rb: @openstack_endpoint_type = options[:openstack_endpoint_type] || 'adminURL' > image_v1.rb: @openstack_endpoint_type = options[:openstack_endpoint_type] || 'adminURL' > image_v2.rb: @openstack_endpoint_type = options[:openstack_endpoint_type] || 'adminURL' > metering.rb: @openstack_endpoint_type = options[:openstack_endpoint_type] || 'adminURL' > planning.rb: @openstack_endpoint_type = options[:openstack_endpoint_type] || 'adminURL' > volume.rb: @openstack_endpoint_type = options[:openstack_endpoint_type] || 'adminURL' By explicitly setting the openstack_endpoint_type to 'publicURL', manageIQ will always use the publicURL for all connections to any OpenStack Service Endpoint. https://bugzilla.redhat.com/show_bug.cgi?id=1276118 https://bugzilla.redhat.com/show_bug.cgi?id=1276353 Upstream: https://github.com/ManageIQ/manageiq/pull/5169 See merge request !397 lib/openstack/openstack_handle/handle.rb | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) Verified fixed in 5.4.4.2 - 5.4.4.2.20151130143928_89a28ce. 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-2620.html |