[Spacewalk-list] rhnpush cannot upload packages
Pradeep Kilambi
pkilambi at redhat.com
Sun Feb 8 18:28:35 UTC 2009
Kirill Morozov wrote:
> Hello, Prad,
>
> 08.02.2009, в 4:47, Pradeep Kilambi написал(а):
>
>> Looks like your mount_point is probably not set. Can you make sure
>> /var/satellite dir is present on your server. Also make sure your
>> /etc/rhn/rhn.conf has mount point of /var/satellite defined as a
>> config variable. Either ways its jus a missing check before we join
>> the paths. So I opened a bug to track this. It should be a quick fix
>> notifying user that the path is not set. This is tracked
>> inhttps://bugzilla.redhat.com/show_bug.cgi?id=484534
>>
>> Thanks,
>> ~ Prad
>
> mount_point exists inconfig:
>
> # grep mount_point /etc/rhn/rhn.conf
> mount_point = /var/satellite
> kickstart_mount_point = /var/satellite
>
> /var/satellite exists too:
>
> # df -H|grep sat
> /dev/xvdd 27G 1.3G 24G 5% /var/satellite
>
> (i'm using xen and external LVM volume for satellite)
>
> # ls -la /var/satellite/
> total 36
> drwxr-xr-x 4 apache apache 4096 Feb 7 19:47 .
> drwxr-xr-x 22 root root 4096 Feb 7 19:49 ..
> drwx------ 2 root root 16384 Feb 7 19:37 lost+found
> drwxr-xr-x 3 apache root 4096 Feb 7 17:45 redhat
>
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 ..
# 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.
Thanks,
~ Prad
>
> --
> Kirill Morozov
> KIMO2-RIPE, RHCE
> ------------------------------------------------------------------------
>
> _______________________________________________
> Spacewalk-list mailing list
> Spacewalk-list at redhat.com
> https://www.redhat.com/mailman/listinfo/spacewalk-list
More information about the Spacewalk-list
mailing list