[sheepdog-users] Single-node sheepdog for testing
Hitoshi Mitake
mitake.hitoshi at gmail.com
Fri Apr 18 04:30:14 CEST 2014
On Fri, Apr 18, 2014 at 10:16 AM, Scott Devoid <devoid at anl.gov> wrote:
> Thanks Hitoshi,
>
> So I am seeing some interesting behavior when I try to shutdown and restart
> my 3 node cluster:
>
> $ for pid in `pgrep | sheep`; do kill -15 $pid; sleep 2; done
> $ for i in 0 1 2; do sheep -c local -d /path/to/store/$i -z $i -p 700$i;
> sleep 1; done
>
> Shutdown works fine, but when I go to start the cluster up the first member
> fails when the second joins. I think this is because the second member has a
> later epoch than the first.
>
> Here is the tail of the first member logs:
> http://paste.openstack.org/show/76195/
>
> Let me know if I am doing things incorrectly.
Your problem is caused by difference of membership versions of sheep
processes. You can avoid the problem by stopping the cluster by "dog
cluster shutdown" command.
BTW, which version of sheepdog are you using? The behavior is changed
in the latest stable branches.
Thanks,
Hitoshi
More information about the sheepdog-users
mailing list