Bug 1557480 - The deployment fails on [Create configuration templates] task
Summary: The deployment fails on [Create configuration templates] task
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: cockpit-ovirt
Classification: oVirt
Component: Hosted Engine
Version: 0.11.17
Hardware: All
OS: Linux
urgent
urgent
Target Milestone: ovirt-4.2.2
: ---
Assignee: Simone Tiraboschi
QA Contact: Yihui Zhao
URL:
Whiteboard:
Depends On: 1556866
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-03-16 16:24 UTC by Simone Tiraboschi
Modified: 2018-03-29 11:09 UTC (History)
9 users (show)

Fixed In Version: cockpit-ovirt-0.11.18-0.1, ovirt-hosted-engine-setup-2.2.14-1
Clone Of:
Environment:
Last Closed: 2018-03-29 11:09:16 UTC
oVirt Team: Integration
Embargoed:
rule-engine: ovirt-4.2+
rule-engine: blocker+
yzhao: testing_ack+


Attachments (Terms of Use)
failed_cockpit (75.38 KB, image/png)
2018-03-22 08:01 UTC, Yihui Zhao
no flags Details


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 89124 0 master MERGED ansible: make iscsi variable name homogeneous 2018-09-03 09:34:35 UTC
oVirt gerrit 89125 0 master MERGED he: fix ISCSI_TPGT variable name 2018-03-18 15:45:14 UTC
oVirt gerrit 89126 0 ovirt-hosted-engine-setup-2.2 MERGED ansible: make iscsi variable name homogeneous 2018-03-16 18:02:39 UTC
oVirt gerrit 89152 0 ovirt-4.2 MERGED he: fix ISCSI_TPGT variable name 2018-03-19 09:51:39 UTC

Description Simone Tiraboschi 2018-03-16 16:24:40 UTC
Description of problem:
The deployment fails on [Create configuration templates] task

