Hmmm... I might be leading you astray there... after I created that file I did get /var/lock/nova but looking into the code, tmpfiles already exists for this under /etc/tmpfiles.d/openstack-nova-compute.conf and is correctly configured.
I also noticed that /var/lock/nova-compute is created, which is also specified in that file.
For me, I noticed after a reboot that cinder failed (due to not waiting for /openstack) and libvirtd had also failed and because libvirtd failed so had nova-compute... I fixed those up at the same time, so I wonder if it was working all along but it was cleaned up when nova-compute was just cleaning up after itself.
Hmmm... I might be leading you astray there... after I created that file I did get /var/lock/nova but looking into the code, tmpfiles already exists for this under /etc/tmpfiles. d/openstack- nova-compute. conf and is correctly configured.
I also noticed that /var/lock/ nova-compute is created, which is also specified in that file.
For me, I noticed after a reboot that cinder failed (due to not waiting for /openstack) and libvirtd had also failed and because libvirtd failed so had nova-compute... I fixed those up at the same time, so I wonder if it was working all along but it was cleaned up when nova-compute was just cleaning up after itself.
I need to dig into this a little more...