how to setup local.conf for cinder with multinode devstack

asked 2015-10-30 19:16:40 -0500

GSCORREA gravatar image

I have 2 nodes on my multimode devstack.

My first node is the controller and I do not wantr use its local storage. My second node is the compute node and I have a VG of 689 GB name VOLUMES4CLOUDVMS.

How do I setup the controller and compute local.conf to have a total of 689GB available to be used in my environment.

Right now I did setup the controller and did not enable c-vol and on the compute I did enable c-vol and set the following.

VOLUME_GROUP="VOLUMES4CLOUDVMS" VOLUME_NAME_PREFIX="CLOUD_" VOLUME_BACKING_FILE_SIZE=689G

The vg on the compute shows. --- Volume group --- VG Name VOLUMES4CLOUDVMS System ID Format lvm2 Metadata Areas 3 Metadata Sequence No 2 VG Access read/write VG Status resizable MAX LV 0 Cur LV 0 Open LV 0 Max PV 0 Cur PV 3 Act PV 3 VG Size 689.01 GiB PE Size 4.00 MiB Total PE 176387 Alloc PE / Size 0 / 0 Free PE / Size 176387 / 689.01 GiB VG UUID OH9QCp-L2Vl-5vMv-7MVc-grJl-hLq8-w2mjvQ

--- Volume group --- VG Name VOLUMES4CLOUDVMS-lvmdriver-1 System ID Format lvm2 Metadata Areas 1 Metadata Sequence No 1 VG Access read/write VG Status resizable MAX LV 0 Cur LV 0 Open LV 0 Max PV 0 Cur PV 1 Act PV 1 VG Size 689.00 GiB PE Size 4.00 MiB Total PE 176383 Alloc PE / Size 0 / 0 Free PE / Size 176383 / 689.00 GiB VG UUID 5kKM3w-Bn4l-a9nF-eKlE-WSLJ-1FW9-SR5QDC

--- Volume group --- VG Name VOLUMES4CLOUDVMS-default System ID Format lvm2 Metadata Areas 1 Metadata Sequence No 1 VG Access read/write VG Status resizable MAX LV 0 Cur LV 0 Open LV 0 Max PV 0 Cur PV 1 Act PV 1 VG Size 689.00 GiB PE Size 4.00 MiB Total PE 176383 Alloc PE / Size 0 / 0 Free PE / Size 176383 / 689.00 GiB VG UUID dJ1ZRC-OU0J-IhVg-60fh-COme-8JMR-XchpwA

But horizon shows 114GB available on the controller node and 114GB available on the compute node when I wanted it to show only 689GB on the compute node.

edit retag flag offensive close merge delete