On Fri, 10 Jan 2014 16:27:47 +0900 (JST) renayama19661...@ybb.ne.jp wrote: > Hi Dejan, > > I send a patch of crmsh1.2.5. > Similar correction seems to be necessary for latest crmsh. > > Best Regards, > Hideo Yamauchi
Hello, Thank you for the patch! I tried applying the patch to the latest crmsh, but when running the regression test suite, I got an error. I think the patch is fixing a bug, but unfortunately it seems to reveal a different problem. Maybe you can help me figure out what is going wrong! Failing test case output included below: [ 77s] Fri Jan 10 12:38:47 UTC 2014: BEGIN testcase edit [ 77s] ---------- [ 77s] testcase edit failed [ 77s] output is in crmtestout/edit.out [ 77s] diff (from crmtestout/edit.diff): [ 77s] --- /usr/share/crmsh/tests/testcases/edit.exp 2014-01-10 12:38:36.000000000 +0000 [ 77s] +++ - 2014-01-10 12:38:53.149599264 +0000 [ 77s] @@ -84,4 +84,8 @@ [ 77s] .TRY configure rsc_defaults $id="rsc_options" failure-timeout=10m [ 77s] +INFO: object loc-d1 cannot be represented in the CLI notation [ 77s] .TRY configure filter "sed 's/2m/60s/'" cib-bootstrap-options [ 77s] +INFO: object loc-d1 cannot be represented in the CLI notation [ 77s] +INFO: object loc-d1 cannot be represented in the CLI notation [ 77s] .TRY configure show rsc_options [ 77s] +INFO: object loc-d1 cannot be represented in the CLI notation [ 77s] rsc_defaults $id="rsc_options" \ [ 77s] @@ -89,3 +93,6 @@ [ 77s] .TRY configure property stonith-enabled=true [ 77s] +INFO: object loc-d1 cannot be represented in the CLI notation [ 77s] +INFO: object loc-d1 cannot be represented in the CLI notation [ 77s] .TRY configure show cib-bootstrap-options [ 77s] +INFO: object loc-d1 cannot be represented in the CLI notation [ 77s] property $id="cib-bootstrap-options" \ [ 77s] @@ -94,4 +101,8 @@ [ 77s] .TRY configure filter 'sed "s/stonith-enabled=.true.//"' [ 77s] +INFO: object loc-d1 cannot be represented in the CLI notation [ 77s] +ERROR: 13: syntax: Unknown command near <xml> parsing 'xml <rsc_location id=loc-d1 rsc=d1> <!--# --> <rule id=r1 score=-INFINITY boolean-op=or> <expression operation=not_defined attribute=webserver id=loc-d1-expression/> <expression attribute=mem type=number operation=lte value=0 id=loc-d1-expression-3/> </rule> <rule id=loc-d1-rule score=-INFINITY> <expression operation=not_defined attribute=a2 id=loc-d1-expression-2/> </rule> <rule id=r2 score-attribute=webserver> <expression operation=defined attribute=webserver id=loc-d1-expression-0/> </rule> <!--# --> </rsc_location>' [ 77s] .TRY configure show cib-bootstrap-options [ 77s] +INFO: object loc-d1 cannot be represented in the CLI notation [ 77s] property $id="cib-bootstrap-options" \ [ 77s] - default-action-timeout="60s" [ 77s] + default-action-timeout="60s" \ [ 77s] + stonith-enabled="true" [ 77s] ---------- [ 77s] Fri Jan 10 12:38:53 UTC 2014: END testcase edit -- // Kristoffer Grönlund // kgronl...@suse.com _______________________________________________________ Linux-HA-Dev: Linux-HA-Dev@lists.linux-ha.org http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev Home Page: http://linux-ha.org/