<p>Thanks I forgot about spacewalk calling 32bit IA-32<br>
ill create a page on the wiki for posting the examples when i get a few minutes and add the URL to the embedded documentation.</p>
<p>I'm glad you found the script useful.<br></p>
<p>On Thu, May 3, 2012 at 3:06 PM, Musayev, Ilya <<a href="mailto:imusayev@webmd.net">imusayev@webmd.net</a>> wrote:<br>
> Paul,<br>
><br>
> Here is a sample of what my list table looks like, just so anyone else who needs to use it can source it as an example<br>
><br>
> ----------------------------------------------------------------------------<br>
> |         Channel Label        |    Operating System    | Release |  Arch  |<br>
> |------------------------------|------------------------|---------|--------|<br>
> |          rhel-x86_64-server-5|          redhat-release|  5Server|  x86_64|<br>
> |------------------------------|------------------------|---------|--------|<br>
> |            rhel-i386-server-5|          redhat-release|  5Server|   IA-32|<br>
> |------------------------------|------------------------|---------|--------|<br>
> |                rhel-i386-as-4|          redhat-release|      4AS|   IA-32|<br>
> |------------------------------|------------------------|---------|--------|<br>
> |                rhel-i386-es-4|          redhat-release|      4ES|   IA-32|<br>
> |------------------------------|------------------------|---------|--------|<br>
> |              rhel-x86_64-as-4|          redhat-release|      4AS|  x86_64|<br>
> |------------------------------|------------------------|---------|--------|<br>
> |              rhel-x86_64-es-4|          redhat-release|      4ES|  x86_64|<br>
> |------------------------------|------------------------|---------|--------|<br>
> ----------------------------------------------------------------------------<br>
><br>
><br>
> Sorry the copy and paste is not pretty,<br>
><br>
> Regards,<br>
> ilya<br>
><br>
> ________________________________________<br>
> From: <a href="mailto:spacewalk-list-bounces@redhat.com">spacewalk-list-bounces@redhat.com</a> [<a href="mailto:spacewalk-list-bounces@redhat.com">spacewalk-list-bounces@redhat.com</a>] On Behalf Of Musayev, Ilya [<a href="mailto:imusayev@webmd.net">imusayev@webmd.net</a>]<br>

> Sent: Thursday, May 03, 2012 2:56 PM<br>
> To: <a href="mailto:spacewalk-list@redhat.com">spacewalk-list@redhat.com</a><br>
> Subject: Re: [Spacewalk-list] Activation key and "Spacewalk Default"<br>
><br>
> One more thing to note, the architecture for me is different, meaning I still have 32 and 64 bit but with your script, the i386, i586,i686, ia32 did not work..<br>
><br>
> I launched to spacecmd, and ran command<br>
><br>
> softwarechannel_details my-rhel5-32bit-channel<br>
> The architecture for 32 bit os was listed as IA-32..<br>
> Defining IA-32 worked - just fyi..<br>
><br>
> Again thanks for the script..<br>
><br>
> Regards<br>
> ilya<br>
><br>
> -----Original Message-----<br>
> From: <a href="mailto:spacewalk-list-bounces@redhat.com">spacewalk-list-bounces@redhat.com</a> [mailto:<a href="mailto:spacewalk-list-bounces@redhat.com">spacewalk-list-bounces@redhat.com</a>] On Behalf Of Paul Robert Marino<br>

> Sent: Wednesday, May 02, 2012 4:27 PM<br>
> To: <a href="mailto:spacewalk-list@redhat.com">spacewalk-list@redhat.com</a><br>
> Subject: Re: [Spacewalk-list] Activation key and "Spacewalk Default"<br>
><br>
> Thanks for the feed back<br>
> I wrote the script to handle more than just RHEL so it varies from distro to distro<br>
><br>
> Arch is fairly consistent<br>
> 32 bit is almost always = i386<br>
> 64 bit is almost always  = x86_64<br>
> there are other Archs like ppc (Power PC Mac) and s390 (IBM Mainframe) but i386 or x86_64 are the ones most people use.<br>
><br>
> OS changes by distro<br>
> RedHat = redhat-release-server<br>
> Sientific Linux = sl-release<br>
><br>
> Release changes by distro and version<br>
><br>
> RHEL 6.x = 6Server<br>
> RHEL 5.x = 5Server<br>
> Scientific Linux 6.2 = 6.2<br>
><br>
> Im honestly not sure what the settings for RHEL 4 should be since i don't ahve any RHEL 4 boxes running in production any more but two have 2 options to figure it out option 1 if you have a box currently registered to redhat network you can get it from the /etc/sysconfig/rhn/systemid file here is an example from RHEL 6 "<br>

