[Pacemaker] orphaned resources

Dejan Muhamedagic dejanmm at fastmail.fm
Thu Nov 15 08:26:18 UTC 2012


On Wed, Nov 14, 2012 at 07:45:33PM +0100, Vladimir Elisseev wrote:
> Thanks! I've tried "crm resource cleanup fs_movies", but it didn't work,
> while your command did the trick. What is the difference?

None at all :) Almost all crm resource command just invoke
crm_resource.

Thanks,

Dejan

> However, if
> I'd do the same for drbd_movies it doesn't work:
> 
> crm_resource -C -r drbd_movies
> Error performing operation: The object/attribute does not exist
> 
> Regards,
> Vlad.
> 
> On Wed, 2012-11-14 at 13:35 -0500, David Vossel wrote:
> > 
> > ----- Original Message -----
> > > From: "Vladimir Elisseev" <vovan at vovan.nl>
> > > To: "pacemaker" <pacemaker at oss.clusterlabs.org>
> > > Sent: Wednesday, November 14, 2012 12:03:09 PM
> > > Subject: [Pacemaker] orphaned resources
> > > 
> > > Hello,
> > > 
> > > I've removed a few resources from cluster. While everything works as
> > > expected, I'm getting following failed actions when run crm_mon:
> > 
> > Does something like, #crm_resource -C -r fs_movies, help?
> > 
> > -- Vossel
> > 
> > > 
> > >  fs_movies      (ocf::heartbeat:Filesystem):     ORPHANED Started
> > >  srv2 (unmanaged) FAILED
> > >  fs_dreambox    (ocf::heartbeat:Filesystem):     ORPHANED Started
> > >  srv2 (unmanaged) FAILED
> > >  drbd_dreambox:1        (ocf::linbit:drbd):      ORPHANED Slave srv2
> > >  (unmanaged) FAILED
> > >  drbd_movies:1  (ocf::linbit:drbd):      ORPHANED Slave srv2
> > >  (unmanaged) FAILED
> > > 
> > > Failed actions:
> > >     fs_movies_stop_0 (node=srv2, call=453, rc=-2, status=Timed Out):
> > >     unknown exec error
> > >     drbd_dreambox:1_demote_0 (node=srv2, call=455, rc=-2,
> > >     status=Timed Out): unknown exec error
> > >     drbd_dreambox:1_stop_0 (node=srv2, call=457, rc=-2, status=Timed
> > >     Out): unknown exec error
> > >     drbd_movies:1_demote_0 (node=srv2, call=456, rc=-2, status=Timed
> > >     Out): unknown exec error
> > >     drbd_movies:1_stop_0 (node=srv2, call=458, rc=-2, status=Timed
> > >     Out): unknown exec error
> > >     fs_dreambox_stop_0 (node=srv2, call=454, rc=-2, status=Timed
> > >     Out): unknown exec error
> > > 
> > > These resources are non-existent anymore, but I see that the cluster
> > > still probes these resources:
> > > 
> > > common_apply_stickiness: Forcing fs_movies away from srv2 after
> > > 1000000 failures (max=1000000)
> > > 
> > > I'd appreciate if somebody would help me with cleaning up these
> > > errors.
> > > 
> > > Regards,
> > > Vladimir.
> > > 
> > > 
> > > _______________________________________________
> > > 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://bugs.clusterlabs.org
> > > 
> > 
> > _______________________________________________
> > 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://bugs.clusterlabs.org
> 
> 
> 
> _______________________________________________
> 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://bugs.clusterlabs.org




More information about the Pacemaker mailing list