Project

General

Profile

Actions

Bug #11457

closed

calamari_setup task does not tear down mount of ISO

Added by Dan Mick about 9 years ago. Updated almost 9 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
QA Suite
% Done:

0%

Source:
Development
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Crash signature (v1):
Crash signature (v2):

Description

calamari_setup, if given an ISO, will mount it on /mnt; it should also unmount it in the finally: clause of calamari_install

Actions #1

Updated by Dan Mick about 9 years ago

Untested:

--- a/tasks/calamari_setup.py
+++ b/tasks/calamari_setup.py
@@ -259,6 +259,8 @@ def calamari_install(config, cal_svr):
         yield
     finally:
         log.info('Cleaning up after Calamari installation')
+        if icetype == 'iso':
+            cal_srv.run(['sudo', 'umount', mountpoint])
         if delete_iceball:
             os.unlink(iceball_file)

Actions #2

Updated by Dan Mick about 9 years ago

  • Subject changed from calanari_setup task does not tear down mount of ISO to calamari_setup task does not tear down mount of ISO
Actions #3

Updated by Dan Mick almost 9 years ago

  • Status changed from 12 to Resolved
  • Regression set to No

8defa73000f19d35ed09d73d9e2482ef85bbb8da

Actions

Also available in: Atom PDF