Ask Your Question
0

devstack installation cinder:create_volume_types error

asked 2018-08-02 09:04:01 -0600

rapw3k gravatar image

Hi, I am trying to install devstack in a fresh VM but it fails towards the end of the stack.sh script when trying to start cinder. I tried following the steps in

docs.openstack.org/devstack/latest/ and

docs.openstack.org/devstack/latest/guides/single-vm.html and

w....mirantis.com/blog/how-to-install-openstack-on-your-local-machine-using-devstack/

Can someone give me some help/ideas? (disclaimer: I am not experienced in openstack )

VM OS: Ubuntu Server 16.04 LTS. The local.conf from the last attempt:

[[local|localrc]]
ADMIN_PASSWORD=secret
DATABASE_PASSWORD=$ADMIN_PASSWORD
RABBIT_PASSWORD=$ADMIN_PASSWORD
SERVICE_PASSWORD=$ADMIN_PASSWORD
HOST_IP=a.b.c.d
RECLONE=yes
LOGFILE=/opt/stack/devstack/stack.sh.log

The summary log is as follows:

2018-08-02 10:18:38.211 | stack.sh log /opt/stack/devstack/stack.sh.log.2018-08-02-101838
2018-08-02 10:18:43.888 | Installing package prerequisites
2018-08-02 10:26:11.841 | Starting RabbitMQ
2018-08-02 10:28:23.683 | Installing OpenStack project source
2018-08-02 10:38:27.496 | Installing Tempest
2018-08-02 10:39:25.203 | Configuring and starting MySQL
2018-08-02 10:39:31.675 | Starting Keystone
2018-08-02 10:43:00.505 | Configuring Horizon
2018-08-02 10:44:07.055 | Configuring Glance
2018-08-02 10:45:06.066 | Configuring Neutron
2018-08-02 10:48:56.740 | Configuring Cinder
2018-08-02 10:49:29.197 | Configuring Nova
2018-08-02 11:00:08.428 | Configuring placement
2018-08-02 11:00:22.323 | Starting Glance
2018-08-02 11:00:26.278 | Uploading images
2018-08-02 11:01:11.885 | Starting Nova API
2018-08-02 11:01:18.373 | Starting Neutron
2018-08-02 11:01:23.600 | Starting Placement
2018-08-02 11:01:31.427 | Creating initial neutron network elements
2018-08-02 11:02:23.596 | Starting Nova
2018-08-02 11:02:59.788 | Starting Cinder

the error in the log file:

2018-08-02 11:03:27.227 | +./stack.sh:main:1325                     (B create_volume_types
2018-08-02 11:03:27.230 | +lib/cinder:create_volume_types:540       (B is_service_enabled c-api
2018-08-02 11:03:27.260 | +functions-common:is_service_enabled:1908 (B return 0
2018-08-02 11:03:27.263 | +lib/cinder:create_volume_types:540       (B [[ -n lvm:lvmdriver-1 ]]
2018-08-02 11:03:27.267 | +lib/cinder:create_volume_types:541       (B local be be_name
2018-08-02 11:03:27.271 | +lib/cinder:create_volume_types:542       (B for be in '${CINDER_ENABLED_BACKENDS//,/ }'
2018-08-02 11:03:27.276 | +lib/cinder:create_volume_types:543       (B be_name=lvmdriver-1
2018-08-02 11:03:27.279 | +lib/cinder:create_volume_types:544       (B openstack --os-region-name=RegionOne volume type create --property volume_backend_name=lvmdriver-1 lvmdriver-1
2018-08-02 11:03:37.900 | An unexpected error prevented the server from fulfilling your request. (HTTP 500) (Request-ID: req-5616a30c-8d2c-4eef-bcc6-f482b3b16453)
2018-08-02 11:03:38.064 | +lib/cinder:create_volume_types:1         (B exit_trap
2018-08-02 11:03:38.068 | +./stack.sh:exit_trap:510                 (B local r=1
2018-08-02 11:03:38.073 | ++./stack.sh:exit_trap:511                 (B jobs -p
2018-08-02 11:03:38.080 | +./stack.sh:exit_trap:511                 (B jobs=
2018-08-02 11:03:38.086 | +[38;5 ...
(more)
edit retag flag offensive close merge delete

1 answer

Sort by » oldest newest most voted
0

answered 2018-08-02 10:53:01 -0600

rapw3k gravatar image

To answer my own question, the problem was with resources, I used a VM with 2 CPU and 4GB, but then realised from dump that memory was 100%. So i created VM with 4CPU and 8GB and the installation finished successfully in theory. Now I cannot open dashboard but may be issue with firewall/proxy. will check later.

edit flag offensive delete link more

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: 2018-08-02 07:46:06 -0600

Seen: 74 times

Last updated: Aug 02 '18