<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    My experience is with Fedora, rather than CentOS, but I suspect you
    are running into the same problem. <br>
    <br>
    Anaconda does not pull repomd.xml from the base repository, it pulls
    it from the installation media. I suspect that this may be because
    it needs the location of the comps file, which Spacewalk does not
    provide. The upshot is that you need to have a repodata/repomd.xml
    and repodata/comps.xml file in your distribution tree, and the
    contents of the repomd.xml file need to match what packages you have
    in your base channel. If you have packages in your base channel that
    repomd.xml does not know about, anaconda will not find them. If you
    are missing packages from your base channel that are referenced by
    repomd.xml or comps.xml, it will complain about missing packages.<br>
    <br>
    I'm not sure how the netboot ISO gets around this, but since you are
    handing it a custom kickstart, whatever workaround they have in
    place is being ignored.<br>
    <br>
    Jonathan<br>
    <br>
    On 12/21/2011 05:49 AM, Daniel Jabbour wrote:
    <blockquote
      cite="mid:4E91710B-4AD2-4C4B-9535-363D355187DC@inigral.com"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=ISO-8859-1">
      <base href="x-msg://3290/">Yes, I did. I selected them all (the
      children: updates, and tools for spacewalk).
      <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: auto; text-indent: 0px;
            text-transform: none; white-space: normal; widows: 2;
            word-spacing: 0px; -webkit-border-horizontal-spacing: 0px;
            -webkit-border-vertical-spacing: 0px;
            -webkit-text-decorations-in-effect: none;
            -webkit-text-size-adjust: auto; -webkit-text-stroke-width:
            0px; font-size: medium; "><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-indent: 0px;
              text-transform: none; white-space: normal; widows: 2;
              word-spacing: 0px; -webkit-border-horizontal-spacing: 0px;
              -webkit-border-vertical-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>--</div>
                <div>
                  <div>Daniel Jabbour</div>
                  <div>Senior Agnostic Algorithmatist</div>
                  <div>Inigral, Inc. | The Social Web For Education</div>
                  <div><a moz-do-not-send="true"
                      href="mailto:drj@inigral.com">drj@inigral.com</a></div>
                </div>
              </div>
            </span></span>
        </div>
        <br>
        <div>
          <div>On Dec 21, 2011, at 6:41 AM, Rick van der Linde wrote:</div>
          <br class="Apple-interchange-newline">
          <blockquote type="cite"><span class="Apple-style-span"
              style="border-collapse: separate; 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; -webkit-border-horizontal-spacing: 0px;
              -webkit-border-vertical-spacing: 0px;
              -webkit-text-decorations-in-effect: none;
              -webkit-text-size-adjust: auto; -webkit-text-stroke-width:
              0px; font-size: medium; ">
              <div style="font-family: Arial, Verdana, sans-serif
                !important; font-size: 12px; padding-top: 5px;
                padding-right: 5px; padding-bottom: 5px; padding-left:
                5px; margin-top: 0px; margin-right: 0px; margin-bottom:
                0px; margin-left: 0px; border-top-style: none;
                border-right-style: none; border-bottom-style: none;
                border-left-style: none; background-color: rgb(255, 255,
                255); position: static; z-index: auto; ">
                <div style="margin-top: 0px; margin-bottom: 0px; "><br>
                   </div>
                <blockquote style="border-left-color: rgb(50, 95, 186);
                  border-left-width: 2px; border-left-style: solid;
                  padding-left: 5px; margin-left: 5px; position: static;
                  z-index: auto; ">I am trying to load systems using
                  Spacewalk 1.5 & Cobbler. I have configured
                  Spacewalk (and Cobbler, DHCP, TFTP, etc) with my
                  software channels, and created a Kickstart profile
                  & distribution. The kickstart process starts off
                  great, loads the PXE image, runs anaconda, and then
                  fails when it can't find repomd.xml in the Base repo.
                  The exact error is:<br>
                  <br>
                  "Cannot retrieve repository metadata (repomd.xml) for
                  repository: anaconda-CentOS-201112060039.x86_64.
                  Please verify its path and try again"<br>
                  <br>
                  On the console, it seems to be attempting to fetch:<br>
                  <br>
                  Failed to get<span class="Apple-converted-space"> </span><a
                    moz-do-not-send="true"
                    href="http://10.20.3.98/ks/dist/CentOS-6-x86_64/repodata/repomd.xml">http://10.20.3.98/ks/dist/CentOS-6-x86_64/repodata/repomd.xml</a><span
                    class="Apple-converted-space"> </span>"The requested
                  URL returned error: 404"<br>
                  <br>
                  I verified that there isn't a network/firewall issue.
                  In fact, it seems that repomd.xml doesn't exist in the
                  ISO image I have mounted.<br>
                  <br>
                  Let me describe my setup so perhaps someone can tell
                  me what I'm doing wrong:<br>
                  * I have defined a CentOS 6 Base channel, with an
                  updates and tools channels as children.<br>
                  * I downloaded the NetBoot ISO and mounted it to
                  /var/distro-trees/CentOS-6-x86_64.<br>
                  * I configured a distribution to point to this ISO
                  mounted directory (/var/distro-trees/CentOS-6-x86_64).<br>
                  <br>
                  I think the error stems from the fact that the ISO
                  doesn't contain a repomd.xml file in
                  /var/distro-trees/CentOS-6-x86_64. As a result, the
                  client is 404ing.<br>
                  <br>
                  I can't find much in the way of documentation about
                  exactly which ISO is appropriate to use with
                  Spacewalk, and how exactly the provisioning process
                  works.<br>
                  <br>
                  Any ideas?<br>
                </blockquote>
                <div style="margin-top: 0px; margin-bottom: 0px; ">Did
                  you select any other channels in your kickstart
                  profile than the base CentOS channel?</div>
                <p style="margin-top: 0px; margin-bottom: 0px; "> </p>
                <div style="margin-top: 0px; margin-bottom: 0px; ">Rick</div>
                _______________________________________________<br>
                Spacewalk-list mailing list<br>
                <a moz-do-not-send="true"
                  href="mailto:Spacewalk-list@redhat.com">Spacewalk-list@redhat.com</a><br>
                <a moz-do-not-send="true"
                  href="https://www.redhat.com/mailman/listinfo/spacewalk-list">https://www.redhat.com/mailman/listinfo/spacewalk-list</a></div>
            </span></blockquote>
        </div>
        <br>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Spacewalk-list mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Spacewalk-list@redhat.com">Spacewalk-list@redhat.com</a>
<a class="moz-txt-link-freetext" href="https://www.redhat.com/mailman/listinfo/spacewalk-list">https://www.redhat.com/mailman/listinfo/spacewalk-list</a></pre>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="72">-- 
Jonathan DeHaan
Linux Systems Engineer</pre>
  </body>
</html>