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

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.