I upgraded from .5 to .6 and the only problem I've encountered is a unique 
constraint violation when attempting to rhnpush my RHEL4 rpms to the spacewalk 
channel.

I have moved all of my channels (except rhel4-updates-$arch rhel4-extras-$arch) 
to using the spacewalk-repo-sync command and they are all updating the channels 
properly.

========================= commands ========================

arch=x86_64

rhnget -s /var/www/html/pub/RHEL4-WS-$arch/systemid rhns:///rhel-x86_64-ws-4 
/var/www/html/pub/RHEL4-WS-$arch/updates 

rhnpush --channel=rhel4-updates-$arch --server=http://localhost/APP 
--dir=/var/www/html/pub/RHEL4-WS-$arch/updates --username=xxxxxxxxxxx 
--password=xxxxxxxxxx

Error Message:
    ORA-00001: unique constraint (SPACEWALK.RHN_CNP_CID_NID_UQ) violated
ORA-06512: at "SPACEWALK.RHN_CHANNEL", line 1131
ORA-06512: at line 1
Error Class Code: 23
Error Class Info: Could not update database entry.

========================= commands ========================

This same script worked fine in 0.5, any suggestions on what could be wrong or 
how I might debug it further

Thanks,

Mike

_______________________________________________
Spacewalk-list mailing list
Spacewalk-list@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-list

Reply via email to