[Bug 2063260] [NEW] ovn-ic: systemd service does not use ovn_ctl_opts

Roberto Bartzen Acosta 2063260 at bugs.launchpad.net
Tue Apr 23 20:48:07 UTC 2024


Public bug reported:

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
"

** Affects: ovn (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to ovn in Ubuntu.
https://bugs.launchpad.net/bugs/2063260

Title:
  ovn-ic: systemd service does not use ovn_ctl_opts

Status in ovn package in Ubuntu:
  New

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
  "

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ovn/+bug/2063260/+subscriptions




More information about the Ubuntu-openstack-bugs mailing list