Bug #6288

Removing a lifecycle environment from a capsule does not cause repos to be removed from

Added by Justin Sherrill almost 6 years ago. Updated 9 months ago.

Target version:
Bugzilla link:
Pull request:
Fixed in Releases:
Found in Releases:


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.


#1 Updated by Justin Sherrill almost 6 years ago

  • Bugzilla link set to

#2 Updated by Justin Sherrill almost 6 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

#3 Updated by Eric Helms almost 6 years ago

  • Triaged changed from No to Yes

#4 Updated by Eric Helms almost 6 years ago

  • Target version changed from 49 to 54

#5 Updated by Eric Helms almost 6 years ago

  • Target version deleted (54)

#6 Updated by Eric Helms over 4 years ago

  • Legacy Backlogs Release (now unused) set to 114

#7 Updated by John Mitsch 9 months ago

  • Target version deleted (Katello Backlog)
  • Status changed from New to Rejected

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.

Also available in: Atom PDF