[Linux-HA] "stray" resource - "Nothing known about resource resource_ running on ..."

Ask Bjørn Hansen ask at develooper.com
Sun Nov 26 22:39:49 MST 2006


Hi,

I seem to have a reource_ running that's not in the configuration.    
(I created it in the GUI tool by mistake and deleted it by editing  
the cib file (via cibadmin  -Q / -R).   How do I get rid of it?

[root at app1 tmp]# crm_verify -V -L
crm_verify[6928]: 2006/11/26_21:30:55 WARN: unpack_config:unpack.c No  
value specified for cluster preference: default_action_timeout
crm_verify[6928]: 2006/11/26_21:30:55 WARN: unpack_config:unpack.c No  
value specified for cluster preference:  
default_resource_failure_stickiness
crm_verify[6928]: 2006/11/26_21:30:55 WARN: unpack_config:unpack.c No  
value specified for cluster preference: remove_after_stop
crm_verify[6928]: 2006/11/26_21:30:55 WARN:  
process_orphan_resource:unpack.c Nothing known about resource  
resource_ running on app1.bur.sol
Warnings found during check: config may not be valid

(A side question -- what should the defaults be for those cluster  
preferences?  I can't find them documented anywhere.  Also, if there  
should be defaults, why doesn't the system create them when it  
creates the first cib.xml?  It was a pain to look for them in the dtd  
and enter them manually in the cib...)

Anyway, I can't seem to get rid of that "resource_" resource.  (I've  
included the XML from cib.xml below). I tried variations on

crm_resource -r resource_ -p target_role -v stopped
(get an error that it doesn't exist)

crm_resource  -D -r resource_ -t IPaddr

(no output)

Any suggestions?    I set "stop_orphan_resources" to TRUE, but that  
didn't seem to have any effect.


  - ask


            <lrm_resource id="resource_" type="IPaddr"  
class="heartbeat" provider="heartbeat">
              <lrm_rsc_op id="resource__monitor_0"  
operation="monitor" crm-debug-origin="build_active_RAs"  
transition_key="4:1f32c652-4d00-41a0-8694-06fc1d
6de70e" transition_magic="4:7;4:1f32c652-4d00-41a0-8694-06fc1d6de70e"  
call_id="2" crm_feature_set="1.0.6" rc_code="7" op_status="4"  
interval="0" op_digest
="6e746b171e00ab8fca7dd1853c7aca89"/>
            </lrm_resource>




More information about the Linux-HA mailing list