Installation of ovs and ovn from source fails

Bug #1987832 reported by Slawek Kaplonski
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
devstack
Fix Released
High
Slawek Kaplonski

Bug Description

When Devstack installs openvswitch and/or OVN from source, it uses wrong user (stack) as user who starts systemd services. That causes permission errors and ovsdb-server and ovn-controller services can't start.

Additionally, devstack should install libssl dev packages in the system before compilation of ovs if TLS service is enabled. Otherwise OVS is compiled without support for SSL and neutron can't connect to it using SSL protocol.

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

Fix proposed to branch: master
Review: https://review.opendev.org/c/openstack/devstack/+/854770

Changed in devstack:
status: New → In Progress
Changed in devstack:
importance: Undecided → High
assignee: nobody → Slawek Kaplonski (slaweq)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to devstack (master)

Reviewed: https://review.opendev.org/c/openstack/devstack/+/854770
Committed: https://opendev.org/openstack/devstack/commit/3de92db6634a6d1455b7211ec869aed35508c58c
Submitter: "Zuul (22348)"
Branch: master

commit 3de92db6634a6d1455b7211ec869aed35508c58c
Author: Slawek Kaplonski <email address hidden>
Date: Fri Aug 26 12:58:29 2022 +0200

    Fix installation of OVS/OVN from sources

    This patch changes user who runs ovsdb-server and ovn-nortd services
    to root.
    It also adds installation of the libssl dev package before compilation
    of the openvswitch if TLS service is enabled.

    Co-Authored-By: Fernando Royo <email address hidden>

    Closes-Bug: #1987832
    Change-Id: I83fc9250ae5b7c1686938a0dd25d66b40fc6c6aa

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

Fix proposed to branch: stable/yoga
Review: https://review.opendev.org/c/openstack/devstack/+/882529

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to devstack (stable/xena)

Fix proposed to branch: stable/xena
Review: https://review.opendev.org/c/openstack/devstack/+/882770

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on devstack (stable/wallaby)

Change abandoned by "yatin <email address hidden>" on branch: stable/wallaby
Review: https://review.opendev.org/c/openstack/devstack/+/887790
Reason: Atleast not required for CI, and not kind of general use case for stable/wallay

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.