Cristian, yes, I forgot to mention that the OCF_RESKEY_CRM_meta_interval fixup didn't make it into 1.0.2. I still believe that the environment variable should be passed in at all times by the CRM, in which case this fixup wouldn't be necessary, but well.
So do I assume correctly that current upstream is working OK for you? Cheers, Florian On 2010-03-09 12:39, Cristian Mammoli - Apra Sistemi wrote: > Cristian Mammoli - Apra Sistemi wrote: > >> I checked the source package available on linux-ha.org at >> http://hg.linux-ha.org/agents/archive/agents-1.0.2.tar.bz2 >> OCF_RESKEY_CRM_meta_interval is not declared in .ocf-shellfuncs.in either. >> > > Added: > # Define OCF_RESKEY_CRM_meta_interval in case it isn't already set, > # to make sure that ocf_is_probe() always works > : ${OCF_RESKEY_CRM_meta_interval=0} > to .ocf-shellfuncs > > Now ocf_is_probe works right, no more RC=2 on probes > This is the debug output: > > 2010-03-09_11:52:23 > /usr/lib/ocf/resource.d//apra/vmware monitor > OCF_AGENTS=/usr/lib/ocf/resource.d//heartbeat/ > OCF_RA_VERSION_MAJOR=1 > OCF_RA_VERSION_MINOR=0 > OCF_RESKEY_CRM_meta_op_target_rc=7 > OCF_RESKEY_CRM_meta_timeout=20000 > OCF_RESKEY_crm_feature_set=3.0.1 > OCF_RESKEY_vmxpath=/datastore1/w2003R2-1/w2003R2-1.vmx > OCF_RESOURCE_INSTANCE=w2003R2-1 > OCF_RESOURCE_PROVIDER=apra > OCF_RESOURCE_TYPE=vmware > OCF_ROOT=/usr/lib/ocf > 2010-03-09_11:52:49 > /usr/lib/ocf/resource.d//apra/vmware monitor > OCF_AGENTS=/usr/lib/ocf/resource.d//heartbeat/ > OCF_RA_VERSION_MAJOR=1 > OCF_RA_VERSION_MINOR=0 > OCF_RESKEY_CRM_meta_op_target_rc=7 > OCF_RESKEY_CRM_meta_timeout=20000 > OCF_RESKEY_crm_feature_set=3.0.1 > OCF_RESKEY_vmxpath=/datastore2/w2003R2-2/w2003R2-2.vmx > OCF_RESOURCE_INSTANCE=w2003R2-2 > OCF_RESOURCE_PROVIDER=apra > OCF_RESOURCE_TYPE=vmware > OCF_ROOT=/usr/lib/ocf >
signature.asc
Description: OpenPGP digital signature
_______________________________________________________ Linux-HA-Dev: [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev Home Page: http://linux-ha.org/
