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:
Cannot meet this issue , due to blocked by the bug: https://bugzilla.redhat.com/show_bug.cgi?id=1556866
Created attachment 1411629 [details] failed_cockpit
Please test it with: cockpit-ovirt >= 0.11.18-0.1 ovirt-hosted-engine-setup >= 2.2.14-1
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.
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.