Hi ,
We are trying to test our cluster using the cts framework. The version
is 2.0.8. However , we are having trouble running only the split brain
test on our two node active/passive cluster.
Since, we are using heartbeat ver 2.0 which is the crm version ,this is
what the command looks like
/usr/lib/heartbeat/cts/CTSlab.py --standby no --fencing yes --stonith
yes --crm --choose Split_brain2 . This however always returns the
attached exception.
Any Ideas on what's going wrong here will be deeply appreciated. Since,
I'm a beginner in python I haven't got much far debugging this problem.
Thanks,
Abhi.
The information contained in this electronic message and any attachments to
this message are intended for the exclusive use of the addressee(s) and may
contain proprietary, confidential or privileged information. If you are not the
intended recipient, you should not disseminate, distribute or copy this e-mail.
Please notify the sender immediately and destroy all copies of this message and
any attachments.
WARNING: Computer viruses can be transmitted via email. The recipient should
check this email and any attachments for the presence of viruses. The company
accepts no liability for any damage caused by any virus transmitted by this
email.
www.wipro.com
Jan 07 13:46:56 Random seed is: 1199693816
Jan 07 13:46:56 >>>>>>>>>>>>>>>> BEGINNING 2 TESTS
Jan 07 13:46:56 HA configuration directory: /etc/ha.d
Jan 07 13:46:56 System log files: /var/log/ha-log-local7
Jan 07 13:46:56 Enable Stonith: 1
Jan 07 13:46:56 Enable Fencing: 1
Jan 07 13:46:56 Enable Standby: 0
Jan 07 13:46:56 Cluster nodes:
Jan 07 13:46:57 * active-ebc: 6ef6bc8d-de62-49aa-8ed3-e4fa300cff8c
Jan 07 13:46:58 * standby-ebc: cfd38e2f-2e94-4c49-9068-3aead25c9476
Jan 07 13:47:01 Stopping Cluster Manager on all nodes
Jan 07 13:47:02 Starting Cluster Manager on all nodes.
Jan 07 13:50:07 BadNews: Jan 7 13:47:41 active-ebc mgmtd: [30951]: ERROR:
Can't initialize management library.Shutting down.(-1)
Jan 07 13:50:07 BadNews: Jan 7 13:47:43 active-ebc heartbeat: [30932]: ERROR:
Client /usr/lib/heartbeat/mgmtd -v exited with return code 1.
Jan 07 13:50:07 BadNews: Jan 7 13:47:43 active-ebc heartbeat: [30932]: ERROR:
Respawning client "/usr/lib/heartbeat/mgmtd -v":
Jan 07 13:50:08 BadNews: Jan 7 13:48:22 active-ebc pengine: [30958]: ERROR:
can_run_resources: No node supplied
Jan 07 13:50:08 BadNews: Jan 7 13:48:22 active-ebc pengine: [30958]: ERROR:
can_run_resources: No node supplied
Jan 07 13:50:09 BadNews: Jan 7 13:48:35 active-ebc crmd: [30950]: ERROR:
lrm_get_rsc_type_metadata(572): got a return code HA_FAIL from a reply message
of rmetadata with function get_ret_from_msg.
Jan 07 13:50:10 BadNews: Jan 7 13:48:52 standby-ebc mgmtd: [7891]: ERROR:
already running: [pid 22296].
Jan 07 13:50:10 BadNews: Jan 7 13:48:52 standby-ebc mgmtd: [7891]: ERROR:
Startup aborted (already running).Shutting down.
Jan 07 13:50:10 BadNews: Jan 7 13:48:54 standby-ebc heartbeat: [7871]: ERROR:
Client /usr/lib/heartbeat/mgmtd -v exited with return code 100.
Jan 07 13:50:10 BadNews: Jan 7 13:48:56 standby-ebc cib: [7886]: ERROR:
readCibXmlFile: /var/lib/heartbeat/crm/cib.xml exists but does NOT contain
valid XML.
Jan 07 13:50:10 BadNews: Jan 7 13:48:56 standby-ebc cib: [7886]: ERROR:
readCibXmlFile: Continuing with an empty configuration.
/var/lib/heartbeat/crm/cib.xml will NOT be overwritten.
Jan 07 13:50:11 BadNews: Jan 7 13:49:10 active-ebc crmd: [30950]: ERROR:
lrm_get_rsc_type_metadata(572): got a return code HA_FAIL from a reply message
of rmetadata with function get_ret_from_msg.
Jan 07 13:50:32 Running test Split_brain2 (standby-ebc) [1]
Jan 07 13:50:32 Partition1: ['standby-ebc']
Jan 07 13:50:32 Partition2: ['active-ebc']
Jan 07 13:50:47 Exception by exceptions.IndexError
Jan 07 13:50:47 Traceback (most recent call last):
Jan 07 13:50:47 File "/usr/lib/heartbeat/cts/CTSlab.py", line 791, in ?
Jan 07 13:50:47 overall, detailed = tests.run(NumIter)
Jan 07 13:50:47 File "/usr/lib/heartbeat/cts/CTStests.py", line 193, in run
Jan 07 13:50:47 ret=test(nodechoice)
Jan 07 13:50:47 File "/usr/lib/heartbeat/cts/CTStests.py", line 1780, in
__call__
Jan 07 13:50:47 if not watchdead.lookforall():
Jan 07 13:50:47 File "/usr/lib/heartbeat/cts/CTS.py", line 337, in lookforall
Jan 07 13:50:47 oneresult = self.look(timeout)
Jan 07 13:50:47 File "/usr/lib/heartbeat/cts/CTS.py", line 309, in look
Jan 07 13:50:47 return matchobj.group(self.returnonlymatch)
Jan 07 13:50:47 IndexError: no such group
Jan 07 13:50:47 ****************
Jan 07 13:50:47 Overall Results:{'failure': 0, 'success': 0, 'BadNews': 12}
Jan 07 13:50:47 ****************
Jan 07 13:50:47 Detailed Results
Jan 07 13:50:47 Test Split_brain2: {'auditfail': 0, 'failure': 0,
'skipped': 0, 'success': 0, 'calls': 1}
Jan 07 13:50:47 <<<<<<<<<<<<<<<< TESTS COMPLETED
Jan 07 13:50:47 No failure count but success != requested iterations
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems