Ask Your Question

Pazzeo's profile - activity

2017-03-06 12:13:17 -0500 received badge  Famous Question (source)
2017-02-14 06:42:27 -0500 received badge  Notable Question (source)
2017-02-13 17:04:55 -0500 received badge  Popular Question (source)
2017-02-13 01:44:34 -0500 asked a question Attaching volume to instance


I've finished the installation of openstack in the first node, where all services are running.

I'm using centos7 and I installed everything with rdo.

I've configured cinder,glance and nova to use a remote glusterfs filesystem. In the node everything is mounted properly:

cinder: /var/lib/cinder/mnt/9e3fca4e0e8afc61915b53d5c2f9c808
glance: /mnt/gluster/glance
nova: /mnt/gluster/nova

The volume creation is working properly, but the problem is when I'm trying to attach the volume to the instance. The volume is attached properly (no errors) but the instance is not able to power on.

Checking the libvirt.xml, I noticed that the field "source file" is generated wrongly.

source file="/var/lib/nova/mnt/9e3fca4e0e8afc61915b53d5c2f9c808/volume-5d2e5fa7-e6c6-439e-8f0d-b12addcae38c

When it should be

source file="/var/lib/cinder/mnt/9e3fca4e0e8afc61915b53d5c2f9c808/volume-5d2e5fa7-e6c6-439e-8f0d-b12addcae38c

Instead of /var/lib/nova, it should be /var/lib/cinder/.

Could you help me? Please let me know if you need the configuration files.

Thanks in advance Pazzeo