Bug 456463 - System Set Manager->Package->Install: incorrect package installed
System Set Manager->Package->Install: incorrect package installed
Status: CLOSED CURRENTRELEASE
Product: Spacewalk
Classification: Community
Component: WebUI (Show other bugs)
0.1
All Linux
medium Severity medium
: ---
: ---
Assigned To: Jay Dobies
Red Hat Satellite QA List
:
Depends On:
Blocks: space04
  Show dependency treegraph
 
Reported: 2008-07-23 16:54 EDT by Brad Buckingham
Modified: 2009-02-11 15:55 EST (History)
5 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2009-01-22 11:29:38 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Brad Buckingham 2008-07-23 16:54:44 EDT
Description of problem:

Installing packages (systems->ssm->packages->install)

Users are unable to install i386 packages on an x86_64 client from the server
when there exist both an x86_64 and i386 version of the package on the server.
Although the UI for SSM allows the user to select to install a package
associated with a specific architecture, when the package is installed for an
x86_64 server the package installed is always the x86_64.  The reason being, the
package architecture associated with the action is neither stored on the server
nor communicated to the client during update.

From initial analysis, impact to UI is anticipated.

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


How reproducible:


Steps to Reproduce:

Associate a system with SSM:
1. select Systems
2. click the box next to an x86_64 system

Install a package using SSM:
3. select System Set Manager -> Install -> pick 64-bit Channel
4. schedule install of i386 package (e.g. libjpeg)
5. run rhn_check -vvv on client at appropriate time to install the package

Actual results:
x86_64 package installed on client

Expected results:
i386 package installed on client

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-11-21 10:28:12 EST
Commit: 707049ce8f6dedd4fc5be8e7ff1c4abfaba38ea5

Ported the SSM perl pages to java. Added architecture display to package selection table. Architecture ID information carried as part of the selected package and added to the scheduled package install action.

Perl pages removed:

network/systems/ssm/packages/
  choose_answer_files.pxt
  install.pxt
  install_channel.pxt
  install_conf.pxt
Comment 2 Jason Dobies 2008-11-21 15:51:42 EST
Taking this back for a bit. Just remembered I forgot to get the tab bar at the top of the pages working (just sits on Overview and not Packages -> Install).
Comment 3 Jason Dobies 2008-12-02 09:31:35 EST
Commit: d16bee50b193d20bcdaa38ed768875bf2d479814

Fixed the tab bar.

Note You need to log in before you can comment on or make changes to this bug.