Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to remove lifecycle environments during capsules dissociation phase. #362

Open
devendra104 opened this issue Jul 2, 2019 · 1 comment

Comments

@devendra104
Copy link

Failed to remove lifecycle environments during capsules dissociation phase.
[satellite-clone : Disassociate capsules with lifecycle environments (to avoid the cloned Satellite server talking with live capsules)] ***
stdout: Could not remove the lifecycle environment from the capsule:
Lifecycle environment was not attached to the capsule; therefore, no changes were made.
Could not remove the lifecycle environment from the capsule:
Lifecycle environment was not attached to the capsule; therefore, no changes were made.
Could not remove the lifecycle environment from the capsule:
Lifecycle environment was not attached to the capsule; therefore, no changes were made.
Could not remove the lifecycle environment from the capsule:
Lifecycle environment was not attached to the capsule; therefore, no changes were made.
Could not remove the lifecycle environment from the capsule:
Lifecycle environment was not attached to the capsule; therefore, no changes were made.
Could not remove the lifecycle environment from the capsule:
Lifecycle environment was not attached to the capsule; therefore, no changes were made.
Could not remove the lifecycle environment from the capsule:
Lifecycle environment was not attached to the capsule; therefore, no changes were made.
Could not remove the lifecycle environment from the capsule:
Lifecycle environment was not attached to the capsule; therefore, no changes were made.
Could not remove the lifecycle environment from the capsule:
Lifecycle environment was not attached to the capsule; therefore, no changes were made.
Could not remove the lifecycle environment from the capsule:
Lifecycle environment was not attached to the capsule; therefore, no changes were made.
Could not remove the lifecycle environment from the capsule:
Lifecycle environment was not attached to the capsule; therefore, no changes were made.
Could not remove the lifecycle environment from the capsule:
Lifecycle environment was not attached to the capsule; therefore, no changes were made.

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 ******* --csv capsule content add-lifecycle-environment --id 11 --environment Library --organization XY_Z
hammer -u admin -p ******* --csv capsule content add-lifecycle-environment --id 11 --environment Library --organization XY_Z
hammer -u admin -p ******* --csv capsule content add-lifecycle-environment --id 12 --environment Library --organization XY_Z
hammer -u admin -p ******* --csv capsule content add-lifecycle-environment --id 12 --environment Library --organization XY_Z
hammer -u admin -p ******* --csv capsule content add-lifecycle-environment --id 9 --environment Library --organization XY_Z
hammer -u admin -p ******* --csv capsule content add-lifecycle-environment --id 9 --environment Library --organization XY_Z
hammer -u admin -p ******* --csv capsule content add-lifecycle-environment --id 7 --environment Library --organization XY_Z
hammer -u admin -p ******* --csv capsule content add-lifecycle-environment --id 7 --environment Library --organization XY_Z
hammer -u admin -p ******* --csv capsule content add-lifecycle-environment --id 10 --environment Library --organization XY_Z
hammer -u admin -p ******* --csv capsule content add-lifecycle-environment --id 10 --environment Library --organization XY_Z
hammer -u admin -p ******* --csv capsule content add-lifecycle-environment --id 8 --environment Library --organization XY_Z
hammer -u admin -p ******* --csv capsule content add-lifecycle-environment --id 8 --environment Library --organization XY_Z

@devendra104
Copy link
Author

@johnpmitsch This issue does not occur for all DB upgrade, it happens for one.
Is it expected or related to the cloning issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant