[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[Spacewalk-list] Where are my imported channels (B & C) from 5.2, I can't see them in 0.3 WEB-UI?



Hi Group,

This issue was highlighted a while ago by another list member here https://www.redhat.com/archives/spacewalk-list/2008-November/msg00112.html

I opened a new thread just in case this one went through the cracks. Here is the question again, perhaps you can help.

I have exported base and child as follow in an 5.2.0:

[root btg320714 ~]#rhn-satellite-exporter -d /rhn-export/ -crhel-i386-server-5 -crhn-tools-rhel-i386-server-5 -crhel-i386-server-cluster-5 -crhel-i386-server-cluster-storage-5 -crhel-i386-server-hts-5 -crhel-i386-server-supplementary-5 -crhel-i386-server-vt-5
...
Exporting: #################### - Done!
...

[root btg320714 ~]# rhn-satellite-exporter --list-channel /rhn-export/
Channel List:
B = Base Channel
C = Child Channel

B rhel-i386-server-5
C       rhel-i386-server-cluster-5
C       rhel-i386-server-cluster-storage-5
C       rhel-i386-server-hts-5
C       rhel-i386-server-supplementary-5
C       rhel-i386-server-vt-5
C       rhn-tools-rhel-i386-server-5



I have imported B rhel-i386-server-5 and C rhn-tools-rhel-i386-server-5 into an 0.3 with:



[root rhtest kickstart]# satellite-sync -crhel-i386-server-5 -crhn-tools-rhel-i386-server-5 -m /rhn-import/
10:42:14 Red Hat Network Satellite - file-system synchronization
10:42:14    mp:  /rhn-import
10:42:14    db:  spacewalk/<password>@xe
10:42:14
10:42:14 Retrieving / parsing channel-families data
10:42:14 channel-families data complete
10:42:14
10:42:14 Retrieving / parsing arches data
10:42:14 arches data complete
10:42:14
10:42:14 Retrieving / parsing additional arches data
10:42:15 additional arches data complete
10:42:15
10:42:15 Retrieving / parsing channel data
10:42:15    p = previously imported/synced channel
10:42:15    . = channel not yet imported/synced
10:42:15    base-channels:
10:42:15       p rhel-i386-server-5                       4360
10:42:15    rhel-i386-server-5:
10:42:15       p rhn-tools-rhel-i386-server-5              381
10:42:15
10:42:16 Channel data complete
10:42:16
10:42:16 Retrieving / parsing blacklists data
10:42:16 blacklists data complete
10:42:16
10:42:16 Retrieving / parsing product names data
10:42:16
10:42:16 Retrieving short package metadata (used for indexing)
10:42:16    Retrieving / parsing short package metadata: rhel-i386-server-5 (436            0)
10:47:23    Retrieving / parsing short package metadata: rhn-tools-rhel-i386-ser            ver-5 (381)
10:47:48 Diffing package metadata (what's missing locally?): rhel-i386-server-5
            ________________________________________
Diffing:    ######################################## - complete
10:48:19 Diffing package metadata (what's missing locally?): rhn-tools-rhel-i386            -server-5
            ________________________________________
Diffing:    ######################################## - complete
10:48:23
10:48:23 Downloading rpm packages
10:48:23    Fetching any missing RPMs: rhel-i386-server-5 (NONE MISSING)
10:48:23    Fetching any missing RPMs: rhn-tools-rhel-i386-server-5 (NONE MISSIN            G)
10:48:23 Processing rpm packages complete
10:48:23 No handler for step srpms
10:48:23
10:48:23 Downloading package metadata
10:48:23    Retrieving / parsing *relevant* package metadata: rhel-i386-server-5             (NONE RELEVANT)
10:48:23    Retrieving / parsing *relevant* package metadata: rhn-tools-rhel-i38            6-server-5 (NONE RELEVANT)
10:48:23
10:48:23 Downloading errata data
10:48:24    Retrieving / parsing errata data: rhel-i386-server-5 (0)
10:48:24    Retrieving / parsing errata data: rhn-tools-rhel-i386-server-5 (0)
10:48:24 Downloading errata data complete
10:48:24
10:48:24 Downloading kickstartable trees metadata
10:48:24    Retrieving / parsing kickstart data: rhel-i386-server-5 (3)
            ________________________________________
Downloading:######################################## - complete
10:48:24    Retrieving / parsing kickstart data: rhn-tools-rhel-i386-server-5 (N            ONE RELEVANT)
10:48:25
10:48:25 Downloading kickstartable trees files
10:48:25    Retrieving / parsing kickstart tree files: rhel-i386-server-5 (NONE             RELEVANT)
10:48:25    Retrieving / parsing kickstart tree files: rhn-tools-rhel-i386-serve            r-5 (NONE RELEVANT)
10:48:25
10:48:25 Importing package metadata
10:48:25    Importing *relevant* package metadata: rhel-i386-server-5 (NONE RELE            VANT)
10:48:25    Importing *relevant* package metadata: rhn-tools-rhel-i386-server-5             (NONE RELEVANT)
10:48:25
10:48:25 Linking packages to channels
10:48:46 No handler for step source-packages
10:48:46
10:48:46 Importing channel errata
10:48:46    Importing *relevant* errata: rhel-i386-server-5 (NONE RELEVANT)
10:48:46    Importing *relevant* errata: rhn-tools-rhel-i386-server-5 (NONE RELE            VANT)
10:48:46 Importing kickstartable trees (3)
10:48:46 Imported kickstartable trees (3)
    Import complete:
        Begin time: Wed Dec 10 10:42:14 2008
        End time:   Wed Dec 10 10:48:46 2008
        Elapsed:    0 hours, 6 minutes, 32 seconds


I can see they have been imported here:


[root rhtest kickstart]# satellite-sync -l -m /rhn-import/
10:37:22 Red Hat Network Satellite - file-system synchronization
10:37:22    mp:  /rhn-import
10:37:22    db:  spacewalk/<password>@xe
10:37:22
10:37:22 Retrieving / parsing channel-families data
10:37:22 channel-families data complete
10:37:23
10:37:23 Retrieving / parsing channel data
10:37:24    p = previously imported/synced channel
10:37:24    . = channel not yet imported/synced
10:37:24    base-channels:
10:37:24       p rhel-i386-server-5                       4360
10:37:24    rhel-i386-server-5:
10:37:24       . rhel-i386-server-cluster-storage-5        155
10:37:24       . rhel-i386-server-cluster-5                105
10:37:24       . rhel-i386-server-hts-5                      8
10:37:24       . rhel-i386-server-supplementary-5          255
10:37:24       p rhn-tools-rhel-i386-server-5              381
10:37:24       . rhel-i386-server-vt-5                     131
10:37:24
    Import complete:
        Begin time: Wed Dec 10 10:37:22 2008
        End time:   Wed Dec 10 10:37:24 2008
        Elapsed:    0 hours, 0 minutes, 1 seconds

I can see the kickstart trees and rpms in /var/satellite/

[root rhtest kickstart]# du -sh /var/satellite/redhat/NULL/
9.1G    /var/satellite/redhat/NULL/

[root rhtest kickstart]# du -sh /var/satellite/rhn/kickstart/ks-rhel-i386-server-5*
162M    /var/satellite/rhn/kickstart/ks-rhel-i386-server-5
174M    /var/satellite/rhn/kickstart/ks-rhel-i386-server-5-u1
180M    /var/satellite/rhn/kickstart/ks-rhel-i386-server-5-u2

However, none of the above is reflected in the Spacewalk WEB-UI when:

Login into SW -> Channels -> All Channels
                         Channels -> Red Hat Channels
                         Channels -> Popular Channels
                         Channels -> My Channels
                         Channels -> Retired channels

For the record, all of the above work correctly between Satellite 5.2.0 <->Satellite 5.2.0. I can only think this being as a result of my Spacewalk Cert but I am not sure here.

Anyone has managed to export/import channels between Sat/SW before that can shade a light here ?

Best regards,
--
travellig.

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]