On Fri, Oct 30, 2020 at 6:32 AM Gobinda Das <godas@redhat.com> wrote:
Hi Gianluca,
 Yes, You can use cockpit UI for deployment. You need to install cockpit-ovirt-dashboard pkg for that.


OK, thanks for confirmation.
At first try the graphical gui complained about:

"
gluster-ansible-roles is not installed on Host. To continue deployment, please install gluster-ansible-roles on Host and try again.
"

So I installed gluster-ansible-roles package and its dependencies.
Then retried but during first phases of deploy I got:
"
...

TASK [gluster.infra/roles/firewall_config : Add/Delete services to firewalld rules] ***
failed: [ovirtst.mydomain.storage] (item=glusterfs) => {"ansible_loop_var": "item", "changed": false, "item": "glusterfs", "msg": "ERROR: Exception caught: org.fedoraproject.FirewallD1.Exception: INVALID_SERVICE: 'glusterfs' not among existing services Permanent and Non-Permanent(immediate) operation, Services are defined by port/tcp relationship and named as they are in /etc/services (on most systems)"}

"
My current config was

[root@ovirt ~]# firewall-cmd --list-services
cockpit dhcpv6-client ssh
[root@ovirt ~]#

but the problem seemed that it didn't recognize glusterfs as a known service to enable in firewalld...

In fact:
[root@ovirt ~]# firewall-cmd --get-services | grep gluster
[root@ovirt ~]#

After running

dnf install glusterfs-server

it added the glusterfs service to firewalld config

Now it fails at stage 3 Prepare VM
"
. . .
[ INFO ] TASK [ovirt.hosted_engine_setup : Enable GlusterFS at cluster level]
[ INFO ] changed: [localhost]
[ INFO ] TASK [ovirt.hosted_engine_setup : Set VLAN ID at datacenter level]
[ INFO ] skipping: [localhost]
[ INFO ] TASK [ovirt.hosted_engine_setup : Get active list of active firewalld zones]
[ INFO ] changed: [localhost]
[ INFO ] TASK [ovirt.hosted_engine_setup : Configure libvirt firewalld zone]
[ INFO ] changed: [localhost]
[ INFO ] TASK [ovirt.hosted_engine_setup : Add host]
[ INFO ] changed: [localhost]
[ INFO ] skipping: [localhost]
[ INFO ] TASK [ovirt.hosted_engine_setup : include_tasks]
[ INFO ] skipping: [localhost]
[ INFO ] TASK [ovirt.hosted_engine_setup : include_tasks]
[ INFO ] ok: [localhost]
[ INFO ] TASK [ovirt.hosted_engine_setup : Always revoke the SSO token]
[ INFO ] TASK [ovirt.hosted_engine_setup : include_tasks]
[ INFO ] ok: [localhost]
[ INFO ] TASK [ovirt.hosted_engine_setup : Obtain SSO token using username/password credentials]
[ INFO ] ok: [localhost]
[ INFO ] TASK [ovirt.hosted_engine_setup : Wait for the host to be up]
[ INFO ] ok: [localhost]
[ INFO ] TASK [ovirt.hosted_engine_setup : Notify the user about a failure]
[ INFO ] skipping: [localhost]
[ INFO ] TASK [ovirt.hosted_engine_setup : set_fact]
[ INFO ] ok: [localhost]
[ INFO ] TASK [ovirt.hosted_engine_setup : Collect error events from the Engine]
[ INFO ] ok: [localhost]
[ INFO ] TASK [ovirt.hosted_engine_setup : Generate the error message from the engine events]
[ INFO ] ok: [localhost]
[ INFO ] TASK [ovirt.hosted_engine_setup : Fail with error description]
[ ERROR ] fatal: [localhost]: FAILED! => {"changed": false, "msg": "The host has been set in non_operational status, deployment errors: code 4035: Gluster command [<UNKNOWN>] failed on server <UNKNOWN>., code 9000: Failed to verify Power Management configuration for Host ovirt.mydomain.local., code 10802: VDSM ovirt.mydomain.local command GlusterServersListVDS failed: The method does not exist or is not available: {'method': 'GlusterHost.list'}, fix accordingly and re-deploy."}
[ INFO ] TASK [ovirt.hosted_engine_setup : Sync on engine machine]
[ INFO ] changed: [localhost]

