<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Thanks, that was it. Everything says channel name but its the
    channel label what you actually need to use.<br>
    <br>
    I also had an extra 5 in the rhn channel name I was trying to use
    sync from.<br>
    <br>
    Cheers!<br>
    <br>
    <div class="moz-cite-prefix">On 10/08/2013 09:51 AM, Thomas Foster
      wrote:<br>
    </div>
    <blockquote
cite="mid:CAJ44rp7pyiH_aCUDuu3ySnD1ojWCGa5TZUTirdtiWWVMxmJNLQ@mail.gmail.com"
      type="cite">
      <div dir="ltr">Are you sure you are using the correct name there
        are 2 names channel name and channel label...you need to use the
        channel label (I believe)<br>
      </div>
      <div class="gmail_extra"><br>
        <br>
        <div class="gmail_quote">
          On Tue, Oct 8, 2013 at 4:36 AM, Franky Van Liedekerke <span
            dir="ltr"><<a moz-do-not-send="true"
              href="mailto:liedekef@telenet.be" target="_blank">liedekef@telenet.be</a>></span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">
            On 2013-10-08 03:28, Miguel Cruz wrote:<br>
            <br>
            <blockquote class="gmail_quote" style="margin:0 0 0
              .8ex;border-left:1px #ccc solid;padding-left:1ex">
              I get the following error when I try to sync my erratas:<br>
              <br>
              [root@spacewalk spacewalk_scripts]#
              ./redhat-clone-errata.sh<br>
              WARNING: channel.software.listErrata returned an error:
              Fault returned<br>
              from XML RPC Server, fault code -210: No such channel<br>
              <br>
              WARNING: channel.software.listErrata returned an error:
              Fault returned<br>
              from XML RPC Server, fault code -210: No such channel<br>
              <br>
              I'm not sure if its the channel names as seen on my
              spacewalk server or<br>
              the ones used by the RHN that i need to put on
              redhat-clone-errata.sh.<br>
              Important bits from my redhat-clone-errata.sh:<br>
              <br>
              # now do the import<br>
              # change the channel parameter to your liking<br>
              # and add the option "--redhat-channel <RHN channel
              name>" if the channel<br>
              name if not the same as in your spacewalk server<br>
              ./<a moz-do-not-send="true"
                href="http://ya-errata-import.pl" target="_blank">ya-errata-import.pl</a>
              [1] --server $SPACEWALK --channel<br>
              rhel5.i386-updates --redhat-channel rhel5-i386-server-5
              --os-version 5<br>
              --publish --redhat --rhn-proxy=xxx --startfromprevious
              twoweeks --quiet<br>
              <br>
              ./<a moz-do-not-send="true"
                href="http://ya-errata-import.pl" target="_blank">ya-errata-import.pl</a>
              [1] --server $SPACEWALK --channel<br>
              rhel5.x86_64-updates --os-version 5 --publish --redhat
              --rhn-proxy=xxx<br>
              --startfromprevious twoweeks --quiet<br>
              <br>
              My channels in my spacewalk server:<br>
              <br>
              RHEL_5_i386_UPDATES<br>
              Spacewalk Default Organization<br>
              2671<br>
              11<br>
              <br>
              RHEL_5_x86_64_UPDATES<br>
              Spacewalk Default Organization<br>
              3419<br>
              1<br>
            </blockquote>
            <br>
            <br>
            I advise you to read the help section:<br>
            --channel          The spacewalk channel you want to publish
            errata to<br>
            <snip><br>
            --redhat-channel   RedHat channel to get errata from, only
            usefull with --redhat, defaults to the same as --channel<br>
            <br>
            And also: you need to use exactly the same names as on your
            spacewalk server, including upppercase characters.<br>
            <br>
            Franky<br>
            <br>
            _______________________________________________<br>
            Spacewalk-list mailing list<br>
            <a moz-do-not-send="true"
              href="mailto:Spacewalk-list@redhat.com" target="_blank">Spacewalk-list@redhat.com</a><br>
            <a moz-do-not-send="true"
              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>
      <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>
  </body>
</html>