Red Hat Bugzilla – Bug 1287518
Creating a new lifecycle environment path throws error message
Last modified: 2016-06-23 13:40:12 EDT
Description of problem:
While adding a new lifecycle environment to an existing LC ENV path or while creating a new path it throws an error message:
# hammer lifecycle-environment create \
> --name "OSE3-PROD" \
> --description "OpenShift Platform Production Environment" \
> --prior "OSE3-DevQA" \
> --organization "$ORG"
Could not create environment:
Validation failed: Locations you cannot remove locations that are used by hosts or inherited., Environments you cannot remove environments that are used by hosts or inherited.
Using WebUI after clicking Save button the page does not reload and the same error message appears in foreman production log.
Nevertheless in both cases the new LC ENV has been successfully created.
Version-Release number of selected component (if applicable):
Create a new LC ENV using hammer CLI or WebUI.
Steps to Reproduce:
Error message but LC ENV is created.
No error message and using WebUI page reload shows again the LC ENV main page.
The error message on this bug is very similar to bug 1326101.
*** Bug 1331171 has been marked as a duplicate of this bug. ***
*** This bug has been marked as a duplicate of bug 1349492 ***