Status: New
Owner: ----

New issue 951 by [email protected]: gnt-node evacuate on a downed, offline node is behaving oddly
https://code.google.com/p/ganeti/issues/detail?id=951

gnt-cluster (ganeti v2.11.5) 2.11.5

Software version: 2.11.5
Internode protocol: 2110000
Configuration format: 2110000
OS api version: 20
Export interface: 0
VCS version: (ganeti) version v2.11.5

hspace (ganeti) version v2.11.5
compiled with ghc 7.4
running on linux x86_64

Debian 7.4

Problem:

3 node cluster, (c0,c1,c2).There is 1 active DRBD primary instance on c1

Then c1 is shutdown:

root@c0:~# gnt-node list
Node           DTotal DFree MTotal MNode MFree Pinst Sinst
c0.ws.nsrc.org  30.0G 27.9G   1.5G  238M  1.3G     0     1
c1.ws.nsrc.org      ?     ?      ?     ?     ?     1     0
c2.ws.nsrc.org  30.0G 30.0G   1.5G   87M  1.4G     0     0

I offline c1:

root@c0:~# gnt-node modify --offline=yes c1
Thu Sep 18 20:11:26 2014 - WARNING: Communication failure to node 93eef5d9-6b33-4ce6-8f88-5353a093cb73: Error 7: Failed connect to 10.10.0.234:1811; No route to host Thu Sep 18 20:11:29 2014 Failed to stop KVM daemon in node '93eef5d9-6b33-4ce6-8f88-5353a093cb73': Node is marked offline
Modified node c1
 - master_candidate -> False
 - offline -> True

I then attempt a "gnt-node evacuate -p c1":

root@c0:~/gnt-node-evacuate# gnt-node evacuate -p c1
Relocate instance(s) wordpressx from node(s) c1?
y/[n]/?: y
Thu Sep 18 20:13:09 2014 - INFO: Evacuating instances from node 'c1.ws.nsrc.org': wordpressx Thu Sep 18 20:13:09 2014 - WARNING: Unable to evacuate instances wordpressx (FailDisk)
Failure: command execution error:
Unable to evacuate instances wordpressx (FailDisk)

What is the expected output? What do you see instead?

Was expecting to be told that the node cannot be evacuated because it's down.

Arguably, I should be using gnt-node failover, but the response (FailDisk) leads me to believe something
is not right.




Attachments:
        gnt-node-evacuate.tgz  1.5 KB

--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

Reply via email to