ovn-ic: systemd service does not use ovn_ctl_opts

Bug #2063260 reported by Roberto Bartzen Acosta
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ovn (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

The ovn-ic.service script doesn't use OVN_CTL_OPTS from environment file.

This way, we won't be able to start the daemon automatically by loading configurations via file, just like ovn-ic-db service already does.

The idea to solve the problem would be to add the EnvironmentFile=-/etc/default/ovn-ic to the ovn-ic.service and add the opts when starting the daemon via ovn-ctl.

e.g.: /etc/default/ovn-ic file

OVN_CTL_OPTS="
--ovn-ic-nb-db=tcp:172.30.40.5:6645 \
--ovn-ic-sb-db=tcp:172.30.40.5:6646 \
--ovn-northd-nb-db=tcp:172.30.40.65:6641 \
--ovn-northd-sb-db=tcp:172.30.40.65:6642
"

Related branches

Revision history for this message
Lukas Märdian (slyon) wrote :
Revision history for this message
Lukas Märdian (slyon) wrote :

Sponsored a "maysync1" upload that will be replaced by the next Debian upload: https://launchpad.net/ubuntu/+source/ovn/24.03.2-2maysync1

Changed in ovn (Ubuntu):
status: New → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ovn - 24.03.2-2maysync1

---------------
ovn (24.03.2-2maysync1) oracular; urgency=medium

  [ Roberto Bartzen Acosta ]
  * Fix ovn-ic.service systemd script (LP: #2063260)

 -- Lukas Märdian <email address hidden> Tue, 04 Jun 2024 16:27:14 +0200

Changed in ovn (Ubuntu):
status: Fix Committed → Fix Released
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.