Bug 1558546 - Cockpit deploy of hosted engine fails at the end when DHCP is used
Summary: Cockpit deploy of hosted engine fails at the end when DHCP is used
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-hosted-engine-setup
Classification: oVirt
Component: General
Version: 2.2.13
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ovirt-4.2.2
: ---
Assignee: Simone Tiraboschi
QA Contact: Yihui Zhao
URL:
Whiteboard:
Depends On:
Blocks: 1458709
TreeView+ depends on / blocked
 
Reported: 2018-03-20 13:03 UTC by Martin Sivák
Modified: 2018-03-29 11:18 UTC (History)
10 users (show)

Fixed In Version: ovirt-hosted-engine-setup-2.2.14-1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-03-29 11:18:28 UTC
oVirt Team: Integration
Embargoed:
rule-engine: ovirt-4.2+
rule-engine: testing_ack+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 89243 0 master MERGED ansible: handle VM_IP_ADDR as none if not needed 2018-09-03 09:34:27 UTC
oVirt gerrit 89256 0 ovirt-hosted-engine-setup-2.2 MERGED ansible: handle VM_IP_ADDR as none if not needed 2018-03-20 16:21:23 UTC

Description Martin Sivák 2018-03-20 13:03:36 UTC
Description of problem:

[ INFO ] TASK [Generate dhcp network configuration for the engine VM]
[ ERROR ] fatal: [localhost]: FAILED! => {"msg": "The conditional check 'not VM_IP_ADDR|length >= 8' failed. The error was: Unexpected templating type error occurred on ({% if not VM_IP_ADDR|length >= 8 %} True {% else %} False {% endif %}): object of type 'NoneType' has no len()\n\nThe error appears to have been in '/usr/share/ovirt-hosted-engine-setup/ansible/create_target_vm.yml': line 282, column 5, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n tags: [ 'skip_ansible_lint' ]\n - name: Generate dhcp network configuration for the engine VM\n ^ here\n"}

Version:

cockpit-ovirt-dashboard.noarch 0:0.11.999-0.0.master.20180320.git094807e.el7.centos
ovirt-hosted-engine-setup-2.3.0-0.0.master.20180316231530.git2174e21.el7.centos.noarch

Comment 1 Yihui Zhao 2018-03-28 07:03:43 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:
Cannot reproduce this issue and deploy HE successfully. It works well for me

Moving to verified. If meet the issue again, please re-open this bug to track.

Comment 2 Sandro Bonazzola 2018-03-29 11:18:28 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.