Comment 0 for bug 1778465

Revision history for this message
Luca Miccini (lmiccini2) wrote :

see: https://bugzilla.redhat.com/show_bug.cgi?id=1594261

because of https://github.com/openstack/tripleo-heat-templates/blob/stable/pike/docker/services/nova-compute.yaml#L122 at each start nova_compute will traverse recursively /var/lib/nova/ changing the ownership of the root disks (and console.log) of the vms to nova:nova instead of qemu, hence guests will mark their fs read-only.

*before*

# ls -la
total 70652
drwxr-xr-x. 2 42436 42436 4096 Jun 23 17:33 .
drwxr-xr-x. 6 42436 42436 4096 Jun 23 17:32 ..
-rw-------. 1 root root 0 Jun 23 17:33 console.log
-rw-r--r--. 1 qemu qemu 71630848 Jun 23 17:36 disk
-rw-r--r--. 1 qemu qemu 475136 Jun 23 17:33 disk.config
-rw-r--r--. 1 42436 42436 79 Jun 23 17:32 disk.info

*after*

# ls -la
total 70716
drwxr-xr-x. 2 42436 42436 4096 Jun 23 17:33 .
drwxr-xr-x. 6 42436 42436 4096 Jun 23 17:32 ..
-rw-------. 1 42436 42436 0 Jun 23 17:33 console.log
-rw-r--r--. 1 42436 42436 71696384 Jun 23 17:36 disk
-rw-r--r--. 1 42436 42436 475136 Jun 23 17:33 disk.config
-rw-r--r--. 1 42436 42436 79 Jun 23 17:32 disk.info