Bug 2080745 - bugzilla login does not work during fedora-create-review
Summary: bugzilla login does not work during fedora-create-review
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: fedora-review
Version: 35
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Neal Gompa
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-05-01 13:32 UTC by Petr Menšík
Modified: 2022-09-12 17:38 UTC (History)
5 users (show)

Fixed In Version: fedora-review-0.9.0-1.fc36 fedora-review-0.9.0-1.fc35 fedora-review-0.9.0-1.fc37
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-08-24 20:31:30 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Petr Menšík 2022-05-01 13:32:45 UTC
Description of problem:
It seems bugzilla now accepts ONLY API keys. But fedora-create-review still asks for username and password, just to fail if they are correct.

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1. fedora-create-review *.spec *.src.rpm 
2.
3.

Actual results:
$ fedora-create-review *.spec *.src.rpm 
INFO: Using RHBugzilla for URL containing .redhat.com
Refreshing Kerberos ticket
Starting scratch build
Uploading files into fedorapeople
Creating review
<Fault 410: 'You must log in before using this part of Red Hat Bugzilla.'>
Bugzilla username: pemensik
Password: 
INFO: login succeeded for user=pemensik
Creating review
<Fault Client: "Application failed during request deserialization: 32000: The method 'Bug.get' is not supported without using API keys and the the authentication header. See https://bugzilla.redhat.com/docs/en/html/api/core/v1/general.html#authentication for details on using the 'Authorization' header. at /usr/share/perl5/vendor_perl/SOAP/Lite.pm line 2855.\n">


Expected results:
It either asks directly for API key only or fails before requesting bugzilla username.

Additional info:

Comment 1 Petr Menšík 2022-05-01 13:40:45 UTC
Once I filled API key according to man page, I got just different error:

Starting scratch build
<Fault Client: "Application failed during request deserialization: 32000: You have attempted to access the API either using an unsupported method or using one or more unsupported parameters. You must use the 'Authorization' header to authenticate to the API and you must remove all unsupported parameters from the query. The unsupported parameters are: Bugzilla_login, Bugzilla_password, Bugzilla_token, Bugzilla_api_key. See https://bugzilla.redhat.com/docs/en/html/api/core/v1/general.html#authentication for details on using the 'Authorization' header. at /usr/share/perl5/vendor_perl/SOAP/Lite.pm line 2855.\n">

Comment 2 Fedora Update System 2022-08-23 22:25:17 UTC
FEDORA-2022-066e6cd201 has been submitted as an update to Fedora 37. https://bodhi.fedoraproject.org/updates/FEDORA-2022-066e6cd201

Comment 3 Fedora Update System 2022-08-23 22:25:19 UTC
FEDORA-2022-0d1406157f has been submitted as an update to Fedora 35. https://bodhi.fedoraproject.org/updates/FEDORA-2022-0d1406157f

Comment 4 Fedora Update System 2022-08-23 22:25:20 UTC
FEDORA-2022-ec5866e395 has been submitted as an update to Fedora 36. https://bodhi.fedoraproject.org/updates/FEDORA-2022-ec5866e395

Comment 5 Fedora Update System 2022-08-24 18:44:38 UTC
FEDORA-2022-066e6cd201 has been pushed to the Fedora 37 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2022-066e6cd201`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-066e6cd201

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 6 Fedora Update System 2022-08-24 20:31:30 UTC
FEDORA-2022-ec5866e395 has been pushed to the Fedora 36 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 7 Fedora Update System 2022-08-25 07:48:28 UTC
FEDORA-2022-0d1406157f has been pushed to the Fedora 35 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 8 Fedora Update System 2022-09-12 17:38:20 UTC
FEDORA-2022-066e6cd201 has been pushed to the Fedora 37 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.