Bug 1319713

Summary: The problem with install packages during registration with AK (dnf-client)
Product: [Community] Spacewalk Reporter: Martin Korbel <mkorbel>
Component: ClientsAssignee: Tomáš Kašpárek <tkasparek>
Status: CLOSED CURRENTRELEASE QA Contact: Red Hat Satellite QA List <satqe-list>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 2.4CC: pstudeni
Target Milestone: ---Keywords: Regression
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-06-16 07:45:47 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On:    
Bug Blocks: 1484117    

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.