<div dir="ltr">My challenge started with how I created my Distribution. I created my distribution from the 4G DVD which does not have all of the packages on it. The interesting part, which I didn't understand originally, is that when my client began it's kickstart it was reading the repodata that originally existed on the DVD and wasn't picking up on other packages that I might have uploaded to the main channel. As I mentioned before, by creating a separate child channel and selecting it within your kickstart profile, the client will then activate that channel as an available repo and be able to find the extra packages you need during the kickstart.<div>

<br></div><div style>My understanding regarding activation keys vs. channels specified in your kickstart is that once you activate the key, it will configure your client to use whatever channel repos you have designated. That will happen during the %post of your kickstart process, so you want to select the channels within your kickstart profile so that you can find those packages that are listed in your %packages section. For me, I plan to keep the selected channels in sync with both my activation key as well as my kickstart profile. So yes, it is a timing issue. </div>

<div style><br></div><div style>-- Jon Miller</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Jan 31, 2013 at 2:24 PM, Edward Drummond <span dir="ltr"><<a href="mailto:spacewalkList-iscool@snkmail.com" target="_blank">spacewalkList-iscool@snkmail.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br><br>That's a very interesting idea and I will try it. The implication is<br>there are things needed during install that are not available in the<br>

"proper" channels, such as:<br>fedora16-x86_64<br>fedora16-x86_64-updates<br>
spacewalk18-client-fedora16-x86_64<br><br>Is this true? Or is it the case that for me, the channels themselves <br>are not available?<br><br>Also, to be clear, you suggest I put the children on the ks file<br>directly. Right now I have no child channels on the file, but I do<br>


have them on an activation key on the ks file. Are you making a <br>distinction between these two things? The spacewalk interface <br>(I believe) says either of these schemes will work, but they are <br>mutually exclusive.<br>


<br>Is it possible putting the child channels on a key creates a <br>timing issue? Is the client first registered, then activation<br>keys are applied?<br><br><br><br><br><br><div class="gmail_quote"><div class="im">On Thu, Jan 31, 2013 at 4:18 PM, Jon Miller <a href="http://jonebird-at-gmail.com" target="_blank">jonebird-at-gmail.com</a> |spacewalkList-iscool| <span dir="ltr"><<a href="mailto:45ka6oedht@sneakemail.com" target="_blank">45ka6oedht@sneakemail.com</a>></span> wrote:<br>


</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im"><div dir="ltr">I had to setup a child channel, populate it with packages I was missing, and then explicitly select it in your kickstart profile under Kickstart Details -> Operating System. If you have a working client, with good yum repos, you can try the command "yum install  --downloadonly --downloaddir=/tmp rhn-setup rhn-check" (and any others to that list) which will download not only those packages but also their dependencies. Finally, use "rhnpush" to upload those packages to the child channel. At that point you should be able to put those packages in your package list and have them successfully installed. Repeat the process for any other packages you need during install. <span><font color="#888888"><div>




<br></div><div>-- Jon Miller</div></font></span></div></div><div class="gmail_extra"><br><br><div class="gmail_quote"><div class="im"><div><div>On Thu, Jan 31, 2013 at 1:07 PM, Edward Drummond <span dir="ltr"><<a href="mailto:spacewalkList-iscool@snkmail..com" target="_blank">spacewalkList-iscool@snkmail.com</a>></span> wrote:<br>




</div></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div><div class="im"><div>I have tried this. If I make it:<br><br></div>%packages <br>@ Base<br>

rhn-setup<br>
rhn-check<div>

<br>%end<br><br>the installer tells me these packages don't exist.<br><br><br><br><br></div></div><div class="gmail_quote"><div class="im"><div>On Thu, Jan 31, 2013 at 11:47 AM, Jon Miller <a href="http://jonebird-at-gmail.com" target="_blank">jonebird-at-gmail.com</a> |spacewalkList-iscool| <span dir="ltr"><<a href="mailto:45ka6oedht@sneakemail.com" target="_blank">45ka6oedht@sneakemail.com</a>></span> wrote:<br>





</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im"><div><div dir="ltr">I've seen a similar error during some of my initial kickstarts. The error that sticks out to me is your:<div>





<div><span style="font-family:arial,sans-serif;font-size:13px">   /tmp/ks-script-QpNRzX: line 207: rhnreg_ks: command not found</span><br style="font-family:arial,sans-serif;font-size:13px">

<span style="font-family:arial,sans-serif;font-size:13px">   /tmp/ks-script-QpNRzX: line 213: rhn_check: command not found</span><br></div><div><span style="font-family:arial,sans-serif;font-size:13px"><br></span></div></div>





<div>

<span style="font-family:arial,sans-serif;font-size:13px">What I did was explicitly include "rhn-setup" and "rhn-check" in my packages list for my kickstart profile. Try including those packages and see if your registration works. </span></div>







<div><span style="font-family:arial,sans-serif;font-size:13px"><br></span></div><div><span style="font-family:arial,sans-serif;font-size:13px">-- Jon Miller</span></div></div></div></div><div class="gmail_extra"><br><br>


<div class="gmail_quote"><div class="im"><div><div>
On Thu, Jan 31, 2013 at 8:14 AM, key 1 <span dir="ltr"><<a href="mailto:spacewalkList-iscool@snkmail.com" target="_blank">spacewalkList-iscool@snkmail.com</a>></span> wrote:<br></div></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">





<div>

<br><br>Can anyone help me. I'm new to spacewalk and a little bit stuck......<div class="im"><div><br><br>I have installed spacewalk1.8-postgres on a f17 box. I have repo-sync'ed<br></div></div></div><div class="im">

channels for fedora 16 & 17, as well as CentOS 5 & 6.. (all x86_64).<div>



<div><br>...<br></div></div></div></blockquote></div></div></blockquote><div><br>-snip<br> <br></div></div></div></div></blockquote></div></div></blockquote></div><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" target="_blank">https://www.redhat.com/mailman/listinfo/spacewalk-list</a><br></blockquote></div><br></div>