Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GenericError: Invalid method: krb_login #549

Closed
romulasry opened this issue Feb 3, 2023 · 6 comments · Fixed by #551
Closed

GenericError: Invalid method: krb_login #549

romulasry opened this issue Feb 3, 2023 · 6 comments · Fixed by #551
Labels

Comments

@romulasry
Copy link

Scratch build failed. Details below:

GenericError: Invalid method: krb_login
Traceback:
File "/usr/local/lib/python3.10/site-packages/hotness/use_cases/package_scratch_build_use_case.py", line 56, in build
result = self.builder.build(request.package, request.opts)
File "/usr/local/lib/python3.10/site-packages/hotness/builders/koji.py", line 195, in build
session = self._session_maker()
File "/usr/local/lib/python3.10/site-packages/hotness/builders/koji.py", line 422, in _session_maker
result = koji_session.krb_login(
File "/usr/lib/python3.10/site-packages/koji/init.py", line 2362, in call
return self.__func(self.__name, args, opts)
File "/usr/lib/python3.10/site-packages/koji/init.py", line 2874, in _callMethod
raise err

If you think this issue is caused by some bug in the-new-hotness, please report it on the-new-hotness issue tracker: https://github.com/fedora-infra/the-new-hotness/issues

@Zlopez
Copy link
Contributor

Zlopez commented Feb 6, 2023

Could you provide the bugzilla ticket as well?

@romulasry
Copy link
Author

Could you provide the bugzilla ticket as well?

https://bugzilla.redhat.com/show_bug.cgi?id=1976751#c12

@penguinpee
Copy link

I'm experiencing the same issue (https://bugzilla.redhat.com/show_bug.cgi?id=2167997) and @rathann reported in #fedora-devel having seen several as well.

@Zlopez Zlopez added the type.bug label Feb 8, 2023
@Zlopez
Copy link
Contributor

Zlopez commented Feb 8, 2023

From first glance, it seems that there was something changed in koji library, I will try to investigate more and probably fix this today.

Zlopez added a commit to Zlopez/the-new-hotness that referenced this issue Feb 8, 2023
Koji library removed krb_login method [3 months
ago](https://pagure.io/koji/c/21c8c0f68125a2ef5385fd99efc0150e29b1c704?branch=master)
and left gssapi_login method instead. Unfortunately this caused hotness to start
failing on scratch builds.

Fixes fedora-infra#549

Signed-off-by: Michal Konečný <mkonecny@redhat.com>
Zlopez added a commit that referenced this issue Feb 8, 2023
Koji library removed krb_login method [3 months
ago](https://pagure.io/koji/c/21c8c0f68125a2ef5385fd99efc0150e29b1c704?branch=master)
and left gssapi_login method instead. Unfortunately this caused hotness to start
failing on scratch builds.

Fixes #549

Signed-off-by: Michal Konečný <mkonecny@redhat.com>
@Zlopez
Copy link
Contributor

Zlopez commented Feb 8, 2023

This fix is now deployed on production.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants