kilo cinder lvm snapshot to volume results in empty volume?

asked 2015-12-14 13:43:30 -0600

HoopsMcann gravatar image

Hi there,

Using cinder + lvm2 for volumes. When I take a snapshot of volume that has data, then convert that snapshot to a volume, it always results in an empty volume with no filesystem. Manual snapshots seem to work ok. Anyone seen this before? cinder.conf below

[DEFAULT]
notification_driver=cinder.openstack.common.notifier.rpc_notifier
rpc_backend=cinder.openstack.common.rpc.impl_kombu
control_exchange=openstack
osapi_volume_listen=0.0.0.0
osapi_volume_workers=8
backup_compression_algorithm=zlib
backup_swift_url=http://x.x.x.x:8080/v1/AUTH_
backup_swift_container=volumes_backup
backup_swift_object_size=52428800
backup_swift_retry_attempts=3
backup_swift_retry_backoff=2
backup_tsm_volume_prefix=bkpcinder
backup_tsm_password=xxxxxxxxxx
backup_tsm_compression=true
backup_driver=cinder.backup.drivers.tsm
api_paste_config=/etc/cinder/api-paste.ini
glance_host=192.168.128.1
backup_topic=cinder-backup
enable_v1_api=True
enable_v2_api=True
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
volume_clear=none
lvm_type=default
volume_driver=cinder.volume.drivers.lvm.LVMVolumeDriver
use_syslog=False
debug=True
log_dir=/var/log/cinder
verbose=True
amqp_durable_queues=False
[BRCD_FABRIC_EXAMPLE]
[CISCO_FABRIC_EXAMPLE]
[database]
idle_timeout=3600
max_retries=10
retry_interval=10
min_pool_size=1
connection=mysql://cinder:xxxxxxxxxxxxxxxxxxx@x.x.x.x/cinder
[fc-zone-manager]
[keymgr]
[keystone_authtoken]
[matchmaker_redis]
[matchmaker_ring]
[oslo_messaging_amqp]
[oslo_messaging_qpid]
[oslo_messaging_rabbit]
rabbit_host=x.x.x.x
rabbit_port=5672
rabbit_hosts=x.x.x.x:5672
rabbit_use_ssl=False
rabbit_userid=guest
rabbit_password=guest
rabbit_virtual_host=/
rabbit_ha_queues=False
[profiler]
[lvm]
iscsi_helper=lioadm
volume_group=cinder-volumes
volume_driver=cinder.volume.drivers.lvm.LVMVolumeDriver
iscsi_ip_address=192.168.128.1
volume_clear=none

I

edit retag flag offensive close merge delete