Bug 1653805
| Summary: | Deploying Openshift 3.11 using director can't install the openshift rpms due repositories issue | ||
|---|---|---|---|
| Product: | Red Hat OpenStack | Reporter: | Edu Alcaniz <ealcaniz> |
| Component: | ansible-role-redhat-subscription | Assignee: | Emilien Macchi <emacchi> |
| Status: | CLOSED ERRATA | QA Contact: | Gurenko Alex <agurenko> |
| Severity: | urgent | Docs Contact: | |
| Priority: | urgent | ||
| Version: | 14.0 (Rocky) | CC: | dbecker, ealcaniz, emacchi, mburns, mcornea, morazi |
| Target Milestone: | rc | Keywords: | Triaged |
| Target Release: | 14.0 (Rocky) | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | ansible-role-redhat-subscription-1.0.1-5.el7ost | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2019-01-11 11:55:06 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: | |||
|
Description
Edu Alcaniz
2018-11-27 16:36:19 UTC
The issue is caused by missing the following patch https://review.openstack.org/#/c/617348/ in ansible-role-redhat-subscription. Emilien is working to backport it on downstream for OSP14: After applying it I was able to get the nodes with repos deployed by using: resource_registry: OS::TripleO::Services::Rhsm: /usr/share/openstack-tripleo-heat-templates/extraconfig/services/rhsm.yaml parameter_defaults: RhsmVars: rhsm_repos: - rhel-7-server-rpms - rhel-7-server-extras-rpms - rhel-7-server-ose-3.11-rpms rhsm_pool_ids: "8a85f98260c27fc50160c32cc4365ccb" rhsm_method: "portal" rhsm_username: mcornea rhsm_password: password rhsm_autosubscribe: false To apply the patch: curl -4 https://review.openstack.org/changes/617348/revisions/current/patch?download | base64 -d | sudo patch -d /usr/share/ansible/roles/redhat-subscription/ -p1 Deployment works using user and password with Portal method.
(undercloud) [stack@undercloud ~]$ cat rhsm.yaml
resource_registry:
OS::TripleO::Services::Rhsm: /usr/share/openstack-tripleo-heat-templates/extraconfig/services/rhsm.yaml
parameter_defaults:
RhsmVars:
rhsm_repos:
- rhel-7-server-rpms
- rhel-7-server-extras-rpms
- rhel-7-server-ose-3.11-rpms
rhsm_pool_ids: "8a85f98c63842fef0163949e5f9c4be0"
rhsm_method: "portal"
rhsm_username: ealcaniz
rhsm_password: password
rhsm_autosubscribe: true
Deployment doesn't work using Activation key with Portal method
(undercloud) [stack@undercloud ~]$ cat rhsmAK.yaml
resource_registry:
OS::TripleO::Services::Rhsm: /usr/share/openstack-tripleo-heat-templates/extraconfig/services/rhsm.yaml
parameter_defaults:
RhsmVars:
rhsm_activation_key: "rh-employee-sku"
rhsm_org_id: "1979710"
rhsm_pool_ids: "8a85f9833e1404a9013e3cddf95a0599"
rhsm_method: "portal"
The error using Activation Key (AK)
2. Hosts: openshift-master-0, openshift-master-1, openshift-master-2
Play: OpenShift Health Checks
Task: Run health checks (install) - EL
Message: One or more checks failed
Details: check "package_availability":
Cannot install all of the necessary packages. Unavailable:
atomic-openshift
atomic-openshift-clients
atomic-openshift-hyperkube
atomic-openshift-node
You may need to enable one or more yum repositories to make this content available.
check "package_version":
Not all of the required packages are available at their requested version
atomic-openshift:3.11
atomic-openshift-master:3.11
atomic-openshift-node:3.11
Please check your subscriptions and enabled repositories.
Applying https://review.openstack.org/#/c/620937/1/tasks/portal.yml Deployment works using Activation key with Portal method (undercloud) [stack@undercloud ~]$ cat rhsmAK.yaml resource_registry: OS::TripleO::Services::Rhsm: /usr/share/openstack-tripleo-heat-templates/extraconfig/services/rhsm.yaml parameter_defaults: RhsmVars: rhsm_repos: - rhel-7-server-rpms - rhel-7-server-extras-rpms - rhel-7-server-ose-3.11-rpms rhsm_activation_key: "activation-key" rhsm_org_id: "1234567" rhsm_pool_ids: "8a85f9833e1404a6023e4cddf95a0599" rhsm_method: "portal" (In reply to Edu Alcaniz from comment #10) > Applying https://review.openstack.org/#/c/620937/1/tasks/portal.yml > > Deployment works using Activation key with Portal method > (undercloud) [stack@undercloud ~]$ cat rhsmAK.yaml > resource_registry: > OS::TripleO::Services::Rhsm: > /usr/share/openstack-tripleo-heat-templates/extraconfig/services/rhsm.yaml > parameter_defaults: > RhsmVars: > rhsm_repos: > - rhel-7-server-rpms > - rhel-7-server-extras-rpms > - rhel-7-server-ose-3.11-rpms > rhsm_activation_key: "activation-key" > rhsm_org_id: "1234567" > rhsm_pool_ids: "8a85f9833e1404a6023e4cddf95a0599" > rhsm_method: "portal" I created a new bug to keep track of this issue since this one is already ON_QA - https://bugzilla.redhat.com/show_bug.cgi?id=1654776 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://access.redhat.com/errata/RHEA-2019:0045 |