Bug 63802
Summary: | Cannot add Entitlements | ||
---|---|---|---|
Product: | Red Hat Satellite 5 | Reporter: | Matt Jamison <jamisonm> |
Component: | Server | Assignee: | Peter Jones <pjones> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Fanny Augustin <fmoquete> |
Severity: | high | Docs Contact: | |
Priority: | medium | ||
Version: | unspecified | CC: | alikins, gafton, gdk, jturner, mihai.ibanescu, pjones, taw |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i386 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2002-05-01 22:04:06 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: |
Description
Josef Komenda
2002-04-18 20:43:22 UTC
okay we need some stored procedures and/or a satellite rhn_foo plsql package to handle the setting up of the first org. specifically, code to: x create the first org (first user creation can be done on the website) x set that org's workgroup count x set that org's allowed channel families x store the above values somewhere in the schema that is monitored for editing; also somewhere to store expiration of the satellite (NULLable), a copy of the digital cert (a varchar2 of 4096 bytes). probably a single table with one row? the first three are immediately blocking, whereas the last one isn't as urgent but still a blocker Currently in rhnsat: create_first_org(name_in in varchar2, password_in in varchar2); rhn_entitlement.set_group_count ( customer_id_in in number, -- customer_id type_in in char, -- 'U' or 'S' group_type_in in number, -- rhn[User|Server]GroupType.id quantity_in in number -- quantity ); rhn_entitlement.set_family_count ( customer_id_in in number, -- customer_id channel_family_id_in in number, -- 246 quantity_in in number -- 3 ); Item #4 doesn't exist quite yet. Current solution for #4 on the list is rhnSatelliteLog, which logs changes to rhnChannelFamilyPermissions, rhnServerGroup, and rhnUserGroup. These are in CVS, but not deployed to any db environments; we don't really want them on the track for the live server. Suggestions? |