Bug 1314714
Summary: | Updating content view of a managed host updates katello but not candlepin DB | |||
---|---|---|---|---|
Product: | Red Hat Satellite | Reporter: | Pavel Moravec <pmoravec> | |
Component: | Hosts | Assignee: | Tomas Strachota <tstrachota> | |
Status: | CLOSED ERRATA | QA Contact: | Sanket Jagtap <sjagtap> | |
Severity: | high | Docs Contact: | ||
Priority: | high | |||
Version: | 6.1.6 | CC: | bbuckingham, bkearney, cfouant, ealcaniz, ehelms, kbidarka, ktordeur, pmoravec, sthirugn, tstrachota | |
Target Milestone: | Unspecified | Keywords: | Triaged | |
Target Release: | Unused | |||
Hardware: | All | |||
OS: | Linux | |||
URL: | http://projects.theforeman.org/issues/14944 | |||
Whiteboard: | ||||
Fixed In Version: | rubygem-katello-3.0.0.31-1 | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 1320321 (view as bug list) | Environment: | ||
Last Closed: | 2016-07-27 11:12:43 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: | ||||
Bug Depends On: | ||||
Bug Blocks: | 1320321 |
Description
Pavel Moravec
2016-03-04 10:26:46 UTC
(In reply to Pavel Moravec from comment #0) > Description of problem: > When having a Manager foreman Host that is also a Content Host, an attempt s/Manager/Managed, of course raising 6.1.z? to consider adding to z-stream - it is easy to follow the scenario that has quite fatal consequences. I have tried this in multiple scenarios in 6.1.8 and have been unable to reproduce. Are you still able to reproduce? (In reply to Christine Fouant from comment #6) > I have tried this in multiple scenarios in 6.1.8 and have been unable to > reproduce. Are you still able to reproduce? Yes, the same way. Details of reproducer in next private comment. In fact there's no Katello orchestration hooked on Foreman's host form. Everything works as expected when the values are edited from the content host edit form. Therefore I believe the simplest "fix" would be just disabling the content view and lifecycle environment fields in Foreman's host controllers for managed hosts with existing content host. The fields will remain editable via forms in Katello where the orchestration works. Created redmine issue http://projects.theforeman.org/issues/14944 from this bug It turned out the issue was already fixed with host facets rework for sat 6.2. Switching to ON_QA. Moving to POST since upstream bug http://projects.theforeman.org/issues/14944 has been closed So for Sat6.1.9 , the solution was to disable the CV and L.E fields from the hosts edit page. For Sat6.2, we can edit the CV and L.E fields from the hosts page. [root@xyz ~]# ./trivial_script.sh uuid | name | environment_id | content_view_id --------------------------------------+-------------------------------------------------------------+----------------+----------------- 7e2ef6fd-358d-4c0d-9fb6-62e45accaa1b | abc.redhat.com | 2 | 2 (1 row) uuid | name | environment_id --------------------------------------+-------------------------------------------------------------+---------------- 7e2ef6fd-358d-4c0d-9fb6-62e45accaa1b | abc.redhat.com | 2-2 (1 row) [root@xyz ~]# ./trivial_script.sh uuid | name | environment_id | content_view_id --------------------------------------+-------------------------------------------------------------+----------------+----------------- 7e2ef6fd-358d-4c0d-9fb6-62e45accaa1b | abc.redhat.com | 2 | 3 (1 row) uuid | name | environment_id --------------------------------------+-------------------------------------------------------------+---------------- 7e2ef6fd-358d-4c0d-9fb6-62e45accaa1b | abc.redhat.com | 2-3 (1 row) So ,now for Sat6.2 we can now see that both env and cv are updated even for CANDELPIN VERIFIED with sat62-snap(GA)-12.1 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-2016:1501 |