02.10.2012 15:41, Vladislav Bogdanov wrote:
...
>          for req_op in self.required_ops:
>              if req_op not in n_ops:
> -                n_ops[req_op] = {}
> +                if not (self.ra_class == "stonith" and op in ("start", 
> "stop")):

s/ op/ req_op/

> +                    n_ops[req_op] = {}
> +
>          intervals = {}
>          for op in n_ops:
> +            if self.ra_class == "stonith" and op in ("start", "stop"):
> +                continue
>              if op not in self.actions():
>                  common_warn("%s: action %s not advertised in meta-data, it 
> may not be supported by the RA" % (id,op))
>                  rc |= 1
> ---


_______________________________________________
Pacemaker mailing list: Pacemaker@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

Reply via email to