Ask Your Question

openstack doesnt show the right storage space lvm

asked 2017-12-21 11:20:19 -0500

Mimi gravatar image

updated 2017-12-22 01:07:29 -0500


I have a production rdo openstack configuration with two nodes and everything works smoothly as should. My node configuration per server has a two logical volumes

--vg0 110GB root centos volume group
--cinder-volumes 300 GB not mounted (vm pools)

The openstack under hypervizor shows a storage of 186GB which I think it is from the both root volume groups. This is wrong since the vm's I'm sure are allocated at the cinder-volumes (I can check the usage - openstack is aware only for the root lvm and not the cinder-volumes lvm).

My problem is that I can not create more VM's if I exceed the 90GB storage allocation per node and for this reason I can not allocate and utilize the server in maximum.

The server is in production and I have not so many option to operate with so, please could anybody give me a suggestion or clue why this is happening.

Regards, shkumbini

edit retag flag offensive close merge delete


there is option for project quota, try changing values there which can be helpful.

TijoV gravatar imageTijoV ( 2018-01-29 01:44:39 -0500 )edit

1 answer

Sort by ยป oldest newest most voted

answered 2018-01-28 02:24:50 -0500

tshefi gravatar image

Hi Shkumbini, Missing some background info, if you can share it might help answer your issue. 1. Which openstack version did you install? 2. Which deployment tool Openstack Director or Packstack? 3. Can you share cinder.conf / Nova.conf ? 4. Your VMs are they Nova ephemeral backed on Cinder backed?

The openstack under hypervizor shows a storage of 186GB which I think it is from the both root volume groups. Not sure I follow, but under cinder.conf

CONFIG_CINDER_VOLUME_NAME=cinder-volume -> default Cinder LVM VG, what does your say? This is/should be the only place Cinder carves out volumes from. You can't use LVM with two separated VGs, unless you configured dual LVM backends, but again I don't see Cinder.conf.

When you mention boot more VM's are these regular/default ephemeral disk Nova backed VM, Or Cinder backed boot volume instances?

By default Nova boot will bring up a VM and it's disk will reside here: /var/lib/nova/instances root VG, your case vg0 110GB.

Unless Cinder backed boot volume which would consume space on cinder-volumes vg 300 GB.


edit flag offensive delete link more


@tshefi. Thanks for the reply. Your answer is very close to what I'm asking so I'll come with the an update and explain in detail the situation (sorry I was not for a while in the forum).

Mimi gravatar imageMimi ( 2018-02-04 15:23:26 -0500 )edit


/dev/mapper/vg0-root 94G 17G 72G 20% /

cinder-volumes 1 3 0 wz--n- 336.50g 184.50g (unmounted) ubuntu-vg 2 3 0 wz--n- 31.52g 36.00m (I dont know why I have this VM vg here) vg0 1 4 0 wz--n- 109.93g 0 (the root vg)

Mimi gravatar imageMimi ( 2018-02-04 15:44:39 -0500 )edit

[lvm] volume_backend_name=lvm volume_driver=cinder.volume.drivers.lvm.LVMVolumeDriver iscsi_ip_address=94.xx.xx.xx iscsi_helper=lioadm volumes_dir=/var/lib/cinder/volumes As I remember it is Packstack Mitaka (configure on a server with on single interface available very interesting configuration).

Mimi gravatar imageMimi ( 2018-02-04 15:47:43 -0500 )edit

The same configuration it is on the node02. The cinder volume was created on the installation process and I think here is the mass because I didnt changed anything for the cinder on answer file.

Mimi gravatar imageMimi ( 2018-02-04 15:49:34 -0500 )edit

I don't have a answer for your question 4.

Mimi gravatar imageMimi ( 2018-02-04 16:01:57 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2017-12-21 11:20:19 -0500

Seen: 50 times

Last updated: Jan 28