dlopen(None) does not work on Windows

Bug #1788025 reported by Claudiu Belu
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
oslo.privsep
Fix Released
High
Claudiu Belu

Bug Description

dlopen(None) cannot work on Windows and it is a known issue [1]. Because of this [2], the nova-compute service cannot start on Windows if python 3.5 or newer is ussed.

[1] https://bugs.python.org/issue23606
[2] https://github.com/openstack/oslo.privsep/blob/b0330573727cc29186cb8fcf1014a60afd0cc13a/oslo_privsep/capabilities.py#L111

Logs: http://paste.openstack.org/show/728458/

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to oslo.privsep (master)

Fix proposed to branch: master
Review: https://review.openstack.org/594089

Changed in oslo.privsep:
assignee: nobody → Claudiu Belu (cbelu)
status: New → In Progress
Ben Nemec (bnemec)
Changed in oslo.privsep:
importance: Undecided → High
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to oslo.privsep (master)

Reviewed: https://review.openstack.org/594089
Committed: https://git.openstack.org/cgit/openstack/oslo.privsep/commit/?id=b1f50df3b1cde1b8c770d810e201077aa1bec921
Submitter: Zuul
Branch: master

commit b1f50df3b1cde1b8c770d810e201077aa1bec921
Author: Claudiu Belu <email address hidden>
Date: Sun Aug 19 03:55:30 2018 -0700

    Avoids calling ffi.dlopen(None) on Windows

    ffi.dlopen(None) cannot work on Windows and it is a
    known issue [1]. This patch avoids this call on Windows
    hosts.

    [1] https://bugs.python.org/issue23606

    Change-Id: I44436146cdc402087f33f4b99054176134ec5b81
    Closes-Bug: #1788025

Changed in oslo.privsep:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to oslo.privsep (stable/rocky)

Fix proposed to branch: stable/rocky
Review: https://review.openstack.org/596762

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to oslo.privsep (stable/rocky)

Reviewed: https://review.openstack.org/596762
Committed: https://git.openstack.org/cgit/openstack/oslo.privsep/commit/?id=f7ba0aa49a35bcb1e6c67dbe3dc22cf33ccc436b
Submitter: Zuul
Branch: stable/rocky

commit f7ba0aa49a35bcb1e6c67dbe3dc22cf33ccc436b
Author: Claudiu Belu <email address hidden>
Date: Sun Aug 19 03:55:30 2018 -0700

    Avoids calling ffi.dlopen(None) on Windows

    ffi.dlopen(None) cannot work on Windows and it is a
    known issue [1]. This patch avoids this call on Windows
    hosts.

    [1] https://bugs.python.org/issue23606

    Change-Id: I44436146cdc402087f33f4b99054176134ec5b81
    Closes-Bug: #1788025
    (cherry picked from commit b1f50df3b1cde1b8c770d810e201077aa1bec921)

tags: added: in-stable-rocky
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/oslo.privsep 1.29.1

This issue was fixed in the openstack/oslo.privsep 1.29.1 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/oslo.privsep 1.30.0

This issue was fixed in the openstack/oslo.privsep 1.30.0 release.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.