i configuer ovirt-self host and then i clear it by this command :
/usr/sbin/ovirt-hosted-engine-cleanup
then i want to re-deploy the selfhost by this error appear :
[root@ovirtnode44 ~]# 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 create a local
VM with a running engine.
The locally running engine will be used to configure a 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]:
It has been detected that this program is executed through an SSH connection
without using screen.
Continuing with the installation may lead to broken installation if the network
connection fails.
It is highly recommended to abort the installation and run it inside a screen
session using command "screen".
Do you want to continue anyway? (Yes, No)[No]: yes
Configuration files: []
Log file:
/var/log/ovirt-hosted-engine-setup/ovirt-hosted-engine-setup-20181004025609-bzthh6.log
Version: otopi-1.7.8 (otopi-1.7.8-1.el7)
[ INFO ] Stage: Environment packages setup
[ INFO ] Stage: Programs detection
[ INFO ] Stage: Environment setup
[ INFO ] Stage: Environment customization
--== STORAGE CONFIGURATION ==--
--== HOST NETWORK CONFIGURATION ==--
[ INFO ] Bridge ovirtmgmt already created
Please indicate a pingable gateway IP address [192.168.3.2]:
[ INFO ] TASK [Gathering Facts]
[ INFO ] ok: [localhost]
[ INFO ] TASK [Detecting interface on existing management bridge]
[ INFO ] ok: [localhost]
[ INFO ] TASK [Get all active network interfaces]
[ INFO ] TASK [Filter bonds with bad naming]
[ INFO ] TASK [Generate output list]
[ INFO ] ok: [localhost]
Please indicate a nic to set ovirtmgmt bridge on: (enp24s0f0) [enp24s0f0]:
--== VM CONFIGURATION ==--
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):
[ INFO ] Detecting host timezone.
Please provide the FQDN you would like to use for the engine appliance.
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: []: ovirtengine.exalt.ps
Please provide the domain name you would like to use for the engine appliance.
Engine VM domain: [exalt.ps]
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]:
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): [16384]:
You may specify a unicast MAC address for the VM or accept a randomly generated
default [00:16:3e:03:a8:09]:
How should the engine VM network be configured (DHCP, Static)[DHCP]? Static
Please enter the IP address to be used for the engine VM [192.168.0.1]:
192.168.200.45
[ INFO ] The engine VM will be configured to use 192.168.200.45/16
Please provide a comma-separated list (max 3) of IP addresses of domain name
servers for the engine VM
Engine VM DNS (leave it empty to skip) [192.168.200.6]:
Add lines for the appliance itself and for this host to /etc/hosts on the engine
VM?
Note: ensuring that this host could resolve the engine VM hostname is still up
to you
(Yes, No)[No]
--== HOSTED ENGINE CONFIGURATION ==--
Please provide the name of the SMTP server through which we will send
notifications [localhost]:
Please provide the TCP port number of the SMTP server [25]:
Please provide the email address from which notifications will be sent
[root@localhost]:
Please provide a comma-separated list of email addresses which will get
notifications [root@localhost]:
Enter engine admin password:
Confirm engine admin password:
[ INFO ] Stage: Setup validation
[ INFO ] Stage: Transaction setup
[ INFO ] Stage: Misc configuration
[ INFO ] Stage: Package installation
[ INFO ] Stage: Misc configuration
[ INFO ] Stage: Transaction commit
[ INFO ] Stage: Closing up
[ INFO ] Cleaning previous attempts
[ INFO ] TASK [Gathering Facts]
[ INFO ] ok: [localhost]
[ INFO ] TASK [Stop libvirt service]
[ INFO ] ok: [localhost]
[ INFO ] TASK [Drop vdsm config statements]
[ INFO ] TASK [Restore initial abrt config files]
[ INFO ] TASK [Restart abrtd service]
[ INFO ] changed: [localhost]
[ INFO ] TASK [Drop libvirt sasl2 configuration by vdsm]
[ INFO ] changed: [localhost]
[ INFO ] TASK [Stop and disable services]
[ INFO ] TASK [Start libvirt]
[ INFO ] changed: [localhost]
[ INFO ] TASK [Check for leftover local Hosted Engine VM]
[ INFO ] changed: [localhost]
[ INFO ] TASK [Destroy leftover local Hosted Engine VM]
[ INFO ] skipping: [localhost]
[ INFO ] TASK [Check for leftover defined local Hosted Engine VM]
[ INFO ] changed: [localhost]
[ INFO ] TASK [Undefine leftover local engine VM]
[ INFO ] changed: [localhost]
[ INFO ] TASK [Check for leftover defined Hosted Engine VM]
[ INFO ] changed: [localhost]
[ INFO ] TASK [Undefine leftover engine VM]
[ INFO ] skipping: [localhost]
[ INFO ] TASK [Remove eventually entries for the local VM from known_hosts file]
[ INFO ] changed: [localhost]
[ INFO ] Starting local VM
[ INFO ] TASK [Gathering Facts]
[ INFO ] ok: [localhost]
[ INFO ] TASK [Start libvirt]
[ INFO ] ok: [localhost]
[ INFO ] TASK [Activate default libvirt network]
[ INFO ] ok: [localhost]
[ INFO ] TASK [Get libvirt interfaces]
[ INFO ] ok: [localhost]
[ INFO ] TASK [Get routing rules]
[ INFO ] changed: [localhost]
[ INFO ] TASK [Save bridge name]
[ INFO ] ok: [localhost]
[ INFO ] TASK [Wait for the bridge to appear on the host]
[ INFO ] changed: [localhost]
[ INFO ] TASK [Refresh network facts]
[ INFO ] skipping: [localhost]
[ INFO ] TASK [Prepare CIDR for virbr0]
[ INFO ] ok: [localhost]
[ INFO ] TASK [Add outbound route rules]
[ INFO ] skipping: [localhost]
[ INFO ] TASK [Add inbound route rules]
[ INFO ] skipping: [localhost]
[ INFO ] TASK [Gathering Facts]
[ INFO ] ok: [localhost]
[ INFO ] TASK [include_tasks]
[ INFO ] ok: [localhost]
[ INFO ] TASK [Avoid localhost]
[ INFO ] skipping: [localhost]
[ INFO ] TASK [Get host address resolution]
[ INFO ] changed: [localhost]
[ INFO ] TASK [Check address resolution]
[ INFO ] skipping: [localhost]
[ INFO ] TASK [Parse host address resolution]
[ INFO ] ok: [localhost]
[ INFO ] TASK [Ensure host address resolves locally]
[ INFO ] skipping: [localhost]
[ INFO ] TASK [Get target address from selected interface]
[ INFO ] ok: [localhost]
[ INFO ] TASK [Check the resolved address resolves on the selected interface]
[ INFO ] skipping: [localhost]
[ INFO ] TASK [Check for alias]
[ INFO ] changed: [localhost]
[ INFO ] TASK [Ensure the resolved address resolves only on the selected interface]
[ INFO ] skipping: [localhost]
[ INFO ] TASK [Avoid localhost]
[ INFO ] skipping: [localhost]
[ INFO ] TASK [Get engine FQDN resolution]
[ INFO ] changed: [localhost]
[ INFO ] TASK [Check engine FQDN resolution]
[ INFO ] skipping: [localhost]
[ INFO ] TASK [Parse engine FQDN resolution]
[ INFO ] ok: [localhost]
[ INFO ] TASK [Ensure engine FQDN doesn't resolve locally]
[ INFO ] skipping: [localhost]
[ INFO ] TASK [Check http/https proxy]
[ INFO ] TASK [Register the engine FQDN as a host]
[ INFO ] changed: [localhost]
[ INFO ] TASK [Create directory for local VM]
[ INFO ] changed: [localhost]
[ INFO ] TASK [Set local vm dir path]
[ INFO ] ok: [localhost]
[ INFO ] TASK [Fix local VM directory permission]
[ INFO ] changed: [localhost]
[ INFO ] TASK [include_tasks]
[ INFO ] ok: [localhost]
[ INFO ] TASK [Install ovirt-engine-appliance rpm]
[ INFO ] ok: [localhost]
[ INFO ] TASK [Parse appliance configuration for path]
[ INFO ] changed: [localhost]
[ INFO ] TASK [Parse appliance configuration for sha1sum]
[ INFO ] changed: [localhost]
[ INFO ] TASK [Get OVA path]
[ INFO ] ok: [localhost]
[ INFO ] TASK [Compute sha1sum]
[ INFO ] ok: [localhost]
[ INFO ] TASK [Compare sha1sum]
[ INFO ] skipping: [localhost]
[ INFO ] TASK [Register appliance PATH]
[ INFO ] skipping: [localhost]
[ INFO ] TASK [Extract appliance to local VM directory]
[ INFO ] changed: [localhost]
[ INFO ] TASK [include_tasks]
[ INFO ] ok: [localhost]
[ INFO ] TASK [Find the local appliance image]
[ INFO ] ok: [localhost]
[ INFO ] TASK [Set local_vm_disk_path]
[ INFO ] ok: [localhost]
[ INFO ] TASK [Get appliance disk size]
[ INFO ] changed: [localhost]
[ INFO ] TASK [Parse qemu-img output]
[ INFO ] ok: [localhost]
[ INFO ] TASK [Create cloud init user-data and meta-data files]
[ INFO ] TASK [Create ISO disk]
[ INFO ] changed: [localhost]
[ INFO ] TASK [Create local VM]
[ INFO ] changed: [localhost]
[ INFO ] TASK [Get local VM IP]
[ INFO ] changed: [localhost]
[ INFO ] TASK [Remove eventually entries for the local VM from /etc/hosts]
[ INFO ] changed: [localhost]
[ INFO ] TASK [Create an entry in /etc/hosts for the local VM]
[ INFO ] changed: [localhost]
[ INFO ] TASK [Wait for SSH to restart on the local VM]
[ INFO ] ok: [localhost -> localhost]
[ INFO ] TASK [Gathering Facts]
[ INFO ] ok: [ovirtengine.exalt.ps]
[ INFO ] TASK [Wait for the local VM]
[ INFO ] ok: [ovirtengine.exalt.ps]
[ INFO ] TASK [Add an entry for this host on /etc/hosts on the local VM]
[ INFO ] changed: [ovirtengine.exalt.ps]
[ INFO ] TASK [Set FQDN]
[ INFO ] changed: [ovirtengine.exalt.ps]
[ INFO ] TASK [Force the local VM FQDN to temporary resolve on the natted network
address]
[ INFO ] changed: [ovirtengine.exalt.ps]
[ INFO ] TASK [Restore sshd reverse DNS lookups]
[ INFO ] changed: [ovirtengine.exalt.ps]
[ INFO ] TASK [Generate an answer file for engine-setup]
[ INFO ] changed: [ovirtengine.exalt.ps]
[ INFO ] TASK [Include before engine-setup custom tasks files for the engine VM]
[ INFO ] TASK [Execute engine-setup]
[ INFO ] changed: [ovirtengine.exalt.ps]
[ INFO ] TASK [Include after engine-setup custom tasks files for the engine VM]
[ INFO ] TASK [Configure LibgfApi support]
[ INFO ] skipping: [ovirtengine.exalt.ps]
[ INFO ] TASK [Restart ovirt-engine service for LibgfApi support]
[ INFO ] skipping: [ovirtengine.exalt.ps]
[ INFO ] TASK [Mask cloud-init services to speed up future boot]
[ INFO ] TASK [Clean up bootstrap answer file]
[ INFO ] changed: [ovirtengine.exalt.ps]
[ INFO ] TASK [Gathering Facts]
[ INFO ] ok: [localhost]
[ INFO ] TASK [Wait for ovirt-engine service to start]
[ INFO ] ok: [localhost]
[ INFO ] TASK [Detect VLAN ID]
[ INFO ] changed: [localhost]
[ INFO ] TASK [Set Engine public key as authorized key without validating the TLS/SSL
certificates]
[ INFO ] changed: [localhost]
[ INFO ] TASK [include_tasks]
[ INFO ] ok: [localhost]
[ INFO ] TASK [Obtain SSO token using username/password credentials]
[ INFO ] ok: [localhost]
[ INFO ] TASK [Enable GlusterFS at cluster level]
[ INFO ] skipping: [localhost]
[ INFO ] TASK [Set VLAN ID at datacenter level]
[ INFO ] skipping: [localhost]
[ INFO ] TASK [Force host-deploy in offline mode]
[ INFO ] ok: [localhost]
[ INFO ] TASK [Add host]
[ INFO ] changed: [localhost]
[ INFO ] TASK [Wait for the host to be up]
[ ERROR ] fatal: [localhost]: FAILED! => {"ansible_facts":
{"ovirt_hosts": []}, "attempts": 120, "changed": false}
[ INFO ] TASK [Fetch logs from the engine VM]
[ INFO ] ok: [localhost]
[ INFO ] TASK [Set destination directory path]
[ INFO ] ok: [localhost]
[ INFO ] TASK [Create destination directory]
[ INFO ] changed: [localhost]
[ INFO ] TASK [include_tasks]
[ INFO ] ok: [localhost]
[ INFO ] TASK [Find the local appliance image]
[ INFO ] ok: [localhost]
[ INFO ] TASK [Set local_vm_disk_path]
[ INFO ] ok: [localhost]
[ INFO ] TASK [Give the vm time to flush dirty buffers]
[ INFO ] TASK [Copy engine logs]
[ INFO ] TASK [include_tasks]
[ INFO ] ok: [localhost]
[ INFO ] TASK [Remove local vm dir]
[ INFO ] changed: [localhost]
[ INFO ] TASK [Notify the user about a failure]
[ ERROR ] fatal: [localhost]: FAILED! => {"changed": false, "msg":
"The system may not be provisioned according to the playbook results: please check
the logs for the issue, fix accordingly or re-deploy from scratch.\n"}
[ ERROR ] Failed to execute stage 'Closing up': Failed executing ansible-playbook
[ INFO ] Stage: Clean up
[ INFO ] Cleaning temporary resources
[ INFO ] TASK [Gathering Facts]
[ INFO ] ok: [localhost]
[ INFO ] TASK [Fetch logs from the engine VM]
[ INFO ] ok: [localhost]
[ INFO ] TASK [Set destination directory path]
[ INFO ] ok: [localhost]
[ INFO ] TASK [Create destination directory]
[ INFO ] changed: [localhost]
[ INFO ] TASK [include_tasks]
[ INFO ] ok: [localhost]
[ INFO ] TASK [Find the local appliance image]
[ INFO ] ok: [localhost]
[ INFO ] TASK [Set local_vm_disk_path]
[ INFO ] skipping: [localhost]
[ INFO ] TASK [Give the vm time to flush dirty buffers]
[ INFO ] ok: [localhost]
[ INFO ] TASK [Copy engine logs]
[ INFO ] TASK [include_tasks]
[ INFO ] ok: [localhost]
[ INFO ] TASK [Remove local vm dir]
[ INFO ] ok: [localhost]
[ INFO ] Generating answer file
'/var/lib/ovirt-hosted-engine-setup/answers/answers-20181004031555.conf'
[ INFO ] Stage: Pre-termination
[ INFO ] Stage: Termination
[ ERROR ] Hosted Engine deployment failed: please check the logs for the issue, fix
accordingly or re-deploy from scratch.
Log file is located at
/var/log/ovirt-hosted-engine-setup/ovirt-hosted-engine-setup-20181004025609-bzthh6.log