(self)
| 59 | raise CloudRuntimeException("Configure %s failed, Please check the /var/log/cloudstack/agent/setup.log for detail"%self.serviceName) |
| 60 | |
| 61 | def backup(self): |
| 62 | if self.status is None: |
| 63 | return True |
| 64 | |
| 65 | writeProgressBar("Restore " + self.serviceName + " ...", None) |
| 66 | result = False |
| 67 | try: |
| 68 | for cfo in self.cfoHandlers: |
| 69 | cfo.backup() |
| 70 | |
| 71 | result = self.restore() |
| 72 | except (CloudRuntimeException, CloudInternalException) as e: |
| 73 | logging.debug(e) |
| 74 | |
| 75 | writeProgressBar(None, result) |
| 76 | |
| 77 | def config(self): |
| 78 | return True |
nothing calls this directly
no test coverage detected