LVMISCSIDriver -2.0.0 (config name lvm) driver is uninitialized
Any volumes I create are created with a status of error, and this appears all through my log files.
Nov 24 18:29:44 os-node-1 cinder-volume: 2014-11-24 18:29:44.317 19238 WARNING cinder.volume.manager [-] Unable to update stats, LVMISCSIDriver -2.0.0 (config name lvm) driver is uninitialized.
Nov 24 18:29:44 os-node-1 cinder-volume: 2014-11-24 18:29:44.317 19238 WARNING cinder.volume.manager [-] Unable to update volume replication status, LVMISCSIDriver -2.0.0 (config name lvm) driver is uninitialized.
I read about this issue here: https://ask.openstack.org/en/question... , but he kind of glosses over the issue I'm having by saying "The above issue looks to be resolved by adding the driver in cinder.conf ". I (think) I've done that, but I still get the error and can't create volumes.
cinder.conf
[DEFAULT]
amqp_durable_queues=False
rabbit_host=10.5.0.11
rabbit_port=5672
rabbit_hosts=10.5.0.11:5672
rabbit_use_ssl=False
rabbit_userid=guest
rabbit_password=<redacted>
rabbit_virtual_host=/
rabbit_ha_queues=False
notification_driver=cinder.openstack.common.notifier.rpc_notifier
rpc_backend=rabbit
control_exchange=openstack
osapi_volume_listen=0.0.0.0
osapi_volume_workers=8
backup_swift_url=http://10.5.0.11:8080/v1/AUTH_
backup_swift_container=volumes_backup
backup_swift_object_size=52428800
backup_swift_retry_attempts=3
backup_swift_retry_backoff=2
backup_driver=cinder.backup.drivers.swift
api_paste_config=/etc/cinder/api-paste.ini
glance_host=10.5.0.11
backup_topic=cinder-backup
backup_manager=cinder.backup.manager.BackupManager
storage_availability_zone=nova
default_availability_zone=nova
backup_api_class=cinder.backup.api.API
auth_strategy=keystone
enabled_backends=lvm
backup_name_template=backup-%s
debug=False
verbose=True
log_dir=/var/log/cinder
use_syslog=False
**volume_driver=cinder.volume.drivers.lvm.LVMISCSIDriver**
[BRCD_FABRIC_EXAMPLE]
[CISCO_FABRIC_EXAMPLE]
[database]
connection=mysql://cinder:<redacted>@10.5.0.11/cinder
idle_timeout=3600
[fc-zone-manager]
[keymgr]
[keystone_authtoken]
auth_uri=http://10.5.0.11:5000/v2.0/
identity_uri=http://10.5.0.11:35357
admin_user=cinder
admin_password=<redacted>
admin_tenant_name=service
[matchmaker_redis]
[matchmaker_ring]
[profiler]
[ssl]
[lvm]
iscsi_helper=lioadm
volume_group=cinder-volumes
iscsi_ip_address=10.5.0.11
volume_backend_name=lvm
vgs
VG #PV #LV #SN Attr VSize VFree
VolGroup00 3 1 0 wz--n- 2.73t 746.52g
cinder-volumes 1 0 0 wz--n- 20.00g 20.00g
vgdisplay cinder-volumes
--- Volume group ---
VG Name cinder-volumes
System ID
Format lvm2
Metadata Areas 1
Metadata Sequence No 1
VG Access read/write
VG Status resizable
MAX LV 0
Cur LV 0
Open LV 0
Max PV 0
Cur PV 1
Act PV 1
VG Size 20.00 GiB
PE Size 4.00 MiB
Total PE 5119
Alloc PE / Size 0 / 0
Free PE / Size 5119 / 20.00 GiB
VG UUID xXLZap-Wdcr-gmKE-6l9S-gzer-8OcC-j910Us
Update 1
target.service - Restore LIO kernel target configuration
Loaded: loaded (/usr/lib/systemd/system/target.service; enabled)
Active: active (exited) since Mon 2014-11-24 19:47:43 UTC; 16min ago
Process: 1988 ExecStart=/usr/bin/targetctl restore (code=exited, status=0/SUCCESS)
Main PID: 1988 (code=exited, status=0/SUCCESS)
CGroup: /system.slice/target.service
Nov 24 19:47:40 os-node-1 systemd[1]: Starting Restore LIO kernel target configuration...
Nov 24 19:47:43 os-node-1 target[1988]: No saved config file at /etc/target/saveconfig.json, ok, exiting
Nov 24 19:47:43 os-node-1 ...
volume_driver=cinder.volume.drivers.lvm.LVMISCSIDriver seems to be located in [DEFAULT] section
Would try :
Please,upload somewhere /etc/target/saveconfig.json on Storage Node ( where daemon target is running)
I tried that prior, actually had it in both sections, and I just took it out of default section and put it only in lvm section, but getting the same error in volume.log. I don't know if it's related, but I also get this in the scheduler.log: <cont>
Failed to run task cinder.scheduler.flows.create_volume.ScheduleCreateVolumeTask;volume:create: No valid host was found. No weighed hosts available
I also presume that a kind of :-
has been run.