[Spacewalk-list] rhnpush cannot upload packages

Pradeep Kilambi pkilambi at redhat.com
Mon Feb 9 16:42:26 UTC 2009


Kirill Morozov wrote:
>
> 08.02.2009, в 21:28, Pradeep Kilambi написал(а):
>>
>> hmm is this on spacewalk 0.4? I just tried the same and am able to 
>> push fine to a channel on my spacewalk server ..
>>
>
> yes, it is fresh install CentOS 5.2(under Xen) and spacewalk 0.4.
>
> # rpm -q spacewalk
> spacewalk-0.4.2-3.el5
>
>
>> # rhnpush --server http://hostname/APP  -u admin -p xxxx  --nosig  
>> --dir=/mnt/iso/Satellite  --tolerant
>> -c test-channel -vvvv
>> Uploading files from directory /mnt/iso/Satellite/
>> Connecting to http://hostname/APP
>> url is http://hostname/PACKAGE-PUSH
>> Result codes: 200 OK
>> Computing md5sum and package Info .This may take sometime ...
>> Package /mnt/iso/Satellite/MessageQueue-3.26.2-1.el5.noarch.rpm Not 
>> Found on RHN Server -- Uploading
>> Uploading package 
>> /mnt/iso/Satellite/MessageQueue-3.26.2-1.el5.noarch.rpm
>> Using POST request
>> Package /mnt/iso/Satellite/NOCpulsePlugins-2.208.3-1.el5.noarch.rpm 
>> Not Found on RHN Server -- Uploading
>> Uploading package 
>> /mnt/iso/Satellite/NOCpulsePlugins-2.208.3-1.el5.noarch.rpm
>> Using POST request
>> Package /mnt/iso/Satellite/NPalert-1.126.1-1.el5sat.noarch.rpm Not 
>> Found on RHN Server -- Uploading
>> Uploading package /mnt/iso/Satellite/NPalert-1.126.1-1.el5sat.noarch.rpm
>> Using POST request
>> Package /mnt/iso/Satellite/ProgAGoGo-1.11.3-1.el5.noarch.rpm Not 
>> Found on RHN Server -- Uploading
>> Uploading package /mnt/iso/Satellite/ProgAGoGo-1.11.3-1.el5.noarch.rpm
>> Using POST request
>> ....
>>
>> So seems to work as expected on my server. Hence suspecting  this 
>> might be due to some missing config.
>>
>> Can you bump the debug value in /etc/rhn/default/rhn_server.conf and 
>> tail /var/log/rhn/rhn_server_app.log and paste me the log info at the 
>> time the command is run.
>>
>
> i set
> debug=5
>
> restarted spacewalk
>
> run rhnpush
>
> # tail rhn_upload_package_push.log
>
> i see only this record:
> 2009/02/08 19:43:30 +02:00 27132 78.140.x.x: 
> server/apacheUploadServer.handler('GET method received, returning',)

As I said please tail /var/log/rhn/rhn_server_app.log .. thats the one 
determining the md5sum checks. You should get quite a chunk of log 
info.. appreciate it if you could attach it.

Thanks,


>
>
>
>> Thanks,
>> ~ Prad
>>
>>
>>
>
>
>


-- 
--
Pradeep Kilambi
RHN Satellite Engineering
pkilambi at redhat.com
Phone: +1 919 754 4285
RHCE # 805008680430554





More information about the Spacewalk-list mailing list