| Summary: | hammer lifecycle-environment create requires 'prior-id' if 'prior' parameter is set | ||
|---|---|---|---|
| Product: | Red Hat Satellite | Reporter: | Roman Plevka <rplevka> |
| Component: | Hammer | Assignee: | David Davis <daviddavis> |
| Status: | CLOSED ERRATA | QA Contact: | Og Maciel <omaciel> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 6.2.0 | CC: | bbuckingham, cwelton, omaciel, sthirugn |
| Target Milestone: | Unspecified | Keywords: | Regression, Triaged |
| Target Release: | Unused | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| URL: | http://projects.theforeman.org/issues/13875 | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-07-27 11:24:34 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: | |
|
Description
Roman Plevka
2016-03-02 18:10:30 UTC
Closed this by mistake. [root@ibm-x3250m4-01 ~]# hammer -v -u admin -p changeme lifecycle-environment create --prior="Library" --organization-id="1" --name="DEV" Environment created [root@ibm-x3250m4-01 ~]# hammer -v -u admin -p changeme lifecycle-environment list --organization-id="1" ---|---------|-------- ID | NAME | PRIOR ---|---------|-------- 1 | Library | 2 | DEV | Library ---|---------|-------- [root@ibm-x3250m4-01 ~]# hammer -v -u admin -p changeme lifecycle-environment create --prior="DEV" --organization-id="1" --name="QE" Environment created [root@ibm-x3250m4-01 ~]# hammer -v -u admin -p changeme lifecycle-environment list --organization-id="1"---|---------|-------- ID | NAME | PRIOR ---|---------|-------- 3 | QE | DEV 1 | Library | 2 | DEV | Library ---|---------|-------- [root@ibm-x3250m4-01 ~]# hammer -v -u admin -p changeme lifecycle-environment create --prior="Library" --organization-id="1" --name="GA" Environment created [root@ibm-x3250m4-01 ~]# hammer -v -u admin -p changeme lifecycle-environment list --organization-id="1"---|---------|-------- ID | NAME | PRIOR ---|---------|-------- 3 | QE | DEV 1 | Library | 4 | GA | Library 2 | DEV | Library ---|---------|-------- Verified on Satellite 6.2.0 SNAP 4.0 Build. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2016:1501 |