Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Description of problem:
When adding an openstack compute resource to Satellite, it will throw errors connecting to some Openstack resources (such as cinder) because it defaults to connecting to Openstack services on the adminURL instead of the publicURL. This is because the ruby fog library it uses defaults to adminURL. See
https://github.com/fog/fog-openstack/issues/234
This causes issues because by default, RHOS and RDO TripleO installations always put adminURLs on internal networks that aren't publicly accessible. This is valid because for most non-keystone services, the public and admin urls have the same functionality, and the adminURL is not needed.
Version-Release number of selected component (if applicable):
Satellite 6.2
How reproducible:
Reproducable easily with Satellite 6.2 against RHOS 11
Steps to Reproduce:
1. Do a standard RHOS 11 installation with TripleO
2. Configure compute provider in satellite to point to RHOS 11 installation
3. Attempt to create an instance backed onto a cinder volume
Actual results:
Get an error failing to connect to (cinder internal url)
Expected results:
instance is created successfully
Additional info:
We need to update
https://github.com/theforeman/foreman/blob/develop/app/models/compute_resources/foreman/model/openstack.rb#L187-L194
to expose the option openstack_endpoint_type to the user (or default it to publicURL)
Comment 3Daniel Lobato Garcia
2017-11-22 16:01:11 UTC
This was fixed through projects.theforeman.org/issues/12054 - now we default to publicURL.
Closing as POST and duplicate of https://bugzilla.redhat.com/show_bug.cgi?id=1513932 since the fix is the same.
*** This bug has been marked as a duplicate of bug 1513932 ***