| Summary: | Engine VM is being destroyed instead of being rebooted when user asks to rebooted from previously selected boot media. | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Virtualization Manager | Reporter: | Leonid Natapov <lnatapov> | ||||
| Component: | ovirt-hosted-engine-setup | Assignee: | Sandro Bonazzola <sbonazzo> | ||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Leonid Natapov <lnatapov> | ||||
| Severity: | high | Docs Contact: | |||||
| Priority: | high | ||||||
| Version: | 3.3.0 | CC: | iheim, lnatapov, pstehlik, scohen | ||||
| Target Milestone: | --- | Keywords: | Triaged | ||||
| Target Release: | 3.3.0 | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | integration | ||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2013-09-23 11:23:15 UTC | Type: | Bug | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Attachments: |
|
||||||
|
Description
Leonid Natapov
2013-08-27 14:36:22 UTC
The destroy / create behavior is like this by design. After a failed installation answering no destroy the VM and create it again booting again from previously selected boot media. Answering yes destroy the VM and create it again booting from HD. Not closing as not a bug, because I've not understood if engine-setup exits with failure when you answer no. If so can you please attach the logs? Sandro,answering "no" just destroys the vm. Vm never created again. Created attachment 792773 [details]
hosted engine setup log
log attached. Leonid, from the logs I see that the answer 'no' was not read from standard input:
2013-08-27 16:57:13 DEBUG otopi.plugins.otopi.dialog.human dialog.__logString:215 DIALOG:SEND Has the OS installation been completed successfully?
2013-08-27 16:57:13 DEBUG otopi.plugins.otopi.dialog.human dialog.__logString:215 DIALOG:SEND Answering no will allow you to reboot from the previously selected boot media. (Yes, No)[Yes]:
2013-08-27 19:47:45 DEBUG otopi.context context._executeMethod:132 method exception
Traceback (most recent call last):
File "/usr/lib/python2.6/site-packages/otopi/context.py", line 122, in _executeMethod
method['method']()
File "/usr/share/ovirt-hosted-engine-setup/scripts/../plugins/ovirt-hosted-engine-setup/vm/runvm.py", line 288, in _boot_from_install_media
default=_('Yes')
File "/usr/share/otopi/plugins/otopi/dialog/human.py", line 170, in queryString
value = self._readline(hidden=hidden)
File "/usr/lib/python2.6/site-packages/otopi/dialog.py", line 257, in _readline
value = self.__input.readline()
File "/usr/lib/python2.6/site-packages/otopi/main.py", line 59, in _signal
raise RuntimeError("SIG%s" % signum)
RuntimeError: SIG1
Are you able to reproduce the issue?
What do you mean was not read from standart input ? I can try reproduce it. Well, when the dialog reads an answer it logs something like: 2013-08-27 16:30:38 DEBUG otopi.plugins.otopi.dialog.human dialog.__logString:215 DIALOG:SEND Continuing will configure this host for serving as hypervisor and create a VM where oVirt Engine will be installed afterwards. 2013-08-27 16:30:38 DEBUG otopi.plugins.otopi.dialog.human dialog.__logString:215 DIALOG:SEND Are you sure you want to continue? (Yes, No)[Yes]: 2013-08-27 16:30:42 DEBUG otopi.plugins.otopi.dialog.human dialog.__logString:215 DIALOG:RECEIVE Yes In this log, the 'DIALOG:RECEIVE No' is missing and there is a SIG1 which should be SIGHUP while reading the answer from the console with 'value = self.__input.readline()'. Leonid, are you able to reproduce the issue? Hi,Sandro. There been a holidays here,so I wasn't in the office. Do I need a new rpms and new vdsm ? or should I try to reproduce it with what I have ? (In reply to Leonid Natapov from comment #9) > Hi,Sandro. There been a holidays here,so I wasn't in the office. Do I need a > new rpms and new vdsm ? or should I try to reproduce it with what I have ? I think you can wait for IS14. Can you still reproduce this? Sandro,I wasn't able to reproduce it with the latest RPMs. Thanks Leonid, closing with insufficient data for reproducing this. Please reopen if you see this again during your tests. |