Article ID: 126073, created on Jul 3, 2015, last review on Jul 3, 2015

  • Applies to:
  • Virtuozzo 6.0


The following error is received on an attempt to remove an inactive node from shaman cluster:

[root@vz ~]# shaman -c cluster leave -N 82e3fd8fd2a4495c
'cpupools --quiet leave --node-id md.82e3fd8fd2a4495c' exit status is 2
Can't leave the cluster

On the second attempt there's another error:

[root@vz ~]# shaman -c cluster leave -N 82e3fd8fd2a4495c
[.shaman/md.82e3fd8fd2a4495c/lock] is locked
Couldn't remove node 82e3fd8fd2a4495c from the cluster, because its layout is locked


The issue is recognized as a product bug with internal ID PSBM-33472.


The issue is expected to be fixed in one of the future updates.

The following workaround may help to remove the node:

# mv /usr/sbin/cpupools{,~}
# ln -s /bin/true /usr/sbin/cpupools
# shaman leave -n <node_ip>
# mv -f /usr/sbin/cpupools{~,}

This solution helps to remove the node from cluster without errors.

Search Words

shaman leave

c62e8726973f80975db0531f1ed5c6a2 2897d76d56d2010f4e3a28f864d69223 0dd5b9380c7d4884d77587f3eb0fa8ef

Email subscription for changes to this article
Save as PDF