Bug 1329542 - Multi org with single capsules fail, when adding Lifecycle environments for the individual org trough UI
Summary: Multi org with single capsules fail, when adding Lifecycle environments for t...
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Capsule
Version: 6.1.8
Hardware: All
OS: Linux
high
medium vote
Target Milestone: Unspecified
Assignee: satellite6-bugs
QA Contact: Katello QA List
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-04-22 08:10 UTC by Kim Borup
Modified: 2019-11-14 07:50 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-07-12 16:44:23 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Kim Borup 2016-04-22 08:10:20 UTC
Description of problem:

When having a single satellite with example 2 orgs, and you add a capsule in one org but assign it to both orgs after installation so both orgs can use it, when adding LS for Org 1 they will add, when going to Org 2 adding its LS, Org 1's LS will be remove from the capsule, and when doing it for Org 1 again, Org 2 will be removed. 

Using hammer to do it will function as a work arround, making it posible to add LS for both ORGS on one capsule. 


Version-Release number of selected component (if applicable):


How reproducible:
Always


Steps to Reproduce:
1. Install Capsule
2. Attach 2 Orgs. 
3. Attach LS for Org 1 trough UI 
4. Attach LS for Org 2 trough UI
5. Org1 LS is now gone. 

Actual results:

LS for each org is removed if other org is adding his trough UI only. 

Expected results:
LS for both Orgs attached at the same time. 

Additional info:
Using hammer to add the LS to the capsule you can avoid this "bug"

Comment 1 Kim Borup 2016-04-25 09:49:47 UTC
Sorry it says LS where it should say LC for lifecycle my bad.

Comment 3 Kedar Bidarkar 2016-05-12 16:14:31 UTC
Can you please confirm whether you can see both the lifecycle-env's once the Org context is set to "Any Context".?

I think here the Org context is masking the other life-cycle environment.

Comment 4 Kim Borup 2016-05-13 06:46:07 UTC
If Org is set to Any and Loc any, you can indeed, see all Lifecycles, and add them. however if you are not a global admin and you then press the capsule under org 1 and add one new lifecycle org2 will have all their lifecycles removed. 

A fix could be that org 1/2 can only  delete its own Lifecycles instead of deleting all lifecycles that it cant see when adding a new one.

Comment 8 Mike McCune 2016-07-12 16:34:29 UTC
This does not reproduce on 6.2 and will be resolved with the GA of this release.

Comment 10 Mike McCune 2016-07-12 16:44:23 UTC
This bug does not happen with 6.2 and if it re-occurs feel free to re-open.


Note You need to log in before you can comment on or make changes to this bug.