Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 720962 - app-emulation/ganeti-2.15.2-r9: incompatible with dev-python/pyopenssl-19.1.0
Summary: app-emulation/ganeti-2.15.2-r9: incompatible with dev-python/pyopenssl-19.1.0
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Deadline: 2020-09-21
Assignee: Patrick McLean
URL:
Whiteboard:
Keywords: PATCH, PMASKED
Depends on:
Blocks:
 
Reported: 2020-05-04 16:48 UTC by Austin English
Modified: 2020-09-21 07:33 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
patch (ganeti-2.15.2-pyopenssl.patch,948 bytes, patch)
2020-05-04 16:49 UTC, Austin English
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Austin English 2020-05-04 16:48:46 UTC
ganeti-noded fails to start, /var/log/ganeti/node-daemon.log shows:

2020-05-04 16:23:50,173: ganeti-noded pid=6406 ERROR Error while handling request from 10.10.2.41:51840
Traceback (most recent call last):
  File "/usr/share/ganeti/2.15/ganeti/http/server.py", line 594, in _IncomingConnection
    self.request_executor(self, self.handler, connection, client_addr)
  File "/usr/share/ganeti/2.15/ganeti/server/noded.py", line 158, in __init__
    http.server.HttpServerRequestExecutor.__init__(self, *args, **kwargs)
  File "/usr/share/ganeti/2.15/ganeti/http/server.py", line 439, in __init__
    request_msg_reader, force_close)
  File "/usr/share/ganeti/2.15/ganeti/http/__init__.py", line 516, in ShutdownConnection
    write_timeout)
  File "/usr/share/ganeti/2.15/ganeti/http/__init__.py", line 417, in SocketOperation
    if isinstance(sock, OpenSSL.SSL.ConnectionType):

pyopenssl-19.1.0 has a related breaking change:

19.1.0 (2019-11-18)
Backward-incompatible changes:

    Removed deprecated ContextType, ConnectionType, PKeyType, X509NameType, X509ReqType, X509Type, X509StoreType, CRLType, PKCS7Type, PKCS12Type, and NetscapeSPKIType aliases. Use the classes without the Type suffix instead. #814


Reproducible: Always
Comment 1 Austin English 2020-05-04 16:49:58 UTC
Created attachment 635996 [details, diff]
patch

Submitted upstream at https://github.com/ganeti/ganeti/pull/1446
Comment 2 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2020-09-21 07:33:58 UTC
removed.