Make sure libvirt guests shut down before network
Make tripleo_nova_libvirt_guests service requiring network-online.target
so that network won't get off until instances are (gracefully) shutdown.
Change-Id: I9b426fad3722ae2f395624d86d704b60e9fa5e7a
Related: rhbz#2031124
Signed-off-by: Bogdan Dobrelya <bdobreli@redhat.com>
(cherry picked from commit b4a9058b86
)
This commit is contained in:
parent
7a9299c313
commit
13ad12e7bb
|
@ -1110,6 +1110,7 @@ outputs:
|
|||
Description=Suspend libvirt Guests in tripleo
|
||||
Requires=virt-guest-shutdown.target
|
||||
After=systemd-machined.service
|
||||
After=network-online.target
|
||||
After=tripleo_nova_libvirt.service
|
||||
Before=tripleo_nova_compute.service
|
||||
Documentation=man:libvirtd(8)
|
||||
|
|
Loading…
Reference in New Issue