Revision 78f3bd30 daemons/ganeti-watcher
b/daemons/ganeti-watcher | ||
---|---|---|
335 | 335 |
|
336 | 336 |
def Run(self): |
337 | 337 |
notepad = WatcherState() |
338 |
self.CheckInstances(notepad) |
|
339 |
self.CheckDisks(notepad) |
|
340 |
self.VerifyDisks() |
|
341 |
notepad.Save() |
|
338 |
try: |
|
339 |
self.CheckInstances(notepad) |
|
340 |
self.CheckDisks(notepad) |
|
341 |
self.VerifyDisks() |
|
342 |
finally: |
|
343 |
notepad.Save() |
|
342 | 344 |
|
343 | 345 |
def CheckDisks(self, notepad): |
344 | 346 |
"""Check all nodes for restarted ones. |
Also available in: Unified diff