[Pacemaker] Removing a 'Faile Action' in crm_mon display

Dejan Muhamedagic dejanmm at fastmail.fm
Tue Apr 26 10:48:35 EDT 2011


Hi,

On Tue, Apr 26, 2011 at 08:49:59AM +0200, Andrew Beekhof wrote:
> On Thu, Apr 21, 2011 at 7:46 PM, Phil Hunt <Phil.Hunt at orionhealth.com> wrote:
> > Had trouble setting up a resource, so it showed a failed action.
> >
> > I was doing 'crm resource cleanup xxx', and they would go away and come right back.
> 
> Because the underlying cause remained.
> 
> >
> > Anyway, I no longer needed the resource, so I deleted it and now I cannot do a cleanup to remove the failed action.
> >
> > Anyway to remove the failed actions?
> 
> It should work, unless the shell is being too clever.

No, it's not trying to be clever, at least not here. It's not
checking if the resource exists.

Thanks,

Dejan

> Try using the crm_resource tool directly.
> >
> >
> > ============
> > Last updated: Thu Apr 21 14:51:58 2011
> > Stack: openais
> > Current DC: CentClus1 - partition with quorum
> > Version: 1.0.10-da7075976b5ff0bee71074385f8fd02f296ec8a3
> > 2 Nodes configured, 2 expected votes
> > 3 Resources configured.
> > ============
> >
> > Online: [ CentClus1 CentClus2 ]
> >
> >  Resource Group: CL_group
> >     ISCSI_disk (ocf::heartbeat:iscsi): Started CentClus1
> >     VG_disk    (ocf::heartbeat:LVM):   Started CentClus1
> >     FS_disk    (ocf::heartbeat:Filesystem):    Started CentClus1
> >     ClusterIP  (ocf::heartbeat:IPaddr2):       Started CentClus1
> >  Clone Set: CPM_ping
> >     Started: [ CentClus2 CentClus1 ]
> >  Clone Set: CTM_ping
> >     Started: [ CentClus1 CentClus2 ]
> >
> > Failed actions:
> >    dlm:0_monitor_0 (node=CentClus1, call=272, rc=5, status=complete): not insta
> > lled    dlm:0_monitor_0 (node=CentClus2, call=16, rc=5, status=complete): not in
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > PHIL HUNT AMS Consultant
> > phil.hunt at orionhealth.com
> > P: +1 857 488 4749
> > M: +1 508 654 7371
> > S: philhu0724
> > www.orionhealth.com
> >
> > _______________________________________________
> > Pacemaker mailing list: Pacemaker at oss.clusterlabs.org
> > http://oss.clusterlabs.org/mailman/listinfo/pacemaker
> >
> > Project Home: http://www.clusterlabs.org
> > Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
> > Bugs: http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker
> >
> 
> _______________________________________________
> Pacemaker mailing list: Pacemaker at oss.clusterlabs.org
> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
> 
> Project Home: http://www.clusterlabs.org
> Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
> Bugs: http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker




More information about the Pacemaker mailing list