Bug 1548806 - HE deploy failed while target VM stage
Summary: HE deploy failed while target VM stage
Keywords:
Status: CLOSED DUPLICATE of bug 1548508
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: BLL.HostedEngine
Version: 4.2.1
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
: ---
Assignee: Simone Tiraboschi
QA Contact: Polina
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-02-25 08:59 UTC by Polina
Modified: 2018-02-26 14:17 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-02-26 14:17:03 UTC
oVirt Team: Integration
Embargoed:


Attachments (Terms of Use)
he_logs_deploy.tar (785.74 KB, application/x-gzip)
2018-02-25 09:02 UTC, Polina
no flags Details

Description Polina 2018-02-25 08:59:31 UTC
Description of problem:
Hosted HE deploy fails while target VM stage. On this stage it is possible to connect to HE VM by ssh and also to WebAdmin

Version-Release number of selected component (if applicable):
ovirt-hosted-engine-ha-2.2.5-1.el7ev.noarch
ovirt-hosted-engine-setup-2.2.10-1.el7ev.noarch

How reproducible: 100 %

Steps to Reproduce:
1.Run hosted-engine --deploy on AMD host.
2. 
3.

Actual results: after the storage is successfully added, it fails while target VM 


Expected results: no failures while deploy


Additional info: logs attached

Comment 1 Polina 2018-02-25 09:02:59 UTC
Created attachment 1400537 [details]
he_logs_deploy.tar

Comment 2 Polina 2018-02-25 11:57:16 UTC
[ INFO  ] TASK [Wait for the engine to come up on the target VM]
[ ERROR ] fatal: [localhost]: FAILED! => {"msg": "The conditional check 'health_result.rc == 0 and health_result.stdout|from_json|json_query('*.\"engine-status\".\"health\"')|first==\"good\"' failed. The error was: error while evaluating conditional (health_result.rc == 0 and health_result.stdout|from_json|json_query('*.\"engine-status\".\"health\"')|first==\"good\"): No first item, sequence was empty."}
[ ERROR ] Failed to execute stage 'Closing up': Failed executing ansible-playbook
[ INFO  ] Stage: Clean up
[ INFO  ] Cleaning temporary resources
[ INFO  ] TASK [Gathering Facts]
[ INFO  ] ok: [localhost]
[ INFO  ] TASK [include_tasks]
[ INFO  ] ok: [localhost]
[ INFO  ] TASK [Remove local vm dir]
[ INFO  ] changed: [localhost]
[ INFO  ] Generating answer file '/var/lib/ovirt-hosted-engine-setup/answers/answers-20180223160244.conf'
[ INFO  ] Stage: Pre-termination
[ INFO  ] Stage: Termination
[ ERROR ] Hosted Engine deployment failed: please check the logs for the issue, fix accordingly or re-deploy from scratch.
          Log file is located at /var/log/ovirt-hosted-engine-setup/ovirt-hosted-engine-setup-20180223152436-ehekte.log

Comment 3 Yaniv Kaul 2018-02-26 05:45:17 UTC
Does it fail only on AMD? Specific AMD? In any case, looks like a dup of the issue where hosted-engine status returns a non JSON response.

Comment 4 Polina 2018-02-26 13:51:51 UTC
(In reply to Yaniv Kaul from comment #3)
> Does it fail only on AMD? Specific AMD? In any case, looks like a dup of the
> issue where hosted-engine status returns a non JSON response.

I' don't think that it is related to AMD. Just mentioned what is the host architecture where the deploy was performed.Since I'm not sure if it is related or not.

Comment 5 Simone Tiraboschi 2018-02-26 14:17:03 UTC
(In reply to Polina from comment #4)
> I' don't think that it is related to AMD

OK, so I'm closing this as duplicate of 1548508

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


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