Bug 1569372 - Hosted engine deployment is halting at VM Shutdown
Summary: Hosted engine deployment is halting at VM Shutdown
Status: CLOSED DUPLICATE of bug 1566162
Alias: None
Product: ovirt-hosted-engine-setup
Classification: oVirt
Component: General
Version: 2.2.16
Hardware: x86_64
OS: Linux
Target Milestone: ---
: ---
Assignee: Ido Rosenzwig
QA Contact: meital avital
Depends On:
TreeView+ depends on / blocked
Reported: 2018-04-19 07:31 UTC by Nicolas Rigaud
Modified: 2018-04-20 09:27 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Last Closed: 2018-04-20 09:27:08 UTC
oVirt Team: Integration

Attachments (Terms of Use)
ovirt hosted engine setup log (5.26 MB, text/plain)
2018-04-19 07:31 UTC, Nicolas Rigaud
no flags Details

System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1565730 0 medium CLOSED State field may be missing from virsh output 2021-02-22 00:41:40 UTC

Description Nicolas Rigaud 2018-04-19 07:31:53 UTC
Created attachment 1423934 [details]
ovirt hosted engine setup log

Description of problem:
Hosted engine deployment is halting at VM Shutdown.

The deployment ends with the following error:
[ INFO ] TASK [Wait for local VM shutdown]
[ ERROR ] fatal: [localhost]: FAILED! => {"attempts": 120, "changed": true, "cmd": ["virsh", "-r", "domstate", "HostedEngineLocal"], "delta": "0:00:00.031405", "end": "2018-04-19 09:00:29.698977", "rc": 0, "start": "2018-04-19 09:00:29.667572", "stderr": "", "stderr_lines": [], "stdout": "fermé", "stdout_lines": ["fermé"]}

How reproducible:

Steps to Reproduce:
1.install ovirt node
2.launch cockpit and choose Deploy oVirt hosted engine on storage that has already been provisioned
3.the deployment fails at step 5 (Finish)

Actual results:
Hosted engine deployment is failing

Expected results:
The deployment process should detect that the VM is shut off

Additional info:
The version i have is using dominfo to check the status of the VM, i also tried to replace dominfo with domstate (as specified here: https://github.com/oVirt/ovirt-hosted-engine-setup/commit/305ce334c277bc6c83db418f7c200be06f9827a4) but i have the same result.

During the process, i manually checked the vm status with virsh -r dominfo and also with domstate, in both cases i have an output telling "shut off".

Version-Release number of selected component (if applicable):
Ovirt-node deployed with ovirt-node-ng-installer-ovirt-4.2-2018041606.iso

Comment 1 Doron Fediuck 2018-04-20 09:01:38 UTC
This "fermé" suggest you are using a French locale and our code is missing the end sequence.

Can you please confirm which locale you are using?

Comment 2 Nicolas Rigaud 2018-04-20 09:17:32 UTC
I was also surprised by this "fermé". However when i installed Ovirt Node, i let the default language to US English but i choosed to use a French Keyboard.

If i send the "locale" command i have the following output:


I don't understand where this "fermé" comes from.

If i manually do the command i see "shut off":
virsh -r domstate HostedEngineLocal
shut off


Comment 3 Simone Tiraboschi 2018-04-20 09:27:08 UTC
(In reply to Nicolas Rigaud from comment #2)
> I don't understand where this "fermé" comes from.

It seams it comes from the browser language trough cockpit

*** This bug has been marked as a duplicate of bug 1566162 ***

Note You need to log in before you can comment on or make changes to this bug.