[Spacewalk-list] satellite-sync in Spacewalk?

Jason Ganovsky jasong at optonline.net
Wed Jul 16 10:50:44 UTC 2008


Pradeep,

You've been more than helpful, thank you so much!

On Tuesday 15 July 2008 10:16 pm, you wrote:
> Jason Ganovsky wrote:
> > Hi Pradeep,
> >
> > That helps me understand the architecture, thank you.
> >
> > So I *think* I successfully activated my Satellite correctly (although I
> > might have steered wrong somwehere) but here it goes...
> >
> > Basically, I used the template-eval.cert from the wiki, resigned it and
> > activated my first spacewalk with it.  I then copied template-eval.cert
> > to /etc/sysconfig/rhn/rhn-entitlement-cert.xml on the 2nd Spacewalk
> > server.
> >
> > Does all of that sound right?  Below is the error I'm seeing.
>
> So If i read this right the parent is another spacewalk server? This is
> not supported yet.
> Each spacewalk server needs to be handled on its own. So use
> --disconnected option
>
> $ rhn-satellite-activate --disconnected
>
> But if you're trying to sync a channel from one spacewalk server to
> another. Here is your option:
>
> on spacewalk-1 say you have 'test-channel' that you want to sync to
> spacewalk server2. In this
> case do the following:
>
> * On spacewalk server-1 run
>
> $ rhn-satellite-export -c test-channel --dir=/tmp/test-channel-dump
>
> * Now copy this test-channel-export data to spacewalk server-2 to say
> /tmp/test-channel-dump
>
> * On Spacewalk server2 run:
>
> $ satellite-sync -m /tmp/test-channel-dump -c test-channel
>
> This should get you the test-channel from server-1 on to server-2.
>
> Hope this helps.
>
> ~ Prad
>
> > [root at spacewalk2 ~]# rhn-satellite-activate --no-ssl
> > NOTE: using backup cert as
> > default: /etc/sysconfig/rhn/rhn-entitlement-cert.xml
> > RHN_PARENT: spacewalk.lnxservices.net
> > ERROR: unhandled XMLRPC fault upon remote deactivation (reraising):
> > <Fault -1: 'redstone.xmlrpc.XmlRpcFault: Could not find method
> > deactivateSatellite in class class
> > com.redhat.rhn.frontend.xmlrpc.satellite.SatelliteHandler'>
> >
> > ERROR: <Fault -1: 'redstone.xmlrpc.XmlRpcFault: Could not find method
> > deactivateSatellite in class class
> > com.redhat.rhn.frontend.xmlrpc.satellite.SatelliteHandler'>
> >
> > On Tuesday 15 July 2008 4:59 pm, you wrote:
> >> Jason Ganovsky wrote:
> >>> But do I need a Satellite certificate, or just a RHEL subscription?  If
> >>> I need a Satellite subscription doesn't that defeat the purpose of
> >>> setting up and using Spacewalk?  Why wouldn't I just use Satellite?
> >>
> >> You would need both if you want to use RHN services. So satellite is an
> >> Enterprise product with support. Where as spacewalk is a community
> >> effort which is open source and free to use as you wish.  In order for
> >> you to populate content to your spacewalk server, syncing  from RHN is
> >> not the only option. You can create a custom channel on your spacewalk
> >> server and push content using rhnPush tool for an entire distro. So I
> >> recommend the following:
> >>
> >> * Activate your spacewalk server in disconnected  mode as mentioned
> >> earlier
> >>
> >> * create custom channels for whatever conettn you want.
> >>
> >> * push content to your custom channels(say for example fedora) using
> >> rhnPush. For help see the wiki docs. There is lot of examples on how to
> >> do that.
> >>
> >> see this: https://fedorahosted.org/spacewalk/wiki/UploadFedoraContent
> >>
> >> * then you should be able to register your fedora client and manage from
> >> your spacewalk server.
> >>
> >> see this: https://fedorahosted.org/spacewalk/wiki/RegisteringClients
> >>
> >> This is jus an example. You can manage any of your clientss as long as
> >> you have the content uploaded to the spacewalk server.
> >>
> >> Hope this helps,
> >>
> >> ~ Prad
> >>
> >>> On Tuesday 15 July 2008 4:38 pm, you wrote:
> >>>> If you want to use rhn.redhat.com services, then you need a
> >>>> certificate that can be validated against hosted. You will need to
> >>>> contact a red hat sales associate for that and essentially falls under
> >>>> the enterprise category where you have to pay for the entitlements.
> >>>> But if you wanna use your own, create your own cert(using
> >>>> https://fedorahosted.org/spacewalk/wiki/CertCreation ), you should
> >>>> make your satellite a disconnected one using this cert as follows.
> >>>>
> >>>> * rhn-satellite-activate --disconnected --rhn-cert=<your-custom-cert>
> >>>>
> >>>> and then use the content export tool or channel dumps to extract and
> >>>> sync back to your content to new spacewalk servers.
> >>>>
> >>>> ~ Prad
> >>>>
> >>>> Jason Ganovsky wrote:
> >>>>> What should I point to with --rhn-cert?  When I setup Spacewalk I
> >>>>> didn't create any special entitlement certificates, is that something
> >>>>> I need to do for this step?
> >>>>>
> >>>>> On Tuesday 15 July 2008 4:06 pm, you wrote:
> >>>>>> Please follow this :
> >>>>>>
> >>>>>> * Register you server with RHN (in your case )
> >>>>>>
> >>>>>> * rhn-satellite-activate --rhn-cert=<your-cert>
> >>>>>>
> >>>>>> * then satellite-sync -l
> >>>>>>
> >>>>>> Lemme know if this helps,
> >>>>>>
> >>>>>> ~ Prad
> >>>>>>
> >>>>>> Jason Ganovsky wrote:
> >>>>>>> Ok, so far no go.
> >>>>>>>
> >>>>>>> The machine where spacewalk is running is registered with RHN. 
> >>>>>>> When I try and run satellite-sync I get the following
> >>>>>>>
> >>>>>>> [root at spacewalk ~]# satellite-sync -s http://rhn.redhat.com
> >>>>>>> --list-channels --debug-level=6
> >>>>>>> 15:43:04 Red Hat Network Satellite - live synchronization
> >>>>>>> 15:43:04    url: https://rhn.redhat.com
> >>>>>>> 15:43:04    debug/output level: 6
> >>>>>>> 15:43:04    +++ Satellite synchronization tool checking in.
> >>>>>>> 15:43:04
> >>>>>>> 15:43:04
> >>>>>>> ERROR: there was a problem synchronizing the information.
> >>>>>>>        Error message: [('SSL routines',
> >>>>>>> 'SSL3_GET_SERVER_CERTIFICATE', 'certificate verify failed')]
> >>>>>>>
> >>>>>>> If I then run
> >>>>>>>
> >>>>>>> [root at spacewalk ~]# satellite-sync -s http://rhn.redhat.com
> >>>>>>> --list-channels --no-ssl --debug-level=6
> >>>>>>> 15:57:04 Red Hat Network Satellite - live synchronization
> >>>>>>> 15:57:04    url: http://rhn.redhat.com
> >>>>>>> 15:57:04    debug/output level: 6
> >>>>>>> 15:57:04    +++ Satellite synchronization tool checking in.
> >>>>>>>
> >>>>>>> It sits there forever.
> >>>>>>>
> >>>>>>> On Tuesday 15 July 2008 11:50 am, you wrote:
> >>>>>>>> Ah ok :) .. lemme know if you hit any issues. I'll be happy to
> >>>>>>>> give any input.
> >>>>>>>>
> >>>>>>>> ~ Prad
> >>>>>>>>
> >>>>>>>> Jason Ganovsky wrote:
> >>>>>>>>> None, I haven't attempted to set it up yet.  I've never used it
> >>>>>>>>> before (Satellite, Spacewalk or otherwise) so I wanted to make
> >>>>>>>>> sure everything was in working order before I started frustrating
> >>>>>>>>> myself
> >>>>>>>>>
> >>>>>>>>> :)
> >>>>>>>>>
> >>>>>>>>> Thanks.
> >>>>>>>>>
> >>>>>>>>> On Tuesday 15 July 2008 11:19 am, you wrote:
> >>>>>>>>>> Should be fully functional. What's the specific issue you're
> >>>>>>>>>> facing?
> >>>>>>>>>>
> >>>>>>>>>> ~ Prad
> >>>>>>>>>>
> >>>>>>>>>> Jason Ganovsky wrote:
> >>>>>>>>>>> Hi,
> >>>>>>>>>>>
> >>>>>>>>>>> Has anyone successfully used satellite-sync in Spacewalk?  I'd
> >>>>>>>>>>> like to verify that it in fact fully works.
> >>>>>>>>>>>
> >>>>>>>>>>> Thanks for any information!
> >>>>>>>>>>>
> >>>>>>>>>>> _______________________________________________
> >>>>>>>>>>> Spacewalk-list mailing list
> >>>>>>>>>>> Spacewalk-list at redhat.com
> >>>>>>>>>>> https://www.redhat.com/mailman/listinfo/spacewalk-list
> >>>>>>>
> >>>>>>> _______________________________________________
> >>>>>>> Spacewalk-list mailing list
> >>>>>>> Spacewalk-list at redhat.com
> >>>>>>> https://www.redhat.com/mailman/listinfo/spacewalk-list
> >
> > _______________________________________________
> > Spacewalk-list mailing list
> > Spacewalk-list at redhat.com
> > https://www.redhat.com/mailman/listinfo/spacewalk-list




More information about the Spacewalk-list mailing list