Skip to content

Commit

Permalink
Disable the fs.flag abort_start() routine if the resource is in a vol…
Browse files Browse the repository at this point in the history
… object

Vol objects are slaves of their consumer services, if an abort must be
decided its up to the svc.
  • Loading branch information
cvaroqui committed Dec 16, 2020
1 parent e4b6fc0 commit 77c09d7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions opensvc/drivers/resource/fs/flag/__init__.py
Expand Up @@ -57,6 +57,9 @@ def abort_start(self):
return
if self.is_standby:
return
if self.svc.kind == "vol":
# volumes are slaves of their consumer svc
return
try:
for node in self.svc.nodes:
if node == Env.nodename:
Expand Down

0 comments on commit 77c09d7

Please sign in to comment.