Bug 64288 - Cannot entitle registered systems
Cannot entitle registered systems
Status: CLOSED RAWHIDE
Product: Red Hat Satellite 5
Classification: Red Hat
Component: Server (Show other bugs)
unspecified
i386 Linux
medium Severity high
: ---
: ---
Assigned To: Chip Turner
Fanny Augustin
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2002-05-01 15:02 EDT by Matt Jamison
Modified: 2007-07-31 15:15 EDT (History)
7 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2002-05-01 17:22:13 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Josef Komenda 2002-05-01 15:02:30 EDT
Description of Problem: Cannot change entitlement on registered systems - have
100 workgroup on http://satellite.webdev-colo.redhat.com

but /network/entitlement/service_entitlements.pxt will not allow me to enable a
workgroup entitlement. 

Version-Release number of selected component (if applicable): see bug 63780
Comment 1 Greg DeKoenigsberg 2002-05-01 17:03:56 EDT
To be more specific: the entitlement option for Workgroup itself does not appear
in the pulldown -- although 100 available workgroup entitlements are listed.

The offending code:

    if ($pxt->user->org->has_entitlement('sw_mgr_enterprise')) {
      push @options,
        ([ 'None', 'none', $ent eq 'none' ? 1 : 0 ],
         [ 'Basic', 'sw_mgr_entitled', $ent eq 'sw_mgr_entitled' ? 1 : 0  ],
         [ 'Workgroup', 'enterprise_entitled', $ent eq 'enterprise_entitled' ? 1
: 0  ]);
    }
    else {
      push @options,
        ([ 'None', 'none', $ent eq 'none' ? 1 : 0 ],
         [ 'Basic', 'sw_mgr_entitled', $ent eq 'sw_mgr_entitled' ? 1 : 0  ]);
    }


...so it would appear that the entitlement certificate, although it populates
the count of workgroup systems properly, does not set the 'sw_mgr_enterprise'
flag properly -- whatever that flag is.
Comment 2 Chip Turner 2002-05-01 17:19:30 EDT
the problem was validate-sat-cert.pl didn't set this flag.  It should now.  the
data for rhnsat is fixed, and a new satellite-utils package has been uploaded.
Comment 3 Josef Komenda 2002-05-01 17:35:27 EDT
Fixed - closing.

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