For this error I found this:
https://www.reddit.com/r/ansible/comments/107wjxs/ipaddr_filter_requires_pythons_netaddr_be/

On 7/6/2023 2:22 AM, Jorge Visentini wrote:
Hi, Alin.

Thanks for the help...

So... I've checked both the HostedEngineLocal and the host to try to understand and I still can't find where the problem is... It seems to me that the engine after the initial deployment of the engine, it cannot connect to the host, but it stays active until it timeout

    *Deploy:*
    [ INFO  ] TASK [ovirt.ovirt.hosted_engine_setup : Ensure that the
    target cluster is present in the target datacenter]
    [ INFO  ] ok: [localhost]
    [ INFO  ] TASK [ovirt.ovirt.hosted_engine_setup : Check actual
    cluster location]
    [ INFO  ] skipping: [localhost]
    [ INFO  ] TASK [ovirt.ovirt.hosted_engine_setup : Enable GlusterFS
    at cluster level]
    [ INFO  ] skipping: [localhost]
    [ INFO  ] TASK [ovirt.ovirt.hosted_engine_setup : Set VLAN ID at
    datacenter level]
    [ INFO  ] changed: [localhost]
    [ INFO  ] TASK [ovirt.ovirt.hosted_engine_setup : Get active list
    of active firewalld zones]
    [ INFO  ] changed: [localhost]
    [ INFO  ] TASK [ovirt.ovirt.hosted_engine_setup : Configure
    libvirt firewalld zone]
    [ INFO  ] changed: [localhost]
    [ INFO  ] TASK [ovirt.ovirt.hosted_engine_setup : Reload firewall-cmd]
    [ INFO  ] changed: [localhost]
    [ INFO  ] TASK [ovirt.ovirt.hosted_engine_setup : Add host]
    [ INFO  ] changed: [localhost]
    [ INFO  ] TASK [ovirt.ovirt.hosted_engine_setup : Include
    after_add_host tasks files]
    [ INFO  ] skipping: [localhost]
    [ INFO  ] TASK [ovirt.ovirt.hosted_engine_setup : include_tasks]
    [ INFO  ] skipping: [localhost]
    [ INFO  ] TASK [ovirt.ovirt.hosted_engine_setup : include_tasks]
    [ INFO  ] ok: [localhost]
    [ INFO  ] TASK [ovirt.ovirt.hosted_engine_setup : Always revoke
    the SSO token]
    [ INFO  ] ok: [localhost]
    [ INFO  ] TASK [ovirt.ovirt.hosted_engine_setup : include_tasks]
    [ INFO  ] ok: [localhost]
    [ INFO  ] TASK [ovirt.ovirt.hosted_engine_setup : Obtain SSO token
    using username/password credentials]
    [ INFO  ] ok: [localhost]
    [ INFO  ] TASK [ovirt.ovirt.hosted_engine_setup : Wait for the
    host to be up]



    *journalctl -f in the host:*
    Jul 05 20:15:35 ksmmi1r02ovirt36.kosmo.cloud
    ansible-async_wrapper.py[747899]: 747900 still running (85395)
    Jul 05 20:15:40 ksmmi1r02ovirt36.kosmo.cloud
    ansible-async_wrapper.py[747899]: 747900 still running (85390)
    Jul 05 20:15:41 ksmmi1r02ovirt36.kosmo.cloud libvirtd[756173]:
    Domain id=1 name='HostedEngineLocal'
    uuid=7bda1023-6bdd-49b7-a41d-ed0b7354901b is tainted:
    custom-ga-command
    Jul 05 20:15:45 ksmmi1r02ovirt36.kosmo.cloud
    platform-python[797213]: ansible-ovirt_host_info Invoked with
    pattern=name=ksmmi1r02ovirt36.kosmo.cloud auth={'token':
    
'eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICIyb0RGNi1hSE9fSms0RTJfdnZTSTRaemNJbDRmaUY2LVBLY1VDOXliVDRBIn0.eyJleHAiOjE2ODg2MTUyNzgsImlhdCI6MTY4ODU5Nzk5OCwianRpIjoiYTk1NmQ5Y2MtZTBiNy00NTAwLTkwODktNDRmNzlkYmYwMGU4IiwiaXNzIjoiaHR0cHM6Ly9rc21lbmdpbmUwMS5rb3Ntby5jbG91ZC9vdmlydC1lbmdpbmUtYXV0aC9yZWFsbXMvb3ZpcnQtaW50ZXJuYWwiLCJhdWQiOiJhY2NvdW50Iiwic3ViIjoiYmVlNTZjNTktYTJmZC00ZDhkLTk2ZjktYzNhZDg1NDMyYjk2IiwidHlwIjoiQmVhcmVyIiwiYXpwIjoib3ZpcnQtZW5naW5lLWludGVybmFsIiwic2Vzc2lvbl9zdGF0ZSI6IjkwNTNiZTU4LWU3MDAtNDk2ZC04NGU2LTQ2NDgzNmIyNmY4ZCIsImFjciI6IjEiLCJhbG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wFxG-B2GNkEubHBrV101wOg1Mpofxu-hsx0Gw0y-SA2KH1KqxZWsw',
    'url': 'https://ksmengine01.kosmo.cloud/ovirt-engine/api',
    'ca_file': None, 'insecure': True, 'timeout': 0, 'compress': True,
    'kerberos': False, 'headers': None, 'hostname': None, 'username':
    None, 'password': None} fetch_nested=False nested_attributes=[]
    follow=[] all_content=False cluster_version=None
    Jul 05 20:15:45 ksmmi1r02ovirt36.kosmo.cloud
    ansible-async_wrapper.py[747899]: 747900 still running (85385)
    Jul 05 20:15:50 ksmmi1r02ovirt36.kosmo.cloud
    ansible-async_wrapper.py[747899]: 747900 still running (85380)



    *cat
    
