[ClusterLabs] Updating CIB Question Update does not conform to the configured schema

AM. E. aymane33 at gmail.com
Sun Feb 21 21:51:52 EST 2021


Hi,
I am using version 1.1.18 of pacemaker on my linux ubuntu 16.04.
I am trying to push cib after updating and I keep getting the error below:

$ sudo pcs cluster cib-push cib_temp
Error: unable to push cib
Call cib_replace failed (-203): Update does not conform to the configured
schema

What I have added  was the sections in bold (I am trying to implement multi
subnet deployment)
      <primitive class="ocf" id="virtualip" provider="heartbeat"
type="awsvip">
        <instance_attributes id="virtualip-instance_attributes">


*<rule id="Subnet1-IP" score="INFINITY"><expression id="Subnet1-Node"
attribute="#uname" operation="eq" value="ag1"/></rule>*
          <nvpair id="virtualip-instance_attributes-secondary_ip_address"
name="secondary_ip_address" value="10.45.54.47"/>
        </instance_attributes>
        <instance_attributes id="virtualip-instance_attributes2">


*<rule id="Subnet2-IP" score="INFINITY"><expression id="Subnet2-Node"
attribute="#uname" operation="eq" value="ag2"/></rule>*
          <nvpair id="virtualip-instance_attributes-secondary_ip_address"
name="secondary_ip_address" value="10.45.54.147"/>
        </instance_attributes>

Did I violate the schema ?  I saw a post at
https://www.drware.com/configure-multiple-subnet-alwayson-availability-groups-by-modifying-cib/
Where the same portion was updated and there was no such issue?

I am using this version
$ pacemakerd --version
Pacemaker 1.1.14

Any insights?
Thanks
Ayman Els
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.clusterlabs.org/pipermail/users/attachments/20210221/b954c2c9/attachment.htm>


More information about the Users mailing list