#6114 Unable to login to staging koji with Kerberos
Closed: Fixed 6 years ago Opened 6 years ago by mizdebsk.

It looks like after recent staging Koji sync, login to staging hub started to require production principal - username@FEDORAPROJECT.ORG instead of username@STG.FEDORAPROJECT.ORG

When trying to loging using Koji CLI:

$ stgkoji hi
AuthError: user mizdebsk already associated with other Kerberos principal: mizdebsk@FEDORAPROJECT.ORG

My koji.conf is:

[stgkoji]
server = https://koji.stg.fedoraproject.org/kojihub
weburl = https://koji.stg.fedoraproject.org/koji
topurl = https://koji.stg.fedoraproject.org/
topdir = /mnt/koji
authtype = kerberos
krbservice = host
principal = mizdebsk@STG.FEDORAPROJECT.ORG
keytab = /etc/krb5.keytab
krb_rdns = False
use_fast_upload = yes

The same happens when I try to login using koji-web:

Error
An error has occurred on the main server. This could be a software bug, a server configuration issue, or possibly something else.
AuthError: user mizdebsk already associated with other Kerberos principal: mizdebsk@FEDORAPROJECT.ORG
Full tracebacks disabled

Note that loging using GSSAPI succeeds, but production principal mizdebsk@FEDORAPROJECT.ORG is used instead of staging one.


This should be fixed, and I've also fixed it in the sync script for the future.

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

6 years ago

Confirmed, it's fixed. Thank you.

Login to comment on this ticket.

Metadata