/var/log/ovirt-engine/host-deploy/ovirt-host-deploy-ansible-20230705195937-ksmmi1r02ovirt36.kosmo.cloud-547a5131-0afc-4c35-a2f4-6fca84257d43.log*
    2023-07-05 20:00:56 BRT - {
      "uuid" : "16db3973-922d-4ab0-b3e9-cf66bb58ee0b",
      "counter" : 402,
      "stdout" : "fatal: [ksmmi1r02ovirt36.kosmo.cloud]: FAILED! =>
    {\"msg\": \"The conditional check 'cluster_switch == \\\"ovs\\\"
    or (ovn_central is defined and ovn_central | ipaddr)' failed. The
    error was: The ipaddr filter requires python's netaddr be
    installed on the ansible controller\\n\\nThe error appears to be
    in
    
'/usr/share/ovirt-engine/ansible-runner-service-project/project/roles/ovirt-provider-ovn-driver/tasks/configure.yml':
    line 3, column 5, but may\\nbe elsewhere in the file depending on
    the exact syntax problem.\\n\\nThe offending line appears to
    be:\\n\\n- block:\\n  - name: Install ovs\\n    ^ here\\n\"}",
      "start_line" : 397,
      "end_line" : 398,
      "runner_ident" : "174e7b14-caab-4dd1-aa36-b91c12d773fc",
      "event" : "runner_on_failed",
      "pid" : 104844,
      "created" : "2023-07-05T23:00:53.742009",
      "parent_uuid" : "00163e60-1422-b24b-659e-00000000003a",
      "event_data" : {
        "playbook" : "ovirt-host-deploy.yml",
        "playbook_uuid" : "049661a3-1dab-4e52-8fc5-fcb1f8728080",
        "play" : "all",
        "play_uuid" : "00163e60-1422-b24b-659e-000000000002",
        "play_pattern" : "all",
        "task" : "Install ovs",
        "task_uuid" : "00163e60-1422-b24b-659e-00000000003a",
        "task_action" : "ansible.builtin.package",
        "task_args" : "",
        "task_path" :
    
"/usr/share/ovirt-engine/ansible-runner-service-project/project/roles/ovirt-provider-ovn-driver/tasks/configure.yml:3",
        "role" : "ovirt-provider-ovn-driver",
        "host" : "ksmmi1r02ovirt36.kosmo.cloud",
        "remote_addr" : "ksmmi1r02ovirt36.kosmo.cloud",
        "res" : {
          "msg" : "The conditional check 'cluster_switch == \"ovs\" or
    (ovn_central is defined and ovn_central | ipaddr)' failed. The
    error was: The ipaddr filter requires python's netaddr be
    installed on the ansible controller\n\nThe error appears to be in
    
'/usr/share/ovirt-engine/ansible-runner-service-project/project/roles/ovirt-provider-ovn-driver/tasks/configure.yml':
    line 3, column 5, but may\nbe elsewhere in the file depending on
    the exact syntax problem.\n\nThe offending line appears to
    be:\n\n- block:\n  - name: Install ovs\n  ^ here\n",
          "_ansible_no_log" : false
        },
        "start" : "2023-07-05T23:00:53.674718",
        "end" : "2023-07-05T23:00:53.741867",
        "duration" : 0.067149,
        "ignore_errors" : null,
        "event_loop" : null,
        "uuid" : "16db3973-922d-4ab0-b3e9-cf66bb58ee0b"
      }


Now I'm testing with the EL8, and it still doesn't work.
The ISO I'm using is *ovirt-node-ng-installer-4.5.4-2022120615.el8.iso*

BR.

Em qua., 5 de jul. de 2023 às 16:25, Alin Ilie via Users <users@ovirt.org> escreveu:

    Hello Jorge,

    I encountered something similar.
    I recommend you to try to use the command line which pause the
    installation and to check what you have in the logs of the hosted
    engine. I found that actually some python modules were not
    accessible from Ansible.

    Thanks!
    Alin

    On 7/5/2023 4:58 PM, Jorge Visentini wrote:
    Hi.

    I'm trying to deploy the engine but I'm having some errors that I
    couldn't identify.
    I don't know if it's incompatibility with my hardware or some
    libvirt bug.

        Jul 05 10:06:21 ksmmi1r02ovirt36.kosmo.cloud
        ansible-async_wrapper.py[690916]: 690917 still running (48505)
        Jul 05 10:06:21 ksmmi1r02ovirt36.kosmo.cloud
        libvirtd[701878]: Domain id=1 name='HostedEngineLocal'
        uuid=922a156c-7f4c-4815-a645-54ed07 794451 is tainted:
        custom-ga-command
        Jul 05 10:06:21 ksmmi1r02ovirt36.kosmo.cloud
        virtlogd[630980]: Client hit max requests limit 1. This may
        result in keep-alive timeouts. Consider tuning the
        max_client_requests server parameter
        Jul 05 10:06:22 ksmmi1r02ovirt36.kosmo.cloud
        libvirtd[701878]: Invalid value '-1' for 'cpu.max': Invalid
        argument
        Jul 05 10:06:26 ksmmi1r02ovirt36.kosmo.cloud
        ansible-async_wrapper.py[690916]: 690917 still running (48500)
        Jul 05 10:06:31 ksmmi1r02ovirt36.kosmo.cloud
        ansible-async_wrapper.py[690916]: 690917 still running (48495)
        Jul 05 10:06:31 ksmmi1r02ovirt36.kosmo.cloud systemd[1]:
        systemd-timedated.service: Deactivated successfully.
        Jul 05 10:06:36 ksmmi1r02ovirt36.kosmo.cloud
        ansible-async_wrapper.py[690916]: 690917 still running (48490)
        Jul 05 10:06:37 ksmmi1r02ovirt36.kosmo.cloud
        libvirtd[701878]: Invalid value '-1' for 'cpu.max': Invalid
        argument
        Jul 05 10:06:41 ksmmi1r02ovirt36.kosmo.cloud
        ansible-async_wrapper.py[690916]: 690917 still running (48485)
        Jul 05 10:06:46 ksmmi1r02ovirt36.kosmo.cloud
        ansible-async_wrapper.py[690916]: 690917 still running (48480)
        Jul 05 10:06:51 ksmmi1r02ovirt36.kosmo.cloud
        ansible-async_wrapper.py[690916]: 690917 still running (48475)
        Jul 05 10:06:52 ksmmi1r02ovirt36.kosmo.cloud
        libvirtd[701878]: Invalid value '-1' for 'cpu.max': Invalid
        argument
        Jul 05 10:06:56 ksmmi1r02ovirt36.kosmo.cloud
        ansible-async_wrapper.py[690916]: 690917 still running (48470)
        Jul 05 10:07:01 ksmmi1r02ovirt36.kosmo.cloud
        ansible-async_wrapper.py[690916]: 690917 still running (48465)


        *My config:*

            *CPU:* 2 x Intel(R) Xeon(R) Platinum 8276M CPU @ 2.20GHz

            *Memory:* 4TB

            *Disk:* 120GB RAID 1

            *ISO:* ovirt-node-ng-installer-4.5.4-2022120615.el9.iso


        *Packages:*

            kernel-5.14.0-202.el9.x86_64

            libvirt-8.9.0-2.el9.x86_64

            centos-release-ovirt45-9.1-3.el9s.noarch

            python3-ovirt-engine-sdk4-4.6.0-1.el9.x86_64

            ovirt-imageio-common-2.4.7-1.el9.x86_64

            ovirt-imageio-client-2.4.7-1.el9.x86_64

            ovirt-openvswitch-ovn-2.15-4.el9.noarch

            ovirt-openvswitch-ovn-common-2.15-4.el9.noarch

            ovirt-imageio-daemon-2.4.7-1.el9.x86_64

            ovirt-openvswitch-ovn-host-2.15-4.el9.noarch

            python3-ovirt-setup-lib-1.3.3-1.el9.noarch

            ovirt-vmconsole-1.0.9-1.el9.noarch

            ovirt-vmconsole-host-1.0.9-1.el9.noarch

            ovirt-openvswitch-2.15-4.el9.noarch

            python3-ovirt-node-ng-nodectl-4.4.2-1.el9.noarch

            ovirt-node-ng-nodectl-4.4.2-1.el9.noarch

            ovirt-ansible-collection-3.0.0-1.el9.noarch

            ovirt-python-openvswitch-2.15-4.el9.noarch

            ovirt-openvswitch-ipsec-2.15-4.el9.noarch

            ovirt-hosted-engine-ha-2.5.0-1.el9.noarch

            ovirt-provider-ovn-driver-1.2.36-1.el9.noarch

            ovirt-host-dependencies-4.5.0-3.el9.x86_64

            ovirt-hosted-engine-setup-2.7.0-1.el9.noarch

            ovirt-host-4.5.0-3.el9.x86_64

            ovirt-release-host-node-4.5.4-1.el9.x86_64

            ovirt-node-ng-image-update-placeholder-4.5.4-1.el9.noarch

            ovirt-engine-appliance-4.5-20221206125848.1.el9.x86_64


    For better understanding, the deploy log is attached.
    I appreciate any tips that help me.

    Thank you!
    --
    Att,
    Jorge Visentini
    +55 55 98432-9868

    _______________________________________________
    Users mailing list --users@ovirt.org
    To unsubscribe send an email tousers-le...@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/BNZ5WKEENMVTCU5Q2G4L64MGLQZQHP7O/

    _______________________________________________
    Users mailing list -- users@ovirt.org
    To unsubscribe send an email to users-le...@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/I4DPJU6FBTH3LTQJRVW7QQZQGFN7ZRG3/



--
Att,
Jorge Visentini
+55 55 98432-9868

_______________________________________________
Users mailing list --users@ovirt.org
To unsubscribe send an email tousers-le...@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/PEBTGCVSH7SQUFEHVFP6QRDNEEEUCHUR/

_______________________________________________
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@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/ZLTTB254IH3ZUQJYXRINKLQGQADBTUBG/

Reply via email to