[Spacewalk-list] satellite-sync in Spacewalk?

Pradeep Kilambi pkilambi at redhat.com
Tue Jul 15 20:59:00 UTC 2008


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
>>>>>           


-- 
--
Pradeep Kilambi
RHN Satellite Engineering
pkilambi at redhat.com
Phone: +1 919 754 4285
RHCE # 805008680430554





More information about the Spacewalk-list mailing list