with something like:
2018-03-16 14:42:09,129+0100 ERROR ansible failed {'status': 'FAILED', 'ansible_type': 'task', 'ansible_task': u'Create configuration templates', 'ansible_result': u'type: <type 'dict'>\nstr: {'msg': u'All items completed', 'changed': True, 'results': [{'_ansible_parsed': True, u'src': u'/root/.ansible/tmp/ansible-tmp-1521207727.71-239679883822671/source', '_ansible_item_result': True, u'group': u'root', u'uid': 0, u'size': 1306, 'item': {u'dest': u'/var/tmp/localvmVby9Iz/vm.conf', u'src\nrepr: {'msg': u'All items completed', 'changed': True, 'results': [{'_ansible_parsed': True, u'src': u'/root/.ansible/tmp/ansible-tmp-1521207727.71-239679883822671/source', '_ansible_item_result': True, u'group': u'root', u'uid': 0, u'size': 1306, 'item': {u'dest': u'/var/tmp/localvmVby9Iz/vm.conf', u'src\ndir: ['__class__', '__cmp__', '__contains__', '__delattr__', '__delitem__', '__doc__', '__eq__', '__format__', '__ge__', '__getattribute__', '__getitem__', '__gt__', '__hash__', '__init__', '__iter__', '__le__', '__len__', '__lt__', '__ne__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__setitem__', '__sizeof__', '__str__', '__subclasshook__', 'clear', 'copy', 'fromkeys', 'get', 'has_key', 'items', 'iteritems', 'iterkeys', 'itervalues', 'keys', 'pop', 'popitem', 'setdefault', 'update', 'values', 'viewitems', 'viewkeys', 'viewvalues']\npprint: {'changed': True,\n 'msg': u'All items completed',\n 'results': [{'_ansible_ignore_errors': None,\n              '_ansible_item_result': True,\n              '_ansible_no_log': False,\n              '_ansible_parsed': True,\n              u'changed': True,\n              u'checksum': u'c7252b2356e264c832e8\n{'msg': u'All items completed', 'changed': True, 'results': [{'_ansible_parsed': True, u'src': u'/ro.__doc__: "dict() -> new empty dictionary\\ndict(mapping) -> new dictionary initialized from a mapping object's\\n    (key, value) pairs\\ndict(iterable) -> new dictionary initialized as if via:\\n    d = {}\\n    for k, v in iterable:\\n        d[k] = v\\ndict(**kwargs) -> new dictionary initialized with the name=value pairs\\n    in the keyword argument list.  For example:  dict(one=1, two=2)"\n{'msg': u'All items completed', 'changed': True, 'results': [{'_ansible_parsed': True, u'src': u'/ro.__hash__: None', 'ansible_host': u'localhost', 'ansible_playbook': u'/usr/share/ovirt-hosted-engine-setup/ansible/create_target_vm.yml'}
2018-03-16 14:42:09,129+0100 DEBUG ansible on_any args <ansible.executor.task_result.TaskResult object at 0x3806b50> kwargs ignore_errors:None 
2018-03-16 14:42:09,132+0100 INFO ansible stats {'status': 'FAILED', 'ansible_playbook_duration': 134.148824, 'ansible_result': u'type: <type 'dict'>\nstr: {u'enginevm.localdomain': {'unreachable': 0, 'skipped': 0, 'ok': 9, 'changed': 4, 'failures': 0}, u'localhost': {'unreachable': 0, 'skipped': 0, 'ok': 51, 'changed': 10, 'failures': 1}}\nrepr: {u'enginevm.localdomain': {'unreachable': 0, 'skipped': 0, 'ok': 9, 'changed': 4, 'failures': 0}, u'localhost': {'unreachable': 0, 'skipped': 0, 'ok': 51, 'changed': 10, 'failures': 1}}\ndir: ['__class__', '__cmp__', '__contains__', '__delattr__', '__delitem__', '__doc__', '__eq__', '__format__', '__ge__', '__getattribute__', '__getitem__', '__gt__', '__hash__', '__init__', '__iter__', '__le__', '__len__', '__lt__', '__ne__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__setitem__', '__sizeof__', '__str__', '__subclasshook__', 'clear', 'copy', 'fromkeys', 'get', 'has_key', 'items', 'iteritems', 'iterkeys', 'itervalues', 'keys', 'pop', 'popitem', 'setdefault', 'update', 'values', 'viewitems', 'viewkeys', 'viewvalues']\npprint: {u'enginevm.localdomain': {'changed': 4,\n                           'failures': 0,\n                           'ok': 9,\n                           'skipped': 0,\n                           'unreachable': 0},\n u'localhost': {'changed': 10,\n                'failures': 1,\n                'ok': 51,\n      \n{u'enginevm.localdomain': {'unreachable': 0, 'skipped': 0, 'ok': 9, 'changed': 4, 'failures': 0}, u'.__doc__: "dict() -> new empty dictionary\\ndict(mapping) -> new dictionary initialized from a mapping object's\\n    (key, value) pairs\\ndict(iterable) -> new dictionary initialized as if via:\\n    d = {}\\n    for k, v in iterable:\\n        d[k] = v\\ndict(**kwargs) -> new dictionary initialized with the name=value pairs\\n    in the keyword argument list.  For example:  dict(one=1, two=2)"\n{u'enginevm.localdomain': {'unreachable': 0, 'skipped': 0, 'ok': 9, 'changed': 4, 'failures': 0}, u'.__hash__: None', 'ansible_playbook': u'/usr/share/ovirt-hosted-engine-setup/ansible/create_target_vm.yml', 'ansible_type': 'finish'}


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

How reproducible:
100%

Steps to Reproduce:
1. deploy hosted-engine from cockpit
2.
3.

Actual results:
it fails on [Create configuration templates] task

Expected results:
Successful deployment

Additional info:

Comment 1 Yihui Zhao 2018-03-20 02:32:12 UTC
Cannot meet this issue , due to blocked by the bug: https://bugzilla.redhat.com/show_bug.cgi?id=1556866

Comment 3 Yihui Zhao 2018-03-22 08:01:42 UTC
Created attachment 1411629 [details]
failed_cockpit

Comment 8 Simone Tiraboschi 2018-03-22 11:10:48 UTC
Please test it with:
cockpit-ovirt >= 0.11.18-0.1
ovirt-hosted-engine-setup >= 2.2.14-1

Comment 9 Yihui Zhao 2018-03-26 07:29:36 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 results:

From the cockpit:
"""
[ INFO ] TASK [Set ha_version]
[ INFO ] ok: [localhost]
[ INFO ] TASK [Create configuration templates]
[ INFO ] TASK [Create configuration archive]
[ INFO ] changed: [localhost]
[ INFO ] TASK [Create ovirt-hosted-engine-ha run directory]
[ INFO ] ok: [localhost]
[ INFO ] TASK [Copy configuration files to the right location on host]
[ INFO ] TASK [Copy configuration archive to storage]
"""

It works well on the [Create configuration templates] task

So, change this bug's status to verified.

Comment 10 Sandro Bonazzola 2018-03-29 11:09:16 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.