Ask Your Question
0

Add volumen group in cinder

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

amfgomez gravatar image

Hello

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: https://docs.openstack.org/cinder/pike/admin/blockstorage-multi-backend.html#enable-multiple-storage-back-ends (https://docs.openstack.org/cinder/pik...) https://docs.openstack.org/mitaka/install-guide-rdo/cinder-storage-install.html (https://docs.openstack.org/mitaka/ins...) https://docs.openstack.org/cinder/pike/admin/blockstorage-multi-backend.html#top (https://docs.openstack.org/cinder/pik...)

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

Comments

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 -0500 )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 -0500 )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 -0500 )edit

1 answer

Sort by » oldest newest most voted
0

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

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/manager.py", line 1828, in _do_build_and_run_instance filter_properties, request_spec) File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 2050, in _build_and_run_instance bdms=block_device_mapping) File "/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 220, in __exit__ self.force_reraise() File "/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 196, in force_reraise six.reraise(self.type_, self.value, self.tb) File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 2002, in _build_and_run_instance block_device_mapping) as resources: File "/usr/lib64/python2.7/contextlib.py", line 17, in __enter__ return self.gen.next() File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 2212, in _build_resources reason=e.format_message())

Can someone help me??

edit flag offensive delete link more

Comments

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 -0500 )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 -0500 )edit

why does openstack not create the instance?

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

I am going to try eblock solution

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

eblock solutions does not work

amfgomez gravatar imageamfgomez ( 2019-02-26 08:24:37 -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

Stats

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

Seen: 33 times

Last updated: Feb 26