> <member><br>
> <name>description</name><br>
> <value><string>Initial Registration Parameters:<br>
> OS: redhat-release-server<br>
> Release: 6Server<br>
> CPU Arch: x86_64</string></value><br>
> </member><br>
> "<br>
><br>
> The second option is you can get it from the spacewalk error logs the error message should appear in /var/log/rhn/rhn_web_api.log and tell you what it tried to register as<br>
><br>
><br>
><br>
> On Wed, May 2, 2012 at 2:57 PM, Musayev, Ilya <<a href="mailto:imusayev@webmd.net">imusayev@webmd.net</a>> wrote:<br>
>> Hi Robert,<br>
>><br>
>> Would you  please make an example of  proper values for --os --release and --arch..<br>
>><br>
>> Reason I'm asking, I checked how the release and architecture is displayed under a sinlge system and it seems I could have multiple option.<br>
>><br>
>> As of now I have following, which one is correct? What would be a proper entry for RHAS 4 64 and 32 bit and RHEL server 5 32 bit?<br>
>><br>
>><br>
>> ----------------------------------------------------------------------<br>
>> ------<br>
>> |         Channel Label        |    Operating System    | Release |<br>
>> | Arch  |<br>
>> |------------------------------|------------------------|---------|--------|<br>
>> |          rhel-x86_64-server-5|             rhel-server|        5|<br>
>> | x86_64|<br>
>> |------------------------------|------------------------|---------|--------|<br>
>> |          rhel-x86_64-server-5|                    rhel|        5|<br>
>> | x86_64|<br>
>> |------------------------------|------------------------|---------|--------|<br>
>> |          rhel-x86_64-server-5|          redhat-release|        5|<br>
>> | x86_64|<br>
>> |------------------------------|------------------------|---------|--------|<br>
>> ----------------------------------------------------------------------<br>
>> ------<br>
>><br>
>> It would help if you can show your --list to see how mapping is done or have another operation that can list what --arch --release and others can be set to.<br>
>><br>
>> Thanks<br>
>> ilya<br>
>><br>
>> -----Original Message-----<br>
>> From: <a href="mailto:spacewalk-list-bounces@redhat.com">spacewalk-list-bounces@redhat.com</a><br>
>> [mailto:<a href="mailto:spacewalk-list-bounces@redhat.com">spacewalk-list-bounces@redhat.com</a>] On Behalf Of Paul Robert<br>
>> Marino<br>
>> Sent: Tuesday, May 01, 2012 8:08 PM<br>
>> To: <a href="mailto:spacewalk-list@redhat.com">spacewalk-list@redhat.com</a><br>
>> Subject: Re: [Spacewalk-list] Activation key and "Spacewalk Default"<br>
>><br>
>> Its because the channels are not in the default dist map here is my<br>
>> tool for setting channels in the default dist map<br>
>> <a href="https://github.com/prmarino1/Extravehicular-Activity-Admin/blob/master">https://github.com/prmarino1/Extravehicular-Activity-Admin/blob/master</a><br>
>> /channel-managment/<a href="http://eva-dist-channel-map.pl">eva-dist-channel-map.pl</a><br>
>><br>
>> Note even though this script uses the published XML RPC APIs for spacewalk to do it this is not considered a supported operation at this time.<br>
>> but its worked well for me and i hope it works for you.<br>
>> by the way it has an embedded man file that can be extracted using the pod2text or pod2man tools.<br>
>> let me know if it helps you<br>
>><br>
>><br>
>><br>
>> On Tue, May 1, 2012 at 6:32 PM, Musayev, Ilya <<a href="mailto:imusayev@webmd.net">imusayev@webmd.net</a>> wrote:<br>
>>> I created several activation keys with "spacewalk default" as an<br>
>>> option for a channel. The "Tip" that is allows for systems to<br>
>>> register with default Redhat provided channel that corresponds to their installed version.<br>
>>><br>
>>><br>
>>><br>
>>> My channels are named identically to what rhn has - i.e.<br>
>>> rhel-x86_64-server-5. Why would the system that is being registered<br>
>>> does not pick up the channel? I only have 1 base channel that matches this system.<br>
>>><br>
>>><br>
>>><br>
>>> I'm using rhel5.7 64 client and spacewalk 1.7<br>
>>><br>
>>><br>
>>><br>
>>> Any help is appreciated.<br>
>>><br>
>>><br>
>>><br>
>>> Thanks<br>
>>><br>
>>> ilya<br>
>>><br>
>>><br>
>>> _______________________________________________<br>
>>> Spacewalk-list mailing list<br>
>>> <a href="mailto:Spacewalk-list@redhat.com">Spacewalk-list@redhat.com</a><br>
>>> <a href="https://www.redhat.com/mailman/listinfo/spacewalk-list">https://www.redhat.com/mailman/listinfo/spacewalk-list</a><br>
>><br>
>> _______________________________________________<br>
>> Spacewalk-list mailing list<br>
>> <a href="mailto:Spacewalk-list@redhat.com">Spacewalk-list@redhat.com</a><br>
>> <a href="https://www.redhat.com/mailman/listinfo/spacewalk-list">https://www.redhat.com/mailman/listinfo/spacewalk-list</a><br>
>><br>
>><br>
>><br>
>> _______________________________________________<br>
>> Spacewalk-list mailing list<br>
>> <a href="mailto:Spacewalk-list@redhat.com">Spacewalk-list@redhat.com</a><br>
>> <a href="https://www.redhat.com/mailman/listinfo/spacewalk-list">https://www.redhat.com/mailman/listinfo/spacewalk-list</a><br>
><br>
> _______________________________________________<br>
> Spacewalk-list mailing list<br>
> <a href="mailto:Spacewalk-list@redhat.com">Spacewalk-list@redhat.com</a><br>
> <a href="https://www.redhat.com/mailman/listinfo/spacewalk-list">https://www.redhat.com/mailman/listinfo/spacewalk-list</a><br>
><br>
><br>
><br>
> _______________________________________________<br>
> Spacewalk-list mailing list<br>
> <a href="mailto:Spacewalk-list@redhat.com">Spacewalk-list@redhat.com</a><br>
> <a href="https://www.redhat.com/mailman/listinfo/spacewalk-list">https://www.redhat.com/mailman/listinfo/spacewalk-list</a><br>
><br>
><br>
><br>
> _______________________________________________<br>
> Spacewalk-list mailing list<br>
> <a href="mailto:Spacewalk-list@redhat.com">Spacewalk-list@redhat.com</a><br>
> <a href="https://www.redhat.com/mailman/listinfo/spacewalk-list">https://www.redhat.com/mailman/listinfo/spacewalk-list</a><br>
</p>