Bug 457414

Summary: Adding 'Virtualization' entitlement for XEN system throws an error.
Product: [Community] Spacewalk Reporter: Aleksandr Tarutin <atarutin>
Component: WebUIAssignee: Devan Goodwin <dgoodwin>
Status: CLOSED CURRENTRELEASE QA Contact: Red Hat Satellite QA List <satqe-list>
Severity: low Docs Contact:
Priority: low    
Version: 0.4CC: cperry
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-01-22 16:29:47 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:
Bug Depends On:    
Bug Blocks: 456552    

Description Aleksandr Tarutin 2008-07-31 14:54:19 UTC
Description of problem:
Error while enabling 'Add-on entitlements' for a XEN system: 
Could not automatically subscribe the system to the Spacewalk Tools Channel.
This channel contains packages required for virtualization. This is most likely
caused by a lack of channel entitlements.
Version-Release number of selected component (if applicable):


How reproducible:
From the Systems screen click on the system and on the next screen click
Properties. Check the 'Virtualization' checkbox for 'Add-On Entitlements' and
submit the page.

Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Devan Goodwin 2009-01-12 13:47:25 UTC
Hi Aleksandr, could you clarify, was this a Xen host or guest?

Comment 2 Devan Goodwin 2009-01-12 17:50:45 UTC
Cancel that request, have reproduced this and working on a solution.

Comment 3 Devan Goodwin 2009-01-12 20:08:13 UTC
Fixed in spacewalk git ec4734b065efac6647647a64f573715ed6e984b7.

Some Satellite specific logic here, there were three checks previously, one for RHN Tools channel, one for VT channel, and lastly one for availability of the rhn-virtualization-host package. 

Changed logic to only do the two channel checks in Satellite (as these are not relevant in Spacewalk).

Kept the package check but changed it to a warning in both, if rhn-virtualization-host is unavailable you can still add the virtualization entitlements to a system.

Comment 4 Devan Goodwin 2009-01-14 21:11:51 UTC
Verified in spacewalk 0.4.