[Spacewalk-list] Using POST request rhnpush fails

Nick Tailor HTailor at BCLC.com
Wed Jan 7 19:49:30 UTC 2015


I was able to resolve the issue.

For whatever reason, even though reposync isn't writing to /tmp. Its still using /tmp as a temporary instance buffer.

Increasing /tmp to 5gigs resolved the issue.

Cheers

Nick Tailor
Nicktailor.com

From: spacewalk-list-bounces at redhat.com [mailto:spacewalk-list-bounces at redhat.com] On Behalf Of Nick Tailor
Sent: December-22-14 2:47 PM
To: spacewalk-list at redhat.com
Subject: Re: [Spacewalk-list] Using POST request rhnpush fails

Looks like its an issue with python code

http://stackoverflow.com/questions/6998083/python-causing-ioerror-errno-28-no-space-left-on-device-results-32766-h

Nick Tailor
Nicktailor.com


From: Nick Tailor
Sent: December-22-14 2:43 PM
To: spacewalk-list at redhat.com<mailto:spacewalk-list at redhat.com>
Subject: RE: Using POST request rhnpush fails

Apache logs also states this, however I have confirmed that there is plenty of space.

[Mon Dec 22 14:29:13 2014] [error]     self.file_checksum_type, self.file_checksum)
[Mon Dec 22 14:29:13 2014] [error]   File "/usr/lib/python2.6/site-packages/spacewalk/server/rhnPackageUpload.py", line 264, in save_uploaded_package
[Mon Dec 22 14:29:13 2014] [error]     a_pkg.read_header()
[Mon Dec 22 14:29:13 2014] [error]   File "/usr/lib/python2.6/site-packages/spacewalk/common/rhn_deb.py", line 113, in read_header
[Mon Dec 22 14:29:13 2014] [error]     self._stream_copy(self.input_stream, self.header_data)
[Mon Dec 22 14:29:13 2014] [error]   File "/usr/lib/python2.6/site-packages/spacewalk/common/rhn_pkg.py", line 113, in _stream_copy
[Mon Dec 22 14:29:13 2014] [error]     dest.write(buf)
[Mon Dec 22 14:29:13 2014] [error] IOError: [Errno 28] No space left on device
[Mon Dec 22 14:29:13 2014] [error]
[Mon Dec 22 14:29:13 2014] [error] Spacewalk 8367 2014/12/22 14:29:13 -07:00: ('Unhandled exception',)

Nick Tailor
Nicktailor.com


From: Nick Tailor
Sent: December-22-14 2:37 PM
To: spacewalk-list at redhat.com<mailto:spacewalk-list at redhat.com>
Subject: Using POST request rhnpush fails

Rhnpush problem. Seems like this package is having a problem pushing. The package is about "455M openclipart2-png_2.0+dfsg-1_all.deb"

Has anyone else ran into this?

I have tried changing all these settings: (no such luck)
========================================
SQL> alter system set processes = 400 scope=spfile;
SQL> alter system set "_optimizer_filter_pred_pullup" = false scope=spfile;
SQL> alter system set "_optimizer_cost_based_transformation" = off scope=spfile;
SQL> alter system set query_rewrite_enabled = true;
========================================

[root at kam1odapp99<DEV>:~]# perl spacewalk-debian-sync.pl --url http://ftp.us.debian.org/debian/dists/stable/main/binary-amd64/ --username space-admin --password blahblah --channel debian_7.7_amd64
INFO: Repo URL: http://ftp.us.debian.org/debian/dists/stable/main/binary-amd64/
INFO: Debian root is http://ftp.us.debian.org/debian/
INFO: Fetching Packages.gz... done
INFO: Packages in repo:         35923
INFO: Packages already synced:  16302
INFO: Packages to sync:         19621
INFO: 1/19621 : w3af-console_1.0-rc3svn3489-1_all.deb
Connecting to https://localhost/APP
url is https://localhost/PACKAGE-PUSH
Result codes: 200 OK
Computing checksum and package info. This may take some time ...
Package /root/test/w3af-console_1.0-rc3svn3489-1_all.deb already exists on the RHN Server-- Skipping Upload....
INFO: 2/19621 : openclipart2-png_2.0+dfsg-1_all.deb
Connecting to https://localhost/APP
url is https://localhost/PACKAGE-PUSH
Result codes: 200 OK
Computing checksum and package info. This may take some time ...
Package /root/test/openclipart2-png_2.0+dfsg-1_all.deb Not Found on RHN Server -- Uploading
Uploading package /root/test/openclipart2-png_2.0+dfsg-1_all.deb
Using POST request
Internal server error 500 Internal Server Error
Error pushing /root/test/openclipart2-png_2.0+dfsg-1_all.deb:  (500)
1
Waiting 4 seconds and trying again...
Uploading package /root/test/openclipart2-png_2.0+dfsg-1_all.deb
Using POST request
Internal server error 500 Internal Server Error
Error pushing /root/test/openclipart2-png_2.0+dfsg-1_all.deb:  (500)
1
Waiting 5 seconds and trying again...
Uploading package /root/test/openclipart2-png_2.0+dfsg-1_all.deb
Using POST request
Internal server error 500 Internal Server Error
Error pushing /root/test/openclipart2-png_2.0+dfsg-1_all.deb:  (500)
1
Waiting 1 seconds and trying again...
Giving up after 3 attempts
ERROR: rhnpush failed

Nick Tailor
Nicktailor.com


________________________________
This email is intended only for the addressee. It may contain confidential or proprietary information that cannot be disclosed without BCLC's permission. If you have received this email in error, please notify the sender immediately and delete the email.
________________________________
This email is intended only for the addressee. It may contain confidential or proprietary information that cannot be disclosed without BCLC's permission. If you have received this email in error, please notify the sender immediately and delete the email.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20150107/37eaf92a/attachment.htm>


More information about the Spacewalk-list mailing list