<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">
You are correct, using the repodata from the DVD will prevent you from adding packages to the base channel and installing them with Anaconda. Your options are either to add the packages to a child channel, and include that child channel in the kickstart (not
 activation keys), or to generate new repodata using the packages that are actually in your base channel. 
<div><br>
</div>
<div>To generate a new set of repodata, you will need to put all the packages in the base channel in a directory tree and run createrepo. Anaconda requires you to have the comps.xml file, which is not generated by Spacewalk. You can safely copy the comps.xml
 from the DVD and give it to createrepo.</div>
<div><br>
</div>
<div>Jonathan</div>
<div><br>
<div>
<div>On Jan 24, 2013, at 3:49 PM, Jon Miller <<a href="mailto:jonebird@gmail.com">jonebird@gmail.com</a>> wrote:</div>
<br class="Apple-interchange-newline">
<blockquote type="cite">
<div dir="ltr">(As I inch closer to a solution, I'll keep replying here... tell me if I should stop)
<div style="">My current theory, as to why I can't seem to pull down "rhnlib" and "spacewalk-koan" from my Spacewalk channel is that my distribution's repodata/ was created from the original FC18 DVD which wouldn't have those two packages. The implication is
 that I've setup my distribution incorrectly or I've missed a step? Does that pretty plausible? If so, any ideas / suggestions about getting around that? </div>
<div style=""><br>
</div>
<div style="">Here is how I setup my distribution:</div>
<div>1. Create a Distribution Path</div>
<div>   - Need to keep distributions available to enable kickstarts</div>
<div><span class="" style="white-space:pre"></span>#+begin_src shell</div>
<div>sudo mkdir -p /var/satellite/distros/fedora18-x86_64</div>
<div>cd /local/mnt/workspace/isos</div>
<div>sudo mount -o loop Fedora-18-x86_64-DVD.iso /mnt</div>
<div>sudo rsync -a --exclude="*.rpm" /mnt/ /var/satellite/distros/fedora18-x86_64</div>
<div>sudo umount /mnt</div>
<div><span class="" style="white-space:pre"></span>#+end_src</div>
<div>2. Create a Kickstart Distribution in Spacewalk (Systems -> Kickstart -> Distributions -> "create new distribution")</div>
<div>   a. Enter the fields using the information from the ISO mount point created</div>
<div>      + Distribution Label: fedora-18-x86_64</div>
<div>      + Tree Path: /var/satellite/distros/fedora18-x86_64</div>
<div>      + Base Channel: Fedora 18 Core x86_64</div>
<div>      + Installer Generation: Fedora</div>
<div>   b. Submit via "Create Kickstart Distribution"</div>
<div style=""><br>
</div>
<div style="">Thanks,</div>
<div style="">Jon Miller</div>
</div>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">On Thu, Jan 24, 2013 at 9:16 AM, Jon Miller <span dir="ltr">
<<a href="mailto:jonebird@gmail.com" target="_blank">jonebird@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">Okay, next test... trying to simplify my question / issue by taking kickstart out of the equation. I believe the real question is why are the packages I uploaded via "rhnpush" not available to my client? This time around, I kickstarted a machine
 and it was setup with the normal Fedora repos available and I installed rhnlib & spacewalk-koan, registered the client to my Spacewalk server so that I would also have it as a repo, then disabled the Fedora repos, erased rhnlib & spacewalk-koan and finally
 testing that I can not find those packages on my Spacewalk server from a client perspective. Here is the puzzling part: If I go to my FC18 channel in the UI, click on packages and then search for spacewalk I find the spacewalk-koan package. I can even click
 the download from the UI. 
<div><br>
</div>
<div>So, the real question is how can I upload a package via rhnpush, see it available within the UI but client not see it as being available?</div>
<div>My rhnpush command: rhnpush -u "${SPACEWALK_USER}" -p "${SPACEWALK_PASS}" -v --channel=$CHANNEL --server=<a href="http://localhost/" target="_blank">http://localhost</a> --dir=$dir<br>
<div><br>
</div>
<div>Thanks,</div>
<div>Jon Miller</div>
<div><br>
</div>
<div>P.S. My procedure to help isolate the client using only the spacewalk repo:</div>
<div>
<div><font face="courier new, monospace">$ yum repolist</font></div>
<div><font face="courier new, monospace">repo id                              repo name                                   status</font></div>
<div><font face="courier new, monospace">fedora/18/x86_64                     Fedora 18 - x86_64                          33,868</font></div>
<div><font face="courier new, monospace">updates/18/x86_64                    Fedora 18 - x86_64 - Updates                 9,074</font></div>
<div><font face="courier new, monospace">repolist: 42,942</font></div>
<div><font face="courier new, monospace">repolist: 47,120</font></div>
<div><font face="courier new, monospace">$ yum -y install rhnlib spacewalk-koan</font></div>
<div><font face="courier new, monospace">$ rhnreg_ks --activationkey=2-espresso-test --username admin --password mypass --serverUrl
<a href="http://spacewalk.example.com/XMLRPC" target="_blank">http://spacewalk.example.com/XMLRPC</a></font></div>
<div><font face="courier new, monospace">$ yum repolist</font></div>
<div><font face="courier new, monospace">repo id                              repo name                                   status</font></div>
<div><font face="courier new, monospace">fedora/18/x86_64                     Fedora 18 - x86_64                          33,868</font></div>
<div><font face="courier new, monospace">fedora18-x86_64                      Fedora 18 Core x86_64                        4,178</font></div>
<div><font face="courier new, monospace">updates/18/x86_64                    Fedora 18 - x86_64 - Updates                 9,074</font></div>
<div><font face="courier new, monospace">$ sed -i 's/enabled=1/enabled=0/g' /etc/yum.repos.d/*repo</font></div>
<div><font face="courier new, monospace">$ yum repolist</font></div>
<div><font face="courier new, monospace">repo id                              repo name                                   status</font></div>
<div><font face="courier new, monospace">fedora18-x86_64                      Fedora 18 Core x86_64                        4,178</font></div>
<div><font face="courier new, monospace">repolist: 4,178</font></div>
<div><font face="courier new, monospace">$ yum -y erase rhnlib spacewalk-koan</font></div>
<div><font face="courier new, monospace">$ yum search rhnlib spacewalk-koan</font></div>
<div><font face="courier new, monospace">Warning: No matches found for: rhnlib</font></div>
<div><font face="courier new, monospace">Warning: No matches found for: spacewalk-koan</font></div>
<div><font face="courier new, monospace">No Matches found</font></div>
<div><br>
</div>
</div>
</div>
</div>
<div class="HOEnZb">
<div class="h5">
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">On Wed, Jan 23, 2013 at 6:47 PM, Jon Miller <span dir="ltr">
<<a href="mailto:jonebird@gmail.com" target="_blank">jonebird@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">I'm hoping by attaching some extra KS logs, captured during a kickstart, that someone would be able to notice something about not being able to use the "rhnlib" and "spacewalk-koan" RPMs. 
<div><br>
</div>
<div>Any ideas or suggests are appreciated. </div>
<div><br>
</div>
<div>Thanks,</div>
<div>Jon Miller</div>
</div>
<div>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">On Wed, Jan 23, 2013 at 2:03 PM, Jon Miller <span dir="ltr">
<<a href="mailto:jonebird@gmail.com" target="_blank">jonebird@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">Of the required client packages, "pyOpenSSL" and "libxml2-python" were available from the base set of packages on the 4G DVD where as "rhnlib" and "spacewalk-koan" were not. I'm able to kickstart a FC18 client but it is obviously not registering
 with Spacewalk automatically. I then used the yum command "yum install --downloadonly --downloaddir=/tmp rhnlib spacewalk-koan" to get a local copy of the missing RPMs along with their dependencies. Finally, I re-used the rhnpush command to upload an extra
 28 packages into my FC18 channel and while I can confirm they are there via the Spacealk UI, re-kickstarting still complains about missing the same two packages.
<div><br>
</div>
<div>Is there some sort of sync, cache flush or the like that I need to perform before a new kickstart can see that those packages are now available for installation?</div>
<div><br>
</div>
<div>Thanks,</div>
<div>Jon Miller</div>
<div><br>
</div>
<div>#------ More Details about what I did to resolve my dependencies --------</div>
<div># From the freshly installed FC18 client</div>
<div>mkdir /tmp/rmps && yum install -y --downloadonly --downloaddir=/tmp/rmps rhnlib spacewalk-koan<br>
</div>
<div># Then from your Spacewalk server, scp those RPMs to your current directory:</div>
<div>CHANNEL=fedora18-x86_64 # Your channel probably varies from mine</div>
<div>read -p "What is your spacewalk user name: " -e -i "admin-crad" SPACEWALK_USER<br>
</div>
<div>read -p "What is your spacewalk ${SPACEWALK_USER} password: " -s -e SPACEWALK_PASS<br>
</div>
<div>rhnpush -u "${SPACEWALK_USER}" -p "${SPACEWALK_PASS}" -v --channel=$CHANNEL --server=<a href="http://localhost/" target="_blank">http://localhost</a> --dir=.<br>
</div>
</div>
<div>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">On Mon, Jan 21, 2013 at 1:40 AM, Jan Pazdziora <span dir="ltr">
<<a href="mailto:jpazdziora@redhat.com" target="_blank">jpazdziora@redhat.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>On Mon, Jan 21, 2013 at 10:32:21AM +0100, Miroslav Suchy wrote:<br>
> On 19.1.2013 03:28, Jon Miller wrote:<br>
> >I tried looking for available client download URLs but was unsuccessful.<br>
> >What is the current timeline for making those packages available?<br>
><br>
> Spacewalk client is already part of Fedora. So it is already<br>
> available there (and also in rawhide).<br>
> Just do:<br>
>   yum groupinstall 'Spacewalk Client'<br>
<br>
</div>
Nightly client repos are now available for Fedora 18 as well:<br>
<br>
        <a href="http://yum.spacewalkproject.org/nightly-client/Fedora/18/" target="_blank">
http://yum.spacewalkproject.org/nightly-client/Fedora/18/</a><br>
<span><font color="#888888"><br>
--<br>
Jan Pazdziora<br>
Principal Software Engineer, Satellite Engineering, Red Hat<br>
</font></span>
<div><br>
_______________________________________________<br>
Spacewalk-list mailing list<br>
<a href="mailto:Spacewalk-list@redhat.com" target="_blank">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>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</blockquote>
</div>
<br>
</div>
_______________________________________________<br>
Spacewalk-list mailing list<br>
<a href="mailto:Spacewalk-list@redhat.com">Spacewalk-list@redhat.com</a><br>
https://www.redhat.com/mailman/listinfo/spacewalk-list</blockquote>
</div>
<br>
<div><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; border-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; ">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">
<div>Jonathan DeHaan</div>
<div>IT Manager</div>
<div>Nexstar Broadcasting Group</div>
<div><br>
</div>
</div>
</span><br class="Apple-interchange-newline">
<br class="Apple-interchange-newline">
</div>
<br>
</div>
</body>
</html>