Actions
Bug #15340
closedOrg destroy not unassociating host groups
Description
Create the following
1) New Org
2) Lifecycle Environment in the new org
3) CV promoted to that environment
4) Hostgroup with that environment and content view
5) Destroy the org
Error -
[foreman-tasks/action] [E] Cannot delete record because of dependent hostgroups (ActiveRecord::DeleteRestrictionError)
Expected
Clean deletion
Updated by Partha Aji almost 9 years ago
Handy hammer script
suffix=$RANDOM echo "$suffix" hammer organization create --name=$suffix hammer lifecycle-environment create --name=dev --prior=Library --organization=$suffix hammer hostgroup create --name=$suffix --lifecycle-environment=dev --organizations=$suffix hammer organization delete --name=$suffix
Updated by Partha Aji about 8 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset katello|c6a4c5bf14b009651ba9b90f8cd0c604f27cc4f6.
Actions