I'm not sure on RedHat, but on Ubuntu, /etc/init/ceph-osd.conf calls
ceph osd crush create-or-move.  Try adding some logging to that script,
something like

echo "Create or move OSD $id weight ${weight:-${defaultweight:-1}} to
location $location" >> /tmp/ceph-osd.log

You probably want more detail though, like maybe the value of weight and
defaultweight, to see where the error is occurring.


On Wed, Oct 22, 2014 at 5:57 AM, Paweł Sadowski <[email protected]> wrote:

> Hi,
>
> From time to time when I replace broken OSD the new one gets weight of
> zero. Crush map from epoch before adding OSD seems to be fine. Is there
> any way to debug this issue?
>
> Regards,
> --
> PS
> _______________________________________________
> ceph-users mailing list
> [email protected]
> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
>
_______________________________________________
ceph-users mailing list
[email protected]
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

Reply via email to