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

Copr mock config command shouldn't require authentication: #2714

Closed
praiskup opened this issue May 13, 2023 · 1 comment · Fixed by #2722
Closed

Copr mock config command shouldn't require authentication: #2714

praiskup opened this issue May 13, 2023 · 1 comment · Fixed by #2722
Assignees

Comments

@praiskup
Copy link
Member

$ copr mock-config introspect-mock-chroot fedora-rawhide-x86_64 > /tmp/mock.cfg
ERROR: Failed to determine Copr username from authentication.
ERROR: This operation needs a project ownername specified, fallback to your username failed.

Error: Operation requires API authentication. See the 'AUTHENTICATION' section in man copr-cli(1).

Error: Can not get session for https://copr.fedorainfracloud.org cookie via GSSAPI: stepping context failed: Major (458752): No credentials were supplied, or the credentials were unavailable or inaccessible, Minor (2529639053): No Kerberos credentials available (default cache: KEYRING:persistent:1000)

@praiskup
Copy link
Member Author

Nah, I stupidly did not finish the reading of the error message. I tried to self-analyze, and fix the error output(s) so they'd be more obvious, see #2722. Example:

$ copr mock-config introspect-mock-chroot fedora-rawhide-x86_64 
ERROR: Wrong project argument format 'introspect-mock-chroot'.  Please use the full '<owner>/<project>' argument format, or authenticate to use the short '<project>' format (which means '<your_username>/<project>').

Error: Operation requires API authentication. See the 'AUTHENTICATION' section in man copr-cli(1).

Error: Can not get session for https://copr.fedorainfracloud.org cookie via GSSAPI: stepping context failed: Major (851968): Unspecified GSS failure.  Minor code may provide more information, Minor (2529638919): Server krbtgt/FEDORAPROJECT.ORG@REDHAT.COM not found in Kerberos database

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

Successfully merging a pull request may close this issue.

1 participant