<font size=2 face="sans-serif">Paul, </font>
<br>
<br><font size=2 face="sans-serif">I got initial registration at kickstart
working by creating /etc/rhn/default/rhn_server.conf and adding "reset_base_channel
= 1". However, I've now run into the problem described here when the
system is re-kickstarted.</font>
<br>
<br><font size=2 face="sans-serif">--<br>
Bill Gunter, RHCSA  | Unix Administrator | National Instruments Ireland
| bill.gunter@ni.com  | Ph:+353 1 247 5935</font>
<br>
<br>
<br>
<br><font size=1 color=#5f5f5f face="sans-serif">From:      
 </font><font size=1 face="sans-serif">Paul Robert Marino
<prmarino1@gmail.com></font>
<br><font size=1 color=#5f5f5f face="sans-serif">To:      
 </font><font size=1 face="sans-serif">spacewalk-list@redhat.com</font>
<br><font size=1 color=#5f5f5f face="sans-serif">Date:      
 </font><font size=1 face="sans-serif">28/05/2012 22:42</font>
<br><font size=1 color=#5f5f5f face="sans-serif">Subject:    
   </font><font size=1 face="sans-serif">Re: [Spacewalk-list]
registration at kickstart problem</font>
<br><font size=1 color=#5f5f5f face="sans-serif">Sent by:    
   </font><font size=1 face="sans-serif">spacewalk-list-bounces@redhat.com</font>
