Comment 4 for bug 1797448

Revision history for this message
Andreas Merk (amerk) wrote :

kolla-ansible missing things (not all have solution yet):
We require a similar configuration like nova-compute. Please add following lines in "ansible/roles/zun/defaults/main.yml":
zun_services:
  zun-compute:
    volumes:
      - "/lib/modules:/lib/modules:ro"
      - "/dev:/dev"
      - "{% if enable_iscsid | bool %}iscsi_info:/etc/iscsi{% endif %}"
Last line is not tested yet. But could be required if another storage than ceph is used.
Further we need in the container under /etc/ceph:
ceph.conf
ceph.client.cinder.keyring

Additional we have to deal ceph features which are behind in the linux kernel, compared to libceph in kvm/qemu. I had to disable ceph rbd feature by setting "rbd_default_features = 7" in the /etc/ceph/ceph.conf in the cinder-volume container. But this has also now a negative impact for all created ceph volumes.