[Openstack] cinder migrate/retype error

Iban Cabrillo cabrillo at ifca.unican.es
Wed May 4 10:20:11 UTC 2016


Hi,

   I am trying to move block storage between servers with different storage
types, one using iscsi and the other rbd, individually they work fine. nova
version is 2:12.0.2-0ubuntu1~cloud0. Of course I have checked with attached
and detached blocks for these tests.

  I see both pools:
  cloud:~ # cinder get-pools

+----------+---------------------------------------------+
| Property |                    Value                    |
+----------+---------------------------------------------+
|   name   | cloudvolume at iscsi-cloudvolume#iscsi |
+----------+---------------------------------------------+
+----------+---------------------------------------+
| Property |                 Value                 |
+----------+---------------------------------------+
|   name   | rbdvolume at rbd-cephvolume#rbd |
+----------+---------------------------------------+

running:
 #cinder migrate <vol_id>  rbdvolume at rbd-cephvolume#rbd
  I see this error in cinder-schedule.log

  2016-05-04 10:32:18.397 28665 ERROR cinder.scheduler.manager
[req-609fb633-6c1d-419b-a0d7-193d10a0732a 6e57d91da967475b887ef485ca4db611
276c19f252d24f0ebe0aa9ff39307f56 - - -] Failed to
schedule_migrate_volume_to_host: No valid host was found. Cannot place
volume cc23af33-586c-4e0d-b248-127aef26acfd on rbdvolume at rbd-cephvolume#rbd

Then I checked using retype instead of migrate for different backend types
(iscsi and rbd):

#cinder retype <vol_id> rbd

show this log:

2016-05-04 10:45:04.506 28665 ERROR cinder.scheduler.manager
[req-5c7066bf-6fb7-484c-9c95-25cd9508f381 6e57d91da967475b887ef485ca4db611
276c19f252d24f0ebe0aa9ff39307f56 - - -] Could not find a host for volume
cc23af33-586c-4e0d-b248-127aef26acfd with type
cc8705d5-98cb-4071-bd63-7440a5f95138.

using  --migration-policy on-demand flag there is no error in scheduler
log, but there is no migration either.

Any Idea?

Regards, I
-- 
############################################################################
Iban Cabrillo Bartolome
Instituto de Fisica de Cantabria (IFCA)
Santander, Spain
Tel: +34942200969
PGP PUBLIC KEY:
http://pgp.mit.edu/pks/lookup?op=get&search=0xD9DF0B3D6C8C08AC
############################################################################
Bertrand Russell:
*"El problema con el mundo es que los estúpidos están seguros de todo y los
inteligentes están llenos de dudas*"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20160504/6ee7d2f5/attachment.html>


More information about the Openstack mailing list