Skip to content
  • Ning Yao's avatar
    91910d2a
    Fix qemu loading of ceph.conf (permission error) · 91910d2a
    Ning Yao authored
    
    
    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>
    91910d2a
    Fix qemu loading of ceph.conf (permission error)
    Ning Yao authored
    
    
    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>
Loading