Hi,
Please share all of /var/log/ovirt-hosted-engine-setup.
The last point in the logs you attached is in task 'Check engine VM health'.
This runs a loop of 'hosted-engine --vm-status --json' but did not
finish (yet?).
Thanks and best regards,
On Tue, Oct 13, 2020 at 5:35 AM <info(a)worldhostess.com> wrote:
Hope this can help, not sure which files are best the last part of
“ovirt-hosted-engine-setup-ansible-bootstrap_local_vm-“
2020-10-12 15:05:40,126+0200 INFO ansible task start {'status': 'OK',
'ansible_type': 'task', 'ansible_playbook':
'/usr/share/ovirt-hosted-engine-setup/ansible/trigger_role.yml',
'ansible_task': 'ovirt.hosted_engine_setup : Generate the error message from
the engine events'}
2020-10-12 15:05:40,126+0200 DEBUG ansible on_any args TASK: ovirt.hosted_engine_setup :
Generate the error message from the engine events kwargs is_conditional:False
2020-10-12 15:05:40,126+0200 DEBUG ansible on_any args localhostTASK:
ovirt.hosted_engine_setup : Generate the error message from the engine events kwargs
2020-10-12 15:05:41,045+0200 INFO ansible skipped {'status': 'SKIPPED',
'ansible_type': 'task', 'ansible_playbook':
'/usr/share/ovirt-hosted-engine-setup/ansible/trigger_role.yml',
'ansible_task': 'Generate the error message from the engine events',
'ansible_host': 'localhost'}
2020-10-12 15:05:41,045+0200 DEBUG ansible on_any args
<ansible.executor.task_result.TaskResult object at 0x7f52e0372898> kwargs
2020-10-12 15:05:41,991+0200 INFO ansible task start {'status': 'OK',
'ansible_type': 'task', 'ansible_playbook':
'/usr/share/ovirt-hosted-engine-setup/ansible/trigger_role.yml',
'ansible_task': 'ovirt.hosted_engine_setup : Fail with error
description'}
2020-10-12 15:05:41,992+0200 DEBUG ansible on_any args TASK: ovirt.hosted_engine_setup :
Fail with error description kwargs is_conditional:False
2020-10-12 15:05:41,992+0200 DEBUG ansible on_any args localhostTASK:
ovirt.hosted_engine_setup : Fail with error description kwargs
2020-10-12 15:05:42,917+0200 INFO ansible skipped {'status': 'SKIPPED',
'ansible_type': 'task', 'ansible_playbook':
'/usr/share/ovirt-hosted-engine-setup/ansible/trigger_role.yml',
'ansible_task': 'Fail with error description', 'ansible_host':
'localhost'}
2020-10-12 15:05:42,917+0200 DEBUG ansible on_any args
<ansible.executor.task_result.TaskResult object at 0x7f52e0185c18> kwargs
2020-10-12 15:05:43,865+0200 INFO ansible task start {'status': 'OK',
'ansible_type': 'task', 'ansible_playbook':
'/usr/share/ovirt-hosted-engine-setup/ansible/trigger_role.yml',
'ansible_task': 'ovirt.hosted_engine_setup : Fail with generic error'}
2020-10-12 15:05:43,865+0200 DEBUG ansible on_any args TASK: ovirt.hosted_engine_setup :
Fail with generic error kwargs is_conditional:False
2020-10-12 15:05:43,865+0200 DEBUG ansible on_any args localhostTASK:
ovirt.hosted_engine_setup : Fail with generic error kwargs
2020-10-12 15:05:44,780+0200 INFO ansible skipped {'status': 'SKIPPED',
'ansible_type': 'task', 'ansible_playbook':
'/usr/share/ovirt-hosted-engine-setup/ansible/trigger_role.yml',
'ansible_task': 'Fail with generic error', 'ansible_host':
'localhost'}
2020-10-12 15:05:44,781+0200 DEBUG ansible on_any args
<ansible.executor.task_result.TaskResult object at 0x7f52e034ac88> kwargs
2020-10-12 15:05:44,782+0200 INFO ansible stats {
"ansible_playbook":
"/usr/share/ovirt-hosted-engine-setup/ansible/trigger_role.yml",
"ansible_playbook_duration": "13:34 Minutes",
"ansible_result": "type: <class 'dict'>\nstr:
{'localhost': {'ok': 224, 'failures': 0, 'unreachable': 0,
'changed': 73, 'skipped': 102, 'rescued': 0, 'ignored':
1}}",
"ansible_type": "finish",
"status": "FAILED"
}
2020-10-12 15:05:44,782+0200 INFO SUMMARY:
Duration Task Name
-------- --------
[ < 1 sec ] Execute just a specific set of steps
[ 00:01 ] Force facts gathering
[ 00:02 ] Install oVirt Hosted Engine packages
[ < 1 sec ] System configuration validations
[ < 1 sec ] Detecting interface on existing management bridge
[ < 1 sec ] Generate output list
[ < 1 sec ] Collect interface types
[ < 1 sec ] Get list of Team devices
[ < 1 sec ] Filter unsupported interface types
[ < 1 sec ] Prepare getent key
[ < 1 sec ] Get full hostname
[ < 1 sec ] Get host address resolution
[ < 1 sec ] Parse host address resolution
[ < 1 sec ] Get target address from selected interface (IPv4)
[ < 1 sec ] Get target address from selected interface (IPv6)
[ < 1 sec ] Check for alias
[ < 1 sec ] Filter resolved address list
[ < 1 sec ] Get engine FQDN resolution
[ < 1 sec ] Parse engine he_fqdn resolution
[ < 1 sec ] Define he_cloud_init_host_name
[ < 1 sec ] Get uuid
[ < 1 sec ] Set he_vm_uuid
[ < 1 sec ] Get uuid
[ < 1 sec ] Set he_nic_uuid
[ < 1 sec ] Get uuid
[ < 1 sec ] Set he_cdrom_uuid
[ < 1 sec ] get timezone
[ < 1 sec ] Set he_time_zone
[ < 1 sec ] Check firewalld status
[ < 1 sec ] Get default gateway IPv4
[ < 1 sec ] Get default gateway IPv6
[ < 1 sec ] Set he_gateway
[ < 1 sec ] Generate unicast MAC address
[ < 1 sec ] Set he_vm_mac_addr
[ < 1 sec ] Get free memory
[ < 1 sec ] Get cached memory
[ < 1 sec ] Set Max memory
[ < 1 sec ] set he_mem_size_MB to max available if not defined
[ < 1 sec ] Populate service facts
[ < 1 sec ] get max cpus
[ < 1 sec ] Set he_maxvcpus
[ < 1 sec ] Set he_vcpus to maximum amount if not defined
[ < 1 sec ] Stop libvirt service
[ < 1 sec ] Drop vdsm config statements
[ 00:01 ] Restore initial abrt config files
[ < 1 sec ] Restart abrtd service
[ < 1 sec ] Drop libvirt sasl2 configuration by vdsm
[ 00:01 ] Stop and disable services
[ < 1 sec ] Restore initial libvirt default network configuration
[ < 1 sec ] Start libvirt
[ < 1 sec ] Check for leftover local Hosted Engine VM
[ < 1 sec ] Check for leftover defined local Hosted Engine VM
[ < 1 sec ] Check for leftover defined Hosted Engine VM
[ < 1 sec ] Remove eventually entries for the local VM from known_hosts file
[ < 1 sec ] Check IPv6
[ < 1 sec ] Get IPv4 route
[ < 1 sec ] Parse libvirt default network configuration
[ < 1 sec ] Edit libvirt default network configuration, change default address
[ < 1 sec ] Edit libvirt default network configuration, change DHCP start range
[ < 1 sec ] Edit libvirt default network configuration, change DHCP end range
[ < 1 sec ] Update libvirt default network configuration, destroy
[ < 1 sec ] Update libvirt default network configuration, undefine
[ < 1 sec ] Update libvirt default network configuration, define
[ < 1 sec ] Activate default libvirt network
[ < 1 sec ] Start libvirt
[ < 1 sec ] Activate default libvirt network
[ < 1 sec ] Get libvirt interfaces
[ < 1 sec ] Get routing rules, IPv4
[ < 1 sec ] Save bridge name
[ < 1 sec ] Wait for the bridge to appear on the host
[ < 1 sec ] Refresh network facts
[ < 1 sec ] Fetch IPv4 CIDR for virbr0
[ < 1 sec ] Add IPv4 outbound route rules
[ < 1 sec ] Add IPv4 inbound route rules
[ < 1 sec ] Fetch the value of HOST_KEY_CHECKING
[ < 1 sec ] Get the username running the deploy
[ < 1 sec ] Register the engine FQDN as a host
[ < 1 sec ] Get host unique id
[ < 1 sec ] Create directory for local VM
[ < 1 sec ] Set local vm dir path
[ < 1 sec ] Fix local VM directory permission
[ 00:02 ] Install ovirt-engine-appliance rpm
[ < 1 sec ] Parse appliance configuration for path
[ < 1 sec ] Parse appliance configuration for sha1sum
[ < 1 sec ] Get OVA path
[ 00:05 ] Compute sha1sum
[ < 1 sec ] Check available space on local VM directory
[ < 1 sec ] Check appliance size
[ < 1 sec ] Ensure we have enough space to extract the appliance
[ 01:13 ] Extract appliance to local VM directory
[ < 1 sec ] Find the local appliance image
[ < 1 sec ] Set local_vm_disk_path
[ < 1 sec ] Get appliance disk size
[ < 1 sec ] Parse qemu-img output
[ < 1 sec ] Hash the appliance root password
[ 00:01 ] Create cloud init user-data and meta-data files
[ < 1 sec ] Create ISO disk
[ 00:02 ] Create local VM
[ 00:20 ] Get local VM IP
[ < 1 sec ] Remove leftover entries in /etc/hosts for the local VM
[ < 1 sec ] Create an entry in /etc/hosts for the local VM
[ 00:30 ] Wait for SSH to restart on the local VM
[ 00:06 ] Wait for the local VM
[ < 1 sec ] Add an entry for this host on /etc/hosts on the local VM
[ < 1 sec ] Set FQDN
[ < 1 sec ] Force the local VM FQDN to temporary resolve on the natted network
address
[ < 1 sec ] Restore sshd reverse DNS lookups
[ < 1 sec ] Add lines to answerfile
[ < 1 sec ] Perform pre-install checks
[ 00:02 ] Gather facts on installed packages
[ 00:01 ] Install required packages for oVirt Engine deployment
[ 00:44 ] Install oVirt Engine package
[ 00:01 ] Run engine setup
[ 00:01 ] Set answer file path
[ 00:01 ] Use remote's answer file
[ 02:17 ] Update all packages
[ 00:01 ] Set offline parameter if variable is set
[ 02:01 ] Run engine-setup with answerfile
[ 00:03 ] Make sure `ovirt-engine` service is running
[ 00:13 ] Check if Engine health page is up
[ 00:02 ] Clean temporary files
[ 00:03 ] Save original OvfUpdateIntervalInMinutes
[ 00:03 ] Set OVF update interval to 1 minute
[ 00:02 ] Saving original value
[ 00:02 ] Adding new SSO_ALTERNATE_ENGINE_FQDNS line
[ 00:03 ] Restart ovirt-engine service for changed OVF Update configuration and
LibgfApi support
[ 00:05 ] Mask cloud-init services to speed up future boot
[ 00:09 ] Wait for ovirt-engine service to start
[ 00:02 ] Open a port on firewalld
[ 00:02 ] Expose engine VM webui over a local port via ssh port forwarding
[ 00:01 ] Evaluate temporary bootstrap engine URL
[ 00:01 ] Detect VLAN ID
[ 00:02 ] Set Engine public key as authorized key without validating the TLS/SSL
certificates
[ 00:02 ] Obtain SSO token using username/password credentials
[ 00:02 ] Ensure that the target datacenter is present
[ 00:02 ] Ensure that the target cluster is present in the target datacenter
[ 00:02 ] Get active list of active firewalld zones
[ 00:03 ] Configure libvirt firewalld zone
[ 00:02 ] Add host
[ FAILED ] Always revoke the SSO token
[ 00:02 ] Obtain SSO token using username/password credentials
[ 01:55 ] Wait for the host to be up
Yours Sincerely,
Henni
From: Edward Berger <edwberger(a)gmail.com>
Sent: Monday, 12 October 2020 19:57
To: info(a)worldhostess.com
Cc: users <users(a)ovirt.org>
Subject: [ovirt-users] Re: 20+ Fresh Installs Failing in 20+ days [newbie &
frustrated]
for installation time failures of a hosted engine system, look in
/var/log/ovirt-hosted-engine-setup
On Mon, Oct 12, 2020 at 7:50 AM <info(a)worldhostess.com> wrote:
What logs are required?
Yours Sincerely,
Henni
From: Edward Berger <edwberger(a)gmail.com>
Sent: Monday, 12 October 2020 19:40
To: info(a)worldhostess.com
Cc: users <users(a)ovirt.org>
Subject: [ovirt-users] Re: 20+ Fresh Installs Failing in 20+ days [newbie &
frustrated]
As an ovirt user my first reaction reading your message was
"that is a ridiculously small system to be trying ovirt self hosted engine
on."
My minimum recommendation is 48GB of RAM dual xeon, since the hosted ovirt-engine
installation by default
wants 16GB/4vCPU. I would use a basic KVM/virt-manager install there instead.
You'll have to provide logs to get more help, but I think you're trying to do the
wrong thing given the hardware spec.
On Mon, Oct 12, 2020 at 12:04 AM <info(a)worldhostess.com> wrote:
I have no idea if it is Hardware or Software. It crashed every time after it starts with
the storage setup
Error in ovirt-hosted-engine-setup-ansilble-setup-final_clean [FAILED] DESTROYED LOCAL
STORAGE-POOL
HTTPS --- “certificate invalid”
The system is very unstable and impossible to do anything remotely ONLY accessible on
local terminal.
This is my hardware
SuperMicro X11SSF-M
Intel Xeon E3-1230
16 GB ECC RAM
2 x 1 TB Micron 1300 SSD
Key Features
X11SSM-F specifications
Single socket H4 (LGA 1151) supports Intel® Xeon® processor E3-1200 v6/v5, Intel® 7th/6th
Gen. Core™ i3 series,
Intel® Celeron® and Intel® Pentium®
Intel® C236 chipset
Up to 64GB Unbuffered ECC UDIMM DDR4 2400MHz; 4 DIMM slots
Expansion slots:
1 PCI-E 3.0 x8 (in x16),
1 PCI-E 3.0 x8,
2 PCI-E 3.0 x4 (in x8)
Dual GbE LAN with Intel® i210-AT
8 SATA3 (6Gbps) via C236;
RAID 0, 1, 5, 10
I/O: 1 VGA, 2 COM, 2 SuperDOM, and TPM header
5 USB 3.0 (2 rear, 2 via header(s), 1 Type A), 6 USB 2.0 (2 rear, 4 via header(s))
Integrated IPMI 2.0 and KVM with Dedicated LAN
Yours Sincerely,
Henni
_______________________________________________
Users mailing list -- users(a)ovirt.org
To unsubscribe send an email to users-leave(a)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/J25ZA7AHLUP...
_______________________________________________
Users mailing list -- users(a)ovirt.org
To unsubscribe send an email to users-leave(a)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/VD4CNWBMNS2...