satellite-clone icon indicating copy to clipboard operation
satellite-clone copied to clipboard

Capsule disassociation failed with regular clone scenario of rhel7 sat 6.2

Open sthirugn opened this issue 7 years ago • 3 comments

TASK [satellite-clone : Disassociate capsules with lifecycle environments (to avoid the cloned Satellite server talking with live capsules)] ***
Friday 07 April 2017  12:58:35 -0400 (0:00:00.026)       0:56:25.277 ********** 
changed: [localhost]

stdout: All Capsules are unassociated with any lifecycle environments. This is to avoid any syncing errors with your original Satellite and any interference with existing infrastructure. To reverse these changes, run the following commands, making sure to replace the credentials with your own.
hammer -u admin -p changeme --csv capsule content add-lifecycle-environment --id 2 --environment QE --organization "S?o Paulo"
hammer -u admin -p changeme --csv capsule content add-lifecycle-environment --id 3 --environment QE --organization "S?o Paulo"

Additional info:

hammer -u admin -p changeme organization list
---|----------------------|--------------------------------------|----------------------------
ID | NAME                 | LABEL                                | DESCRIPTION                
---|----------------------|--------------------------------------|----------------------------
1  | Default Organization | Default_Organization                 |                            
3  | São Paulo            | e9db3daa-5c32-4a41-881d-3fa3a828a5c1 | The São Paulo organization.
---|----------------------|--------------------------------------|----------------------------


hammer> lifecycle-environment list --organization-id=1
---|---------|--------
ID | NAME    | PRIOR  
---|---------|--------
3  | QE      | DEV    
1  | Library |        
2  | DEV     | Library
---|---------|--------

hammer> lifecycle-environment list --organization-id=3
---|---------|--------
ID | NAME    | PRIOR  
---|---------|--------
5  | Today   | Library
4  | Library |        
6  | Amanhã  | Library
---|---------|--------

sthirugn avatar Apr 07 '17 17:04 sthirugn