Re: Problem uploading to lookaside cache

2011-02-21 Thread Jesse Keating
On 2/21/11 8:52 AM, Paul Howarth wrote:
>>> 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.

Which in turn probably makes curl return 0 instead of non-zero.  Fedpkg 
is just calling out to curl at this point, rather than duplicating all 
the UI to make the upload look pretty :)

-- 
Jesse Keating
Fedora -- FreedomĀ² is a feature!
identi.ca: http://identi.ca/jkeating
-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel


Re: Problem uploading to lookaside cache

2011-02-21 Thread Paul Howarth
On 21/02/11 16:42, Toshio Kuratomi wrote:
> On Mon, Feb 21, 2011 at 12:58:57PM +, Daniel P. Berrange wrote:
>> On Mon, Feb 21, 2011 at 12:25:44PM +, 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   TimeTime Time
>>>Current
>>>Dload  Upload   Total   SpentLeft
>>>Speed
>>> 0 00 00 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.
-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel


Re: Problem uploading to lookaside cache

2011-02-21 Thread Toshio Kuratomi
On Mon, Feb 21, 2011 at 12:58:57PM +, Daniel P. Berrange wrote:
> On Mon, Feb 21, 2011 at 12:25:44PM +, 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   TimeTime Time 
> >   Current
> >   Dload  Upload   Total   SpentLeft 
> >   Speed
> >0 00 00 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.

-Toshio


pgpTUlBp0EgVc.pgp
Description: PGP signature
-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel

Re: Problem uploading to lookaside cache

2011-02-21 Thread Daniel P. Berrange
On Mon, Feb 21, 2011 at 12:25:44PM +, 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   TimeTime Time 
>   Current
>   Dload  Upload   Total   SpentLeft 
>   Speed
>0 00 00 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

Regards,
Daniel
-- 
|: http://berrange.com  -o-http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org  -o- http://virt-manager.org :|
|: http://autobuild.org   -o- http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org   -o-   http://live.gnome.org/gtk-vnc :|
-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel


Re: Problem uploading to lookaside cache

2011-02-21 Thread Petr Pisar
On 2011-02-21, 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:
>
https://fedorahosted.org/rel-eng/ticket/4453

-- Petr

-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel