[ovirt-users] Single server hosted engine... almost there

Mark Steckel mjs at fix.net
Wed Dec 7 20:13:14 UTC 2016


Folks,

Thanks to Didi in another thread I'm making progress. (Lesson learned, choose 'disk' and not 'cdrom' when using the he-appliance.)

So I reset to a fresh CentOS 7, installed various software packages including ovirt.

I configed eth0 with a /32 public IP. I also added an alias for a x.x.x.1/29 on eth0:1.

Finally I config'ed dnsmasq to provide both dhcp and dns (ensuring that it will read from /etc/hosts before forwarding dns requests) and added the IPs and hostsnames to /etc/hosts from the /29 IPs which are to be used by the VMs.

Things proceeded nicely till resolving the he vm fqdn. (I tested to make sure that the he vm fqdm would resolve **Before** I ran 'hosted-engine --deploy'.)

          |-           --== NETWORK CONFIGURATION ==--
          |-          
          |- [ ERROR ] Host name is not valid: hosted-engine-1.pcstrac.com did not resolve into an IP address
          |- [ ERROR ] Failed to execute stage 'Environment customization': Host name is not valid: hosted-engine-1.pcstrac.com did not resolve into an IP address
          |- [ INFO  ] Stage: Clean up
          |-           Log file is located at /var/log/ovirt-engine/setup/ovirt-engine-setup-20161207193757-6i03xg.log
          |- [ INFO  ] Generating answer file '/var/lib/ovirt-engine/setup/answers/20161207193758-setup.conf'
          |- [ INFO  ] Stage: Pre-termination
          |- [ INFO  ] Stage: Termination
          |- [ ERROR ] Execution of setup failed
          |- HE_APPLIANCE_ENGINE_SETUP_FAIL
    [ ERROR ] Engine setup failed on the appliance
    [ ERROR ] Failed to execute stage 'Closing up': Engine setup failed on the appliance Please check its log on the appliance. 


The one thing I forgot is to update /etc/resolv.conf to include the host though I don't know if this matters...

Logs attached.

I suspect I've very close to having this working but am admittedly stumped.

Pointers appreciated.

Thanks
Mark


-------------- next part --------------
A non-text attachment was scrubbed...
Name: ovirt-hosted-engine-setup-20161207202846-lzdp1w.log.gz
Type: application/x-gzip
Size: 44939 bytes
Desc: not available
URL: <http://lists.ovirt.org/pipermail/users/attachments/20161207/f88f7a72/attachment-0002.gz>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: answers-20161207203800.conf.gz
Type: application/x-gzip
Size: 1296 bytes
Desc: not available
URL: <http://lists.ovirt.org/pipermail/users/attachments/20161207/f88f7a72/attachment-0003.gz>


More information about the Users mailing list