#10593 fedpkg new-sources fails with 404
Closed: Insufficient data 2 years ago by kevin. Opened 2 years ago by salimma.

Describe what you would like us to do:


Fix lookaside upload:

❯ fedpkg --verbose new-sources ./*2022.03.14.00.tar.gz
Creating repo object from /home/michel/src/fedora/pkgs-meta/folly/folly
Could not execute new_sources: Fail to upload files. Server returns status 404
Traceback (most recent call last):
  File "/usr/bin/fedpkg", line 33, in <module>
    sys.exit(load_entry_point('fedpkg==1.42', 'console_scripts', 'fedpkg')())
  File "/usr/lib/python3.10/site-packages/fedpkg/__main__.py", line 89, in main
    sys.exit(client.args.command())
  File "/usr/lib/python3.10/site-packages/pyrpkg/cli.py", line 2688, in new_sources
    self.cmd.upload(
  File "/usr/lib/python3.10/site-packages/pyrpkg/__init__.py", line 3078, in upload
    self.lookasidecache.upload(
  File "/usr/lib/python3.10/site-packages/pyrpkg/lookaside.py", line 298, in upload
    if self.remote_file_exists(name, filename, hash):
  File "/usr/lib/python3.10/site-packages/pyrpkg/lookaside.py", line 259, in remote_file_exists
    self.raise_upload_error(status)
  File "/usr/lib/python3.10/site-packages/pyrpkg/lookaside.py", line 128, in raise_upload_error
    raise UploadError(message, http_status=http_status)
pyrpkg.errors.UploadError: Fail to upload files. Server returns status 404

When do you need this to be done by? (YYYY/MM/DD)


2022/03/15


Looks like it's not affecting everyone - @dcavalca reported he could upload fine. And my two Pagure tokens (for both src.fedoraproject.org and pagure.io) are still valid. Updated all packages, restarted, same thing.

And... it now works for me. Could it be that some backend instances are broken and I hit a bad one?

There is only one instance. ;)

It uses kerberos... did you have a valid kerberos ticket?

Metadata Update from @mohanboddu:
- Issue priority set to: Waiting on Assignee (was: Needs Review)
- Issue tagged with: low-gain, low-trouble, ops

2 years ago

Feel free to re-open this if you see it again... or file a new ticket. Thanks!

Metadata Update from @kevin:
- Issue close_status updated to: Insufficient data
- Issue status updated to: Closed (was: Open)

2 years ago

Login to comment on this ticket.

Metadata
Boards 1
ops Status: Backlog