There's no need to pass that many -V options, you're seeing developmental logging at that level. Your config is fine.
"Warnings found during check: config may not be valid" <-- the keyword here is "may" On Mon, Oct 19, 2009 at 8:43 AM, MAHESH, SIDDACHETTY M (SIDDACHETTY M) <[email protected]> wrote: > Hi, > > I have tried to simplify the test case cib.xml as much as possible (see > attached test.xml) to reproduce the problem. Pacemaker version is v1.0.5, 64 > bit version. > > Crm_verify fails to validate the attached test.xml. I see lots of "Bad > Input" error messages in the output log. On the other hand, 'xmllint' > validates the test.xml file with no errors. > > # crm_verify -x test.xml; echo $? > Warnings found during check: config may not be valid > Use -V for more details > 1 > > # xmllint -relaxng /usr/share/pacemaker/pacemaker.rng > /var/lib/heartbeat/crm/test.xml > /var/lib/heartbeat/crm/test.xml validates > > > I have narrowed down the problem section to the "rsc_order" section under > constraints. Having one "resource_set" under the "rsc_order" passes > crm_verify validation. Adding an additional "resource_set" fails crm_verify > validation. > > Note that I have included only one resource in each resource set for this > simple test case. My actual cib.xml has multiple resources in the two > resource_sets and some of the resources are clone resources. > > Comparing this with the "pacemaker configuration explained" document (page > 27) on pacemaker site, I do not see any obvious syntax problems. > > Has anyone encountered a similar problem? > Is this a bug in crm_verify? If not, what is the problem with the test.xml > that is blocking crm_verify? If yes, is there a workaround for the issue? > > Thanks, > Mahesh > > > > > > > > _______________________________________________ > Linux-HA mailing list > [email protected] > http://lists.linux-ha.org/mailman/listinfo/linux-ha > See also: http://linux-ha.org/ReportingProblems > _______________________________________________ Linux-HA mailing list [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems
