charm-nova-compute/templates/99-mount.conf
James Page af2e403625 Block nova-compute startup on mountpoint
If an ephemeral-device storage configuration has been provided,
ensure that the nova-compute service will not start until the
mountpoint (currently /var/lib/nova/instances) has actually
been mounted.  If this does not happen the nova-compute service
will fail to start in a failsafe condition.

Change-Id: Ic16691e119e430faec9994f6e207596629e47bb6
Closes-Bug: 1863358
2021-09-16 09:22:27 +01:00

3 lines
69 B
Plaintext

[Unit]
Requires={{ mount_point }}.mount
After={{ mount_point }}.mount