Bug 1540621 - Hosted-engine with ansible is marked as failed although all the tasks were successful
Summary: Hosted-engine with ansible is marked as failed although all the tasks were su...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: cockpit-ovirt
Classification: oVirt
Component: Hosted Engine
Version: 0.11.6
Hardware: Unspecified
OS: Unspecified
high
urgent
Target Milestone: ovirt-4.2.2
: 0.11.12
Assignee: Phillip Bailey
QA Contact: Yihui Zhao
URL:
Whiteboard:
Depends On: 1539560 1556866
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-01-31 14:36 UTC by Simone Tiraboschi
Modified: 2018-03-29 11:12 UTC (History)
12 users (show)

Fixed In Version: cockpit-ovirt-0.11.12-0.1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-03-29 11:12:48 UTC
oVirt Team: Integration
Embargoed:
rule-engine: ovirt-4.2+
ykaul: blocker+
sbonazzo: devel_ack+
yzhao: testing_ack+


Attachments (Terms of Use)
Screenshot of the issue (107.97 KB, image/png)
2018-01-31 14:36 UTC, Simone Tiraboschi
no flags Details
Failure with console (360.92 KB, image/png)
2018-01-31 15:57 UTC, Simone Tiraboschi
no flags Details


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 87019 0 master MERGED wizard: Correct issue where success message is not displayed 2018-02-20 16:48:45 UTC
oVirt gerrit 87969 0 ovirt-4.2 MERGED wizard: Correct issue where success message is not displayed 2018-02-20 16:49:07 UTC
oVirt gerrit 88845 0 master MERGED wizard: Fix playbook exit code reporting 2018-03-12 17:27:03 UTC
oVirt gerrit 88857 0 ovirt-4.2 MERGED wizard: Fix playbook exit code reporting 2018-03-12 17:39:18 UTC

Description Simone Tiraboschi 2018-01-31 14:36:18 UTC
Description of problem:
Hosted-engine with ansible is marked as failed although all the tasks were successful .

See the screenshot.

Version-Release number of selected component (if applicable):
0.11.6

How reproducible:
?

Steps to Reproduce:
1. Deploy hosted-engine from cockpit with ansible
2.
3.

Actual results:
It says deployment failed although all the tasks of the bootstrap phase were OK

Expected results:
If all the tasks of the bootstrap phase are OK it goes to the next section

Additional info:

Comment 1 Simone Tiraboschi 2018-01-31 14:36:43 UTC
Created attachment 1389006 [details]
Screenshot of the issue

Comment 2 Phillip Bailey 2018-01-31 14:52:13 UTC
The "Oops" in the screenshot indicates there was an error thrown. Could you please provide the output from the developer's console?

Comment 3 Simone Tiraboschi 2018-01-31 15:57:16 UTC
Created attachment 1389071 [details]
Failure with console

Comment 4 Simone Tiraboschi 2018-02-21 18:37:43 UTC
Can we move it to MODIFIED?

Comment 5 Phillip Bailey 2018-02-22 14:59:52 UTC
(In reply to Simone Tiraboschi from comment #4)
> Can we move it to MODIFIED?

It's already been done, but yes. =)

Comment 6 Yihui Zhao 2018-03-05 06:12:38 UTC
QE can reproduce the bug.

Test steps:
1. Deploy hosted-engine from cockpit with ansible

Test versions:
cockpit-ovirt-dashboard-0.11.6-0.1.el7ev.noarch
rhvm-appliance-4.1.20180125.0-1.el7.4.1

Test result:
Deploy HE failed with ansible although all the tasks of the bootstrap phase were OK.

Comment 7 Phillip Bailey 2018-03-12 19:39:20 UTC
(In reply to Yihui Zhao from comment #6)
> QE can reproduce the bug.
Yihui,

A patch was merged today that should fix this problem. Once the next build is available, please test this again and make sure it's resolved for you, as well.

Thanks!

Comment 8 Yihui Zhao 2018-03-26 07:39:42 UTC
Tested with these versions:

rhvh-4.2.2.0-0.20180322.0+1
cockpit-ovirt-dashboard-0.11.19-1.el7ev.noarch
ovirt-hosted-engine-setup-2.2.14-1.el7ev.noarch
ovirt-hosted-engine-ha-2.2.7-1.el7ev.noarch
rhvm-appliance-4.2-20180322.0.el7.noarch

Test result:
when all tasks are successful, the deployment is also successful.

[root@ibm-x3650m5-06 ~]# hosted-engine --vm-status


--== Host 1 status ==--

conf_on_shared_storage             : True
Status up-to-date                  : True
Hostname                           : ibm-x3650m5-06.lab.eng.pek2.redhat.com
Host ID                            : 1
Engine status                      : {"health": "good", "vm": "up", "detail": "Up"}
Score                              : 3400
stopped                            : False
Local maintenance                  : False
crc32                              : a8dcd9f1
local_conf_timestamp               : 156195
Host timestamp                     : 156195
Extra metadata (valid at timestamp):
	metadata_parse_version=1
	metadata_feature_version=1
	timestamp=156195 (Mon Mar 26 15:39:04 2018)
	host-id=1
	score=3400
	vm_conf_refresh_time=156195 (Mon Mar 26 15:39:05 2018)
	conf_on_shared_storage=True
	maintenance=False
	state=EngineUp
	stopped=False


So, change this bug's status to verified.

Comment 9 Sandro Bonazzola 2018-03-29 11:12:48 UTC
This bugzilla is included in oVirt 4.2.2 release, published on March 28th 2018.

Since the problem described in this bug report should be
resolved in oVirt 4.2.2 release, it has been closed with a resolution of CURRENT RELEASE.

If the solution does not work for you, please open a new bug report.


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