Bug 1320321

Summary: Updating content view of a managed host updates katello but not candlepin DB
Product: Red Hat Satellite Reporter: Bryan Kearney <bkearney>
Component: HostsAssignee: Christine Fouant <cfouant>
Status: CLOSED ERRATA QA Contact: Kedar Bidarkar <kbidarka>
Severity: high Docs Contact:
Priority: high    
Version: 6.1.6CC: bbuckingham, cfouant, cwelton, ealcaniz, katello-bugs, kbidarka, ktordeur, mmccune, pmoravec, tstrachota
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1314714 Environment:
Last Closed: 2016-05-17 05:32:56 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: 1314714    
Bug Blocks:    

Comment 1 Christine Fouant 2016-04-26 20:13:45 UTC
Waiting on response from Pavel, have not been able to reproduce this issue in 6.1.8

Comment 2 Pavel Moravec 2016-04-29 15:46:37 UTC
(In reply to Christine Fouant from comment #1)
> Waiting on response from Pavel, have not been able to reproduce this issue
> in 6.1.8

See reproducer at https://bugzilla.redhat.com/show_bug.cgi?id=1314714#c8

Comment 9 Kedar Bidarkar 2016-05-16 11:37:02 UTC
Yes, the fields in the hosts forms were disabled.

Thanks for confirming. Moving this to VERIFIED state.

VERIFIED sat6.1.9 compose1


Ran the below script, before updating the cv or life-cycle env via the content-host.


   ./check_candle.sh xyz.redhat.com
    using name xyz.redhat.com
                     uuid                 |                            name                             | environment_id | content_view_id
    --------------------------------------+-------------------------------------------------------------+----------------+-----------------
     baeff951-a1a6-4b51-a646-52559ba5c82e | xyz.redhat.com |              2 |               2
    (1 row)
     
                     uuid                 |                            name                             | environment_id
    --------------------------------------+-------------------------------------------------------------+----------------
     baeff951-a1a6-4b51-a646-52559ba5c82e | xyz.redhat.com | 2-2
    (1 row)


#############
We are currently unable to update the hosts for content_view/life-cycle_environment, as the fields in the host forms were disabled.



So updated it via the content-hosts and ran the script again, which shows the updated stuff appropriately.

#############
     
    [root@katello1 ~]# ./check_candle.sh xyz.redhat.com
    using name xyz.redhat.com
                     uuid                 |                            name                             | environment_id | content_view_id
    --------------------------------------+-------------------------------------------------------------+----------------+-----------------
     baeff951-a1a6-4b51-a646-52559ba5c82e | xyz.redhat.com |              1 |               2
    (1 row)
     
                     uuid                 |                            name                             | environment_id
    --------------------------------------+-------------------------------------------------------------+----------------
     baeff951-a1a6-4b51-a646-52559ba5c82e | xyz.redhat.com | 1-2
    (1 row)

Comment 11 errata-xmlrpc 2016-05-17 05:32:56 UTC
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:1084