Re: [ClusterLabs] Debian 10 pacemaker - CIB did not pass schema validation
On Thu, 2020-03-05 at 11:44 +, Bala Mutyam wrote: > Hi Strahil, > > Apologies for my delay. I've attached the config below. > > Here is the new error: > > crm_verify --verbose --xml-file=/tmp/ansible.yJMg2z.xml > /tmp/ansible.yJMg2z.xml:28: element primitive: Relax-NG validity > error : Invalid sequence in interleave > /tmp/ansible.yJMg2z.xml:28: element primitive: Relax-NG validity > error : Element primitive failed to validate content > /tmp/ansible.yJMg2z.xml:28: element clone: Relax-NG validity error : > Invalid sequence in interleave > /tmp/ansible.yJMg2z.xml:28: element clone: Relax-NG validity error : > Element clone failed to validate content > /tmp/ansible.yJMg2z.xml:19: element primitive: Relax-NG validity > error : Element resources has extra content: primitive > (main) error: CIB did not pass schema validation > Errors found during check: config not valid The attached config doesn't have any clone elements, so I'm guessing it's not the /tmp/ansible.yJMg2z.xml mentioned above? The syntax in that tmp file is not valid (somewhere in the and tags). > > Thanks > Bala > > > On Mon, Mar 2, 2020 at 5:26 PM Strahil Nikolov > wrote: > > On March 2, 2020 1:22:55 PM GMT+02:00, Bala Mutyam < > > koti.reddy...@gmail.com> wrote: > > >Hi All, > > > > > >I'm trying to setup Pacemaker cluster with 2 VIPs and a group with > > the > > >VIPs > > >and service for squid proxy. But the CIB verification is failing > > with > > >below > > >errors. Could someone help me with this please? > > > > > >Errors: > > > > > >crm_verify --verbose --xml-file=/tmp/ansible.oGK0ye.xml > > >/tmp/ansible.oGK0ye.xml:17: element primitive: Relax-NG validity > > error > > >: > > >Invalid sequence in interleave > > >/tmp/ansible.oGK0ye.xml:17: element primitive: Relax-NG validity > > error > > >: > > >Element primitive failed to validate content > > >/tmp/ansible.oGK0ye.xml:17: element group: Relax-NG validity error > > : > > >Invalid sequence in interleave > > >/tmp/ansible.oGK0ye.xml:17: element group: Relax-NG validity error > > : > > >Element group failed to validate content > > >/tmp/ansible.oGK0ye.xml:17: element group: Relax-NG validity error > > : > > >Element resources has extra content: group > > >(main) error: CIB did not pass schema validation > > >Errors found during check: config not valid > > > > And your config is ? > > > > Best Regards, > > Strahil Nikolov > > > ___ > Manage your subscription: > https://lists.clusterlabs.org/mailman/listinfo/users > > ClusterLabs home: https://www.clusterlabs.org/ -- Ken Gaillot ___ Manage your subscription: https://lists.clusterlabs.org/mailman/listinfo/users ClusterLabs home: https://www.clusterlabs.org/
Re: [ClusterLabs] Debian 10 pacemaker - CIB did not pass schema validation
Hi Strahil, Apologies for my delay. I've attached the config below. Here is the new error: crm_verify --verbose --xml-file=/tmp/ansible.yJMg2z.xml /tmp/ansible.yJMg2z.xml:28: element primitive: Relax-NG validity error : Invalid sequence in interleave /tmp/ansible.yJMg2z.xml:28: element primitive: Relax-NG validity error : Element primitive failed to validate content /tmp/ansible.yJMg2z.xml:28: element clone: Relax-NG validity error : Invalid sequence in interleave /tmp/ansible.yJMg2z.xml:28: element clone: Relax-NG validity error : Element clone failed to validate content /tmp/ansible.yJMg2z.xml:19: element primitive: Relax-NG validity error : Element resources has extra content: primitive (main) error: CIB did not pass schema validation Errors found during check: config not valid Thanks Bala On Mon, Mar 2, 2020 at 5:26 PM Strahil Nikolov wrote: > On March 2, 2020 1:22:55 PM GMT+02:00, Bala Mutyam < > koti.reddy...@gmail.com> wrote: > >Hi All, > > > >I'm trying to setup Pacemaker cluster with 2 VIPs and a group with the > >VIPs > >and service for squid proxy. But the CIB verification is failing with > >below > >errors. Could someone help me with this please? > > > >Errors: > > > >crm_verify --verbose --xml-file=/tmp/ansible.oGK0ye.xml > >/tmp/ansible.oGK0ye.xml:17: element primitive: Relax-NG validity error > >: > >Invalid sequence in interleave > >/tmp/ansible.oGK0ye.xml:17: element primitive: Relax-NG validity error > >: > >Element primitive failed to validate content > >/tmp/ansible.oGK0ye.xml:17: element group: Relax-NG validity error : > >Invalid sequence in interleave > >/tmp/ansible.oGK0ye.xml:17: element group: Relax-NG validity error : > >Element group failed to validate content > >/tmp/ansible.oGK0ye.xml:17: element group: Relax-NG validity error : > >Element resources has extra content: group > >(main) error: CIB did not pass schema validation > >Errors found during check: config not valid > > And your config is ? > > Best Regards, > Strahil Nikolov > -- Thanks Bala config Description: Binary data ___ Manage your subscription: https://lists.clusterlabs.org/mailman/listinfo/users ClusterLabs home: https://www.clusterlabs.org/
Re: [ClusterLabs] Debian 10 pacemaker - CIB did not pass schema validation
On Mon, Mar 02, 2020 at 11:22:55AM +, Bala Mutyam wrote: > I'm trying to setup Pacemaker cluster with 2 VIPs and a group with the VIPs > and service for squid proxy. But the CIB verification is failing with below > errors. Could someone help me with this please? > > Errors: > > crm_verify --verbose --xml-file=/tmp/ansible.oGK0ye.xml Can you share the contents of the xml file? -- Valentin ___ Manage your subscription: https://lists.clusterlabs.org/mailman/listinfo/users ClusterLabs home: https://www.clusterlabs.org/
[ClusterLabs] Debian 10 pacemaker - CIB did not pass schema validation
Hi All, I'm trying to setup Pacemaker cluster with 2 VIPs and a group with the VIPs and service for squid proxy. But the CIB verification is failing with below errors. Could someone help me with this please? Errors: crm_verify --verbose --xml-file=/tmp/ansible.oGK0ye.xml /tmp/ansible.oGK0ye.xml:17: element primitive: Relax-NG validity error : Invalid sequence in interleave /tmp/ansible.oGK0ye.xml:17: element primitive: Relax-NG validity error : Element primitive failed to validate content /tmp/ansible.oGK0ye.xml:17: element group: Relax-NG validity error : Invalid sequence in interleave /tmp/ansible.oGK0ye.xml:17: element group: Relax-NG validity error : Element group failed to validate content /tmp/ansible.oGK0ye.xml:17: element group: Relax-NG validity error : Element resources has extra content: group (main) error: CIB did not pass schema validation Errors found during check: config not valid -- Thanks Bala ___ Manage your subscription: https://lists.clusterlabs.org/mailman/listinfo/users ClusterLabs home: https://www.clusterlabs.org/