Hi James,
You can remove the “/24” prefix after the IP address for the management VM. You will get
prompts to add the netmask and gateway after you add the IP address.
Anton Louw
Cloud Engineer: Storage and Virtualization
______________________________________
D: 087 805 1572 | M: N/A
A: Rutherford Estate, 1 Scott Street, Waverley, Johannesburg
anton.louw(a)voxtelecom.co.za
www.vox.co.za
From: James Loker-Steele via Users <users(a)ovirt.org>
Sent: 27 July 2020 11:36
To: users(a)ovirt.org
Subject: [ovirt-users] Failed to execute stage 'Environment customization':
IPAddress() does not support netmasks or subnet prefixes! See documentation for details.
Hi All,
Trying to install a self-hosted engine but cannot get past this step.
[root@<hostname hidden> /]# hosted-engine --deploy
[ INFO ] Stage: Initializing
[ INFO ] Stage: Environment setup
During customization use CTRL-D to abort.
Continuing will configure this host for serving as hypervisor and will create a local VM
with a running engine.
The locally running engine will be used to configure a new storage domain and create a VM
there.
At the end the disk of the local VM will be moved to the shared storage.
Are you sure you want to continue? (Yes, No)[Yes]:
Configuration files: []
Log file:
/var/log/ovirt-hosted-engine-setup/ovirt-hosted-engine-setup-20200724164325-fyyler.log
Version: otopi-1.8.3 (otopi-1.8.3-1.el7)
[ INFO ] Stage: Environment packages setup
[ INFO ] Stage: Programs detection
[ INFO ] Stage: Environment setup (late)
[ INFO ] Stage: Environment customization
--== STORAGE CONFIGURATION ==--
--== HOST NETWORK CONFIGURATION ==--
Please indicate the gateway IP address [10.x.x.x]:
[ INFO ] TASK [ovirt.hosted_engine_setup : Execute just a specific set of steps]
[ INFO ] ok: [localhost]
[ INFO ] TASK [ovirt.hosted_engine_setup : Force facts gathering]
[ INFO ] ok: [localhost]
[ INFO ] TASK [ovirt.hosted_engine_setup : Detecting interface on existing management
bridge]
[ INFO ] TASK [ovirt.hosted_engine_setup : Get all active network interfaces]
[ INFO ] ok: [localhost]
[ INFO ] TASK [ovirt.hosted_engine_setup : Filter bonds with bad naming]
[ INFO ] ok: [localhost]
[ INFO ] TASK [ovirt.hosted_engine_setup : Generate output list]
[ INFO ] ok: [localhost]
[ INFO ] TASK [ovirt.hosted_engine_setup : Validate selected bridge interface if
management bridge does not exists]
[ INFO ] skipping: [localhost]
Please indicate a nic to set ovirtmgmt bridge on: (bond0, bond0.130, bond0.60, em1) [em1]:
bond0.130
Please specify which way the network connectivityshould be checked (ping, dns, tcp, none)
[dns]:
--== VM CONFIGURATION ==--
Please enter the name of the datacenter where you want to deploy this hosted-engine host.
[Default]:
Please enter the name of the cluster where you want to deploy this hosted-engine host.
[Default]:
If you want to deploy with a custom engine appliance image,
please specify the path to the OVA archive you would like to use
(leave it empty to skip, the setup will use ovirt-engine-appliance rpm installing it if
missing):
/usr/share/ovirt-engine-appliance/ovirt-engine-appliance-4.3-20190926.1.0.5.el7.ova
[ INFO ] Checking OVF archive content (could take a few minutes depending on archive
size)
[ INFO ] Checking OVF XML content (could take a few minutes depending on archive size)
Please specify the number of virtual CPUs for the VM (Defaults to appliance OVF value):
[4]:
Please specify the memory size of the VM in MB (Defaults to appliance OVF value): [4]:
16384
[ INFO ] Detecting host timezone.
Please provide the FQDN you would like to use for the engine.
Note: This will be the FQDN of the engine VM you are now going to launch,
it should not point to the base host or to any other existing machine.
Engine VM FQDN: []: <fqdn hidden>
Please provide the domain name you would like to use for the engine appliance.
Engine VM domain: [<tld hidden>]
Enter root password that will be used for the engine appliance:
Confirm appliance root password:
Enter ssh public key for the root user that will be used for the engine appliance (leave
it empty to skip):
[WARNING] Skipping appliance root ssh public key
Do you want to enable ssh access for the root user (yes, no, without-password) [yes]:
Do you want to apply a default OpenSCAP security profile (Yes, No) [No]:
You may specify a unicast MAC address for the VM or accept a randomly generated default
[00:16:3e:3a:4b:fc]:
How should the engine VM network be configured (DHCP, Static)[DHCP]? static
Please enter the IP address to be used for the engine VM []:
10.93.130.50/24<http://10.93.130.50/24>
[ ERROR ] Failed to execute stage 'Environment customization': IPAddress() does
not support netmasks or subnet prefixes! See documentation for details.
[ INFO ] Stage: Clean up
[ INFO ] Cleaning temporary resources
[ INFO ] TASK [ovirt.hosted_engine_setup : Execute just a specific set of steps]
[ INFO ] ok: [localhost]
[ INFO ] TASK [ovirt.hosted_engine_setup : Force facts gathering]
[ INFO ] ok: [localhost]
[ INFO ] TASK [ovirt.hosted_engine_setup : Fetch logs from the engine VM]
[ INFO ] ok: [localhost]
[ INFO ] TASK [ovirt.hosted_engine_setup : Set destination directory path]
[ INFO ] ok: [localhost]
[ INFO ] TASK [ovirt.hosted_engine_setup : Create destination directory]
[ INFO ] changed: [localhost]
[ INFO ] TASK [ovirt.hosted_engine_setup : include_tasks]
[ INFO ] ok: [localhost]
[ INFO ] TASK [ovirt.hosted_engine_setup : Find the local appliance image]
[ INFO ] ok: [localhost]
[ INFO ] TASK [ovirt.hosted_engine_setup : Set local_vm_disk_path]
[ INFO ] skipping: [localhost]
[ INFO ] TASK [ovirt.hosted_engine_setup : Give the vm time to flush dirty buffers]
[ INFO ] ok: [localhost -> localhost]
[ INFO ] TASK [ovirt.hosted_engine_setup : Copy engine logs]
[ INFO ] TASK [ovirt.hosted_engine_setup : include_tasks]
[ INFO ] ok: [localhost]
[ INFO ] TASK [ovirt.hosted_engine_setup : Remove local vm dir]
[ INFO ] ok: [localhost]
[ INFO ] TASK [ovirt.hosted_engine_setup : Remove temporary entry in /etc/hosts for the
local VM]
[ INFO ] ok: [localhost]
[ INFO ] Generating answer file
'/var/lib/ovirt-hosted-engine-setup/answers/answers-20200724165204.conf'
[ INFO ] Stage: Pre-termination
[ INFO ] Stage: Termination
[ ERROR ] Hosted Engine deployment failed
Log file is located at
/var/log/ovirt-hosted-engine-setup/ovirt-hosted-engine-setup-20200724164325-fyyler.log
Nothing in log is of much help.
Also tried to install via Cockpit but gets to prepareVM and displays settings, click next
and deployment failed.
No log.
I have tried specifying the OVA and not specifying.
Anyone can help?
_______________________________________________
Users mailing list -- users@ovirt.org<mailto:users@ovirt.org>
To unsubscribe send an email to
users-leave@ovirt.org<mailto:users-leave@ovirt.org>
Privacy Statement:
https://www.ovirt.org/privacy-policy.html<https://www.ovirt.org/privac...
oVirt Code of Conduct:
https://www.ovirt.org/community/about/community-guidelines/<https://ww...
List Archives:
https://lists.ovirt.org/archives/list/users@ovirt.org/message/E676EUG7Y3T...