Problem uploading to lookaside cache

Paul Howarth paul at city-fan.org
Mon Feb 21 16:52:53 UTC 2011


On 21/02/11 16:42, Toshio Kuratomi wrote:
> On Mon, Feb 21, 2011 at 12:58:57PM +0000, Daniel P. Berrange wrote:
>> On Mon, Feb 21, 2011 at 12:25:44PM +0000, Paul Howarth wrote:
>>> I'm trying to update perl-IO-Multiplex to 1.11 but I can't upload the
>>> tarball to the lookaside cache. "fedpkg new-sources" reports success but
>>> hasn't actually worked:
>>>
>>> $ fedpkg new-sources IO-Multiplex-1.11.tar.gz
>>> Uploading: 7db84e16c24579865c9044843880962a  IO-Multiplex-1.11.tar.gz
>>> ########################################################################
>>> 100.0%
>>> Uploaded and added to .gitignore: IO-Multiplex-1.11.tar.gz
>>> Source upload succeeded. Don't forget to commit the sources file
>>>
>>> $ mv IO-Multiplex-1.11.tar.gz IO-Multiplex-1.11.tar.gz.orig
>>>
>>> $ fedpkg sources
>>> Downloading IO-Multiplex-1.11.tar.gz
>>>     % Total    % Received % Xferd  Average Speed   Time    Time     Time
>>>    Current
>>>                                    Dload  Upload   Total   Spent    Left
>>>    Speed
>>>     0     0    0     0    0     0      0      0 --:--:-- --:--:--
>>> --:--:--     0
>>> curl: (22) The requested URL returned error: 404
>>> Could not download sources: Command '['curl', '-H', 'Pragma:', '-o',
>>> 'IO-Multiplex-1.11.tar.gz', '-R', '-S', '--fail', '--show-error',
>>> 'http://pkgs.fedoraproject.org/repo/pkgs/perl-IO-Multiplex/IO-Multiplex-1.11.tar.gz/7db84e16c24579865c9044843880962a/IO-Multiplex-1.11.tar.gz']'
>>> returned non-zero exit status 22
>>>
>>> It appears that the upload CGI is reporting success despite having
>>> failed.
>>
>> [snip]
>>
>>> Any idea what's up?
>>
>> I've no idea, but it isn't just you. I'm seeing exactly the same problem
>> trying to provide new sources for virt-viewer. Upload "succeeds" according
>> to fedpkg, but the file doesn't exist on the server when you try to fetch
>> it again
>>
> Should be working now.  dgilmore found that the filesystem had gone ro this
> morning and fixed it.  Not sure why fedpkg is showing success there -- the
> script is failing in the server log.

Probably because the script is returning a "200 OK" HTTP status.

Paul.


More information about the devel mailing list