In the first phases it put the temporary ip in /etc/hosts

192.168.222.233 ovengine.mydomain.local

But now it seems the /etc/hosts of the host is already cleaned from the temporary ip, but the engine is set at it yet

[root@ovirt ovirt-hosted-engine-setup]# ping -c 3 192.168.222.233
PING 192.168.222.233 (192.168.222.233) 56(84) bytes of data.
64 bytes from 192.168.222.233: icmp_seq=1 ttl=64 time=0.262 ms
64 bytes from 192.168.222.233: icmp_seq=2 ttl=64 time=0.276 ms
64 bytes from 192.168.222.233: icmp_seq=3 ttl=64 time=0.267 ms

--- 192.168.222.233 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 30ms
rtt min/avg/max/mdev = 0.262/0.268/0.276/0.014 ms
[root@ovirt ovirt-hosted-engine-setup]#

[root@ovirt ovirt-hosted-engine-setup]# grep 192.168.222.233 /etc/hosts
[root@ovirt ovirt-hosted-engine-setup]#

In /var/log/ovirt-hosted-engine-setup/ovirt-hosted-engine-setup-ansible-bootstrap_local_vm-20201030105013-yf9fv8.log

2020-10-30 11:02:39,758+0100 DEBUG ansible on_any args localhostTASK: ovirt.hosted_engine_setup : Al
ways revoke the SSO token kwargs
2020-10-30 11:02:41,035+0100 ERROR ansible failed {
    "ansible_host": "localhost",
    "ansible_playbook": "/usr/share/ovirt-hosted-engine-setup/ansible/trigger_role.yml",
    "ansible_result": {
        "_ansible_no_log": false,
        "changed": false,
        "invocation": {
            "module_args": {
                "ca_file": null,
                "compress": true,
                "headers": null,
                "hostname": null,
                "insecure": null,
                "kerberos": false,
                "ovirt_auth": {
                    "ansible_facts": {
                        "ovirt_auth": {
                            "ca_file": null,
                            "compress": true,
                            "headers": null,
                            "insecure": true,
                            "kerberos": false,
                            "timeout": 0,
                            "token": "Q-eWV_-KjpmnCsVUoVftaQUlTO4_n-iGrKmJn4SXq-c-YOSF-ojRjdxb5ilRLHxSfZ1keR1pIIc3TTKxylyBtw",
                            "url": "https://ovengine.mydomain.local/ovirt-engine/api"
                        }
                    },
                    "attempts": 1,
                    "changed": false,
                    "failed": false
                },
                "password": null,
                "state": "absent",
                "timeout": 0,
                "token": null,
                "url": null,
                "username": null
            }
        },
        "msg": "You must specify either 'url' or 'hostname'."

In /var/log/ovirt-hosted-engine-setup/engine-logs-2020-10-30T09:52:10Z/ovirt-engine/engine.log

020-10-30 11:04:29,786+01 INFO  [org.ovirt.engine.core.bll.UpdateClusterCommand] (EE-ManagedScheduledExecutorService-engineScheduledThreadPool-Thread-61) [] Updating cluster CPU flags and verb according to the configuration of the Secure Intel Cascadelake Server Family cpu
2020-10-30 11:04:29,788+01 INFO  [org.ovirt.engine.core.bll.UpdateClusterCommand] (EE-ManagedScheduledExecutorService-engineScheduledThreadPool-Thread-61) [3e8a4535] Lock Acquired to object 'EngineLock:{exclusiveLocks='[]', sharedLocks='[]'}'
2020-10-30 11:04:29,815+01 INFO  [org.ovirt.engine.core.bll.UpdateClusterCommand] (EE-ManagedScheduledExecutorService-engineScheduledThreadPool-Thread-61) [3e8a4535] Running command: UpdateClusterCommand internal: true. Entities affected :  ID: 8a0dae8a-1a96-11eb-874f-00163e1de730 Type: ClusterActio
n group EDIT_CLUSTER_CONFIGURATION with role type ADMIN
2020-10-30 11:04:29,830+01 INFO  [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (EE-ManagedScheduledExecutorService-engineScheduledThreadPool-Thread-61) [3e8a4535] EVENT_ID: SYSTEM_UPDATE_CLUSTER(835), Host cluster Default was updated by system
2020-10-30 11:04:29,830+01 INFO  [org.ovirt.engine.core.bll.UpdateClusterCommand] (EE-ManagedScheduledExecutorService-engineScheduledThreadPool-Thread-61) [3e8a4535] Lock freed to object 'EngineLock:{exclusiveLocks='[]', sharedLocks='[]'}'
2020-10-30 11:04:29,846+01 INFO  [org.ovirt.engine.core.vdsbroker.gluster.GlusterServersListVDSCommand] (EE-ManagedScheduledExecutorService-engineScheduledThreadPool-Thread-61) [3e8a4535] START, GlusterServersListVDSCommand(HostName = ovirt.mydomain.local, VdsIdVDSCommandParametersBase:{hostId='bc9fb648-3928-4693-b740-65e38cc8d304'}), log id: 58c3bd1d
2020-10-30 11:04:29,864+01 WARN  [org.ovirt.engine.core.vdsbroker.gluster.GlusterServersListVDSCommand] (EE-ManagedScheduledExecutorService-engineScheduledThreadPool-Thread-61) [3e8a4535] Unexpected return value: Status [code=-32601, message=The method does not exist or is not available: {'method': 'GlusterHost.list'}]
2020-10-30 11:04:29,865+01 WARN  [org.ovirt.engine.core.vdsbroker.gluster.GlusterServersListVDSCommand] (EE-ManagedScheduledExecutorService-engineScheduledThreadPool-Thread-61) [3e8a4535] Unexpected return value: Status [code=-32601, message=The method does not exist or is not available: {'method': 'GlusterHost.list'}]
2020-10-30 11:04:29,865+01 ERROR [org.ovirt.engine.core.vdsbroker.gluster.GlusterServersListVDSCommand] (EE-ManagedScheduledExecutorService-engineScheduledThreadPool-Thread-61) [3e8a4535] Failed in 'GlusterServersListVDS' method
2020-10-30 11:04:29,865+01 WARN  [org.ovirt.engine.core.vdsbroker.gluster.GlusterServersListVDSCommand] (EE-ManagedScheduledExecutorService-engineScheduledThreadPool-Thread-61) [3e8a4535] Unexpected return value: Status [code=-32601, message=The method does not exist or is not available: {'method': 'GlusterHost.list'}]
2020-10-30 11:04:29,871+01 ERROR [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (EE-ManagedScheduledExecutorService-engineScheduledThreadPool-Thread-61) [3e8a4535] EVENT_ID: VDS_BROKER_COMMAND_FAILURE(10,802), VDSM ovirt.mydomain.local command GlusterServersListVDS failed: The method does not exist or is not available: {'method': 'GlusterHost.list'}
2020-10-30 11:04:29,872+01 ERROR [org.ovirt.engine.core.vdsbroker.gluster.GlusterServersListVDSCommand] (EE-ManagedScheduledExecutorService-engineScheduledThreadPool-Thread-61) [3e8a4535] Command 'GlusterServersListVDSCommand(HostName = ovirt.mydomain.local, VdsIdVDSCommandParametersBase:{hostId='bc9fb648-3928-4693-b740-65e38cc8d304'})' execution failed: VDSGenericException: VDSErrorException: Failed to GlusterServersListVDS, error = The method does not exist or is not available: {'method': 'GlusterHost.list'}, code = -32601

I still can ssh into the engine on its temp ip... in case other log files needed, not copied over to the host.
Let me know if you need any other log file

Thanks in advance,

Gianluca