Bug 2252782
| Summary: | "TypeError: can't compare offset-naive and offset-aware datetimes" when awscli2 is fetching credentials via iam-role | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Chris Palmer <chris.palmer> |
| Component: | awscli2 | Assignee: | Nikola Forró <nforro> |
| Status: | CLOSED ERRATA | QA Contact: | |
| Severity: | urgent | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 39 | CC: | davdunc, nforro |
| Target Milestone: | --- | Keywords: | Regression |
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | awscli2-2.15.1-1.fc39 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2023-12-20 01:25:06 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Chris Palmer
2023-12-04 16:37:51 UTC
Thanks for the report. > python3-botocore is 1.31.21-1 on both FC38 & FC39. It is not installed by default on FC39, however manually installing it has no effect. That's expected, aws-cli bundles its own copy of botocore, so python3-botocore is not used. Could you try installing rawhide package [1] to see if it fixes the problem? I believe Python 3.12 issues should be sorted out there. [1] https://koji.fedoraproject.org/koji/buildinfo?buildID=2323310 FEDORA-2023-2f7758fdda has been submitted as an update to Fedora 39. https://bodhi.fedoraproject.org/updates/FEDORA-2023-2f7758fdda I've rebased to the latest upstream version and fixed another bunch of Python 3.12 issues. I believe it should fix also this one, please let me know if it doesn't. FEDORA-2023-2f7758fdda has been pushed to the Fedora 39 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-2f7758fdda` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-2f7758fdda See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. FEDORA-2023-2f7758fdda has been pushed to the Fedora 39 stable repository. If problem still persists, please make note of it in this bug report. |