Move Volume from one cinder host to another

asked 2015-10-20 15:22:00 -0600

Arashnikoo gravatar image

I am trying to move a volume from one host to another using this command:

cinder migrate e99ea8a6-df2d-47fa-9948-3157a3725d2b node-3#DEFAULT

When I try I get this in cinder-volume.log:

 2015-10-20 19:37:39.139 3883 ERROR cinder.volume.driver [req-5f31e88e-1285-4410-b710-9678a119e5f4 32d554d2dff94616bb6ebb08039b89aa 877e0fba575f4d819c0c8d75321cc50d - - -] The volume driver requires the iSCSI initiator name in the connector.

This is my cinder config on the target node:

[DEFAULT]
rootwrap_config = /etc/cinder/rootwrap.conf
api_paste_confg = /etc/cinder/api-paste.ini
iscsi_helper = tgtadm
volume_name_template = volume-%s
volume_group = cinder
verbose = True
auth_strategy = keystone
state_path = /var/lib/cinder
lock_path = /var/lock/cinder
volumes_dir = /var/lib/cinder/volumes
rabbit_host=192.168.0.5
use_syslog=True
api_paste_config=/etc/cinder/api-paste.ini
glance_num_retries=0
debug=False
glance_api_ssl_compression=False
glance_api_insecure=False
syslog_log_facility=LOG_LOCAL3
rabbit_userid=nova
log_dir=/var/log/cinder
iscsi_ip_address=192.168.1.7
glance_api_servers=192.168.0.5:9292
volume_backend_name=DEFAULT
rabbit_virtual_host=/
rabbit_hosts=192.168.0.5:5672
use_syslog_rfc_format=True
control_exchange=cinder
rabbit_ha_queues=False
glance_api_version=2
amqp_durable_queues=False
rabbit_password=bKW3W9N4
rabbit_port=5672
rpc_backend=cinder.openstack.common.rpc.impl_kombu
kombu_reconnect_delay=5.0
volume_clear=none

What am I doing wrong?

The entire log entry is here: http://pastebin.com/eTg2Mmu4

edit retag flag offensive close merge delete