Loading OMSA into Spacewalk

Jose_De_La_Rosa at Dell.com Jose_De_La_Rosa at Dell.com
Fri Sep 30 10:52:31 CDT 2011


Mark,

Looks like you missed adding code to the script. Try attached patch, which adds support for CentOS 6 x64.

I did not test it, but I used a similar patch to use for SLES 11 x64 and worked.

dell-satellite-sync \
 --server myspacewalk.domain.com \
 --user admin --password mypassword \
 --localdir /var/satellite/repo/hardware/ \
 --repo http://linux.dell.com/repo/hardware/OMSA_6.5.1/ \
 --centos6-only --only-systems pe1850 -v

Jose De la Rosa
Linux Engineering
Dell | Enterprise Product Group

-----Original Message-----
From: linux-poweredge-bounces-Lists On Behalf Of Mark Watts
Sent: Friday, September 30, 2011 3:17 AM
To: linux-poweredge-Lists
Subject: Re: Loading OMSA into Spacewalk

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


I'm using Spacewalk 1.3 x86_64 on CentOS 5.7

I've just tried importing the pe1850 system RPM's into Spacewalk, but although it claims to be pushing RPM's, it doesn't.

I did make one change to the script, to add my base channels, which I assume is the correct thing to do?
I appended the following lines to the SUPPORTED_CHANNELS array:

'centos-5.x-i386-base' :  { 'arch' : 'i386' , 'subdir' : 'rh50' }, 'centos-5.x-x86_64-base' : { 'arch' : 'x86_64' , 'subdir' : 'rh50_64' }, 'centos-6.x-x86_64-base' : { 'arch' : 'x86_64' , 'subdir' : 'rh60_64' },

I'm using the following command:

spacewalk:/root # dell-satellite-sync --debug -S --server localhost
- --user admin --localdir /var/satellite/dell --repo http://linux.dell.com/repo/hardware/OMSA_6.5.1/ --rhel5-only --force
- --only-systems pe1850

Running in debug mode I see the following:

30.09.2011 08:09:07: Checking base channels on Satellite server
30.09.2011 08:09:07:   Checking child channels for centos-5.x-x86_64-base
30.09.2011 08:09:07: DEBUG: No match found for dell-om-platform_independent-centos-5.x-x86_64-base
30.09.2011 08:09:07: DEBUG: checking for dir:
/var/satellite/dellplatform_independent/rh50_64
30.09.2011 08:09:07: DEBUG: rh50_64 does not exists for platform_independent
30.09.2011 08:09:07:   Checking child channels for centos-5.x-i386-base
30.09.2011 08:09:07: DEBUG: No match found for dell-om-platform_independent-centos-5.x-i386-base
30.09.2011 08:09:07: DEBUG: checking for dir:
/var/satellite/dellplatform_independent/rh50
30.09.2011 08:09:07: DEBUG: rh50 does not exists for platform_independent
30.09.2011 08:09:07:   Checking child channels for centos-6.x-x86_64-base
30.09.2011 08:09:07: DEBUG: No match found for dell-om-platform_independent-centos-6.x-x86_64-base
30.09.2011 08:09:07: DEBUG: checking for dir:
/var/satellite/dellplatform_independent/rh60_64
30.09.2011 08:09:07: DEBUG: rh60_64 does not exists for platform_independent
30.09.2011 08:09:07: DEBUG: Channel mapping: {'centos-6.x-x86_64-base':
{'arch': 'x86_64', 'subdir': 'rh60_64', 'child_channels': []},
'centos-5.x-x86_64-base': {'arch': 'x86_64', 'subdir': 'rh50_64',
'child_channels': []}, 'centos-5.x-i386-base': {'arch': 'i386',
'subdir': 'rh50', 'child_channels': []}}
30.09.2011 08:09:07: Pushing rpms into Satellite server:
30.09.2011 08:09:07:   Checking rpms for child channels in
centos-6.x-x86_64-base
30.09.2011 08:09:07:   Checking rpms for child channels in
centos-5.x-x86_64-base
30.09.2011 08:09:07:   Checking rpms for child channels in
centos-5.x-i386-base
30.09.2011 08:09:07: Completed uploading rpms.


Can anyone point me in the right direction?

Cheers,

Mark.

- --
Mark Watts BSc RHCE
Senior Systems Engineer, MSS Secure Managed Hosting www.QinetiQ.com QinetiQ - Delivering customer-focused solutions GPG Key: http://www.linux-corner.info/mwatts.gpg
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (GNU/Linux)
Comment: Using GnuPG with CentOS - http://enigmail.mozdev.org/

iEYEARECAAYFAk6FexYACgkQBn4EFUVUIO0powCdG4Hvy2veDbWVM/YKeKxocTgx
2yEAoJmp8/JXgCSrHXj1dqfMPRGfm9A3
=nSnC
-----END PGP SIGNATURE-----

_______________________________________________
Linux-PowerEdge mailing list
Linux-PowerEdge at dell.com
https://lists.us.dell.com/mailman/listinfo/linux-poweredge
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dell-satellite-sync.patch
Type: application/octet-stream
Size: 5074 bytes
Desc: dell-satellite-sync.patch
Url : http://lists.us.dell.com/pipermail/linux-poweredge/attachments/20110930/6779fc1c/attachment.obj 


More information about the Linux-PowerEdge mailing list