Hi,
Looking at 'Detect if host is a prebuilt image' task's output, it was completed ok and without making any changes. The tasks you pasted below are executed after it, so the issue should be around the last task that was executed.
Please add the full host deploy log, engine.log and ansible-runner-service.log (located under /var/log/ovirt-engine) files for further investigation
Thanks,
Dana


On Fri, Aug 6, 2021 at 3:43 PM <fauzuwan.nazri93@gmail.com> wrote:
Hello everyone, I try to add a host to a new cluster and
during provisioning the event showed "Detect if host is a prebuilt image."
and it just stuck there forever.

Version: ovirt-node-ng-image-update-placeholder-4.4.7.1-1.el8.noarch
Actual results: Host provisioning stuck at  "Detect if host is a prebuilt image."
Expected results: Provisioning successful.

By checking the ovirt host deployment playbook logs, I can't found any useful output.
Below is the last output form the logs.


2021-08-06 19:25:12 MYT - TASK [ovirt-host-deploy-facts : Detect if host is a prebuilt image] ************
2021-08-06 19:25:12 MYT - ok: [ovirth02.zyzyx.virtnet]
2021-08-06 19:25:12 MYT - {
  "status" : "OK",
  "msg" : "",
  "data" : {
    "uuid" : "a7b74be9-30ab-4ca4-b2b6-e7af6b86bb6c",
    "counter" : 24,
    "stdout" : "ok: [ovirth02.zyzyx.virtnet]",
    "start_line" : 22,
    "end_line" : 23,
    "runner_ident" : "f155ccc8-f6a8-11eb-94c2-00e04cf8ff45",
    "event" : "runner_on_ok",
    "pid" : 1549383,
    "created" : "2021-08-06T11:25:10.333884",
    "parent_uuid" : "00e04cf8-ff45-b99d-863c-000000000182",
    "event_data" : {
      "playbook" : "ovirt-host-deploy.yml",
      "playbook_uuid" : "c1e368bf-e183-47c0-b6f5-377114c20eab",
      "play" : "all",
      "play_uuid" : "00e04cf8-ff45-b99d-863c-000000000007",
      "play_pattern" : "all",
      "task" : "Detect if host is a prebuilt image",
      "task_uuid" : "00e04cf8-ff45-b99d-863c-000000000182",
      "task_action" : "set_fact",
      "task_args" : "",
      "task_path" : "/usr/share/ovirt-engine/ansible-runner-service-project/project/roles/ovirt-host-deploy-facts/tasks/host-os.yml:26",
      "role" : "ovirt-host-deploy-facts",
      "host" : "ovirth02.zyzyx.virtnet",
      "remote_addr" : "ovirth02.zyzyx.virtnet",
      "res" : {
        "changed" : false,
        "ansible_facts" : {
          "node_host" : true
        },
        "_ansible_no_log" : false
      },
      "start" : "2021-08-06T11:25:10.254355",
      "end" : "2021-08-06T11:25:10.333550",
      "duration" : 0.079195,
      "event_loop" : null,
      "uuid" : "a7b74be9-30ab-4ca4-b2b6-e7af6b86bb6c"
    }
  }
}

2021-08-06 19:25:12 MYT - TASK [ovirt-host-deploy-facts : Reset configuration of advanced virtualization module] ***
2021-08-06 19:25:12 MYT - TASK [ovirt-host-deploy-facts : Find relevant advanced virtualization module version] ***
2021-08-06 19:25:12 MYT - TASK [ovirt-host-deploy-facts : Enable advanced virtualization module] *********
2021-08-06 19:25:12 MYT - TASK [ovirt-host-deploy-facts : Ensure Python3 is installed for CentOS/RHEL8 hosts] ***



Thank You.
_______________________________________________
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-leave@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/
List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/message/DWLRVZEU6DYZFUCWRNWGLTA2SNJ25ST2/