Project

General

Profile

Bug #6288

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

Added by Justin Sherrill about 5 years ago. Updated about 1 year ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Repositories
Target version:
Difficulty:
easy
Triaged:
Yes
Bugzilla link:
Pull request:
Team Backlog:
Fixed in Releases:
Found in Releases:

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.

History

#1 Updated by Justin Sherrill about 5 years ago

  • Bugzilla link set to https://bugzilla.redhat.com/show_bug.cgi?id=1111223

#2 Updated by Justin Sherrill about 5 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 about 5 years ago

  • Triaged changed from No to Yes

#4 Updated by Eric Helms about 5 years ago

  • Target version changed from 49 to 54

#5 Updated by Eric Helms about 5 years ago

  • Target version deleted (54)

#6 Updated by Eric Helms over 3 years ago

  • Legacy Backlogs Release (now unused) set to 114

Also available in: Atom PDF