Bug 1205393
Summary: | Cannot delete a CV because it thinks a Host Group is dependent on it (it isn't). | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Satellite | Reporter: | Corey Welton <cwelton> | ||||
Component: | Content Management | Assignee: | Partha Aji <paji> | ||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | Tazim Kolhar <tkolhar> | ||||
Severity: | high | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | Unspecified | CC: | bkearney, cwelton, jsherril, mmccune, paji, tkolhar | ||||
Target Milestone: | Unspecified | ||||||
Target Release: | Unused | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
URL: | http://projects.theforeman.org/issues/9902 | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2015-08-12 13:58:11 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: | |||||||
Attachments: |
|
Description
Corey Welton
2015-03-24 20:30:29 UTC
Created attachment 1005984 [details]
dynflow trace
So the key to reproducing here involves making sure you have a lifecycle environment and content view with the same ID. So! Steps to reproduce: 1) On a freshly provisioned Satellite, Create a new Lifecycle Environment (with ID 2) 2) Create and publish ContentViewA (with ID 2) 3) Create and Publish ContentViewB (with ID 3) 4) Create a hostgroup and associate it to the created Lifecycle Environment With ID 2, and the ContentViewB with ID 3 5) Attempt to Delete the Content View with ID 2 It is not associated to the hostgroup and thus should delete fine, however it will fail. Created redmine issue http://projects.theforeman.org/issues/9902 from this bug Upstream bug assigned to jsherril Should be fixed when https://github.com/Katello/katello/pull/5143/files gets merged. VERIFIED : # rpm -qa | grep foreman foreman-libvirt-1.7.2.17-1.el6_6sat.noarch ruby193-rubygem-foreman_bootdisk-4.0.2.10-1.el6_6sat.noarch ruby193-rubygem-foreman_hooks-0.3.7-2.el6_6sat.noarch rubygem-hammer_cli_foreman_tasks-0.0.3.3-1.el6_6sat.noarch rubygem-hammer_cli_foreman_bootdisk-0.1.2.5-1.el6_6sat.noarch foreman-postgresql-1.7.2.17-1.el6_6sat.noarch foreman-debug-1.7.2.17-1.el6_6sat.noarch foreman-1.7.2.17-1.el6_6sat.noarch foreman-ovirt-1.7.2.17-1.el6_6sat.noarch ruby193-rubygem-foreman-tasks-0.6.12.3-1.el6_6sat.noarch foreman-proxy-1.7.2.4-1.el6_6sat.noarch qe-sat6-rhel66.usersys.redhat.com-foreman-client-1.0-1.noarch qe-sat6-rhel66.usersys.redhat.com-foreman-proxy-client-1.0-1.noarch foreman-selinux-1.7.2.13-1.el6_6sat.noarch rubygem-hammer_cli_foreman-0.1.4.9-1.el6_6sat.noarch foreman-compute-1.7.2.17-1.el6_6sat.noarch foreman-vmware-1.7.2.17-1.el6_6sat.noarch ruby193-rubygem-foreman-redhat_access-0.1.0-1.el6_6sat.noarch ruby193-rubygem-foreman_gutterball-0.0.1.9-1.el6_6sat.noarch qe-sat6-rhel66.usersys.redhat.com-foreman-proxy-1.0-2.noarch ruby193-rubygem-foreman_docker-1.2.0.9-1.el6_6sat.noarch rubygem-hammer_cli_foreman_discovery-0.0.1.7-1.el6_6sat.noarch foreman-gce-1.7.2.17-1.el6_6sat.noarch ruby193-rubygem-foreman_discovery-2.0.0.9-1.el6_6sat.noarch steps: 1) On a freshly provisioned Satellite, Create a new Lifecycle Environment (with ID 2) 2) Create and publish ContentViewA (with ID 2) 3) Create and Publish ContentViewB (with ID 3) 4) Create a hostgroup and associate it to the created Lifecycle Environment With ID 2, and the ContentViewB with ID 3 5) Attempt to Delete the Content View with ID 2 6) Delete works fine for content View with ID 2 This bug is slated to be released with Satellite 6.1. This bug was fixed in version 6.1.1 of Satellite which was released on 12 August, 2015. |