[Spacewalk-list] Using POST request rhnpush fails

Nick Tailor HTailor at BCLC.com
Tue Dec 23 05:32:23 UTC 2014


Hey Waldirio,

Yes I have tons of space. The issue does not appear to be related to physical diskspace.

The issue is related to python code streaming data to from memory buffer, need to figure out how to increase that buffer to fix this issue.

I posted a link shortly after explaining what the cause of the issue after digging around, haven’t found a resolution for it yet.

What I could really use help on is the finding the rhncfg packages for debian :P

Please thank you

Nick Tailor
Nicktailor.com

From: spacewalk-list-bounces at redhat.com [mailto:spacewalk-list-bounces at redhat.com] On Behalf Of Waldirio Manhães Pinheiro
Sent: Monday, December 22, 2014 4:06 PM
To: spacewalk-list at redhat.com
Subject: Re: [Spacewalk-list] Using POST request rhnpush fails

Nick

Do you have space in your server ?!?!

[Mon Dec 22 14:29:13 2014] [error] IOError: [Errno 28] No space left on device


Take Care

______________
Atenciosamente
Waldirio
msn: waldirio at gmail.com<mailto:waldirio at gmail.com>
Skype: waldirio
Site: www.waldirio.com.br<http://www.waldirio.com.br>
Blog: blog.waldirio.com.br<http://blog.waldirio.com.br>
LinkedIn: http://br.linkedin.com/pub/waldirio-pinheiro/22/b21/646
PGP: www.waldirio.com.br/public.html<http://www.waldirio.com.br/public.html>

On Mon, Dec 22, 2014 at 8:46 PM, Nick Tailor <HTailor at bclc.com<mailto:HTailor at bclc.com>> wrote:
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<http://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<http://cktailor.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.

_______________________________________________
Spacewalk-list mailing list
Spacewalk-list at redhat.com<mailto:Spacewalk-list at redhat.com>
https://www.redhat.com/mailman/listinfo/spacewalk-list

________________________________
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/20141223/bee72513/attachment.htm>


More information about the Spacewalk-list mailing list