Note: This question might be a duplicate of this (it dealt with the GUI/cockpit
installation) and this, however, those solutions did not work for me.
I have never ever used ovirt (this is my first time). I’d like to install it on a single physical server.
I have installed a CentOS 8 server, installed the required repo and packages (incl cockpit
). Now I need to run hosted-engine --deploy
to deploy the engine (I’d like to create the engine in a VM).
Everything seemed okay until the following showed up:
[ INFO ] Stage: Setup validation
Please provide the hostname of this host on the management network [host.domain.lan]:
[ ERROR ] Host name is not valid: Host name host.domain.lan is not valid
host.domain.lan
is FQDN hostname of the host (CentOS 8). As I understand it, neither IP nor non-DNS-resolvable hostname is not valid for ovirt.
I have never ever dealt with DNS (except for setting it up to 1.1.1.1
and 8.8.8.8
). I know that CentOS 8 uses NetworkManager
by default, so I tried to add (using nmcli
) a third DNS address, the address of the ovirt host (CentOS 8). /etc/resolv.conf
indeed contained the address, but hosted-engine
did not work.
Note that I have added two IPs with FQDNs into /etc/hosts
, one for the host server (CentOS 8) and one for the ovirt engine (which should be deployed by the command and therefore the IP is not yet used). See below.
192.168.1.27 host.domain.lan
192.168.1.50 engine.domain.lan
I don’t want to use a private nor external/public DNS server.
Also note that when the program asked me if it should edit hosts file, I have answered yes
.
How could I make hosted-engine
work?
Thanks for the help!