Thanks, that was it. Everything says channel name but its the channel label what you actually need to use.

I also had an extra 5 in the rhn channel name I was trying to use sync from.

Cheers!

On 10/08/2013 09:51 AM, Thomas Foster wrote:
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)


On Tue, Oct 8, 2013 at 4:36 AM, Franky Van Liedekerke <[email protected] <mailto:[email protected]>> wrote:

    On 2013-10-08 03:28, Miguel Cruz wrote:

        I get the following error when I try to sync my erratas:

        [root@spacewalk spacewalk_scripts]# ./redhat-clone-errata.sh
        WARNING: channel.software.listErrata returned an error: Fault
        returned
        from XML RPC Server, fault code -210: No such channel

        WARNING: channel.software.listErrata returned an error: Fault
        returned
        from XML RPC Server, fault code -210: No such channel

        I'm not sure if its the channel names as seen on my spacewalk
        server or
        the ones used by the RHN that i need to put on
        redhat-clone-errata.sh.
        Important bits from my redhat-clone-errata.sh:

        # now do the import
        # change the channel parameter to your liking
        # and add the option "--redhat-channel <RHN channel name>" if
        the channel
        name if not the same as in your spacewalk server
        ./ya-errata-import.pl <http://ya-errata-import.pl> [1]
        --server $SPACEWALK --channel
        rhel5.i386-updates --redhat-channel rhel5-i386-server-5
        --os-version 5
        --publish --redhat --rhn-proxy=xxx --startfromprevious
        twoweeks --quiet

        ./ya-errata-import.pl <http://ya-errata-import.pl> [1]
        --server $SPACEWALK --channel
        rhel5.x86_64-updates --os-version 5 --publish --redhat
        --rhn-proxy=xxx
        --startfromprevious twoweeks --quiet

        My channels in my spacewalk server:

        RHEL_5_i386_UPDATES
        Spacewalk Default Organization
        2671
        11

        RHEL_5_x86_64_UPDATES
        Spacewalk Default Organization
        3419
        1



    I advise you to read the help section:
    --channel          The spacewalk channel you want to publish errata to
    <snip>
    --redhat-channel   RedHat channel to get errata from, only usefull
    with --redhat, defaults to the same as --channel

    And also: you need to use exactly the same names as on your
    spacewalk server, including upppercase characters.

    Franky

    _______________________________________________
    Spacewalk-list mailing list
    [email protected] <mailto:[email protected]>
    https://www.redhat.com/mailman/listinfo/spacewalk-list




_______________________________________________
Spacewalk-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/spacewalk-list

_______________________________________________
Spacewalk-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/spacewalk-list

Reply via email to