Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 2100420

Summary: [RFE] Support Satellite registration in ovirt.repositories role with username/password
Product: [oVirt] ovirt-ansible-collection Reporter: Petr Kubica <pkubica>
Component: repositoriesAssignee: Martin Necas <mnecas>
Status: CLOSED CURRENTRELEASE QA Contact: Petr Kubica <pkubica>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 2.0.3CC: bugs, mperina
Target Milestone: ovirt-4.5.2Keywords: FutureFeature, ZStream
Target Release: 2.2.0Flags: mperina: ovirt-4.5+
pm-rhel: planning_ack?
pm-rhel: devel_ack?
gdeolive: testing_ack+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ovirt-ansible-collection-2.2.0 Doc Type: Release Note
Doc Text:
We have added new parameters for Satellite support in the ansible repositories role. Main parameters which were added: ovirt_repositories_org - The org ID which should be used from Satellite ovirt_repositories_activationkey - Activation key which will be used with the org. ovirt_repositories_ca_rpm_url - The URL to install Satellite CA. ovirt_repositories_rhsm_environment - To set up the host with Satellite using username/password and choose which environment to use.
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-08-30 08:47:42 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Infra RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Petr Kubica 2022-06-23 10:17:39 UTC
Description of problem:
Currently ovirt.repositories role supports only registering a host with an activation key and org_id.
It should be also possible to just use ca_rpm of the Satellite with credentials and specifying pool ids for the registration as in standard subscription-manager registration to cdn.

It is also necessary to allow specifying environment during the registration process because if Satellite has more than one subscription-manager will interactively ask for it.

Comment 1 Petr Kubica 2022-08-11 09:19:13 UTC
Verified in ovirt-ansible-collection-2.2.1-1.el8ev.noarch

Comment 2 Sandro Bonazzola 2022-08-30 08:47:42 UTC
This bugzilla is included in oVirt 4.5.2 release, published on August 10th 2022.
Since the problem described in this bug report should be resolved in oVirt 4.5.2 release, it has been closed with a resolution of CURRENT RELEASE.
If the solution does not work for you, please open a new bug report.