Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 1320025 - registering guest on unregistered host consumes regular instead of flex entitlement with spacewalk-backend-2.3.3-39.el6sat
registering guest on unregistered host consumes regular instead of flex entit...
Status: CLOSED ERRATA
Product: Red Hat Satellite 5
Classification: Red Hat
Component: Registration (Show other bugs)
570
Unspecified Unspecified
unspecified Severity medium
: ---
: ---
Assigned To: Jan Dobes
Ales Dujicek
: Regression
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2016-03-22 03:17 EDT by Jan Hutař
Modified: 2016-06-15 13:29 EDT (History)
11 users (show)

See Also:
Fixed In Version: spacewalk-backend-2.3.3-40-sat
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2016-06-02 08:33:36 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Knowledge Base (Solution) 18134 None None None 2016-04-06 04:10 EDT
Red Hat Product Errata RHBA-2016:1200 normal SHIPPED_LIVE Satellite 5.7 bug fix update 2016-06-02 12:32:31 EDT

  None (edit)
Description Jan Hutař 2016-03-22 03:17:21 EDT
Description of problem:
Registering guest (running on unregistered host) consumes regular instead of flex entitlement with spacewalk-backend-2.3.3-39.el6sat.


Version-Release number of selected component (if applicable):
spacewalk-backend-2.3.3-39.el6sat.noarch


How reproducible:
always


Steps to Reproduce:
0. Ensure you are on virtual system (whose host is not registered into
   same Satellite):
     # grep -e QEMU -e KVM /proc/cpuinfo 
     model name	: QEMU Virtual CPU version (cpu64-rhel6)
     model name	: QEMU Virtual CPU version (cpu64-rhel6)
1. with spacewalk-backend-2.3.3-33.el6sat.noarch:
     # rhnreg_ks --force --username=<user> --password=<pass>
   API org.listSoftwareEntitlements(key) returns:
     {'unallocated_flex': 999, 'used': 0, 'name': 'Red Hat Enterprise Linux Server (v. 6)', 'allocated_flex': 1, 'used_flex': 1, 'free': 0, 'label': 'rhel-server-6', 'free_flex': 0, 'unallocated': 14000, 'allocated': 0}
     => GOOD, Flex entitlement is used
2. with spacewalk-backend-2.3.3-39.el6sat.noarch:
     # rhnreg_ks --force --username=<user> --password=<pass>
   API org.listSoftwareEntitlements(key) returns:
     {'unallocated_flex': 1000, 'used': 1, 'name': 'Red Hat Enterprise Linux Server (v. 6)', 'allocated_flex': 0, 'used_flex': 0, 'free': 0, 'label': 'rhel-server-6', 'free_flex': 0, 'unallocated': 13999, 'allocated': 1}
     => BAD, regular entitlement is used


Actual results:
On latest version of the package, guest does not consume flex entitlements


Expected results:
Should consume flex entitlement.
Comment 2 Jan Hutař 2016-03-22 07:09:39 EDT
As a workaround you can always go to Overview -> Subscription Management ->  Virtualization Entitlements -> Guests Consuming Regular Entitlements and switch systems to use FLEX manually.
Comment 5 Jan Dobes 2016-03-22 12:51:54 EDT
fixed in spacewalk master (even if the problem is not there):

fc626e08c34b0be7925a15c4a29236c5cfcf3181
Comment 15 errata-xmlrpc 2016-06-02 08:33:36 EDT
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2016:1200

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