Bug 1319713 - The problem with install packages during registration with AK (dnf-client)
Summary: The problem with install packages during registration with AK (dnf-client)
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Spacewalk
Classification: Community
Component: Clients
Version: 2.4
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Tomáš Kašpárek
QA Contact: Red Hat Satellite QA List
URL:
Whiteboard:
Depends On:
Blocks: space27
TreeView+ depends on / blocked
 
Reported: 2016-03-21 11:30 UTC by Martin Korbel
Modified: 2017-09-28 18:06 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-06-16 07:45:47 UTC
Embargoed:


Attachments (Terms of Use)

Description Martin Korbel 2016-03-21 11:30:01 UTC
Description of problem:
We cannot install packages during registration with AK, when we register dnf-client (F23).

Version-Release number of selected component (if applicable):
dnf-plugin-spacewalk-2.5.3-1.fc23.noarch

How reproducible:
100%

Steps to Reproduce:
1. We have got SW with some synchronized base channel (in my case F23).
2. We create new Activation Key and add package to install (ex. mc or vim-enhanced).
3. Register client to SW via AK
> rhnreg_ks --serverUrl=https://<fqdn>/XMLRPC --activationkey=1-xxx --force -vvv

Actual results:
...
D: do_call packages.update([['vim-enhanced', '', '', '', '']],){'cache_only': None}
D: Called update[['vim-enhanced', '', '', '', '']]
...
D: rpcServer: Calling XMLRPC up2date.listChannels
E: Package vim-enhanced-0:- is not available for installation
D: Sending back response(32, 'Failed: Packages failed to install properly:\nPackage vim-enhanced-0:- is not available for installation', {'name': 'package_install_failure', 'version': '1'})


Expected results:
...
D: do_call packages.update([['vim-enhanced', '', '', '', '']],){'cache_only': None}
D: Called update[['vim-enhanced', '', '', '', '']]
...
D: rpcServer: Calling XMLRPC up2date.listChannels
D: Dependencies Resolved
Downloading and installing: ['gpm-libs-1.20.7-7.fc23.i686', 'vim-filesystem-2:7.4.827-1.fc23.i686', 'vim-enhanced-2:7.4.827-1.fc23.i686', 'vim-common-2:7.4.827-1.fc23.i686']


Additional info:

Fix: https://github.com/spacewalkproject/spacewalk/pull/365

Comment 1 Pavel Studeník 2016-06-07 15:01:27 UTC
Pull request was merged on 4 May 2016.

spacewalk: ee246b158e3556fd4115010ba56bb01d4bec5f3e

Comment 2 Tomáš Kašpárek 2016-06-16 07:45:47 UTC
Spacewalk 2.5 was released.

Comment 3 Eric Herget 2017-09-28 18:06:23 UTC
This BZ closed some time during 2.5, 2.6 or 2.7.  Adding to 2.7 tracking bug.


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