[Pacemaker] crmsh resource update issue
Vladislav Bogdanov
bubble at hoster-ok.com
Tue Oct 2 13:45:24 UTC 2012
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
> ---
More information about the Pacemaker
mailing list