David Johnson
2021-05-15 02:02:27 UTC
When I attempt to install a new host to my cluster from the GUI I get this
set of errors/warnings, and the install fails.
- Host has no default route
- The Host CPU does not match the Cluster CPU Tye and is running in a
degraded mode. It is missing the following CPU flags: vmx,
model_Cascadelake-Server-noTSX.
The new host has a brand new bare centos 8 installation on it. It
successfully installed from the internet.
The *new host* hardware is 48x Intel(R) Xeon(R) CPU E5-2680 v3 @ 2.50GHz
The *pre-existing host* is 64x Intel(R) Xeon(R) Silver 4216 CPU @ 2.10GHz
If I am reading the ansible logs correctly, ansible is failing to find the
*ovirt-hosted-engine-setup* package, which is confusing since I have a
separate physical machine for the engine (which I am using to install
from), and don't want a self hosted engine.
Any advice would be welcome.
---
Ansible logs from the most recent failed installation attempt:
2021-05-14 20:18:04,949 - runner_service.services.playbook - DEBUG -
cb_event_handler event_data={'uuid':
'fa961926-9a3a-4d9e-a6bf-d53f98645af2', 'counter': 52, 'stdout': 'fatal: [
ovirt-host-04.maxisinc.net]: FAILED! => {"changed": false, "failures": ["No
package ovirt-hosted-engine-setup available."], "msg": "Failed to install
some of the specified packages", "rc": 1, "results": []}', 'start_line':
44, 'end_line': 45, 'runner_ident': '6060ba26-b51b-11eb-ba6e-d8cb8a87894e',
'event': 'runner_on_failed', 'pid': 1742807, 'created':
'2021-05-15T01:18:04.947870', 'parent_uuid':
'd8cb8a87-894e-e341-1e1c-0000000001a1', 'event_data': {'playbook':
'ovirt-host-deploy.yml', 'playbook_uuid':
'e5595457-2c74-4525-8d98-e34bf2e0e342', 'play': 'all', 'play_uuid':
'd8cb8a87-894e-e341-1e1c-000000000007', 'play_pattern': 'all', 'task':
'Install ovirt-hosted-engine-setup package', 'task_uuid':
'd8cb8a87-894e-e341-1e1c-0000000001a1', 'task_action': 'yum', 'task_args':
'', 'task_path':
'/usr/share/ovirt-engine/ansible-runner-service-project/project/roles/ovirt-host-deploy-vdsm/tasks/packages.yml:6',
'role': 'ovirt-host-deploy-vdsm', 'host': 'ovirt-host-04.maxisinc.net',
'remote_addr': 'ovirt-host-04.maxisinc.net', 'res': {'msg': 'Failed to
install some of the specified packages', 'failures': ['No package
ovirt-hosted-engine-setup available.'], 'results': [], 'rc': 1,
'invocation': {'module_args': {'name': ['ovirt-hosted-engine-setup'],
'state': 'present', 'allow_downgrade': False, 'autoremove': False,
'bugfix': False, 'disable_gpg_check': False, 'disable_plugin': [],
'disablerepo': [], 'download_only': False, 'enable_plugin': [],
'enablerepo': [], 'exclude': [], 'installroot': '/', 'install_repoquery':
True, 'install_weak_deps': True, 'security': False, 'skip_broken': False,
'update_cache': False, 'update_only': False, 'validate_certs': True,
'lock_timeout': 30, 'conf_file': None, 'disable_excludes': None,
'download_dir': None, 'list': None, 'releasever': None}},
'_ansible_no_log': False, 'changed': False}, 'start':
'2021-05-15T01:18:03.800468', 'end': '2021-05-15T01:18:04.947696',
'duration': 1.147228, 'ignore_errors': None, 'event_loop': None, 'uuid':
'fa961926-9a3a-4d9e-a6bf-d53f98645af2'}}
2021-05-14 20:18:04,951 - runner_service.services.playbook - DEBUG -
cb_event_handler event_data={'uuid':
'1007f755-dee8-407f-999c-b08c8b813ea7', 'counter': 53, 'stdout': '\r\nPLAY
RECAP
*********************************************************************\r\
novirt-host-04.maxisinc.net : ok=14 changed=1 unreachable=0
failed=1 skipped=2 rescued=0 ignored=0 \r\n', 'start_line': 45,
'end_line': 49, 'runner_ident': '6060ba26-b51b-11eb-ba6e-d8cb8a87894e',
'event': 'playbook_on_stats', 'pid': 1742807, 'created':
'2021-05-15T01:18:04.949918', 'parent_uuid':
'e5595457-2c74-4525-8d98-e34bf2e0e342', 'event_data': {'playbook':
'ovirt-host-deploy.yml', 'playbook_uuid':
'e5595457-2c74-4525-8d98-e34bf2e0e342', 'changed': {'
ovirt-host-04.maxisinc.net': 1}, 'dark': {}, 'failures': {'
ovirt-host-04.maxisinc.net': 1}, 'ignored': {}, 'ok': {'
ovirt-host-04.maxisinc.net': 14}, 'processed': {'ovirt-host-04.maxisinc.net':
1}, 'rescued': {}, 'skipped': {'ovirt-host-04.maxisinc.net': 2},
'artifact_data': {}, 'uuid': '1007f755-dee8-407f-999c-b08c8b813ea7'}}
2021-05-14 20:18:05,147 - runner_service.services.playbook - INFO -
Playbook ovirt-host-deploy.yml, UUID=6060ba26-b51b-11eb-ba6e-d8cb8a87894e
ended, status=failed
2021-05-14 20:18:05,154 - runner_service.services.playbook - INFO -
Playbook ovirt-host-deploy.yml Stats: {'skipped': {'
ovirt-host-04.maxisinc.net': 2}, 'ok': {'ovirt-host-04.maxisinc.net': 14},
'dark': {}, 'failures': {'ovirt-host-04.maxisinc.net': 1}, 'processed': {'
ovirt-host-04.maxisinc.net': 1}, 'changed': {'ovirt-host-04.maxisinc.net':
1}}
*David Johnson*
set of errors/warnings, and the install fails.
- Host has no default route
- The Host CPU does not match the Cluster CPU Tye and is running in a
degraded mode. It is missing the following CPU flags: vmx,
model_Cascadelake-Server-noTSX.
The new host has a brand new bare centos 8 installation on it. It
successfully installed from the internet.
The *new host* hardware is 48x Intel(R) Xeon(R) CPU E5-2680 v3 @ 2.50GHz
The *pre-existing host* is 64x Intel(R) Xeon(R) Silver 4216 CPU @ 2.10GHz
If I am reading the ansible logs correctly, ansible is failing to find the
*ovirt-hosted-engine-setup* package, which is confusing since I have a
separate physical machine for the engine (which I am using to install
from), and don't want a self hosted engine.
Any advice would be welcome.
---
Ansible logs from the most recent failed installation attempt:
2021-05-14 20:18:04,949 - runner_service.services.playbook - DEBUG -
cb_event_handler event_data={'uuid':
'fa961926-9a3a-4d9e-a6bf-d53f98645af2', 'counter': 52, 'stdout': 'fatal: [
ovirt-host-04.maxisinc.net]: FAILED! => {"changed": false, "failures": ["No
package ovirt-hosted-engine-setup available."], "msg": "Failed to install
some of the specified packages", "rc": 1, "results": []}', 'start_line':
44, 'end_line': 45, 'runner_ident': '6060ba26-b51b-11eb-ba6e-d8cb8a87894e',
'event': 'runner_on_failed', 'pid': 1742807, 'created':
'2021-05-15T01:18:04.947870', 'parent_uuid':
'd8cb8a87-894e-e341-1e1c-0000000001a1', 'event_data': {'playbook':
'ovirt-host-deploy.yml', 'playbook_uuid':
'e5595457-2c74-4525-8d98-e34bf2e0e342', 'play': 'all', 'play_uuid':
'd8cb8a87-894e-e341-1e1c-000000000007', 'play_pattern': 'all', 'task':
'Install ovirt-hosted-engine-setup package', 'task_uuid':
'd8cb8a87-894e-e341-1e1c-0000000001a1', 'task_action': 'yum', 'task_args':
'', 'task_path':
'/usr/share/ovirt-engine/ansible-runner-service-project/project/roles/ovirt-host-deploy-vdsm/tasks/packages.yml:6',
'role': 'ovirt-host-deploy-vdsm', 'host': 'ovirt-host-04.maxisinc.net',
'remote_addr': 'ovirt-host-04.maxisinc.net', 'res': {'msg': 'Failed to
install some of the specified packages', 'failures': ['No package
ovirt-hosted-engine-setup available.'], 'results': [], 'rc': 1,
'invocation': {'module_args': {'name': ['ovirt-hosted-engine-setup'],
'state': 'present', 'allow_downgrade': False, 'autoremove': False,
'bugfix': False, 'disable_gpg_check': False, 'disable_plugin': [],
'disablerepo': [], 'download_only': False, 'enable_plugin': [],
'enablerepo': [], 'exclude': [], 'installroot': '/', 'install_repoquery':
True, 'install_weak_deps': True, 'security': False, 'skip_broken': False,
'update_cache': False, 'update_only': False, 'validate_certs': True,
'lock_timeout': 30, 'conf_file': None, 'disable_excludes': None,
'download_dir': None, 'list': None, 'releasever': None}},
'_ansible_no_log': False, 'changed': False}, 'start':
'2021-05-15T01:18:03.800468', 'end': '2021-05-15T01:18:04.947696',
'duration': 1.147228, 'ignore_errors': None, 'event_loop': None, 'uuid':
'fa961926-9a3a-4d9e-a6bf-d53f98645af2'}}
2021-05-14 20:18:04,951 - runner_service.services.playbook - DEBUG -
cb_event_handler event_data={'uuid':
'1007f755-dee8-407f-999c-b08c8b813ea7', 'counter': 53, 'stdout': '\r\nPLAY
RECAP
*********************************************************************\r\
novirt-host-04.maxisinc.net : ok=14 changed=1 unreachable=0
failed=1 skipped=2 rescued=0 ignored=0 \r\n', 'start_line': 45,
'end_line': 49, 'runner_ident': '6060ba26-b51b-11eb-ba6e-d8cb8a87894e',
'event': 'playbook_on_stats', 'pid': 1742807, 'created':
'2021-05-15T01:18:04.949918', 'parent_uuid':
'e5595457-2c74-4525-8d98-e34bf2e0e342', 'event_data': {'playbook':
'ovirt-host-deploy.yml', 'playbook_uuid':
'e5595457-2c74-4525-8d98-e34bf2e0e342', 'changed': {'
ovirt-host-04.maxisinc.net': 1}, 'dark': {}, 'failures': {'
ovirt-host-04.maxisinc.net': 1}, 'ignored': {}, 'ok': {'
ovirt-host-04.maxisinc.net': 14}, 'processed': {'ovirt-host-04.maxisinc.net':
1}, 'rescued': {}, 'skipped': {'ovirt-host-04.maxisinc.net': 2},
'artifact_data': {}, 'uuid': '1007f755-dee8-407f-999c-b08c8b813ea7'}}
2021-05-14 20:18:05,147 - runner_service.services.playbook - INFO -
Playbook ovirt-host-deploy.yml, UUID=6060ba26-b51b-11eb-ba6e-d8cb8a87894e
ended, status=failed
2021-05-14 20:18:05,154 - runner_service.services.playbook - INFO -
Playbook ovirt-host-deploy.yml Stats: {'skipped': {'
ovirt-host-04.maxisinc.net': 2}, 'ok': {'ovirt-host-04.maxisinc.net': 14},
'dark': {}, 'failures': {'ovirt-host-04.maxisinc.net': 1}, 'processed': {'
ovirt-host-04.maxisinc.net': 1}, 'changed': {'ovirt-host-04.maxisinc.net':
1}}
*David Johnson*