Bug #6288
closedRemoving a lifecycle environment from a capsule does not cause repos to be removed from
Description
Right now if you:
Create a capsule
Associate it with a lifecycle environment (one that has content)
Sync the capsule
Unassociate it with the lifecycle environment
You would expect all content on the capsule to be removed immediately, instead you have to manually 'sync' the capsule again.
Updated by Justin Sherrill almost 10 years ago
- Bugzilla link set to https://bugzilla.redhat.com/show_bug.cgi?id=1111223
Updated by Justin Sherrill almost 10 years ago
jsherrill | hey, quick question
jsherrill | ::Actions::Katello::CapsuleContent::RemoveLifecycleEnvironment
jsherrill | that won't actually cause a 'sync' to remove the repos on the node right?
inecas | go for it!
inecas | nope
jsherrill | is that something we should add?
inecas | ::Actions::Katello::CapsuleContent::UpdateWithoutContent needs to be called
jsherrill | ah nice
inecas | the reason is for the content view: you might remove more repositories, but you want to sync only once at the end
jsherrill | should i make that a 2nd task, since RemoveLifecycleEnvironment is typically a syncronous request
inecas | what do you mean by 2nd task?
jsherrill | should i spawn off another task
jsherrill | to run UpdateWithoutContent
jsherrill | as it may take a while?
inecas | another option is making the remote-environment async
jsherrill | ah, always
jsherrill | yeah
inecas | would probably work better for me
jsherrill | k
jsherrill | thx inecas !
inecas | np
Updated by Eric Helms over 8 years ago
- translation missing: en.field_release set to 114
Updated by John Mitsch over 4 years ago
- Status changed from New to Rejected
- Target version deleted (
Katello Backlog)
Thanks for reporting this issue. This issue was created over 4 years ago and hasn't seen an update in 1 year. We are closing this in an effort to keep a realistic backlog. Please open up a new issue that includes a link to this issue if you feel this still needs to be addressed. We can then triage the new issue and reassess.