Ask Your Question

Add volumen group in cinder

asked 2019-02-25 09:37:14 -0600

amfgomez gravatar image


I have installed PACKSTACK queens version in two servers with the time the memory is low and I have added more memory to the servers.

I have followed this documentations: ( ( (

In Horizon, the hipervisor have not updated the local storage parameter.

How can I add news HDD to my openstack (Packstack queens version)? Thank you very muchs. Best regard.

edit retag flag offensive close merge delete


Do you want to increase volume storage or hypervisor storage? Or both?

By default (and I think Packstack uses the default), hypervisor storage is under /var/lib/nova/instances on compute nodes. If you don't add storage there, it has no effect on the hypervisor.

Bernd Bausch gravatar imageBernd Bausch ( 2019-02-25 17:12:31 -0600 )edit

I have added 16 TB of physical memory, I want the openstack to recognise this capacity in hypervisor. because I need to create a virtual disk 1TB of capacity

amfgomez gravatar imageamfgomez ( 2019-02-26 05:39:54 -0600 )edit

Could I create a /dev/loop partitions on the DISK? or you recommend another solution better

amfgomez gravatar imageamfgomez ( 2019-02-26 05:43:37 -0600 )edit

1 answer

Sort by » oldest newest most voted

answered 2019-02-26 06:41:45 -0600

amfgomez gravatar image

I have mounted the HDD in /var/lib/nova/instances. The hipervisor shows the expected local storage space. 2TB to 30TB

I have tried to create an instance and I got the next error:

Mensaje Build of instance 1ad33da4-b874-4acb-b27d-6a1adcbf393b aborted: Volume a7ce159d-ac9c-4d57-a068-0a972b85cc14 did not finish being created even after we waited 12 seconds or 5 attempts. And its status is error.

Código 500

Detalles File "/usr/lib/python2.7/site-packages/nova/compute/", line 1828, in _do_build_and_run_instance filter_properties, request_spec) File "/usr/lib/python2.7/site-packages/nova/compute/", line 2050, in _build_and_run_instance bdms=block_device_mapping) File "/usr/lib/python2.7/site-packages/oslo_utils/", line 220, in __exit__ self.force_reraise() File "/usr/lib/python2.7/site-packages/oslo_utils/", line 196, in force_reraise six.reraise(self.type_, self.value, self.tb) File "/usr/lib/python2.7/site-packages/nova/compute/", line 2002, in _build_and_run_instance block_device_mapping) as resources: File "/usr/lib64/python2.7/", line 17, in __enter__ return File "/usr/lib/python2.7/site-packages/nova/compute/", line 2212, in _build_resources reason=e.format_message())

Can someone help me??

edit flag offensive delete link more


This instance has a volume as storage, and this volume is not created in time or not at all. Check the Cinder logs.

By the way, you have a better chance getting answers when you create a new question instead of an answer to an old question.

Bernd Bausch gravatar imageBernd Bausch ( 2019-02-26 07:45:25 -0600 )edit

Try to increase the volume creation timeouts in nova.conf (compute), the default won't suffice for such large volumes. Check the values for block_device_allocate_retries, block_device_allocate_retries_interval and block_device_creation_timeout. Increase them and restart the nova compute.

eblock gravatar imageeblock ( 2019-02-26 08:04:36 -0600 )edit

why does openstack not create the instance?

amfgomez gravatar imageamfgomez ( 2019-02-26 08:17:03 -0600 )edit

I am going to try eblock solution

amfgomez gravatar imageamfgomez ( 2019-02-26 08:17:47 -0600 )edit

eblock solutions does not work

amfgomez gravatar imageamfgomez ( 2019-02-26 08:24:37 -0600 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2019-02-25 09:37:14 -0600

Seen: 158 times

Last updated: Feb 26 '19