[Spacewalk-list] Problem with adding the channel

Joshua Roys joshua.roys at gtri.gatech.edu
Wed Oct 28 12:52:18 UTC 2009


On 10/27/2009 11:52 PM, Jesster Leight wrote:
> OS: Fedora Linux 11
> Spacewalk: 0.6
> I download special script (create_channel.py) for registarion client
> from CLI and added 3 channel with 32-Bit architecture and all OK:
> Fedora 11 32-Bit
> RHEL 4.7 32-bit
> RHEL 5.3 32-bit
>
> But when i try adding the channel with x86_64 arch, see next:
>
> [root at satellite iso]# /home/kripton/Download/create_channel.py \
> --user=jess --password=12345 --label=rhel-5.3-x86_64 \
> --name "RHEL 5.3 64-bit" --summary "64-bit RHEL 5.3 channel"
>
> [root at satellite iso]# find . -name "*rpm" | xargs rhnpush \
> --channel=rhel-5.3-x86_64 --server=http://localhost/APP \
> -v --tolerant -u jess -p 12345
> Connecting to http://localhost/APP
> Exception RuntimeError: 'maximum recursion depth exceeded while calling
> a Python object' in <type 'exceptions.AttributeError'> ignored
> error: rpmts_HdrFromFdno: MD5 digest: BAD
> Expected(479190e94916168bdc15312eb8b20df1) !=
> (047241ffa4ccab9fb231f67d313ad6ee)
> error: rpmts_HdrFromFdno: MD5 digest: BAD
> Expected(87fda25e1b187ac59477906bca202b34) !=
> (36523818d30765395df4978e9f8c65c7)
> error: rpmts_HdrFromFdno: MD5 digest: BAD
> Expected(a47d32ff2c253906585c59b3283bef09) !=
> (43cac26653a5804fc6dd816616772c40)
> .........
> Error Message:
>      Package arch x86_64 incompatible with channel rhel-5.3-x86_64
> Error Class Code: 50
> Error Class Info: Invalid information uploaded to the server
> xargs: rhnpush: exited with status 255; aborting
>
> This channel don't register all RPMs from ISO image and i see 0 packets
> on Spacewalk => Channels Anybody can help me please?

Hello,

I see you're using rhnpush, not reposync - oops.

You'll want to pass the --channel-arch option to create_channel.py - it 
appears to default to 32-bit.  (You'll have to delete the existing 
channel or give it a new name/label.)  Then see if the errors continue.

Josh




More information about the Spacewalk-list mailing list