Ask Your Question

Gaurav Jain's profile - activity

2018-06-24 19:27:30 -0500 asked a question Can't create Cinder volume ?

Hi , I am using Ubuntu 16.04 to install openstack. I have 3 VMs on a Host OS and i will be using them as Controller, Compute and Cinder nodes. I have created Controller and Compute nodes using Pike repository on different virtual machines.I am trying to create Cinder block volume on a different virtual machine and there is some error i am encountering

1.Install the supporting utility packages

apt install lvm2 thin-provisioning-tools

This step was successful

I don't have physical storage volume attached to the VM. So trying to use /dev/vda2

fdisk -l

Disk /dev/vda: 214.7 GB, 214748364800 bytes 255 heads, 63 sectors/track, 26108 cylinders, total 419430400 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x0004c692

Device Boot Start End Blocks Id System /dev/vda1 * 2048 417333247 208665600 83 Linux /dev/vda2 417335294 419428351 1046529 5 Extended /dev/vda5 417335296 419428351 1046528 82 Linux swap / Solaris

2 .Create LVM physical volume (on /dev/vda2 as it is Extended Partition)

pvcreate /dev/vda2

Device /dev/vda2 not found (or ignored by filtering).

My question is that how to proceed with Cinder Block installation now. I think that we need a physical volume path with which we can map onto Cinder volume. Something like /dev/sdb or /dev/sdb1. Is there any way out with the current configuration or i need some physical volume or a physical machine ? Or Am i doing something wrong.

Any help will be highly appreciated.

Thanks & Regards,

Gaurav Jain