Bug 1585529 - Inconsistency in editing a host on web UI
Summary: Inconsistency in editing a host on web UI
Keywords:
Status: CLOSED DUPLICATE of bug 1564740
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Hosts - Content
Version: 6.3.1
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: Unspecified
Assignee: Andrew Kofink
QA Contact: Katello QA List
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-06-04 01:06 UTC by matt jia
Modified: 2019-08-12 14:06 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-07-13 13:35:04 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 24131 0 None None None 2018-07-02 18:02:51 UTC

Description matt jia 2018-06-04 01:06:34 UTC
Description of problem:

Given a host that is using a different CV/LE than its hostgroup. When editing it,  the hostgroups's default CV and LE are loaded. This behaviour is quite confusing as it makes people think that the updating is not successful after clicking on the submit button.

Version-Release number of selected component (if applicable):

6.3.1

How reproducible:

Easy

Steps to Reproduce:
1. Create a hostgroup with a CV and LE
2. Create a host with the hostgroup
3. Edit the host with a different CV and LE
4. Check the editing host page again

Actual results:

On the editing host page, it shows the hostgroups's default CV and LE.

Expected results:

It should show the CV and LE that match the db entry.

Comment 1 Brad Buckingham 2018-06-05 16:11:12 UTC
Andrew, could this be a duplicate of bug 1566825 that you are investigating.

I saw Samir's comment on the card:
   In 6.2 editing host env, cv triggers task Actions::Katello::Host::Update However, in 6.3 this task is not triggered.

If that is the case, it may be the same cause.

Comment 2 Andrew Kofink 2018-06-05 16:22:26 UTC
I don't think it's related because the host record and content facet are properly updated in 1566825, but the Actions::Katello::Host::Update task (which updates backend services) isn't run, which causes `subscription-manager identity` on the host to give the old information.

Comment 3 Brad Buckingham 2018-06-05 16:36:06 UTC
Note: bug 1584226 may also be another duplicate.

Comment 6 Andrew Kofink 2018-07-02 18:02:50 UTC
Created redmine issue https://projects.theforeman.org/issues/24131 from this bug

Comment 7 Andrew Kofink 2018-07-13 13:35:04 UTC

*** This bug has been marked as a duplicate of bug 1564740 ***


Note You need to log in before you can comment on or make changes to this bug.