Re: [Pacemaker] xml passes crm_verify but fails cibadmin --replace

2009-05-16 Thread Andrew Beekhof
On Thu, May 14, 2009 at 8:01 PM, Joe Armstrong  wrote:
>
> Answering my own question here... I had forgotten to add the  tag.  
> Still odd that crm_verify passed though...

crm_verify adds it automagically...

___
Pacemaker mailing list
Pacemaker@oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker


Re: [Pacemaker] xml passes crm_verify but fails cibadmin --replace

2009-05-14 Thread Joe Armstrong

Answering my own question here... I had forgotten to add the  tag.  
Still odd that crm_verify passed though...

Joe

-Original Message-
From: Joe Armstrong 
Sent: Thursday, May 14, 2009 7:35 AM
To: pacema...@clusterlabs.org
Subject: [Pacemaker] xml passes crm_verify but fails cibadmin --replace


Any ideas on how I can get more information on the reason --replace fails 
(running it with --verbose already).

Thanks.

Joe

... The base xml file came from "cibadmin --query > new.xml" then I manually 
added the resources section

[r...@vm2 ~]# cat new.xml

  

  

  
  

  


  
  


  
  

  
  
  
  

  



  

[r...@vm2 ~]# crm_verify -V --xml-file new.xml
[r...@vm2 ~]# cibadmin --verbose --replace --xml-file new.xml
Call cib_replace failed (-47): Update does not conform to the configured 
schema/DTD

[r...@vm2 ~]#


Versions installed:

/RPMs/heartbeat-2.99.2-8.1.x86_64.rpm
/RPMs/openais-0.80.5-13.1.x86_64.rpm
/RPMs/heartbeat-common-2.99.2-8.1.x86_64.rpm 
/RPMs/pacemaker-1.0.3-2.2.x86_64.rpm
/RPMs/heartbeat-resources-2.99.2-8.1.x86_64.rpm  
/RPMs/pacemaker-mgmt-1.99.1-2.1.x86_64.rpm
/RPMs/libheartbeat2-2.99.2-8.1.x86_64.rpm
/RPMs/pacemaker-mgmt-client-1.99.1-2.1.x86_64.rpm
/RPMs/libopenais2-0.80.5-13.1.x86_64.rpm 
/RPMs/python-lxml-1.3.4-1.el5.rf.x86_64.rpm
/RPMs/libpacemaker3-1.0.3-2.2.x86_64.rpm

Running on CentOs 5.3

___
Pacemaker mailing list
Pacemaker@oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker

___
Pacemaker mailing list
Pacemaker@oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker


[Pacemaker] xml passes crm_verify but fails cibadmin --replace

2009-05-14 Thread Joe Armstrong

Any ideas on how I can get more information on the reason --replace fails 
(running it with --verbose already).

Thanks.

Joe

... The base xml file came from "cibadmin --query > new.xml" then I manually 
added the resources section

[r...@vm2 ~]# cat new.xml

  

  

  
  

  


  
  


  
  

  
  
  
  

  



  

[r...@vm2 ~]# crm_verify -V --xml-file new.xml
[r...@vm2 ~]# cibadmin --verbose --replace --xml-file new.xml
Call cib_replace failed (-47): Update does not conform to the configured 
schema/DTD

[r...@vm2 ~]#


Versions installed:

/RPMs/heartbeat-2.99.2-8.1.x86_64.rpm
/RPMs/openais-0.80.5-13.1.x86_64.rpm
/RPMs/heartbeat-common-2.99.2-8.1.x86_64.rpm 
/RPMs/pacemaker-1.0.3-2.2.x86_64.rpm
/RPMs/heartbeat-resources-2.99.2-8.1.x86_64.rpm  
/RPMs/pacemaker-mgmt-1.99.1-2.1.x86_64.rpm
/RPMs/libheartbeat2-2.99.2-8.1.x86_64.rpm
/RPMs/pacemaker-mgmt-client-1.99.1-2.1.x86_64.rpm
/RPMs/libopenais2-0.80.5-13.1.x86_64.rpm 
/RPMs/python-lxml-1.3.4-1.el5.rf.x86_64.rpm
/RPMs/libpacemaker3-1.0.3-2.2.x86_64.rpm

Running on CentOs 5.3

___
Pacemaker mailing list
Pacemaker@oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker


[Pacemaker] xml passes crm_verify but fails cibadmin --replace

2009-05-14 Thread Joe Armstrong

Any ideas on how I can get more information on the reason --replace fails 
(running it with --verbose already).

Thanks.

Joe


[r...@vm2 ~]# cat new.xml

  

  

  
  

  


  
  


  
  

  
  
  
  

  



  

[r...@vm2 ~]# crm_verify -V --xml-file new.xml
[r...@vm2 ~]# cibadmin --verbose --replace --xml-file new.xml
Call cib_replace failed (-47): Update does not conform to the configured 
schema/DTD

[r...@vm2 ~]# 


Versions installed:

/RPMs/heartbeat-2.99.2-8.1.x86_64.rpm
/RPMs/openais-0.80.5-13.1.x86_64.rpm
/RPMs/heartbeat-common-2.99.2-8.1.x86_64.rpm 
/RPMs/pacemaker-1.0.3-2.2.x86_64.rpm
/RPMs/heartbeat-resources-2.99.2-8.1.x86_64.rpm  
/RPMs/pacemaker-mgmt-1.99.1-2.1.x86_64.rpm
/RPMs/libheartbeat2-2.99.2-8.1.x86_64.rpm
/RPMs/pacemaker-mgmt-client-1.99.1-2.1.x86_64.rpm
/RPMs/libopenais2-0.80.5-13.1.x86_64.rpm 
/RPMs/python-lxml-1.3.4-1.el5.rf.x86_64.rpm
/RPMs/libpacemaker3-1.0.3-2.2.x86_64.rpm

Running on CentOs 5.3

___
Pacemaker mailing list
Pacemaker@oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker