Bug 446810

Summary: packages from external repos in activation keys are not installed
Product: Red Hat Enterprise Linux 5 Reporter: Jan Hutař <jhutar>
Component: yum-rhn-pluginAssignee: John Matthews <jmatthew>
Status: CLOSED WONTFIX QA Contact: Red Hat Satellite QA List <satqe-list>
Severity: low Docs Contact:
Priority: low    
Version: 5.4CC: cperry
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-02-24 20:07:34 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:

Description Jan Hutař 2008-05-16 08:49:55 UTC
Description of problem:
When I register a RHEL-5.2 system to Satellite 4.2.2 using activation key, 
packages included in the activation key which are in the external yum repo are 
not installed.

If the key have packages from RHN, they are installed correctly.


Version-Release number of selected component (if applicable):
Satellite 4.2.2 (rlx-1-14.rhndev.redhat.com)
yum-3.2.8-9.el5.noarch
rhn-setup-0.4.17-8.el5.noarch or rhn-setup-0.4.16-2.el5_1.9.noarch
  (problem is there for both versions, so this is
  not a RHEL-5.1 -> 5.2 regression)


How reproducible:
always


Steps to Reproduce:
1. Create activation key on Satellite 4.2.2 like this:
   Description: test-with-package
   Key: test-with-package
   Base Channel: Red Hat Default
   Add-On Entitlements:	[ON] Provisioning
   Universal default: No
   Packages section contains only this: perl-YAML
2. client# yum list perl-YAML
   ...
   Available Packages
   perl-YAML.noarch                      0.62-1.RHEL5           packages
3. client# yum repolist
   ...
   repo id              repo name                                 status
   packages             packages test repository                  enabled
   rhel-i386-server-5   None                                      enabled
4. client# rhnreg_ks --activationkey=test-with-package --force -vvvvv


Actual results:
# rhnreg_ks --activationkey=test-with-package --force -vvvvv
D: opening  db environment /var/lib/rpm/Packages joinenv
D: opening  db index       /var/lib/rpm/Packages rdonly mode=0x0
D: locked   db index       /var/lib/rpm/Packages
D: opening  db index       /var/lib/rpm/Providename rdonly mode=0x0
D: closed   db index       /var/lib/rpm/Providename
D: closed   db index       /var/lib/rpm/Packages
D: closed   db environment /var/lib/rpm/Packages
D: May free Score board((nil))

No perl-YAML package installed.


Expected results:
Package perl-YAML installed in the registration time.


Additional info:
QA: This test-case is described in:
https://testopia.devel.redhat.com/bugzilla/tr_show_case.cgi?case_id=1271

Comment 2 RHEL Program Management 2009-02-24 20:07:34 UTC
Development Management has reviewed and declined this request.  You may appeal
this decision by reopening this request.