I try to deploy the engine today and got the following error: "A Network interface is
required" like in my previous test.
Node version: virt-node-ng-installer-ovirt-4.2-2018062610
1. Install the oVirt node with DNS configured
2. Configure bond0 (profile name: bond0, device: bond0) with eno1 and eno5 with Active
Backup policy (to be the ovirtmgmt)
3. Configure bond1 (profile name: bond1, device: bond1) with eno2, eno3, eno6 and eno7
with Round-Robin policy (iSCSI)
Do you have any idea? Here is the part of the log related to the error:
2018-10-09 15:20:20,545+0200 DEBUG otopi.context context.dumpEnvironment:859 ENVIRONMENT
DUMP - BEGIN
2018-10-09 15:20:20,545+0200 DEBUG otopi.context context.dumpEnvironment:869 ENV
OVEHOSTED_NETWORK/gateway=str:'172.16.51.1'
2018-10-09 15:20:20,546+0200 DEBUG otopi.context context.dumpEnvironment:869 ENV
QUESTION/1/OVEHOSTED_GATEWAY=str:'172.16.51.1'
2018-10-09 15:20:20,547+0200 DEBUG otopi.context context.dumpEnvironment:873 ENVIRONMENT
DUMP - END
2018-10-09 15:20:20,549+0200 DEBUG otopi.context context._executeMethod:128 Stage
customization METHOD otopi.plugins.gr_he_common.network.bridge.Plugin._customization
2018-10-09 15:20:20,551+0200 DEBUG otopi.ovirt_hosted_engine_setup.ansible_utils
ansible_utils.run:153 ansible-playbook: cmd: ['/bin/ansible-playbook',
'--module-path=/usr/share/ovirt-hosted-engine-setup/ansible',
'--inventory=localhost,', '--extra-vars=@/tmp/tmpnaI1ZJ',
'/usr/share/ovirt-hosted-engine-setup/ansible/get_network_interfaces.yml']
2018-10-09 15:20:20,551+0200 DEBUG otopi.ovirt_hosted_engine_setup.ansible_utils
ansible_utils.run:154 ansible-playbook: out_path: /tmp/tmpBI6O9s
2018-10-09 15:20:20,551+0200 DEBUG otopi.ovirt_hosted_engine_setup.ansible_utils
ansible_utils.run:155 ansible-playbook: vars_path: /tmp/tmpnaI1ZJ
2018-10-09 15:20:20,551+0200 DEBUG otopi.ovirt_hosted_engine_setup.ansible_utils
ansible_utils.run:156 ansible-playbook: env: {'HE_ANSIBLE_LOG_PATH':
'/var/log/ovirt-hosted-engine-setup/ovirt-hosted-engine-setup-ansible-get_network_interfaces-20181009152020-xbd9mm.log',
'LESSOPEN': '||/usr/bin/lesspipe.sh %s', 'SSH_CLIENT':
'172.16.51.44 53872 22', 'SELINUX_USE_CURRENT_RANGE': '',
'LOGNAME': 'root', 'USER': 'root', 'HOME':
'/root', 'PATH':
'/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin',
'GUESTFISH_RESTORE': '\\e[0m', 'GUESTFISH_INIT':
'\\e[1;34m', 'LANG': 'en_US.UTF-8', 'TERM':
'screen', 'SHELL': '/bin/bash', 'LANGUAGE': '',
'SHLVL': '2', 'PWD': '/root', 'HISTSIZE':
'1000', 'OTOPI_CALLBACK_OF': '/tmp/tmpBI6O9s',
'XMODIFIERS': '@im=none', 'XDG_RUNTIME_DIR':
'/run/user/0', 'GUESTFISH_PS1':
'\\[\\e[1;32m\\]><fs>\\[\\e[0;31m\\] ',
'ANSIBLE_STDOUT_CALLBACK': '1_otopi_json', 'PYTHONPATH':
'/usr/share/ovirt-hosted-engine-setup/scripts/..:',
'SELINUX_ROLE_REQUESTED': '', 'MAIL
': '/var/spool/mail/root', 'ANSIBLE_CALLBACK_WHITELIST':
'1_otopi_json,2_ovirt_logger', 'XDG_SESSION_ID': '2346',
'STY': '21717.pts-0.OB-PMO-VSR01', 'TERMCAP': 'SC|screen|VT
100/ANSI X3.64 virtual
terminal:\\\n\t:DO=\\E[%dB:LE=\\E[%dD:RI=\\E[%dC:UP=\\E[%dA:bs:bt=\\E[Z:\\\n\t:cd=\\E[J:ce=\\E[K:cl=\\E[H\\E[J:cm=\\E[%i%d;%dH:ct=\\E[3g:\\\n\t:do=^J:nd=\\E[C:pt:rc=\\E8:rs=\\Ec:sc=\\E7:st=\\EH:up=\\EM:\\\n\t:le=^H:bl=^G:cr=^M:it#8:ho=\\E[H:nw=\\EE:ta=^I:is=\\E)0:\\\n\t:li#61:co#106:am:xn:xv:L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\\EOA:\\\n\t:kd=\\EOB:kr=\\EOC:kl=\\EOD:km:',
'LS_COLORS':
'rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=01;05;37;41:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:
*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=01;36:*.au=01;36:*.flac=01;36:*.mid=01;36:*.midi=01;36:*.mka=01;36:*.mp3=01;36:*.mpc=01;36:*.ogg=01;36:*.ra=01;36:*.w
av=01;36:*.axa=01;36:*.oga=01;36:*.spx=01;36:*.xspf=01;36:',
'GUESTFISH_OUTPUT': '\\e[0m', 'SSH_TTY': '/dev/pts/0',
'HOSTNAME': 'OB-PMO-VSR01.edrs.local', 'SELINUX_LEVEL_REQUESTED':
'', 'HISTCONTROL': 'ignoredups', 'WINDOW': '0',
'OTOPI_LOGFILE':
'/var/log/ovirt-hosted-engine-setup/ovirt-hosted-engine-setup-20181009151841-w66242.log',
'SSH_CONNECTION': '172.16.51.44 53872 172.16.51.10 22',
'OTOPI_EXECDIR': '/root'}
2018-10-09 15:20:21,462+0200 DEBUG otopi.ovirt_hosted_engine_setup.ansible_utils
ansible_utils._process_output:94 PLAY [Network interfaces]
2018-10-09 15:20:21,564+0200 INFO otopi.ovirt_hosted_engine_setup.ansible_utils
ansible_utils._process_output:100 TASK [Gathering Facts]
2018-10-09 15:20:23,573+0200 INFO otopi.ovirt_hosted_engine_setup.ansible_utils
ansible_utils._process_output:100 ok: [localhost]
2018-10-09 15:20:24,077+0200 INFO otopi.ovirt_hosted_engine_setup.ansible_utils
ansible_utils._process_output:100 TASK [Detecting interface on existing management
bridge]
2018-10-09 15:20:24,480+0200 INFO otopi.ovirt_hosted_engine_setup.ansible_utils
ansible_utils._process_output:100 skipping: [localhost]
2018-10-09 15:20:24,782+0200 DEBUG otopi.ovirt_hosted_engine_setup.ansible_utils
ansible_utils._process_output:94 TASK [debug]
2018-10-09 15:20:25,185+0200 DEBUG otopi.ovirt_hosted_engine_setup.ansible_utils
ansible_utils._process_output:94 bridge_interface: VARIABLE IS NOT DEFINED!
2018-10-09 15:20:25,487+0200 INFO otopi.ovirt_hosted_engine_setup.ansible_utils
ansible_utils._process_output:100 TASK [Get all active network interfaces]
2018-10-09 15:20:28,099+0200 DEBUG otopi.ovirt_hosted_engine_setup.ansible_utils
ansible_utils._process_output:94 TASK [debug]
2018-10-09 15:20:28,401+0200 DEBUG otopi.ovirt_hosted_engine_setup.ansible_utils
ansible_utils._process_output:94 valid_network_interfaces: {'msg': u'All items
completed', 'changed': False, 'results': [{'skipped': True,
'_ansible_no_log': False, 'skip_reason': u'Conditional result was
False', '_ansible_item_result': True, 'item': u'bond0',
'changed': False, '_ansible_ignore_errors': None}, {'skipped':
True, '_ansible_no_log': False, 'skip_reason': u'Conditional result
was False', '_ansible_item_result': True, 'item': u'bond1',
'changed': False, '_ansible_ignore_errors': None}, {'skipped':
True, '_ansible_no_log': False, 'skip_reason': u'Conditional result
was False', '_ansible_item_result': True, 'item': u'lo',
'changed': False, '_ansible_ignore_errors': None}, {'skipped':
True, '_ansible_no_log': False, 'skip_reason': u'Conditional result
was False', '_ansible_item_result': True, 'item': u'eno1',
'changed': False, '_ansible_ignore_errors': None}, {'skipped':
True, '_ansible_no_log':
False, 'skip_reason': u'Conditional result was False',
'_ansible_item_result': True, 'item': u'eno2', 'changed':
False, '_ansible_ignore_errors': None}, {'skipped': True,
'_ansible_no_log': False, 'skip_reason': u'Conditional result was
False', '_ansible_item_result': True, 'item': u'eno3',
'changed': False, '_ansible_ignore_errors': None}, {'skipped':
True, '_ansible_no_log': False, 'skip_reason': u'Conditional result
was False', '_ansible_item_result': True, 'item': u'eno4',
'changed': False, '_ansible_ignore_errors': None}, {'skipped':
True, '_ansible_no_log': False, 'skip_reason': u'Conditional result
was False', '_ansible_item_result': True, 'item': u'eno5',
'changed': False, '_ansible_ignore_errors': None}, {'skipped':
True, '_ansible_no_log': False, 'skip_reason': u'Conditional result
was False', '_ansible_item_result': True, 'item': u'eno6',
'changed': False, '_ansible_ignore_errors': None}, {'skipped':
True, '_ansible_no_log': False, 'skip_reason': u'Conditional result
was
False', '_ansible_item_result': True, 'item': u'eno7',
'changed': False, '_ansible_ignore_errors': None}, {'skipped':
True, '_ansible_no_log': False, 'skip_reason': u'Conditional result
was False', '_ansible_item_result': True, 'item': u'eno8',
'changed': False, '_ansible_ignore_errors': None}, {'skipped':
True, '_ansible_no_log': False, 'skip_reason': u'Conditional result
was False', '_ansible_item_result': True, 'item':
u'virbr0_nic', 'changed': False, '_ansible_ignore_errors': None},
{'skipped': True, '_ansible_no_log': False, 'skip_reason':
u'Conditional result was False', '_ansible_item_result': True,
'item': u'virbr0', 'changed': False,
'_ansible_ignore_errors': None}]}
2018-10-09 15:20:28,703+0200 INFO otopi.ovirt_hosted_engine_setup.ansible_utils
ansible_utils._process_output:100 TASK [Filter bonds with bad naming]
2018-10-09 15:20:29,407+0200 DEBUG otopi.ovirt_hosted_engine_setup.ansible_utils
ansible_utils._process_output:94 TASK [debug]
2018-10-09 15:20:29,709+0200 DEBUG otopi.ovirt_hosted_engine_setup.ansible_utils
ansible_utils._process_output:94 bb_filtered_list: {'msg': u'All items
completed', 'changed': False, 'results': [{'skipped': True,
'_ansible_no_log': False, 'skip_reason': u'Conditional result was
False', '_ansible_item_result': True, 'item': {'skipped':
True, '_ansible_no_log': False, 'skip_reason': u'Conditional result
was False', '_ansible_item_result': True, 'item': u'bond0',
'changed': False, '_ansible_ignore_errors': None}, 'changed':
False, '_ansible_ignore_errors': None}, {'skipped': True,
'_ansible_no_log': False, 'skip_reason': u'Conditional result was
False', '_ansible_item_result': True, 'item': {'skipped':
True, '_ansible_no_log': False, 'skip_reason': u'Conditional result
was False', '_ansible_item_result': True, 'item': u'bond1',
'changed': False, '_ansible_ignore_errors': None}, 'changed':
False, '_ansible_ignore_errors': None}, {'skipped': True,
'_ansible_no_log': False, 'skip_reason': u
'Conditional result was False', '_ansible_item_result': True,
'item': {'skipped': True, '_ansible_no_log': False,
'skip_reason': u'Conditional result was False',
'_ansible_item_result': True, 'item': u'lo', 'changed':
False, '_ansible_ignore_errors': None}, 'changed': False,
'_ansible_ignore_errors': None}, {'skipped': True,
'_ansible_no_log': False, 'skip_reason': u'Conditional result was
False', '_ansible_item_result': True, 'item': {'skipped':
True, '_ansible_no_log': False, 'skip_reason': u'Conditional result
was False', '_ansible_item_result': True, 'item': u'eno1',
'changed': False, '_ansible_ignore_errors': None}, 'changed':
False, '_ansible_ignore_errors': None}, {'skipped': True,
'_ansible_no_log': False, 'skip_reason': u'Conditional result was
False', '_ansible_item_result': True, 'item': {'skipped':
True, '_ansible_no_log': False, 'skip_reason': u'Conditional result
was False', '_ansible_item_result': True, 'item': u'eno2',
'changed': False, '_ansible_ignore_errors': None
}, 'changed': False, '_ansible_ignore_errors': None}, {'skipped':
True, '_ansible_no_log': False, 'skip_reason': u'Conditional result
was False', '_ansible_item_result': True, 'item': {'skipped':
True, '_ansible_no_log': False, 'skip_reason': u'Conditional result
was False', '_ansible_item_result': True, 'item': u'eno3',
'changed': False, '_ansible_ignore_errors': None}, 'changed':
False, '_ansible_ignore_errors': None}, {'skipped': True,
'_ansible_no_log': False, 'skip_reason': u'Conditional result was
False', '_ansible_item_result': True, 'item': {'skipped':
True, '_ansible_no_log': False, 'skip_reason': u'Conditional result
was False', '_ansible_item_result': True, 'item': u'eno4',
'changed': False, '_ansible_ignore_errors': None}, 'changed':
False, '_ansible_ignore_errors': None}, {'skipped': True,
'_ansible_no_log': False, 'skip_reason': u'Conditional result was
False', '_ansible_item_result': True, 'item': {'skipped':
True, '_ansible_no_log': False, 'skip_reason': u'Conditiona
l result was False', '_ansible_item_result': True, 'item':
u'eno5', 'changed': False, '_ansible_ignore_errors': None},
'changed': False, '_ansible_ignore_errors': None}, {'skipped':
True, '_ansible_no_log': False, 'skip_reason': u'Conditional result
was False', '_ansible_item_result': True, 'item': {'skipped':
True, '_ansible_no_log': False, 'skip_reason': u'Conditional result
was False', '_ansible_item_result': True, 'item': u'eno6',
'changed': False, '_ansible_ignore_errors': None}, 'changed':
False, '_ansible_ignore_errors': None}, {'skipped': True,
'_ansible_no_log': False, 'skip_reason': u'Conditional result was
False', '_ansible_item_result': True, 'item': {'skipped':
True, '_ansible_no_log': False, 'skip_reason': u'Conditional result
was False', '_ansible_item_result': True, 'item': u'eno7',
'changed': False, '_ansible_ignore_errors': None}, 'changed':
False, '_ansible_ignore_errors': None}, {'skipped': True,
'_ansible_no_log': False, 'skip_reason': u'Conditional result was F
alse', '_ansible_item_result': True, 'item': {'skipped':
True, '_ansible_no_log': False, 'skip_reason': u'Conditional result
was False', '_ansible_item_result': True, 'item': u'eno8',
'changed': False, '_ansible_ignore_errors': None}, 'changed':
False, '_ansible_ignore_errors': None}, {'skipped': True,
'_ansible_no_log': False, 'skip_reason': u'Conditional result was
False', '_ansible_item_result': True, 'item': {'skipped':
True, '_ansible_no_log': False, 'skip_reason': u'Conditional result
was False', '_ansible_item_result': True, 'item':
u'virbr0_nic', 'changed': False, '_ansible_ignore_errors': None},
'changed': False, '_ansible_ignore_errors': None}, {'skipped':
True, '_ansible_no_log': False, 'skip_reason': u'Conditional result
was False', '_ansible_item_result': True, 'item': {'skipped':
True, '_ansible_no_log': False, 'skip_reason': u'Conditional result
was False', '_ansible_item_result': True, 'item': u'virbr0',
'changed': False, '_ansible_ignore_errors': None}, 'changed': F
alse, '_ansible_ignore_errors': None}]}
2018-10-09 15:20:30,011+0200 INFO otopi.ovirt_hosted_engine_setup.ansible_utils
ansible_utils._process_output:100 TASK [Generate output list]
2018-10-09 15:20:30,313+0200 INFO otopi.ovirt_hosted_engine_setup.ansible_utils
ansible_utils._process_output:100 ok: [localhost]
2018-10-09 15:20:30,615+0200 DEBUG otopi.ovirt_hosted_engine_setup.ansible_utils
ansible_utils._process_output:94 TASK [debug]
2018-10-09 15:20:30,917+0200 DEBUG otopi.ovirt_hosted_engine_setup.ansible_utils
ansible_utils._process_output:94 otopi_host_net: []
2018-10-09 15:20:31,320+0200 DEBUG otopi.ovirt_hosted_engine_setup.ansible_utils
ansible_utils._process_output:94 PLAY RECAP [localhost] : ok: 6 changed: 0 unreachable: 0
skipped: 3 failed: 0
2018-10-09 15:20:31,421+0200 DEBUG otopi.ovirt_hosted_engine_setup.ansible_utils
ansible_utils.run:180 ansible-playbook rc: 0
2018-10-09 15:20:31,421+0200 DEBUG otopi.ovirt_hosted_engine_setup.ansible_utils
ansible_utils.run:187 ansible-playbook stdout:
2018-10-09 15:20:31,422+0200 DEBUG otopi.ovirt_hosted_engine_setup.ansible_utils
ansible_utils.run:190 ansible-playbook stderr:
2018-10-09 15:20:31,422+0200 DEBUG otopi.plugins.gr_he_common.network.bridge
bridge._customization:160 {u'otopi_host_net': {u'changed': False,
u'ansible_facts': {u'otopi_host_net': []}, u'_ansible_no_log':
False}}
2018-10-09 15:20:31,423+0200 DEBUG otopi.context context._executeMethod:143 method
exception
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/otopi/context.py", line 133, in
_executeMethod
method['method']()
File
"/usr/share/ovirt-hosted-engine-setup/scripts/../plugins/gr-he-common/network/bridge.py",
line 241, in _customization
raise RuntimeError(_('A Network interface is required'))
RuntimeError: A Network interface is required
2018-10-09 15:20:31,435+0200 ERROR otopi.context context._executeMethod:152 Failed to
execute stage 'Environment customization': A Network interface is required
2018-10-09 15:20:31,436+0200 DEBUG otopi.context context.dumpEnvironment:859 ENVIRONMENT
DUMP - BEGIN
2018-10-09 15:20:31,436+0200 DEBUG otopi.context context.dumpEnvironment:869 ENV
BASE/error=bool:'True'
2018-10-09 15:20:31,437+0200 DEBUG otopi.context context.dumpEnvironment:869 ENV
BASE/exceptionInfo=list:'[(<type 'exceptions.RuntimeError'>,
RuntimeError('A Network interface is required',), <traceback object at
0x7f2deba4f1b8>)]'
2018-10-09 15:20:31,439+0200 DEBUG otopi.context context.dumpEnvironment:873 ENVIRONMENT
DUMP - END
2018-10-09 15:20:31,439+0200 INFO otopi.context context.runSequence:741 Stage: Clean up
2018-10-09 15:20:31,440+0200 DEBUG otopi.context context.runSequence:745 STAGE cleanup