Bug 1566825
Summary: | Content View is not updated on Content Host when change is made via Hosts / All Hosts <Edit option> | |||
---|---|---|---|---|
Product: | Red Hat Satellite | Reporter: | Waldirio M Pinheiro <wpinheir> | |
Component: | Hosts - Content | Assignee: | Andrew Kofink <akofink> | |
Status: | CLOSED ERRATA | QA Contact: | Peter Ondrejka <pondrejk> | |
Severity: | high | Docs Contact: | ||
Priority: | unspecified | |||
Version: | 6.3.0 | CC: | akaiser, akofink, arahaman, bbuckingham, bkearney, bruce.howells, daniel-oliveira, inecas, jbhatia, mrichter, mverma, nsamant, pcreech, pondrejk, rzaleski, sreber | |
Target Milestone: | 6.4.0 | Keywords: | Regression, Triaged | |
Target Release: | Unused | |||
Hardware: | All | |||
OS: | All | |||
Whiteboard: | ||||
Fixed In Version: | tfm-rubygem-foreman-tasks-0.13.3 | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 1624020 (view as bug list) | Environment: | ||
Last Closed: | 2018-10-16 19:14:47 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
Waldirio M Pinheiro
2018-04-13 05:06:10 UTC
Hello all Let's do the Same procedures on Satellite 6.2.14 and Satellite 6.3.0 The workflow will be - Content Host on Library # subscription-manager identity - Hosts - All Hosts - Edit - Define a new CV - Submit # subscription-manager identity - Hosts - Content Hosts - Select the Content Host - Define a new CV - Save # subscription-manager identity After steps above, we will see the "Environment name" will be updated when we do the test on Satellite 6.2.14 BUT will not work on Satellite 6.3.x and the worst point is, no warning, no issues, just didn't work. Note: If we change on *Hosts - All hosts* the information will be replicated on *Hosts - Content Hosts* and vice-versa, a new CV defined in one page will be displayed when checking the information on another one page. ## Satellite 6.2.14 // Content Host --- [root@dhcp-10-12-211-151 ~]# subscription-manager identity system identity: 777e6cc9-1c4b-40d1-b9c7-d375022ca9ad name: dhcp-10-12-211-151.hq.gsslab.rdu.redhat.com org name: ACME org ID: ACME environment name: Library [root@dhcp-10-12-211-151 ~]# --- // On Satellite, changing via Hosts - All hosts to the CV cv_rhel73 --- [root@dhcp-10-12-211-151 ~]# subscription-manager identity system identity: 777e6cc9-1c4b-40d1-b9c7-d375022ca9ad name: dhcp-10-12-211-151.hq.gsslab.rdu.redhat.com org name: ACME org ID: ACME environment name: Library/cv_rhel73 [root@dhcp-10-12-211-151 ~]# --- // On Satellite, changing via Hosts - Content Hosts to the CV cv_rhel73_10_2017 --- [root@dhcp-10-12-211-151 ~]# subscription-manager identity system identity: 777e6cc9-1c4b-40d1-b9c7-d375022ca9ad name: dhcp-10-12-211-151.hq.gsslab.rdu.redhat.com org name: ACME org ID: ACME environment name: Library/cv_rhel73_10_2017 [root@dhcp-10-12-211-151 ~]# --- Ps.: No necessary execute subscription-manager refresh, just rerun the command and we are able to see the new value. ## Satellite 6.3.0 // Content Host --- [root@dhcp-10-12-211-71 ~]# subscription-manager identity system identity: 83c724bd-9bf4-45ea-b1b9-369613c369c9 name: 83c724bd-9bf4-45ea-b1b9-369613c369c9, dhcp-10-12-211-71.hq.gsslab.rdu.redhat.com org name: ACME org ID: ACME environment name: Library [root@dhcp-10-12-211-71 ~]# --- // On Satellite, changing via Hosts - All hosts to the CV cv_rhel7 --- [root@dhcp-10-12-211-71 ~]# subscription-manager identity system identity: 83c724bd-9bf4-45ea-b1b9-369613c369c9 name: 83c724bd-9bf4-45ea-b1b9-369613c369c9, dhcp-10-12-211-71.hq.gsslab.rdu.redhat.com org name: ACME org ID: ACME environment name: Library [root@dhcp-10-12-211-71 ~]# --- Note: Change was made via webUI but on the Content Host the information still the same even after subscription-manager refresh. // On Satellite, changing via Hosts - Content Hosts to the CV cv_rhel7_xx --- [root@dhcp-10-12-211-71 ~]# subscription-manager identity system identity: 83c724bd-9bf4-45ea-b1b9-369613c369c9 name: 83c724bd-9bf4-45ea-b1b9-369613c369c9, dhcp-10-12-211-71.hq.gsslab.rdu.redhat.com org name: ACME org ID: ACME environment name: Library/cv_rhel7_xx [root@dhcp-10-12-211-71 ~]# --- Note: On this case worked as expected. Ps.: On both scenarios the Content Host was as *Unmanaged Host* Best Regards -- Waldirio M Pinheiro | Senior Software Maintenance Engineer A workaround is to manually trigger the Host::Update action after editing the host in the Satellite: In the `foreman-rake console`: ``` ForemanTasks.async_task(Actions::Katello::Host::Update, Host.find(2)) ``` Be sure to change the command to use the proper host ID. Created redmine issue http://projects.theforeman.org/issues/23837 from this bug *** Bug 1584226 has been marked as a duplicate of this bug. *** *** Bug 1601466 has been marked as a duplicate of this bug. *** Checked again on 6.4 snap 13, content hosts got correctly updated after changing the CV for host in the ui, this applies to editing via hosts and content hosts page. *** Bug 1634762 has been marked as a duplicate of this bug. *** 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/RHSA-2018:2927 |