[ClusterLabs] Debian 10 pacemaker - CIB did not pass schema validation
Ken Gaillot
kgaillot at redhat.com
Thu Mar 5 12:25:33 EST 2020
On Thu, 2020-03-05 at 11:44 +0000, 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 <primitive> and <clone>
tags).
>
> Thanks
> Bala
>
>
> On Mon, Mar 2, 2020 at 5:26 PM Strahil Nikolov <hunter86_bg at yahoo.com
> > wrote:
> > On March 2, 2020 1:22:55 PM GMT+02:00, Bala Mutyam <
> > koti.reddy2k9 at 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 <kgaillot at redhat.com>
More information about the Users
mailing list