Bug 619484
Summary: | rhn-satellite-activate doesn't update 'Software Channel Entitlements' when executed in '--disconnected' mode | ||
---|---|---|---|
Product: | Red Hat Satellite 5 | Reporter: | Vishal Gaikwad <vgaikwad> |
Component: | Server | Assignee: | Jan Pazdziora <jpazdziora> |
Status: | CLOSED NOTABUG | QA Contact: | Red Hat Satellite QA List <satqe-list> |
Severity: | high | Docs Contact: | |
Priority: | high | ||
Version: | 530 | CC: | cperry |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2011-04-11 09:11:27 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: | 462714 |
Description
Vishal Gaikwad
2010-07-29 16:23:23 UTC
I've reproduced the behaviour but I was not able to reproduce the bug. I've installed fresh Satellite 5.3.0. I have installed as --disconnected with certificate which has <rhn-cert-field name="slots">20</rhn-cert-field> <rhn-cert-field name="monitoring-slots">20</rhn-cert-field> <rhn-cert-field name="provisioning-slots">20</rhn-cert-field> <rhn-cert-field name="virtualization_host">20</rhn-cert-field> <rhn-cert-field name="channel-families" quantity="2" family="rhel-rhdirserv"/> <rhn-cert-field name="channel-families" quantity="20" family="rhel-server"/> <rhn-cert-field name="channel-families" quantity="20" family="rhel-server-supplementary"/> <rhn-cert-field name="channel-families" quantity="20" family="rhel-server-vt"/> <rhn-cert-field name="channel-families" quantity="20" family="rhn-tools"/> <rhn-cert-field name="satellite-version">5.3</rhn-cert-field> <rhn-cert-field name="generation">2</rhn-cert-field> and then rerun rhn-satellite-activate with the same certificate, as disconnected. Yes, it's true that the Software Channel Entitlements only shows the Private Channel Family 1 line and nothing else. However, I had no problem syncing rhel-x86_64-server-5 from my dump # satellite-sync -m. -c rhel-x86_64-server-5 15:07:21 Red Hat Network Satellite - file-system synchronization 15:07:21 mp: /opt/dumps/rhel-5 15:07:21 db: rhnsat/<password>@rhnsat 15:07:21 15:07:21 Retrieving / parsing channel-families data 15:07:21 channel-families data complete 15:07:21 15:07:21 Retrieving / parsing arches data 15:07:22 arches data complete 15:07:22 15:07:22 Retrieving / parsing additional arches data 15:07:22 additional arches data complete 15:07:22 15:07:22 Retrieving / parsing channel data 15:07:22 p = previously imported/synced channel 15:07:22 . = channel not yet imported/synced 15:07:22 base-channels: 15:07:22 . rhel-x86_64-server-5 9810 15:07:22 15:07:23 Channel data complete 15:07:23 15:07:23 Retrieving / parsing blacklists data 15:07:23 blacklists data complete 15:07:23 15:07:23 Retrieving / parsing product names data 15:07:23 15:07:23 Retrieving short package metadata (used for indexing) 15:07:23 Retrieving / parsing short package metadata: rhel-x86_64-server-5 (9810) 15:11:32 Diffing package metadata (what's missing locally?): rhel-x86_64-server-5 ________________________________________ Diffing: ######################################## - complete 15:11:51 15:11:51 Downloading rpm packages 15:11:51 Fetching any missing RPMs: rhel-x86_64-server-5 (9810) [...] and as soon as I did that, new line Red Hat Enterprise Linux (core server) 0 20 appeared in the Software Channel Entitlements. So even if the entitlements are not visible on the WebUI right after disconnected activation, it does not prevent satellite-sync from running on my 5.3.0. Does the customer have a reproducer where the satellite-sync indeed fails? The thing is, we cannot populate the list of channel entitlements because the list of families is imported from the sync. So at the time of disconnected Satellite activation, there isn't where to take the channel family names and other information. |