Hi,
I recently migrated from 2.0.7 to 2.0.8.
when I run my old ( 2.0.7 ) cib.xml through crm_verify now, I receive
following warns / errors:
element cib: validity error : Element cib content does not follow
the DTD,
expecting (configuration , status), got (configuration )
element cib: validity error : Element cib does not carry attribute
num_updates
element cib: validity error : Element cib does not carry attribute
epoch
element cib: validity error : Element cib does not carry attribute
admin_epoch
crm_verify[25908]: 2007/04/06_13:18:35 ERROR: validate_with_dtd:
CIB does
not validate against /usr/lib/heartbeat/crm.dtd
crm_verify[25908]: 2007/04/06_13:18:35 ERROR: main: CIB did not
pass DTD
validation
crm_verify[25908]: 2007/04/06_13:18:35 WARN: cluster_option: Using
deprecated name 'no_quorum_policy' for cluster option 'no-quorum-
policy'
crm_verify[25908]: 2007/04/06_13:18:35 WARN: cluster_option: Using
deprecated name 'symmetric_cluster' for cluster option 'symmetric-
cluster'
crm_verify[25908]: 2007/04/06_13:18:35 WARN: cluster_option: Using
deprecated name 'stonith_enabled' for cluster option 'stonith-
enabled'
crm_verify[25908]: 2007/04/06_13:18:35 WARN: cluster_option: Using
deprecated name 'stonith_action' for cluster option 'stonith-action'
crm_verify[25908]: 2007/04/06_13:18:35 WARN: cluster_option: Using
deprecated name 'default_resource_stickiness' for cluster option
'default-resource-stickiness'
crm_verify[25908]: 2007/04/06_13:18:35 WARN: cluster_option: Using
deprecated name 'default_resource_failure_stickiness' for cluster
option
'default-resource-failure-stickiness'
crm_verify[25908]: 2007/04/06_13:18:35 WARN: cluster_option: Using
deprecated name 'is_managed_default' for cluster option
'is-managed-default'
crm_verify[25908]: 2007/04/06_13:18:35 WARN: cluster_option: Using
deprecated name 'transition_idle_timeout' for cluster option
'cluster-delay'
crm_verify[25908]: 2007/04/06_13:18:35 WARN: cluster_option: Using
deprecated name 'default_action_timeout' for cluster option
'default-action-timeout'
crm_verify[25908]: 2007/04/06_13:18:35 WARN: cluster_option: Using
deprecated name 'stop_orphan_resources' for cluster option
'stop-orphan-resources'
crm_verify[25908]: 2007/04/06_13:18:35 WARN: cluster_option: Using
deprecated name 'stop_orphan_actions' for cluster option
'stop-orphan-actions'
crm_verify[25908]: 2007/04/06_13:18:35 WARN: cluster_option: Using
deprecated name 'remove_after_stop' for cluster option 'remove-
after-stop'
Errors found during check: config not valid
I have removed the warns regarding deprecated names.
What i am really stuck is the first error it throws. When I create
a tag
for
status in the cib.xml, then run it through the crm_verify, i do
not get the
error.
But when I start heartbeat, it deletes the status part in cib.xml
during
updating it, and this error again appears from crm_verify.
I was developing a tool to monitor for cib corrution for my setup,
but i am
stuck because of this error.
Please suggest how do i fix this error, or if this is an error at
all ?
I am attaching my cib.xml for reference.