Project

Profile

Help

Maintenance. Planio will be undergoing a scheduled maintenance this weekend. Between Saturday, July 24 at 9:00 UTC and Sunday, July 25, 22:00 UTC your account might observe occasional downtimes which may last up to several minutes in some cases.

Issue #8926

psycopg2 2.9 is causing database migrations to fial

Added by mdepaulo@redhat.com about 1 month ago. Updated 22 days ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Assignee:
Category:
-
Sprint/Milestone:
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
Platform Release:
OS:
Triaged:
Yes
Groomed:
Yes
Sprint Candidate:
No
Tags:
Sprint:
Sprint 99
Quarter:

Description

During database migrations:

  File "/usr/local/lib/pulp/lib/python3.7/site-packages/django/db/backends/postgresql/utils.py", line 6, in utc_tzinfo_factory
    raise AssertionError("database connection isn't set to UTC")
AssertionError: database connection isn't set to UTC

https://github.com/psycopg/psycopg2/issues/1293

It happens with 2.9 and 2.9.1.

Presumably 2.9.2 will fix it, many projects are affected.

pulp_installer is affected, but only on source (master branch) installs.

I have worked around it in the installer itself with #8925.


Related issues

Related to Pulp - Issue #8925: psycopg2 2.9 is causing pulp_installer source installs to failMODIFIED<a title="Actions" class="icon-only icon-actions js-contextmenu" href="#">Actions</a>

History

#1 Updated by mdepaulo@redhat.com about 1 month ago

  • Groomed changed from No to Yes

#2 Updated by mdepaulo@redhat.com about 1 month ago

  • Related to Issue #8925: psycopg2 2.9 is causing pulp_installer source installs to fail added

#3 Updated by daviddavis about 1 month ago

  • Status changed from NEW to ASSIGNED
  • Assignee set to daviddavis
  • Sprint set to Sprint 99

#4 Updated by daviddavis about 1 month ago

  • Triaged changed from No to Yes

#5 Updated by pulpbot about 1 month ago

  • Status changed from ASSIGNED to POST

#6 Updated by daviddavis about 1 month ago

  • Status changed from POST to MODIFIED

#7 Updated by pulpbot 22 days ago

  • Sprint/Milestone set to 3.14.0

#8 Updated by pulpbot 22 days ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE

Please register to edit this issue

Also available in: Atom PDF