Bug 1839025

Summary: Configure Cloud Connector relies on information which is no longer provided by the API
Product: Red Hat Satellite Reporter: Adam Ruzicka <aruzicka>
Component: RH Cloud - Cloud ConnectorAssignee: Adam Ruzicka <aruzicka>
Status: CLOSED ERRATA QA Contact: Lukáš Hellebrandt <lhellebr>
Severity: high Docs Contact:
Priority: unspecified    
Version: 6.8.0CC: aruzicka, egolov
Target Milestone: 6.8.0Keywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ansiblerole-satellite-receptor-installer-0.6.8 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-10-27 13:02:44 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:
Attachments:
Description Flags
receptor_install_job.log none

Description Adam Ruzicka 2020-05-22 10:56:46 UTC
Description of problem:
Configure cloud connector playbook tries to retrieve a private key from manifest/organization by talking to katello/api/v2/organizations/:org_id. However this was removed in BZ1828549. We need to figure out an alternative way of obtaining the private key, otherwise the playbook will fail to configure the cloud connector.

[1] - https://bugzilla.redhat.com/show_bug.cgi?id=1828549

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


How reproducible:
Always


Steps to Reproduce:
1. Run cloud connector on 6.8 (or anything that has katello >=3.6.0)

Actual results:
It fails to obtain the private key, cloud connector is not configured for the organization.

Expected results:
Private key is obtained, cloud connector is configured and can open connection to the cloud.

Additional info:

Comment 1 Lukáš Hellebrandt 2020-06-03 13:36:49 UTC
Created attachment 1694830 [details]
receptor_install_job.log

Adding a log of job invocation showing how this manifests.

Comment 2 Lukáš Hellebrandt 2020-07-09 15:00:22 UTC
Verified with Sat 6.8 snap 8.0. Installed Receptor successfully using the job template.

Comment 5 errata-xmlrpc 2020-10-27 13:02:44 UTC
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 (Important: Satellite 6.8 release), 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://access.redhat.com/errata/RHSA-2020:4366