Bug 446810 - packages from external repos in activation keys are not installed
packages from external repos in activation keys are not installed
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: yum-rhn-plugin (Show other bugs)
All Linux
low Severity low
: ---
: ---
Assigned To: John Matthews
Red Hat Satellite QA List
Depends On:
  Show dependency treegraph
Reported: 2008-05-16 04:49 EDT by Jan Hutař
Modified: 2009-02-24 15:07 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2009-02-24 15:07:34 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Jan Hutař 2008-05-16 04:49:55 EDT
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)
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:

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:
Comment 2 RHEL Product and Program Management 2009-02-24 15:07:34 EST
Development Management has reviewed and declined this request.  You may appeal
this decision by reopening this request.

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