Bug #9902

Cannot delete a CV because it thinks a Host Group is dependent on it (it isn't).

Added by Justin Sherrill almost 8 years ago. Updated over 4 years ago.

Web UI
Target version:
Bugzilla link:
Fixed in Releases:
Found in Releases:
Red Hat JIRA:


Cloned from
Description of problem:
Trying to delete a host group, it (somewhat silently) fails. Viewing dynflow, user is told that the CV cannot be deleted because a host group is dependent on the CV. However, checking the CV, there is zero reference to said CV.

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

How reproducible:
Unsure.... jsherrill has an idea.

Steps to Reproduce:
1. Go through content cycle for RHEL6 (sync, cv pub/promote, ak, etc.)
2. Register RHEL6 system (maybe?)
3. Repeat above for RHEL7
4. Create a hostgroupfor RHEL7 that specifically points to RHEL7 content
5. Attempt to remove CV for RHEL6
6. View Dynflow to see failure (nothing really shows up in CV UI)

Actual results:
Failure to remove CV listed in dynflow (see forthcoming attached trace from dynflow)

Expected results:
Can remove
Things are not misassociated!

Additional info:

jsherrill probably has more reliable steps

Associated revisions

Revision 94f71b09 (diff)
Added by Partha Aji almost 8 years ago

Fixes #9902 - Updated incorrect cv association

CV is associated to a Hostgroup via CV id.
The model had wrong association causing weird bugs in the UI

Revision 4884ee0f
Added by Partha Aji almost 8 years ago

Merge pull request #5143 from parthaa/cv-assoc

Fixes #9902 - Updated incorrect cv association


#1 Updated by The Foreman Bot almost 8 years ago

  • Status changed from New to Ready For Testing
  • Target version set to 68
  • Pull request added
  • Pull request deleted ()

#2 Updated by Partha Aji almost 8 years ago

  • Assignee changed from Justin Sherrill to Partha Aji
  • Target version deleted (68)

#3 Updated by Eric Helms almost 8 years ago

  • Target version set to 68
  • Legacy Backlogs Release (now unused) set to 23
  • Triaged changed from No to Yes

#4 Updated by Partha Aji almost 8 years ago

  • % Done changed from 0 to 100
  • Status changed from Ready For Testing to Closed

Also available in: Atom PDF