Bug 2025437
Summary: | New OS created due to facts mismatch for operatingsystem for RHSM, Puppet and Ansible | |||
---|---|---|---|---|
Product: | Red Hat Satellite | Reporter: | Stefan Meyer <smeyer> | |
Component: | Provisioning | Assignee: | Marek Hulan <mhulan> | |
Status: | CLOSED ERRATA | QA Contact: | Ondrej Gajdusek <ogajduse> | |
Severity: | medium | Docs Contact: | ||
Priority: | medium | |||
Version: | 6.10.0 | CC: | ahumbe, amarirom, aruzicka, inecas, ldelouw, mhulan, oezr, pcreech, pmendezh, rlavi, saydas, smajumda, sshtein, zhunting | |
Target Milestone: | 6.11.0 | Keywords: | Regression, Triaged | |
Target Release: | Unused | |||
Hardware: | Unspecified | |||
OS: | Unspecified | |||
Whiteboard: | ||||
Fixed In Version: | Doc Type: | If docs needed, set a value | ||
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 2043706 (view as bug list) | Environment: | ||
Last Closed: | 2022-07-05 14:30:29 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
Stefan Meyer
2021-11-22 08:23:36 UTC
Created redmine issue https://projects.theforeman.org/issues/33980 from this bug Hi Marek, Should https://projects.theforeman.org/issues/33981 also be linked to this bugzilla? Thanks! iiuc https://projects.theforeman.org/issues/33980 fixes this for 6.10 as part of foreman_ansible and it's merged and https://projects.theforeman.org/issues/33981 fixes it for 7.0 in Foreman as the parsing moved to core. VERIFIED @Satellite 7.0 snap 9 foreman-3.1.1.4-1.el8sat.noarch I observed the described issue on Satellite 6.10.2 with tfm-rubygem-foreman_ansible-6.3.4-1.el7sat.noarch installed. First I was unable to reproduce it, but later on, I found out that redhat-lsb-core package needs to be installed on the host in order to get the ansible_lsb fact non-empty. Having the following system $ lsb_release -a LSB Version: :core-4.1-amd64:core-4.1-noarch Distributor ID: RedHatEnterpriseServer Description: Red Hat Enterprise Linux Server release 7.9 (Maipo) Release: 7.9 Codename: Maipo and running Ansible roles on it caused "Red Hat Enterprise Linux Server release 7.9 (Maipo)" OS to be created. Similar thing happens for RHEL 8. $ lsb_release -a LSB Version: :core-4.1-amd64:core-4.1-noarch Distributor ID: RedHatEnterprise Description: Red Hat Enterprise Linux release 8.5 (Ootpa) Release: 8.5 Codename: Ootpa creates "Red Hat Enterprise Linux release 8.5 (Ootpa)" OS. This behavior is no longer observed on Satellite 7.0. Additional info: BZ2056582 was created to track the same behavior on different OS variants. 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 (Moderate: Satellite 6.11 Release), 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/RHSA-2022:5498 |