Status: New
Owner: ----
New issue 1023 by [email protected]: Master master-capable option bug
https://code.google.com/p/ganeti/issues/detail?id=1023
st0-01/02/03 are hardware nodes, st0-mc1/2 are two master-candidates vms
(with vm-capable = off). I was messing around with master-capable,
master-candidate and candidate-pool-size and removed the master capable
flag from current master. As far as i can tell st0-mc1 is still the master
but there is a bug on the code.
st0-mc1:~# gnt-node modify --master-capable no st0-mc1
Tue Dec 2 18:51:00 2014 - INFO: Demoting from master candidate
Tue Dec 2 18:51:01 2014 - WARNING: Node failed to demote itself: ssconf
status shows I'm the master node, will not demote
Tue Dec 2 18:51:01 2014 Configuration data is not consistent: Master node
is not a master candidate
Failure: command execution error:
Internal assertion error: please report this as a bug.
Error message: ''; location:
File "/usr/share/ganeti/2.10/ganeti/jqueue.py", line 1806, in AddNode
assert node_name != self._my_hostname
st0-mc1:~# gnt-node list -o+role
Node DTotal DFree MTotal MNode MFree Pinst Sinst Role
st0-01 3.8T 3.8T 189.3G 506M 188.5G 5 2 R
st0-02 3.8T 3.3T 189.3G 4.6G 184.3G 6 0 R
st0-03 3.8T 3.3T 189.3G 2.5G 188.6G 0 1 R
st0-mc1 ? ? ? ? ? 0 0 M
st0-mc2 ? ? ? ? ? 0 0 C
st0-mc1.okeanos.grnet.gr:~# gnt-cluster verify
<snip>
Tue Dec 2 18:51:56 2014 - ERROR: cluster: Master node is not a master
candidate
<snip>
st0-mc1:~# gnt-node info st0-mc1
<snip>
master candidate: False
drained: False
offline: False
master_capable: False
vm_capable: False
<snip>
st0-mc1:~# gnt-node modify --master-capable yes st0-mc1
Tue Dec 2 18:52:35 2014 - INFO: Auto-promoting node to master candidate
Failure: command execution error:
Internal assertion error: please report this as a bug.
Error message: ''; location:
File "/usr/share/ganeti/2.10/ganeti/jqueue.py", line 1806, in AddNode
assert node_name != self._my_hostname
st0-mc1:~# gnt-node info st0-mc1
<snip>
master candidate: True
drained: False
offline: False
master_capable: True
vm_capable: False
<snip>
--
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