[Spacewalk-list] rhnpush cannot upload packages

Kirill Morozov l0rda at l0rda.biz
Sun Feb 8 18:48:27 UTC 2009


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',)



> Thanks,
> ~ Prad
>
>
>



-- 
Kirill Morozov
KIMO2-RIPE, RHCE





More information about the Spacewalk-list mailing list