Bug 1614927
| Summary: | [RFE] Provide the ability to delete a lifecycle environment from the middle of an existing path | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat Satellite | Reporter: | Jason Dickerson <jdickers> | ||||
| Component: | Lifecycle Environments | Assignee: | Justin Sherrill <jsherril> | ||||
| Status: | CLOSED ERRATA | QA Contact: | vijsingh | ||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | 6.3.2 | CC: | bkearney, julian.curetti, vijsingh | ||||
| Target Milestone: | 6.5.0 | Keywords: | FutureFeature, Triaged | ||||
| Target Release: | Unused | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2019-05-14 12:37:41 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: | |||||
| Embargoed: | |||||||
| Attachments: |
|
||||||
|
Description
Jason Dickerson
2018-08-10 18:32:12 UTC
Created redmine issue https://projects.theforeman.org/issues/24596 from this bug Upstream bug assigned to jsherril Upstream bug assigned to jsherril Moving this bug to POST for triage into Satellite 6 since the upstream issue https://projects.theforeman.org/issues/24596 has been resolved. Created attachment 1480959 [details]
6.3 patch
6.3 patch attached, simply apply the patch to your tfm-rubygem-katello installed directory, restart httpd and foreman-tasks and then remove the desired lifecycle environment with hammer. Current 6.3 blocks UI elements from making this work in the UI and changing UI assets in production with just a patch is not possible currently, so you will have to use hammer. Verified: @Satellite 6.5.0 Snap 5.0 steps: +++++++++++++++++++++++++++++++++++++++++ hammer> lifecycle-environment list ---|---------|-------- ID | NAME | PRIOR ---|---------|-------- 2 | DEV | Library 1 | Library | 8 | Prod | Staging 7 | Staging | Test 6 | Test | DEV ---|---------|-------- hammer> lifecycle-environment paths --organization-id 1 ----------------------------------------- LIFECYCLE PATH ----------------------------------------- Library >> DEV >> Test >> Staging >> Prod ----------------------------------------- hammer> lifecycle-environment delete --name Staging --organization-id 1 Environment deleted. hammer> lifecycle-environment paths --organization-id 1 ------------------------------ LIFECYCLE PATH ------------------------------ Library >> DEV >> Test >> Prod ------------------------------ hammer> hammer> lifecycle-environment list ---|---------|-------- ID | NAME | PRIOR ---|---------|-------- 2 | DEV | Library 1 | Library | 8 | Prod | Test 6 | Test | DEV ---|---------|-------- +++++++++++++++++++++++++++++++++++++++++ Observation: - Able to delete a lifecycle environment from the middle of an existing path. Can I implement this fix on a running Satellite 6.3.5 server? 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/RHSA-2019:1222 |