I have an existing oVirt-installation to which I want to add a new host
(from the UI).
However the adding fails because oVirt tries to then install the
ovirt-hosted-engine-setup despite the fact that in the New host-dialog I
left the Choose hosted engine deployment action as None.
As a result the installation then aborts:
2021-08-15 13:17:37 EEST - TASK [ovirt-host-deploy-vdsm : Install
ovirt-hosted-engine-setup package] ******
2021-08-15 13:17:37 EEST -
2021-08-15 13:17:37 EEST - fatal: [new.host]: FAILED! => {"changed":
false, "failures": ["No package ovirt-hosted-engine-setup
available."],
"msg": "Failed to install some of the specified packages",
"rc": 1,
"results": []}
2021-08-15 13:17:37 EEST - {
"status" : "OK",
"msg" : "",
"data" : {
"uuid" : "98a244fb-15da-4192-a8fc-b23a5e5b7594",
"counter" : 55,
"stdout" : "fatal: [new.host]: 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" : 47,
"end_line" : 48,
"runner_ident" : "fe710372-fdb1-11eb-81f0-ecf4bb63099f",
"event" : "runner_on_failed",
"pid" : 24931,
"created" : "2021-08-15T10:17:35.963320",
"parent_uuid" : "ecf4bb63-099f-2448-1b83-0000000001a7",
"event_data" : {
"playbook" : "ovirt-host-deploy.yml",
"playbook_uuid" : "8f70f945-4008-4159-b469-7ff04c9c242b",
"play" : "all",
"play_uuid" : "ecf4bb63-099f-2448-1b83-000000000006",
"play_pattern" : "all",
"task" : "Install ovirt-hosted-engine-setup package",
"task_uuid" : "ecf4bb63-099f-2448-1b83-0000000001a7",
"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" : "new.host",
"remote_addr" : "new.host",
"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" : [ ],
...
Poltsi