Bug 498441

Summary: Removing a package from the a channel in the UI doesn't update repo cache
Product: [Community] Spacewalk Reporter: Justin Sherrill <jsherril>
Component: WebUIAssignee: Justin Sherrill <jsherril>
Status: CLOSED CURRENTRELEASE QA Contact: Jeff Ortel <jortel>
Severity: medium Docs Contact:
Priority: low    
Version: 0.5CC: bperkins, jortel
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 498506 (view as bug list) Environment:
Last Closed: 2009-09-10 12:06:05 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 456554, 498506    

Description Justin Sherrill 2009-04-30 14:20:47 UTC
When you remove a package from a channel, the new repocache mechanism is never signalled to regenerate the yum cache.  

We should probably add this in ChannelManager.refreshWithNewestPackages() so we cover anytime the newest packages are refreshed to get other cases where we're forgetting to initiate a cache rebuild

Comment 1 Justin Sherrill 2009-04-30 19:29:08 UTC
579fffa - added call to  ChannelManager.queueChannelChange() within refreshWithNewestPackages(), so we should over everything we need to.

Comment 2 Jeff Ortel 2009-07-07 20:04:47 UTC
Verified as follows:
1) Registered system to empty custom child channel of EL5 channel.
2) Ran "yum list available | grep suds" on system and observed python-suds package not listed.
3) Added python-suds package to channel.
4) After a few minutes, re-ran step #2 and observed python-suds listed in channel.
5) Removed python-suds package from channel.
6) After a few minutes, re-ran step #2 and observed python-suds *not* listed in channel. 

repomd seems to be re-generated when package added or removed from a channel.

Comment 3 Miroslav Suchý 2009-09-10 12:06:05 UTC
Spacewalk 0.6 released