#7901 Permission errors during fedpkg clone
Closed: Fixed 4 years ago by lucarval. Opened 4 years ago by lucarval.

Hi!

I am not able to clone waiverdb, nor greenwave dist-git repositories due to permission errors:

🐚  klist
Ticket cache: KCM:1000
Default principal: lucarval@FEDORAPROJECT.ORG

Valid starting       Expires              Service principal
06/14/2019 14:20:54  06/15/2019 14:20:41  krbtgt/FEDORAPROJECT.ORG@FEDORAPROJECT.ORG
    renew until 06/21/2019 14:20:41

🐚  fedpkg --verbose clone waiverdb
Cloning ssh://lucarval@pkgs.fedoraproject.org/rpms/waiverdb
Running: git clone ssh://lucarval@pkgs.fedoraproject.org/rpms/waiverdb --origin origin
Cloning into 'waiverdb'...
lucarval@pkgs.fedoraproject.org: Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
Could not execute clone: Failed to execute command.
Traceback (most recent call last):
  File "/usr/bin/fedpkg", line 11, in <module>
    load_entry_point('fedpkg==1.37', 'console_scripts', 'fedpkg')()
  File "/usr/lib/python3.7/site-packages/fedpkg/__main__.py", line 86, in main
    sys.exit(client.args.command())
  File "/usr/lib/python3.7/site-packages/pyrpkg/cli.py", line 1864, in clone
    depth=self.args.depth)
  File "/usr/lib/python3.7/site-packages/pyrpkg/__init__.py", line 1541, in clone
    self._run_command(cmd, cwd=path)
  File "/usr/lib/python3.7/site-packages/pyrpkg/__init__.py", line 1226, in _run_command
    raise rpkgError('Failed to execute command.')
pyrpkg.errors.rpkgError: Failed to execute command.

🐚  fedpkg --verbose clone greenwave
Cloning ssh://lucarval@pkgs.fedoraproject.org/rpms/greenwave
Running: git clone ssh://lucarval@pkgs.fedoraproject.org/rpms/greenwave --origin origin
Cloning into 'greenwave'...
lucarval@pkgs.fedoraproject.org: Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
Could not execute clone: Failed to execute command.
Traceback (most recent call last):
  File "/usr/bin/fedpkg", line 11, in <module>
    load_entry_point('fedpkg==1.37', 'console_scripts', 'fedpkg')()
  File "/usr/lib/python3.7/site-packages/fedpkg/__main__.py", line 86, in main
    sys.exit(client.args.command())
  File "/usr/lib/python3.7/site-packages/pyrpkg/cli.py", line 1864, in clone
    depth=self.args.depth)
  File "/usr/lib/python3.7/site-packages/pyrpkg/__init__.py", line 1541, in clone
    self._run_command(cmd, cwd=path)
  File "/usr/lib/python3.7/site-packages/pyrpkg/__init__.py", line 1226, in _run_command
    raise rpkgError('Failed to execute command.')
pyrpkg.errors.rpkgError: Failed to execute command.

I've uploaded my public SSH key to my fedora account via https://admin.fedoraproject.org. This matches my local file ~/.ssh/id_rsa.pub. This was done 2 hours ago. The key appears to be synced to dist-git AFAICT.

I'm not sure how to proceed here. Any suggestions?


Metadata Update from @smooge:
- Issue priority set to: Waiting on Assignee (was: Needs Review)
- Issue tagged with: src.fp.o

4 years ago

Is this still happening? I see your key last changed on jun 14th... was that when you changed it? Or after that?

It's working now! I guess it needed a couple of days to sync the key?

Thanks for having a look!

Metadata Update from @lucarval:
- Issue close_status updated to: Fixed
- Issue status updated to: Closed (was: Open)

4 years ago

Login to comment on this ticket.

Metadata