Project

Profile

Help

Issue #8926

closed

psycopg2 2.9 is causing database migrations to fial

Added by mdepaulo@redhat.com over 3 years ago. Updated over 3 years 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 failMODIFIEDmdepaulo@redhat.comActions
Actions #1

Updated by mdepaulo@redhat.com over 3 years ago

  • Groomed changed from No to Yes
Actions #2

Updated by mdepaulo@redhat.com over 3 years ago

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

Updated by daviddavis over 3 years ago

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

Updated by daviddavis over 3 years ago

  • Triaged changed from No to Yes
Actions #5

Updated by pulpbot over 3 years ago

  • Status changed from ASSIGNED to POST
Actions #6

Updated by daviddavis over 3 years ago

  • Status changed from POST to MODIFIED
Actions #7

Updated by pulpbot over 3 years ago

  • Sprint/Milestone set to 3.14.0
Actions #8

Updated by pulpbot over 3 years ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE

Also available in: Atom PDF