-
Bug
-
Resolution: Done
-
Major
-
None
-
None
-
False
-
False
-
-
8
-
Inventory Sprint 85, Inventory Sprint 86, Inventory Sprint 87, Inventory Sprint 88
** Note that this is a public ticket, please refrain from adding any sensitive data. **
Description of Problem
After registering a CentOS Linux 7 system to production Insights the system is listed multiple times in the Host Based Inventory. Each of the inventory items has a different UUID. The system then cannot be converted using the conversion task in Insights.
How reproducible
Seems like always. I tried it with a CentOS Linux 7 system deployed using two different provisioners (1minutetip and testing-farm). The issue manifested in both cases.
Steps to Reproduce
- Get a CentOS Linux 7 system
- Run the following commands to get the system registered to production Insights
sed -i 's/^mirrorlist/#mirrorlist/g' /etc/yum.repos.d/CentOS-* sed -i 's|#baseurl=http://mirror.centos.org|baseurl=https://vault.centos.org|g' /etc/yum.repos.d/CentOS-* curl -o /etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release https://www.redhat.com/security/data/fd431d51.txt curl -o /etc/yum.repos.d/client-tools-for-rhel-7-server.repo https://ftp.redhat.com/redhat/client-tools/client-tools-for-rhel-7-server.repo yum install -y subscription-manager subscription-manager-rhsm-certificates insights-client rhc rhc-worker-script rhc connect -a <key> -o <org>
- You'll see no errors or warnings on the CLI
Actual Behavior
The registered system is listed twice or thrice in the Inventory, with different UUIDs. The OS of the first one is "CentOS Linux 7.9" but is not connected to RHC, the OS of the others is "Not available" but they are connected to RHC. With that, I cannot run the conversion task on the system. See attached screenshots.
Expected Behavior
The system is just once in the Inventory and I can run the conversion task on it.
Business Impact / Additional info
Customers facing this issue won't able to convert their systems to RHEL and support engineers will be burdened with cases.