[ovs-git] [openvswitch/ovs] 93ac0b: ovs-ctl.in: Call 'hostname -f' after vswitchd star...
GitHub
noreply at github.com
Sat Oct 7 02:38:04 UTC 2017
Branch: refs/heads/branch-2.7
Home: https://github.com/openvswitch/ovs
Commit: 93ac0b6205d34c3ceb78790e51cd692e7b2893a7
https://github.com/openvswitch/ovs/commit/93ac0b6205d34c3ceb78790e51cd692e7b2893a7
Author: Gurucharan Shetty <guru at ovn.org>
Date: 2017-10-06 (Fri, 06 Oct 2017)
Changed paths:
M utilities/ovs-ctl.in
Log Message:
-----------
ovs-ctl.in: Call 'hostname -f' after vswitchd starts.
Currently we call 'hostname -f' when ovs-vswitchd is not
running. If you are using ovs-vswitchd to provide your
primary networking, then 'hostname -f' will "hang" till it
times out. On the system this issue was discovered, this was
as long as 40 seconds. This is a problem during OVS restarts
or upgrades.
This commit calls 'hostname -f' after ovs-vswitchd has started.
VMware-BZ: #1972026
Signed-off-by: Gurucharan Shetty <guru at ovn.org>
Acked-by: Ben Pfaff <blp at ovn.org>
Commit: 53f34e577fc0898bc6fd4608a4407cdafc97b6ec
https://github.com/openvswitch/ovs/commit/53f34e577fc0898bc6fd4608a4407cdafc97b6ec
Author: Gurucharan Shetty <guru at ovn.org>
Date: 2017-10-06 (Fri, 06 Oct 2017)
Changed paths:
M rhel/etc_init.d_openvswitch
Log Message:
-----------
rhel: Skip systemctl redirect.
We still use SysV scripts for RHEL. Currently, invoking
/etc/init.d/openvswitch will redirect the calls to
dynamically generated systemd scripts. In the above case when you call
"/etc/init.d/openvswitch-switch start", it inturn calls
"/bin/systemctl start openvswitch-switch.service" and
that inturn again calls "/etc/init.d/openvswitch-switch start"
This patch avoids it. This is similar to what was done to
Debian in commit 873d85653d8 (debian: Skip systemctl redirect.)
Signed-off-by: Gurucharan Shetty <guru at ovn.org>
Acked-by: Ben Pfaff <blp at ovn.org>
Compare: https://github.com/openvswitch/ovs/compare/d9e48c813186...53f34e577fc0
More information about the git
mailing list