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

Launchpad Bug Tracker 2063260 at bugs.launchpad.net
Tue Apr 23 21:35:45 UTC 2024


** Merge proposal linked:
   https://code.launchpad.net/~rbartzen/ubuntu/+source/ovn/+git/ovn/+merge/464859

-- 
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