[ovirt-users] hosted-engine deploy error
dhy336
dhy336 at sina.com
Wed Apr 4 10:50:48 UTC 2018
thanks, but i do not know why is my hostname invalid? 在2018年04月04日 18:41,Simone Tiraboschi 写道: On Wed, Apr 4, 2018 at 12:28 PM, <dhy336 at sina.com> wrote: Hi, I deloy hosted-engine, by this blog,https://ovirt.org/documentation/self-hosted/chap-Deploying_Self-Hosted_Engine/ but I am facing some error.who may give me some advise? [root at localhost ~]# hosted-engine --deploy ^^^ The error is here: please set a valid hostname for your host: the engine VM should be able to reach it. If you add the host as localhost the engine VM will reach itself and it's not what we want. If you don'y have a working DNS system, hosted-engine-setup will ask about injecting an entry for you under /etc/hosts on the engine VM but you still need a valid hostname. --== STORAGE CONFIGURATION ==-- Please specify the storage you would like to use (glusterfs, iscsi, fc, nfs3, nfs4)[nfs3]: Please specify the full shared storage connection path to use (example: host:/path): 192.168.122.134:/home/exports/hosted-engine --== HOST NETWORK CONFIGURATION ==-- iptables was detected on your computer, do you wish setup to configure it? (Yes, No)[Yes]: Please indicate a pingable gateway IP address [192.168.122.1]: Please indicate a nic to set ovirtmgmt bridge on: (eth0) [eth0]: --== VM CONFIGURATION ==-- The following appliance have been found on your system: [1] - The oVirt Engine Appliance image (OVA) - 4.1-20180124.1.el7.centos [2] - Directly select an OVA file Please select an appliance (1, 2) [1]: [ INFO ] Verifying its sha1sum [ 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 console type you would like to use to connect to the VM (vnc, spice) [vnc]: [ INFO ] Detecting host timezone. Would you like to use cloud-init to customize the appliance on the first boot (Yes, No)[Yes]? Would you like to generate on-fly a cloud-init ISO image (of no-cloud type) or do you have an existing one (Generate, Existing)[Generate]? 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: (leave it empty to skip): []: engine.tchyp.com Please provide the domain name you would like to use for the engine appliance. Engine VM domain: [tchyp.com] Automatically execute engine-setup on the engine appliance on first boot (Yes, No)[Yes]? Automatically restart the engine VM as a monitored service after engine-setup (Yes, No)[Yes]? Enter root password that will be used for the engine appliance (leave it empty to skip): [WARNING] Skipping 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]: [WARNING] The oVirt engine appliance is not configured with a default password, please consider configuring it via cloud-init Please specify the size of the VM disk in GB: [58]: [WARNING] Minimum requirements not met by available memory: Required: 4096 MB. Available: 3064 MB Please specify the memory size of the VM in MB (Defaults to maximum available): [3064]: [WARNING] Minimum requirements for memory size not met Continue with specified memory size? (Yes, No) [No]: yes The following CPU types are supported by this host: - model_Haswell-noTSX: Intel Haswell-noTSX Family - model_SandyBridge: Intel SandyBridge Family - model_Westmere: Intel Westmere Family - model_Nehalem: Intel Nehalem Family - model_Penryn: Intel Penryn Family - model_Conroe: Intel Conroe Family Please specify the CPU type to be used by the VM [model_Haswell-noTSX]: Please specify the number of virtual CPUs for the VM (Defaults to appliance OVF value): [4]: You may specify a unicast MAC address for the VM or accept a randomly generated default [00:16:3e:5d:72:8a]: 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.122.2]: 192.168.122.211 [ INFO ] The engine VM will be configured to use 192.168.122.211/24 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.122.1]: 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 ==-- Enter engine admin password: Confirm engine admin password: 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 at localhost]: Please provide a comma-separated list of email addresses which will get notifications [root at localhost]: [ INFO ] Stage: Setup validation [WARNING] Cannot validate host name settings, reason: resolved host does not match any of the local addresses [ ERROR ] Host name is not valid: localhost.localdomain resolves to 127.0.0.1 and not all of them can be mapped to non loopback devices on this host [ ERROR ] Failed to execute stage 'Setup validation': Host name is not valid: localhost.localdomain resolves to 127.0.0.1 and not all of them can be mapped to non loopback devices on this host [ INFO ] Stage: Clean up [ INFO ] Generating answer file '/var/lib/ovirt-hosted-engine-setup/answers/answers-20180404182053.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-20180404181811-aq5ord.log _______________________________________________ Users mailing list Users at ovirt.org http://lists.ovirt.org/mailman/listinfo/users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20180404/14cc19e8/attachment.html>
More information about the Users
mailing list