>>> Vladislav Bogdanov <bub...@hoster-ok.com> schrieb am 12.07.2013 um 11:06 in Nachricht <51dfc715.2030...@hoster-ok.com>: > Hi Dejan, > > It seems like resource restart does not work any longer.
BTW: The way "resource restart" is implemented (i.e.: stop & wait, then start) has a major problem: If stop causes to fence the node where the crm command is running, the resource will remain stopped even after the node restarted. > > # crm resource restart test01-vm > INFO: ordering test01-vm to stop > Traceback (most recent call last): > File "/usr/sbin/crm", line 44, in <module> > main.run() > File "/usr/lib64/python2.6/site-packages/crmsh/main.py", line 442, in run > File "/usr/lib64/python2.6/site-packages/crmsh/main.py", line 349, in > do_work > File "/usr/lib64/python2.6/site-packages/crmsh/main.py", line 150, in > parse_line > File "/usr/lib64/python2.6/site-packages/crmsh/main.py", line 149, in > <lambda> > File "/usr/lib64/python2.6/site-packages/crmsh/ui.py", line 894, in restart > File "/usr/lib64/python2.6/site-packages/crmsh/utils.py", line 429, in > wait4dc > File "/usr/lib64/python2.6/site-packages/crmsh/utils.py", line 544, in > crm_msec > File "/usr/lib64/python2.6/re.py", line 137, in match > TypeError: expected string or buffer > > > Vladislav > _______________________________________________ > Linux-HA mailing list > Linux-HA@lists.linux-ha.org > http://lists.linux-ha.org/mailman/listinfo/linux-ha > See also: http://linux-ha.org/ReportingProblems _______________________________________________ Linux-HA mailing list Linux-HA@lists.linux-ha.org http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems