[Spacewalk-list] satellite-sync does not import kickstarts.

Milan Zazrivec mzazrivec at redhat.com
Tue Nov 27 13:30:15 UTC 2012


> On 27.11.2012 16:53, Milan Zazrivec wrote:
> >> On 27.11.2012 16:27, Milan Zazrivec wrote:
> >>>> I run satellite-sync:
> >>>> # satellite-sync --debug-level=6 --include-custom-channel -c
> >>>> centos-5.4-non_updatable-x86_64
> >>>> 12:43:08 Red Hat Network Satellite - live synchronization
> >>>> 12:43:08    url: https://spacewalk.<censored>
> >>>> 12:43:08    debug/output level: 6
> >>>> 12:43:08    +++ Satellite synchronization tool checking in.
> >>>> 12:43:08    +++ Entitled satellite validated.
> >>>> 12:43:08    db:
> >>>> spacewalk/<password>@dbname=spacewalk_db;host=127.0.0.1;port=5432
> >>>> 12:43:08 Action list/commandline toggles: ['channels',
> >>>> 'download-errata', 'download-packages', 'errata', 'packages', 'short',
> >>>> 'kickstarts', 'channel-families', 'download-kickstarts', 'arches',
> >>>> 'rpms']<snip>
> >>>> ........................
> >>>> <snip>
> >>>> 12:43:10    p = previously imported/synced channel
> >>>> 12:43:10    . = channel not yet imported/synced
> >>>> 12:43:10    base-channels:
> >>>> 12:43:10       p centos-5.4-non_updatable-x86_64          3357
> >>>> full import from Thu Nov 15 16:03:44 2012
> >>>> 12:43:10
> >>>> 12:43:10
> >>>> 12:43:10 Syncing Channel centos-5.4-non_updatable-x86_64 to Org 1
> >>>> 12:43:10 Channel data complete
> >>>> 12:43:10
> >>>> 12:43:10 Retrieving short package metadata (used for indexing)
> >>>> 12:43:10    Retrieving / parsing short package metadata:
> >>>> centos-5.4-non_updatable-x86_64 (3357)
> >>>> 12:43:18 Diffing package metadata (what's missing locally?):
> >>>> centos-5.4-non_updatable-x86_64
> >>>> 
> >>>>                ________________________________________
> >>>> 
> >>>> Diffing:    ######################################## - complete
> >>>> 12:43:24
> >>>> 12:43:24 Downloading package metadata
> >>>> 12:43:24    Retrieving / parsing *relevant* package metadata:
> >>>> centos-5.4-non_updatable-x86_64 (NONE RELEVANT)
> >>>> 12:43:24
> >>>> 12:43:24 Downloading rpm packages
> >>>> 12:43:24    Fetching any missing RPMs: centos-5.4-non_updatable-x86_64
> >>>> (NONE MISSING)
> >>>> 12:43:24 Processing rpm packages complete
> >>>> 12:43:24
> >>>> 12:43:24 Importing package metadata
> >>>> 12:43:24    Importing *relevant* package metadata:
> >>>> centos-5.4-non_updatable-x86_64 (NONE RELEVANT)
> >>>> 12:43:24
> >>>> 12:43:24 Linking packages to channels
> >>>> 12:43:41
> >>>> 12:43:41 Downloading errata data
> >>>> 12:43:41    Retrieving / parsing errata data:
> >>>> centos-5.4-non_updatable-x86_64 (NONE RELEVANT)
> >>>> 12:43:41 Downloading errata data complete
> >>>> 12:43:41
> >>>> 12:43:41 Downloading kickstartable trees metadata
> >>>> 12:43:41    Retrieving / parsing kickstart data:
> >>>> centos-5.4-non_updatable-x86_64 (NONE RELEVANT)
> >>>> 12:43:41
> >>>> 12:43:41 Downloading kickstartable trees files
> >>>> 12:43:41    Retrieving / parsing kickstart tree files:
> >>>> centos-5.4-non_updatable-x86_64 (NONE RELEVANT)
> >>>> 12:43:41
> >>>> 12:43:41 Importing channel errata
> >>>> 12:43:41 Importing 0 errata for channel
> >>>> centos-5.4-non_updatable-x86_64. 12:43:41    Importing *relevant*
> >>>> errata: centos-5.4-non_updatable-x86_64 (NONE RELEVANT)
> >>>> 12:43:41    No new kickstartable tree to import
> >>>> 
> >>>>        Import complete:
> >>>>            Begin time: Wed Nov 21 12:43:08 2012
> >>>>            End time:   Wed Nov 21 12:43:41 2012
> >>>>            Elapsed:    0 hours, 0 minutes, 33 seconds
> >>>> 
> >>>> But kickstart from the primary server are not imported.
> >>>> Why can this happen?
> >>> 
> >>> By "kickstarts" -- do you mean kickstart profiles or kickstartable
> >>> trees (i.e. distributions) ?
> >>> 
> >>> -MZ
> >>> 
> >>> _______________________________________________
> >>> Spacewalk-list mailing list
> >>> Spacewalk-list at redhat.com
> >>> https://www.redhat.com/mailman/listinfo/spacewalk-list
> >> 
> >> Hi.
> >> I mean both - kickstart profiles and Kickstartable Distributions.
> >> Because one depends on another.
> > 
> > Okay, none of those two will be exported / imported as a part of
> > satellite-sync between two Spacewalks.
> > 
> > RHN Satellite is able to synchronize kickstartable trees from Red Hat
> > Network (official Red Hat content) or you can synchronize the official
> > Red Hat content between two RHN Satellites, but what you want
> > will not work for custom channels (and distributions).
> > 
> > About kickstart profiles -- these are never being exported / imported
> > during satellite-sync.
> > 
> > -MZ
> > 
> > _______________________________________________
> > Spacewalk-list mailing list
> > Spacewalk-list at redhat.com
> > https://www.redhat.com/mailman/listinfo/spacewalk-list
> 
> Thanks a lot for explanation.
> This is just what I wanted to know.
> 
> PS. It would be good in the future, the opportunity to fully synchronize
> content between two servers.

Sure.

Would you care to create a bug report at [1] asking for this functionality
for us to track?

Thank you
-Milan Zázrivec

[1] https://bugzilla.redhat.com/enter_bug.cgi?product=Spacewalk




More information about the Spacewalk-list mailing list