| Summary: | Fedpkg fails with: Unable to create update. Authentication required | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Michal Minar <miminar> |
| Component: | bodhi | Assignee: | Luke Macken <lewk> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 26 | CC: | arapov, bochecha, cqi, dennis, jeremy, lewk, lsedlar, pbabinca, randy, rjones, s |
| Target Milestone: | --- | Keywords: | Reopened |
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2017-06-26 15:28:37 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
This message is a reminder that Fedora 23 is nearing its end of life. Approximately 4 (four) weeks from now Fedora will stop maintaining and issuing updates for Fedora 23. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as EOL if it remains open with a Fedora 'version' of '23'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version. Thank you for reporting this issue and we are sorry that we were not able to fix it before Fedora 23 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged change the 'version' to a later Fedora version prior this bug is closed as described in the policy above. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete. fedpkg run bodhi CLI to create update, of course you have to configure bodhi well including the authentication. I think the output tells you why it fails, Authentication required.
Just try the command directly,
bodhi --new --release f22 --file bodhi.template hwdata-0.288-1.fc22 --username miminar
and solve any issues that are related to the authentication by Bodhi service.
Fedora 23 changed to end-of-life (EOL) status on 2016-12-20. Fedora 23 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug. If you can reproduce this bug against a currently maintained version of Fedora please feel free to reopen this bug against that version. If you are unable to reopen this bug, please file a new report against the current release. If you experience problems, please add a comment to this bug. Thank you for reporting this bug and we are sorry it could not be fixed. How do you actually fix this bug? It still fails in exactly the way described with fedpkg-1.26-5.fc25.noarch bodhi-client-0.9.12.2-6.fc25.noarch Also broken with: fedpkg-1.28-1.fc26.noarch bodhi-client-2.4.0-1.fc26.noarch Reassigning to Bodhi component. Fedpkg does not do any authentication, it just calls bodhi command and that fails. Can this be reproduced with python-fedora-0.9.0-3.fc26 and bodhi-2.8.1-1.fc26? I think those should fix this. It is working today with: python-fedora-0.9.0-3.fc26.noarch bodhi-client-2.7.0-1.fc26.noarch Thanks Richard! |
Description of problem: This was a one time issue. I did an update of hwdata for fedora 23 successfully. Then I switched branch to f22 branch and issued `fedpkg update`. It terminated with exception below. I retried after 5 seconds without any change to configs, or source code and it succeeded. Version-Release number of selected component (if applicable): fedpkg-1.22-3.fc23.noarch How reproducible: Occasionally Steps to Reproduce: 1. fedpkg update Actual results: No handlers could be found for logger "fedora.client.bodhi" Creating a new update for hwdata-0.288-1.fc22 Traceback (most recent call last): File "/usr/bin/bodhi", line 537, in <module> main() File "/usr/bin/bodhi", line 225, in main data = bodhi.save(**update_args) File "/usr/lib/python2.7/site-packages/fedora/client/bodhi.py", line 96, in wrapper raise BodhiClientException(problems) fedora.client.bodhi.BodhiClientException: Unable to create update. Authentication required Could not generate update request: Command 'bodhi --new --release f22 --file bodhi.template hwdata-0.288-1.fc22 --username miminar' returned non-zero exit status 1 Expected results: No handlers could be found for logger "fedora.client.bodhi" Creating a new update for hwdata-0.288-1.fc22 ================================================================================ hwdata-0.288-1.fc22 ================================================================================ Update ID: FEDORA-2016-695843b69a Release: Fedora 22 Status: pending Type: enhancement Karma: 0 Request: testing Notes: Updated pci, usb and vendor ids. ---- Updated pci, usb and vendor : ids. Submitter: miminar Submitted: 2016-04-18 13:30:23 Comments: bodhi - 2016-04-18 13:30:23 (karma 0) This update has been submitted for testing by miminar. bodhi - 2016-04-18 13:30:30 (karma 0) This update has obsoleted [hwdata-0.287-1.fc22](https: //bodhi.fedoraproject.org/updates/FEDORA-2016-fe22f37f ba), and has inherited its bugs and notes. https://bodhi.fedoraproject.org/updates/FEDORA-2016-695843b69a