<br>
<hr noshade>
<br>
<br>
<br><tt><font size=2>Colin<br>
<br>
here are the tickets that describe your issue and the workarounds<br>
<br>
</font></tt><a href="https://bugzilla.redhat.com/show_bug.cgi?id=786705"><tt><font size=2>https://bugzilla.redhat.com/show_bug.cgi?id=786705</font></tt></a><tt><font size=2><br>
<br>
and<br>
<br>
</font></tt><a href="https://bugzilla.redhat.com/show_bug.cgi?id=809936"><tt><font size=2>https://bugzilla.redhat.com/show_bug.cgi?id=809936</font></tt></a><tt><font size=2><br>
<br>
<br>
<br>
<br>
<br>
On Sun, May 27, 2012 at 4:53 AM, Paul Robert Marino <prmarino1@gmail.com>
wrote:<br>
> Colin<br>
> That's a different issue. What's happening is the activation key is
getting<br>
> swapped to the spacewalk default key. There are two ways to handle
that<br>
> there is a default option that tells it to reset the activation key
on<br>
> kickstart can be modified. This default behavior will be reversed
in version<br>
> 1.8 so this issue should go away for most users. The other way to
handle it<br>
> is to distrobution channel map I wrote a script some time ago to do
that for<br>
> you. ill send you links to tickets that explain your issue and how
to<br>
> workaround it on monday.<br>
><br>
> On May 27, 2012 4:15 AM, "Colin Coe" <colin.coe@gmail.com>
wrote:<br>
>><br>
>> I see this when attempting to re-provision a VM by simply kickstarting<br>
>> the VM.  If I delete the VM's record first then I don't see
this<br>
>> message.<br>
>><br>
>> CC<br>
>><br>
>> On Sun, May 27, 2012 at 2:43 PM, Paul Robert Marino <prmarino1@gmail.com><br>
>> wrote:<br>
>> > Probably you are accidentaly loading the 64 bit kernel and
or initrd<br>
>> > instead<br>
>> > of the 32 bit one.<br>
>> ><br>
>> > On May 24, 2012 6:22 AM, "Bill Gunter" <bill.gunter@ni.com>
wrote:<br>
>> >><br>
>> >> According to the GUI there's no universal default key.
However, any key<br>
>> >> I<br>
>> >> attach to the kickstart profile to set a specific base
channel is<br>
>> >> rejected<br>
>> >> with the error below unless it matches the architecture
of one specific<br>
>> >> channel. i.e. if I kickstart with RHEL 5 x86_64 autoreg
works fine<br>
>> >> without<br>
>> >> any additional key. However, kickstarting with RHEL 5
i386 fails the<br>
>> >> autoreg<br>
>> >> with a "bad architecture" no matter if I attach
another key or not.<br>
>> >> Manual<br>
>> >> reg using any key I wish works fine.<br>
>> >><br>
>> >> It's like there's a hidden universal default  key
that wants to set the<br>
>> >> base channel to RHEL 5 x86_64.<br>
>> >><br>
>> >> --<br>
>> >> Bill Gunter, RHCSA  | Unix Administrator | National
Instruments Ireland<br>
>> >> |<br>
>> >> bill.gunter@ni.com  | Ph:+353 1 247 5935<br>
>> >><br>
>> >><br>
>> >><br>
>> >> From:        Paul Robert Marino <prmarino1@gmail.com><br>
>> >> To:        spacewalk-list@redhat.com<br>
>> >> Date:        17/05/2012 16:27<br>
>> >> Subject:        Re: [Spacewalk-list]
registration at kickstart problem<br>
>> >> Sent by:        spacewalk-list-bounces@redhat.com<br>
>> >> ________________________________<br>
>> >><br>
>> >><br>
>> >><br>
>> >> Check if its the spacewalk default key<br>
>> >><br>
>> >> On May 17, 2012 9:48 AM, "Bill Gunter" <bill.gunter@ni.com>
wrote:<br>
>> >> I recently upgraded to v1.7 postgres (from 1.0 Oracle
XE via an Oracle<br>
>> >> RAC<br>
>> >> instance, yikes!) and I'm having a problem with registration
at<br>
>> >> kickstart<br>
>> >> time. It's failing with this error:<br>
>> >><br>
>> >> Traceback (most recent call last):<br>
>> >>  File "/usr/sbin/rhnreg_ks", line 216,
in ?<br>
>> >>    cli.run()<br>
>> >>  File "/usr/share/rhn/up2date_client/rhncli.py",
line 65, in run<br>
>> >>    sys.exit(self.main() or 0)<br>
>> >>  File "/usr/sbin/rhnreg_ks", line 145,
in main<br>
>> >>    other = other)<br>
>> >>  File "/usr/share/rhn/up2date_client/rhnreg.py",
line 406, in<br>
>> >> registerSystem<br>
>> >>    ret = s.registration.new_system(auth_dict)<br>
>> >>  File "/usr/share/rhn/up2date_client/rhnserver.py",
line 52, in<br>
>> >> __call__<br>
>> >>    raise self.__exception_from_fault(f)<br>
>> >> up2date_client.up2dateErrors.NoBaseChannelError:<br>
>> >> Error Message:<br>
>> >>    Your account does not have access to any
channels matching<br>
>> >> (release='5Server', arch='x86_64-redhat-linux')<br>
>> >> Error Class Code: 19<br>
>> >> Error Class Info: Architecture and OS version combination
is not<br>
>> >> supported.<br>
>> >> Explanation:<br>
>> >>     An error has occurred while processing
your request. If this<br>
>> >> problem<br>
>> >>     persists please enter a bug report at bugzilla.redhat.com.<br>
>> >>     If you choose to submit the bug report,
please be sure to include<br>
>> >>     details of what you were trying to do when
this error occurred and<br>
>> >>     details on how to reproduce this problem.<br>
>> >><br>
>> >> The same thing also happens with an i386 version of the
RHEL 5 channel.<br>
>> >><br>
>> >> Here's the rhnreg_ks line from the kickstart file used
on a sample<br>
>> >> system:<br>
>> >><br>
>> >> rhnreg_ks --serverUrl=https://stan.natinst.com/XMLRPC<br>
>> >> --sslCACert=/usr/share/rhn/RHN-ORG-TRUSTED-SSL-CERT<br>
>> >> --activationkey=1-fc84976370b02471f58a0ec16c31ed70,1-dev-rhel-5-64<br>
>> >><br>
>> >> A manual registration using rhnreg_ks with the second
key above<br>
>> >> (1-dev-rhel-5-64) works fine. How can I see what the
other key<br>
>> >>  (1-fc84976370b02471f58a0ec16c31ed70) points to?<br>
>> >><br>
>> >> Thanks,<br>
>> >><br>
>> >> Bill<br>
>> >> --<br>
>> >> Bill Gunter, RHCSA  | Unix Administrator | National
Instruments Ireland<br>
>> >> |<br>
>> >> bill.gunter@ni.com  | Ph:+353 1 247 5935<br>
>> >> _______________________________________________<br>
>> >> Spacewalk-list mailing list<br>
>> >> Spacewalk-list@redhat.com<br>
>> >><br>
>> >><br>
>> >> </font></tt><a href="https://www.redhat.com/mailman/listinfo/spacewalk-list_______________________________________________"><tt><font size=2>https://www.redhat.com/mailman/listinfo/spacewalk-list_______________________________________________</font></tt></a><tt><font size=2><br>
>> >> Spacewalk-list mailing list<br>
>> >> Spacewalk-list@redhat.com<br>
>> >> </font></tt><a href="https://www.redhat.com/mailman/listinfo/spacewalk-list"><tt><font size=2>https://www.redhat.com/mailman/listinfo/spacewalk-list</font></tt></a><tt><font size=2><br>
>> >><br>
>> >><br>
>> >> _______________________________________________<br>
>> >> Spacewalk-list mailing list<br>
>> >> Spacewalk-list@redhat.com<br>
>> >> </font></tt><a href="https://www.redhat.com/mailman/listinfo/spacewalk-list"><tt><font size=2>https://www.redhat.com/mailman/listinfo/spacewalk-list</font></tt></a><tt><font size=2><br>
>> ><br>
>> ><br>
>> > _______________________________________________<br>
>> > Spacewalk-list mailing list<br>
>> > Spacewalk-list@redhat.com<br>
>> > </font></tt><a href="https://www.redhat.com/mailman/listinfo/spacewalk-list"><tt><font size=2>https://www.redhat.com/mailman/listinfo/spacewalk-list</font></tt></a><tt><font size=2><br>
>><br>
>><br>
>><br>
>> --<br>
>> RHCE#805007969328369<br>
>><br>
>> _______________________________________________<br>
>> Spacewalk-list mailing list<br>
>> Spacewalk-list@redhat.com<br>
>> </font></tt><a href="https://www.redhat.com/mailman/listinfo/spacewalk-list"><tt><font size=2>https://www.redhat.com/mailman/listinfo/spacewalk-list</font></tt></a><tt><font size=2><br>
<br>
_______________________________________________<br>
Spacewalk-list mailing list<br>
Spacewalk-list@redhat.com<br>
</font></tt><a href="https://www.redhat.com/mailman/listinfo/spacewalk-list"><tt><font size=2>https://www.redhat.com/mailman/listinfo/spacewalk-list</font></tt></a><tt><font size=2><br>
</font></tt>
<br>