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

Bug 1548082

Summary: [RFE] Role should find pool ids by self
Product: [oVirt] ovirt-ansible-collection Reporter: Petr Kubica <pkubica>
Component: repositoriesAssignee: Ondra Machacek <omachace>
Status: CLOSED CURRENTRELEASE QA Contact: Petr Kubica <pkubica>
Severity: high Docs Contact:
Priority: unspecified    
Version: 1.1.0CC: kkoukiou, mgoldboi, mperina, talayan
Target Milestone: ovirt-4.2.7Keywords: FutureFeature
Target Release: ---Flags: rule-engine: ovirt-4.2+
mgoldboi: planning_ack+
mperina: devel_ack+
rule-engine: testing_ack+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ovirt-ansible-repositories-1.1.2 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-11-02 14:38:06 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 2018-02-22 16:28:09 UTC
Description of problem:
User now must pass pool ids which he can discover after registering the system into CDN, so from this perspective he must do work manually instead of using this role.

I prefer automatic discovering the right pools only when pools ids will be undefined.

In Satellite documentation [1], they have a possible way how to do that.

[1] https://access.redhat.com/documentation/en-us/red_hat_satellite/6.2/html/installation_guide/installing_satellite_server#identifying_attaching_subscription_satellite

Comment 1 Petr Kubica 2018-08-24 11:02:38 UTC
Subscription name does not have to contain "^Red Hat Virtualization$"

it could be for example:
- Red Hat Virtualization Manager
- Red Hat Virtualization Host
- Red Hat Virtualization
- Red Hat Virtualization for Disaster Recovery (2-sockets), Standard
- Employee SKU

(In my case it was Employee SKU, so role didn't attach any pool and continues without any error)

Role should find pool based on what product SKU provide (in provides section)

Version-Release number of selected component (if applicable):
ovirt-ansible-repositories-1.1.2-0.1.master.20180822142252.el7.noarch

Comment 2 Petr Kubica 2018-09-19 12:40:41 UTC
Verified in ovirt-ansible-repositories-1.1.2-0.1.master.20180912152525.el7.noarch

Comment 3 Sandro Bonazzola 2018-11-02 14:38:06 UTC
This bugzilla is included in oVirt 4.2.7 release, published on November 2nd 2018.

Since the problem described in this bug report should be
resolved in oVirt 4.2.7 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.