Unable to create lifecycle environment using hammer, it fails with 'Locations you cannot remove locations that are used by hosts or inherited.'
Issue
- Unable to create a lifecycle environment via hammer, it fails with error as below,
# hammer lifecycle-environment create --organization "Default_Organization" --prior "Library" --name "Test-Env"
Could not create environment:
Validation failed: Locations you cannot remove locations that are used by hosts or inherited.
Environment
- Red Hat Satellite 6.1
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
