Skip to content
Snippets Groups Projects
Commit 91910d2a authored by Ning Yao's avatar Ning Yao Committed by Radosław Piliszek
Browse files

Fix qemu loading of ceph.conf (permission error)


ceph.conf is loaded by qemu, not libvirt.
Since qemu runs as the nova user, ceph.conf owned by root
causes a permission error. The logs in
/var/log/libvirt/qemu/instance-*.log reveal the error.

This change fixes the issue by changing the ownership of ceph.conf
in nova-libvirt to the nova user.

Closes-Bug: #1861513
Change-Id: I1881f51a6c8508f0f186a5623443343dc1df41d4
Signed-off-by: default avatarNing Yao <yaoning@unitedstack.com>
parent a4e7a13a
No related branches found
No related tags found
No related merge requests found
......@@ -52,7 +52,7 @@
{
"source": "{{ container_config_directory }}/ceph.conf",
"dest": "/etc/ceph/ceph.conf",
"owner": "root",
"owner": "nova",
"perm": "0600"
}{% endif %}
]
......
---
fixes:
- |
Fix qemu loading of ceph.conf (permission error).
`LP#1861513 <https://launchpad.net/bugs/1861513>`
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment