Bug 1960256

Summary: Synapse fails to start on twisted 21
Product: [Fedora] Fedora Reporter: edd
Component: matrix-synapseAssignee: Dan Callaghan <djc>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 34CC: djc, fedora, somebody
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-07-18 08:17:55 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:
Embargoed:
Attachments:
Description Flags
Traceback none

Description edd 2021-05-13 12:46:28 UTC
Created attachment 1782763 [details]
Traceback

Description of problem:

On twisted 21.2.0-2.fc34, matrix-synapse fails to start.  The version of python3-twisted in the .spec file should probably set to >= 18.9.0, < 21.0.0 until twisted 21 is supported.

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

matrix-synapse 1.26.0-1.fc34
python3-twisted 21.2.0-2.fc34

How reproducible:

Reproduced on x86 and aarch64

Steps to Reproduce:
1. Install packages
2. systemctl start synapse

Actual results:

Service fails to start, with traceback attached.

Expected results:

Service starts successfully.

Additional info:

The problem is resolved if packages python3-twisted-20.3.0-5.fc34 and python3-twisted+tls-20.3.0-5.fc34 are installed instead.

Comment 1 Dan Callaghan 2021-07-18 08:17:55 UTC
This was a bug in python-treq, not in synapse itself.

*** This bug has been marked as a duplicate of bug 1953535 ***