Bug 456455

Summary: System->Software->Remove: incorrect package removed
Product: [Community] Spacewalk Reporter: Brad Buckingham <bbuckingham>
Component: WebUIAssignee: Jay Dobies <jason.dobies>
Status: CLOSED CURRENTRELEASE QA Contact: Red Hat Satellite QA List <satqe-list>
Severity: medium Docs Contact:
Priority: medium    
Version: 0.1CC: cperry, jason.dobies, jdobies, jesusr, pkilambi
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-01-22 16:29:36 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: 456552    

Description Brad Buckingham 2008-07-23 19:37:16 UTC
Description of problem:

Removing packages (systems->system->software->packages->remove):

If there are multiple instances of a package installed on a client, selecting to
remove an individual package results in all instances (e.g. i386 & x86_64) being
removed from the client. In this scenario, although a package associated with a
specific architecture is chosen from the UI, the package architecture is not
communicated to the client.

From initial analysis, impact to UI and backend are anticipated.

Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1. select Systems
2. select an x86_64 system
3. select Software -> Packages -> Remove
4. schedule the removal of an i386 package (e.g. libjpeg)
5. perform rhn_check -vvv on the client at the appropriate time

Actual results:
client removes all instances of the package (e.g. libjpeg i386 & x86_64)

Expected results:
client removes only the version of the package requested/scheduled (e.g. libjpeg
i386)

Additional info:

https://fedorahosted.org/spacewalk/wiki/MultiArchEnhancements - Refer to wiki
page for more details on this issue. This page contains proposed solution;
however, since the solution details can change as the issue is further
investigated, it is not being included in the bug report.

Comment 1 Jason Dobies 2008-10-29 14:58:19 UTC
UI changes finished. Updated the action query to persist the architecture.

GIT: f9b82cb676202ed169faea680410774e1dec33ee