[Openstack] cinder migrate/retype error

Avishay Traeger avishay at stratoscale.com
Wed May 4 13:13:02 UTC 2016


How is the volume's volume-type defined?

On Wed, May 4, 2016 at 1:20 PM, Iban Cabrillo <cabrillo at ifca.unican.es>
wrote:

> 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*"
>
> _______________________________________________
> Mailing list:
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> Post to     : openstack at lists.openstack.org
> Unsubscribe :
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>
>


-- 
*Avishay Traeger, PhD*
*System Architect*

Mobile: +972 54 447 1475
E-mail: avishay at stratoscale.com



Web <http://www.stratoscale.com/> | Blog <http://www.stratoscale.com/blog/>
 | Twitter <https://twitter.com/Stratoscale> | Google+
<https://plus.google.com/u/1/b/108421603458396133912/108421603458396133912/posts>
 | Linkedin <https://www.linkedin.com/company/stratoscale>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20160504/a919846f/attachment.html>


More information about the Openstack mailing list