Status: New
Owner: ----

New issue 615 by [email protected]: gnt-node evacuate -p fails if a node is in state 'drained'
http://code.google.com/p/ganeti/issues/detail?id=615

What software version are you running? Please provide the output of "gnt-
cluster --version", "gnt-cluster version", and "hspace --version".

2.6.2

What distribution are you using?
Debian

What steps will reproduce the problem?
1. Set a node to 'drained' (e.g. gnt-node modify -D yes $NODE)
2. Run 'gnt-node evacuate -p $NODE'
3.

What is the expected output? What do you see instead?
I expected that the instances on the node would be evacuated, instead, I see this:

[Unable to evacuate instances $instance1 (FailDisk), $instance2 (FailDisk), instance3 (FailDisk)]

If I instead "undrain" the node and then retry the 'gnt-node evacuate -p' command, it is successful.

It seems like Ganeti should allow these types of operational tasks to occur for nodes that have been drained. The drain should not allow "new" instances to be put on the node, but it should definitely allow administrators to move stuff off of the node (i.e. all evac/failover/migrate operations should work for a node in state 'drained').


--
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