$ koji hello hello, teigland!
You are using the hub at https://koji.fedoraproject.org/kojihub Authenticated via GSSAPI
$ fedpkg -v build Deprecation warning: kojiconfig is deprecated. Instead, kojiprofile should be used. Format argument module is deprecated in gitbaseurl. Please use "repo" instead. Format argument module is deprecated in anongiturl. Please use "repo" instead. Format argument module is deprecated in clone config. Please use "ns_repo" instead. Creating repo object from /work/fedora/dlm Property module_name is deprecated. Please use repo_name instead. Property module_name is deprecated. Please use repo_name instead. Initiating a koji session to https://koji.fedoraproject.org/kojihub Logging into https://koji.fedoraproject.org/kojihub with Kerberos authentication. Kerberos authentication fails: [Errno 2] No such file or directory Logout kojisession Could not execute build: Could not login to https://koji.fedoraproject.org/kojihub Traceback (most recent call last): File "/usr/bin/fedpkg", line 16, in <module> main() File "/usr/lib/python2.7/site-packages/fedpkg/main.py", line 77, in main sys.exit(client.args.command()) File "/usr/lib/python2.7/site-packages/pyrpkg/cli.py", line 1731, in build task_id = self._build(sets=sets) File "/usr/lib/python2.7/site-packages/pyrpkg/cli.py", line 1788, in _build fail_fast=self.args.fail_fast) File "/usr/lib/python2.7/site-packages/pyrpkg/init.py", line 2251, in build build_target = self.kojisession.getBuildTarget(self.target) File "/usr/lib/python2.7/site-packages/pyrpkg/init.py", line 263, in kojisession self.load_kojisession() File "/usr/lib/python2.7/site-packages/fedpkg/init.py", line 325, in load_kojisession return super(Commands, self).load_kojisession(anon) File "/usr/lib/python2.7/site-packages/pyrpkg/init.py", line 420, in load_kojisession self.login_koji_session(koji_config, self._kojisession) File "/usr/lib/python2.7/site-packages/pyrpkg/init.py", line 390, in login_koji_session raise rpkgError('Could not login to %s' % koji_config['server']) pyrpkg.errors.rpkgError: Could not login to https://koji.fedoraproject.org/kojihub
Metadata Update from @smooge: - Issue assigned to smooge
What version of koji and fedpkg are you using? What OS are you using this on? What does klist -a show?
Metadata Update from @smooge: - Issue tagged with: authentication, koji
$ rpm -q koji koji-1.16.2-32.6.el7.noarch
$ rpm -q fedpkg fedpkg-1.28-1.fc24.noarch
$ cat /etc/fedora-release Generic release 24 (Generic)
$ klist -a Ticket cache: KEYRING:persistent:3890:krb_ccache_zejL6xQ Default principal: teigland@FEDORAPROJECT.ORG
A couple of things:
I think you're going to have to fresh install a new fedora system and retry this using the updated packages before anyone should spend time trying to debug the issue you are having.
That's what I feared, I don't have handy access to a new fedora system to run this on. I have a rhel8 test system that I might be able to run this on, are there packages I can install on rhel8 to do this?,
Can you use the version of fedpkg which is in EPEL-7? The one in main is ./7/x86_64/Packages/f/fedpkg-1.37-2.el7.noarch.rpm and the one in testing is ./testing/7/x86_64/Packages/f/fedpkg-1.37-4.el7.noarch.rpm
I managed to get that installed and it's working now, thanks.
Metadata Update from @teigland: - Issue close_status updated to: Fixed - Issue status updated to: Closed (was: Open)
Login to comment on this ticket.