Bug 1401996
| Summary: | hosted-engine --deploy does not clean setup after instllation | ||
|---|---|---|---|
| Product: | [oVirt] ovirt-hosted-engine-setup | Reporter: | Roman Hodain <rhodain> |
| Component: | General | Assignee: | Simone Tiraboschi <stirabos> |
| Status: | CLOSED DUPLICATE | QA Contact: | meital avital <mavital> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 2.1.0 | CC: | bugs, ylavi |
| Target Milestone: | --- | Flags: | rhodain:
planning_ack?
rhodain: devel_ack? rhodain: testing_ack? |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | integration | ||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-12-12 10:19:45 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | Integration | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
*** This bug has been marked as a duplicate of bug 1001181 *** |
Description of problem: Hosted engine deploy does not remove the following directory /rhev/data-center/mnt/_var_lib_ovirt-hosted-engine-setup_tmpTXbRaN/ after a failed installation. This does not prevent further deployment, but when the engine is finally deployed it reports an error Version-Release number of selected component (if applicable): ovirt 4.1 How reproducible: 100% Steps to Reproduce: 1. Interrupt the deployment process after the mount point if mounted. Actual results: 2016-12-06 15:02:17,366 ERROR (jsonrpc/7) [storage.TaskManager.Task] (Task='fd4e5560-b25e-4e0d-9f56-067cb4dbd0b4') Un expected error (task:870) Traceback (most recent call last): File "/usr/share/vdsm/storage/task.py", line 877, in _run return fn(*args, **kargs) File "/usr/lib/python2.7/site-packages/vdsm/logUtils.py", line 50, in wrapper res = f(*args, **kwargs) File "/usr/share/vdsm/storage/hsm.py", line 2701, in getStorageDomainInfo return dict(info=dom.getInfo()) File "/usr/share/vdsm/storage/fileSD.py", line 611, in getInfo info['remotePath'] = self.getRealPath() File "/usr/share/vdsm/storage/localFsSD.py", line 121, in getRealPath return os.readlink(self.mountpoint) OSError: [Errno 22] Invalid argument: '/rhev/data-center/mnt/_var_lib_ovirt-hosted-engine-setup_tmpTXbRaN' Expected results: The mount point is unmounted and removed. Additional info: I unfortunately do not have the deployment logs any more.