equal
deleted
inserted
replaced
177 self.bemgr = bemgmt.BEManager(logger=logger) |
177 self.bemgr = bemgmt.BEManager(logger=logger) |
178 self.img_be = None |
178 self.img_be = None |
179 self.be_clone = None |
179 self.be_clone = None |
180 try: |
180 try: |
181 self.beList = self.bemgr.list() |
181 self.beList = self.bemgr.list() |
182 except Exception: |
182 except BeMgmtOpError: |
183 # Unable to get the list of BEs |
183 # Unable to get the list of BEs |
184 raise RuntimeError("recoveryDisabled") |
184 if portable.osname == "sunos": |
|
185 raise RuntimeError("recoveryDisabled") |
185 |
186 |
186 # Need to find the name of the BE we're operating on in order |
187 # Need to find the name of the BE we're operating on in order |
187 # to create a snapshot and/or a clone of the BE. |
188 # to create a snapshot and/or a clone of the BE. |
188 for be in self.beList: |
189 for be in self.beList: |
189 if not be.mounted: |
190 if not be.mounted: |