Description of problem: When satellite in organization mode is used to register node, deployment failed. Version-Release number of selected component (if applicable): openstack-tripleo-heat-templates-8.2.0-6.2.el7ost.noarch How reproducible: Steps to Reproduce: 1. install a satellite in organization mode 2. deploy an overcloud with rhel-register 3. Actual results: Deployment failed Expected results: Deployment success Additional info: WARN: Failed to connect when running 'subscription-manager register --force --activationkey=direct --org=cylopez', retrying (attempt #8 )... INFO: Sleeping 2.0 ... INFO: Executing 'subscription-manager register --force --activationkey=direct --org=cylopez' ... Unregistering from: satellite63.local:443/rhsm The system with UUID ba7c3f96-2ada-478d-9ea0-9ec564846e2b has been unregistered All local data removed The system has been registered with ID: b7f03f49-510c-4751-9fb4-6a277c2a438e The registered system name is: overcloud-controller-0.local Installed Product Current Status: Product Name: Red Hat Enterprise Linux Server Status: Not Subscribed Product Name: Red Hat Enterprise Linux High Availability (for RHEL Server) Status: Not Subscribed Unable to find available subscriptions for all your installed products. WARN: Failed to connect when running 'subscription-manager register --force --activationkey=direct --org=cylopez', retrying (attempt #9 )... ERROR: Failed to connect after 10 attempts when running 'subscription-manager register --force --activationkey=direct --org=cylopez' It's just because : subscription-manager status +-------------------------------------------+ System Status Details +-------------------------------------------+ Overall Status: Current Content Access Mode is set to Organization/Environment Access. This host has access to content, regardless of subscription status.
Full detail when we use the patch and the deploy is success : [root@overcloud-controller-1 ~]# subscription-manager status +-------------------------------------------+ System Status Details +-------------------------------------------+ Overall Status: Invalid Content Access Mode is set to Organization/Environment Access. This host has access to content, regardless of subscription status. Red Hat Enterprise Linux High Availability (for RHEL Server): - Not supported by a valid subscription. Red Hat Ceph Storage MON: - Not supported by a valid subscription. Red Hat Enterprise Linux Server: - Not supported by a valid subscription. Red Hat Ceph Storage OSD: - Not supported by a valid subscription. Red Hat OpenStack: - Not supported by a valid subscription. Red Hat Ceph Storage: - Not supported by a valid subscription. [root@overcloud-controller-1 ~]# echo $? 1 But if you test : [root@overcloud-controller-1 ~]# yum install mc -y [...] ============================================================================================================================================================================================= Package Arch Version Repository Size ============================================================================================================================================================================================== Installing: mc x86_64 1:4.8.7-11.el7 rhel-7-server-rpms 1.7 M Installing for dependencies: gpm-libs x86_64 1.20.7-5.el7 rhel-7-server-rpms 32 k Transaction Summary ============================================================================================================================================================================================== Install 1 Package (+1 Dependent package) Total download size: 1.8 M Installed size: 5.7 M Downloading packages: (1/2): gpm-libs-1.20.7-5.el7.x86_64.rpm | 32 kB 00:00:00 (2/2): mc-4.8.7-11.el7.x86_64.rpm | 1.7 MB 00:00:01 ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- Total 1.0 MB/s | 1.8 MB 00:00:01 Running transaction check Running transaction test Transaction test succeeded Running transaction Installing : gpm-libs-1.20.7-5.el7.x86_64 1/2 Installing : 1:mc-4.8.7-11.el7.x86_64 2/2 Uploading Package Profile Verifying : 1:mc-4.8.7-11.el7.x86_64 1/2 Verifying : gpm-libs-1.20.7-5.el7.x86_64 2/2 Installed: mc.x86_64 1:4.8.7-11.el7 Dependency Installed: gpm-libs.x86_64 0:1.20.7-5.el7 [root@overcloud-controller-1 ~]# echo $? 0
Can you please tell me what exactly changed for organisation mode and how do I test it?
Cyril, could you help Sasha to test this please? I'm not sure our internal instance of Satellite supports the Org mode.
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/RHBA-2019:0939