On Mon, 9 Sep 2013, Vladislav Gorbunov wrote:
> Is ceph osd crush move syntax changed on 0.67?
> I have crushmap
> # id     weight     type name     up/down     reweight
> -1     10.11     root default
> -4     3.82          datacenter dc1
> -2     3.82               host cstore3
> 0     0.55                    osd.0     up     1
> 1     0.55                    osd.1     up     1
> 2     0.55                    osd.2     up     1
> -5     3.82          datacenter dc2
> -3     3.82               host cstore2
> 10     0.55                    osd.10     up     1
> 11     0.55                    osd.11     up     1
> 12     0.55                    osd.12     up     1
> -7     1.92          host cstore1
> 20     0.55               osd.20     up     1
> 21     0.55               osd.21     up     1
> 22     0.55               osd.22     up     1
> 23     0.27               osd.23     up     1
> 
> and try to move new added host cstore1 to datacenter with command:
> ceph osd crush move cstore1 root=default datacenter=dc1
> Invalid command:  osd id cstore1 not integer
> Error EINVAL: invalid command
> 
> It's worked on ceph 0.61. How can I move new host to datacenter? in 0.67?

Yep, this is a regression; see http://tracker.ceph.com/issues/6230.

Thanks for the report!  As you pointed out, link + unlink is a workaround.

Thanks!
sage

_______________________________________________
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

Reply via email to