Status: New
Owner: ----

New issue 607 by [email protected]: Fail re-add node on Ganeti 2.9.0
http://code.google.com/p/ganeti/issues/detail?id=607

From a user email on the list
-----------------------------

I've been experimenting with Ganeti for a while and I'm working now with the 2.9.0 release on CentOS 6.4 but I have an error where I try to readd a failed node.
When the secondary node failed I ran the following commands:
[root@node1 ~]# gnt-node modify -O yes node2
[root@node1 ~]#  gnt-instance failover -n node1 inst401

and so far so good, all instance worked fine.
However, trying to re-add the failed node to cluster (after fixing and rebooting) I obtain the following errors:

[root@node1 ~]# gnt-node add  --readd node2

The authenticity of host 'node2.test.lan (10.0.0.2)' can't be established.
RSA key fingerprint is 56:47:72:44:34:94:14:34:d0:82:79:b9:39:a3:97:e3.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'node2.test.lan' (RSA) to the list of known hosts.
Stopping sshd: [  OK  ]
Starting sshd: [  OK  ]
Wed Nov 6 16:13:05 2013 - INFO: Readding a node, the offline/drained flags were reset
Wed Nov  6 16:13:05 2013  - INFO: Node will be a master candidate
Wed Nov 6 16:13:20 2013 Configuration data is not consistent: Node node2.test.lan state is invalid: master_candidate=True, drain=False, offline=True


and when I try change the offline status from True to False I obtain the following error:

[root@node1 ~]# gnt-node modify -O no node2
Failure: command execution error:
Internal assertion error: please report this as a bug.
Error message: 'Un-handled old flags (True, False, True)'; location:
File "/usr/lib64/python2.6/site-packages/ganeti/cmdlib/node.py", line 566, in CheckPrereq assert old_flags in self._F2R, "Un-handled old flags %s" % str(old_flags)

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