Ask Your Question
0

Failed to initialize driver cinder volume

asked 2016-06-03 09:18:57 -0500

rastogisac gravatar image

Dea631 3152 DEBUG cinder.volume.manager [req-c74daae4-a459-493f-9315-963ec05decf9 - - - - -] Cinder Volume DB check: vol_db_empty=True __init__ /usr/lib/python2.7/site-packages/cinder/volume/manager.py:219 2016-06-03 23:12:02.641 3152 DEBUG cinder.volume.drivers.lvm [req-c74daae4-a459-493f-9315-963ec05decf9 - - - - -] Attempting to initialize LVM driver with the following target_driver: cinder.volume.targets.lio.LioAdm __init__ /usr/lib/python2.7/site-packages/cinder/volume/drivers/lvm.py:93 2016-06-03 23:12:02.646 3152 DEBUG oslo_concurrency.processutils [req-c74daae4-a459-493f-9315-963ec05decf9 - - - - -] Running cmd (subprocess): cinder-rtstool verify execute /usr/lib/python2.7/site-packages/oslo_concurrency/processutils.py:230 2016-06-03 23:12:02.711 3152 DEBUG oslo_concurrency.processutils [req-c74daae4-a459-493f-9315-963ec05decf9 - - - - -] CMD "cinder-rtstool verify" returned: 0 in 0.064s execute /usr/lib/python2.7/site-packages/oslo_concurrency/processutils.py:260 2016-06-03 23:12:02.712 3152 INFO cinder.volume.manager [req-c74daae4-a459-493f-9315-963ec05decf9 - - - - -] Image-volume cache disabled for host http://pun01cloud01.ad.infosys.com. 2016-06-03 23:12:02.713 3152 INFO oslo_service.service [req-c74daae4-a459-493f-9315-963ec05decf9 - - - - -] Starting 1 workers 2016-06-03 23:12:02.714 3152 INFO oslo_service.service [req-c74daae4-a459-493f-9315-963ec05decf9 - - - - -] Started child 3171 2016-06-03 23:12:02.715 3152 DEBUG oslo_service.service [req-c74daae4-a459-493f-9315-963ec05decf9 - - - - -] Full set of CONF: wait /usr/lib/python2.7/site-packages/oslo_service/service.py:505 2016-06-03 23:12:02.715 3152 DEBUG oslo_service.service [req-c74daae4-a459-493f-9315-963ec05decf9 - - - - -] ************************* log_opt_values /usr/lib/python2.7/site-packages/oslo_config/cfg.py:2216 2016-06-03 23:12:02.716 3152 DEBUG oslo_service.service [req-c74daae4-a459-493f-9315-963ec05decf9 - - - - -] Configuration options gathered from: log_opt_values /usr/lib/python2.7/site-packages/oslo_config/cfg.py:2217 2016-06-03 23:12:02.716 3152 DEBUG oslo_service.service [req-c74daae4-a459-493f-9315-963ec05decf9 - - - - -] command line args: ['--debug'] log_opt_values /usr/lib/python2.7/site-packages/oslo_config/cfg.py:2218 2016-06-03 23:12:02.716 3152 DEBUG oslo_service.service [req-c74daae4-a459-493f-9315-963ec05decf9 - - - - -] config files: ['/usr/share/cinder/cinder-dist.conf', '/etc/cinder/cinder.conf'] log_opt_values /usr/lib/python2.7/site-packages/oslo_config/cfg.py:2219 2016-06-03 23:12:02.716 3152 DEBUG oslo_service.service [req-c74daae4-a459-493f-9315-963ec05decf9 - - - - -] ================================================================================ log_opt_values /usr/lib/python2.7/site-packages/oslo_config/cfg.py:2220 2016-06-03 23:12:02.716 3171 INFO cinder.service [-] Starting cinder-volume node (version 7.0.1) 2016-06-03 23:12:02.717 3152 DEBUG oslo_service.service [req-c74daae4-a459-493f-9315-963ec05decf9 - - - - -] allow_availability_zone_fallback = False log_opt_values /usr/lib/python2.7/site-packages/oslo_config/cfg.py:2229 2016-06-03 23:12:02.717 3152 DEBUG oslo_service.service [req-c74daae4-a459-493f-9315-963ec05decf9 - - - - -] allowed_direct_url_schemes = [] log_opt_values /usr/lib/python2.7/site-packages/oslo_config/cfg.py:2229 2016-06-03 23:12:02.717 3152 DEBUG oslo_service.service [req-c74daae4-a459-493f-9315-963ec05decf9 - - - - -] api_paste_config = api-paste.ini log_opt_values /usr/lib/python2.7/site-packages/oslo_config/cfg.py:2229 2016-06-03 23:12:02.717 3171 INFO cinder.volume.manager [req-357b18bf-274c-4a8e-a65e-54f8362cd542 - - - - -] Starting volume driver LVMVolumeDriver (3.0.0) 2016-06-03 23:12:02.717 3152 DEBUG oslo_service.service [req-c74daae4-a459-493f-9315-963ec05decf9 - - - - -] api_rate_limit = True log_opt_values /usr/lib/python2.7/site-packages/oslo_config/cfg.py:2229 2016-06-03 23:12:02.718 3152 DEBUG oslo_service.service [req-c74daae4-a459-493f-9315-963ec05decf9 - - - - -] auth_strategy = keystone log_opt_values /usr/lib/python2.7/site-packages/oslo_config/cfg.py:2229 2016-06-03 23:12:02.718 3152 DEBUG oslo_service.service [req-c74daae4-a459-493f-9315-963ec05decf9 - - - - -] az_cache_duration = 3600 log_opt_values /usr/lib/python2.7/site-packages/oslo_config/cfg.py:2229 2016-06-03 23:12:02.718 3152 DEBUG oslo_service.service [req-c74daae4-a459-493f-9315-963ec05decf9 - - - - -] backend_host = None log_opt_values /usr/lib/python2.7/site-packages/oslo_config/cfg.py:2229 2016-06-03 23:12:02.718 3152 DEBUG ... (more)

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2016-07-08 11:37:36 -0500

There are errors in your cinder.conf file. It appears you are using lvm for cinder storage. Try making these changes to the cinder.conf file.

Comment all lines with lvm references except the following:
enabled_backends = lvm

**Note the name 'lvm' can be anything that matches the section header below.
Add the following lines to the end of cinder.conf:

[lvm]
volume_driver = cinder.volume.drivers.lvm.LVMVolumeDriver
volume_group = cinder-volumes
iscsi_protocol = iscsi
iscsi_helper = lioadm
lvm_type = auto

Create a new lvm volume group with the name cinder-volumes.
Restart openstack-cinder-volume.service.

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: 2016-06-03 09:18:57 -0500

Seen: 4,337 times

Last updated: Jul 08 '16