Comment #8 on issue 68 by maxenced: instance-failover-post isn't always
called
http://code.google.com/p/ganeti/issues/detail?id=68
Hi,
I'll send the patch asap.
By "old config", I mean :
Let's say we have a vm "vm1.tld" and 2 nodes "host1.tld", and "host2.tld".
host1 is the primary server of vm1, host2 the secondary.
so in normal state, I have : prim = host1, sec = host2. In that case,
gnt-instance
info vm1.tld will be give me smthg like :
[...]
- primary : host1.tld
- secondaries : host2.tld
[...]
Now I do : gnt-intance failover vm1.tld, after what, I re-run a
gnt-instance info
vm1.gnt. I get :
[...]
- primary : host2.tld
- secondaries : host1.tld
[...]
Which seems normal, host2 is the new primary of the instance.
What is strange is that, in post-hooks, the primary node is always host1 :)
Since the action was made, shouldn't it be updated with new configuration ?
Cheers,
Maxence
--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings