Red Hat Bugzilla – Bug 865023
CLI - delete org shows error
Last modified: 2014-09-18 12:47:15 EDT
Description of problem:
When you have created 2 templates one is child of another, It does not allow to delete organization.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Create organization.
2. Create template in that org.
3. Create child template to first template.
4. Try to delete organization by CLI. It will show error "Organization [ test ] deletion failed: The template has children templates". Which is bug.
Error is thrown.
It should delete organization.
When just deleting parent template it shows the same error which is correct.
can you elaborate why do you think this is bug? It seems as correct behaviour to me.
Both templates are related to only that organization, and when we do not need this organization we do not need those templates anymore, as they can not be applied to other organizations.
Similar behaviour is when we delete promoted repo, it shows error. But when we delete that repo's organization, it deletes that repos, environments and whole stuff related to that organization without checks.
So when we delete organization it should force delete all entities (repo, environment, template, provider ....) related to that org.
getting rid of 6.0.0 version since that doesn't exist
this is against the katello-cli which we are not using any more, closing.