Description of problem: When registering OpenStack 16.1 nodes to Satellite, the overcloud install fails because it cannot determine Satellite Version
Version-Release number of selected component (if applicable): OpenStack 16.1 with Satellite 6.10
How reproducible:
Steps to Reproduce:
1. Configure Openstack to add nodes to Red Had Satellite
2. Deploy Overcloud
Actual results:
Satellite version was not found, you should file a bug
Expected results:
Satellite 6 should be detected and Overcloud deployment should attach nodes to Red Hat Satellite
Additional info:
The offending code in /usr/share/ansible/roles/redhat-subscription/tasks/satellite.yml
- name: SATELLITE | Check for Satellite 6
uri:
url: "{{ rhsm_satellite_url }}/pulp/api/v2/status"
validate_certs: no
status_code: 200, 404
register: _sat6_check
run_once: yes
tags:
- rhsm_satellite
Pulp has been migrated from Pulp2 to Pulp3 in Satellite 6.10, removing the /pulp/api/v2/status url, new URL is /pulp/api/v3/status
Added another task to satellite.yml
- name: SATELLITE | Check for Satellite 6.10
uri:
url: "{{ rhsm_satellite_url }}/pulp/api/v3/status"
validate_certs: no
status_code: 200, 404
register: _sat6_check
run_once: yes
tags:
- rhsm_satellite
This resolved the issue.
Successfully deployed OSP16.1 from a version 6.10 satellite. The overcloud registered with the satellite and pulled all packages required for installation from the satellite.
According to our records, this should be resolved by ansible-role-redhat-subscription-1.1.1-1.20211118163403.6d26afa.el8ost. This build is available now.
Description of problem: When registering OpenStack 16.1 nodes to Satellite, the overcloud install fails because it cannot determine Satellite Version Version-Release number of selected component (if applicable): OpenStack 16.1 with Satellite 6.10 How reproducible: Steps to Reproduce: 1. Configure Openstack to add nodes to Red Had Satellite 2. Deploy Overcloud Actual results: Satellite version was not found, you should file a bug Expected results: Satellite 6 should be detected and Overcloud deployment should attach nodes to Red Hat Satellite Additional info: The offending code in /usr/share/ansible/roles/redhat-subscription/tasks/satellite.yml - name: SATELLITE | Check for Satellite 6 uri: url: "{{ rhsm_satellite_url }}/pulp/api/v2/status" validate_certs: no status_code: 200, 404 register: _sat6_check run_once: yes tags: - rhsm_satellite Pulp has been migrated from Pulp2 to Pulp3 in Satellite 6.10, removing the /pulp/api/v2/status url, new URL is /pulp/api/v3/status Added another task to satellite.yml - name: SATELLITE | Check for Satellite 6.10 uri: url: "{{ rhsm_satellite_url }}/pulp/api/v3/status" validate_certs: no status_code: 200, 404 register: _sat6_check run_once: yes tags: - rhsm_satellite This resolved the issue.