[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-ha
Subject:    Re: Re: [Linux-HA] "stray" resource - "Nothing known about resource
From:       "Andrew Beekhof" <beekhof () gmail ! com>
Date:       2006-11-27 17:20:40
Message-ID: 26ef5e70611270920w38e17258y19748d9832efcbd5 () mail ! gmail ! com
[Download RAW message or body]

On 11/27/06, Eddie C <edlinuxguru@gmail.com> wrote:
> I have found that the when this happenes I have had some luck managing the
> CIB from another node (other then the one you added the resource on). Do not
> ask me why but if you jump to the other node and just modify the
> configuration from their it sometimes cleans up non consistant stuff in the
> CIB.

that sounds scary.  can you take notes (and report it) if this happens again?

>
> Edward
>
>
> On 11/27/06, Andrew Beekhof <beekhof@gmail.com> wrote:
> >
> > On 11/27/06, Ask Bjørn Hansen <ask@develooper.com> wrote:
> > > 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?
> >
> > stop_orphan_resources=true should have done it already...
> > can you post the result of "cibadmin -Q" and I'll look into it.
> >
> > >
> > > [root@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.
> >
> > in later versions they're documented using the command: pengine metadata
> > otherwise a semi complete list is maintained at:
> >
> > http://www.linux-ha.org/v2/dtd1.0/annotated#head-0a73a553722e13ebbd7fd49ceb12a66116f93150
> >
> > > Also, if there
> > > should be defaults, why doesn't the system create them when it
> > > creates the first cib.xml?
> >
> > just because they're the defaults doesn't mean they suit your
> > situation and the best way to ensure people review them is to complain
> > when they're not set :)
> >
> > > 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>
> > >
> > >
> > > _______________________________________________
> > > Linux-HA mailing list
> > > Linux-HA@lists.linux-ha.org
> > > http://lists.linux-ha.org/mailman/listinfo/linux-ha
> > > See also: http://linux-ha.org/ReportingProblems
> > >
> > _______________________________________________
> > Linux-HA mailing list
> > Linux-HA@lists.linux-ha.org
> > http://lists.linux-ha.org/mailman/listinfo/linux-ha
> > See also: http://linux-ha.org/ReportingProblems
> >
> _______________________________________________
> Linux-HA mailing list
> Linux-HA@lists.linux-ha.org
> http://lists.linux-ha.org/mailman/listinfo/linux-ha
> See also: http://linux-ha.org/ReportingProblems
>
_______________________________________________
Linux-HA mailing list
Linux-HA@lists.linux-ha.org
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic