[ovirt-users] unsuccessful hosted engine install

Brendan Hartzell mrrex4 at gmail.com
Wed May 31 02:51:30 UTC 2017


Round two, the SOS report at 8MB was too large for the list.  This time
uploading the ovirt-hosted-engine-setup log.

****************************

Can you please elaborate about the failure you see here and how are you
trying to manually partition the host?

Sure, I will start from the beginning.
- Using: ovirt-node-ng-installer-ovirt-4.1-2017052604 <(201)%20705-2604>.iso
- During installation I setup one of the two interfaces and check the box
to automatically use the connection.
- I'm currently providing a host name of node-1.test.net until I have a
successful process.
- I configure date and time for my timezone and to use an internal NTP
server.
- On Installation Destination, I pick my 128GB USB3.0 SanDisk flash drive,
check the box that I would like to make additional space, and click done.
In the reclaim disk space window, I click delete all, and then reclaim
space.  I go back into the Installation Destination, select that I will
configure partitioning, and click done.  The Manual Partitioning window
opens, I use the option to automatically create mount points.  At this
point, /boot is 1024MB, /var is 15GB, / is 88.11 GB, and swap is 11.57GB.
I then change / to 23.11 GB, update settings, change /var to 80GB, update
settings again, and click done.  I accept the changes and begin
installation.

I tried these changes based on this article: http://www.ovirt.org/
documentation/self-hosted/chap-Deploying_Self-Hosted_Engine/

The article does say that you can specify a different directory than
/var/tmp, but I don't recall seeing that option.

After some time, I get the following error:
There was an error running the kickstart script at line 7.  This is a fatal
error and installation will be aborted.  The details of this error are:

[INFO] Trying to create a manageable base from '/'
[ERROR] LVM Thin Provisioning partitioning scheme is required.  For
autoinstall via Kickstart with LVM Thin Provisioning check options
--thinpool and --grow.  Please consult documentation for details.

Traceback (most recent call last):
File "/usr/lib64/python2.7/runpy.py", line 162, in _run_module_as_main
"__main__", fname, loader, pkg_name)
File "/usr/lib64/python2.7runpy.py", line 72, in _run_code exec code in
run_globals
File "/usr/lib/python2.7/site-packages/imgbased/__main__.py", line 51, in
<module> CliApplication()
File "/usr/lib/python2.7/site-packages/imgbased/__init__.py", line 82, in
CliApplication()
File "/usr/lib/python2.7/site-packages/imgbased/hooks.py", line 120, in
emit cb(self.context, *args)
File "/usr/lib/python2.7/site-packages/imgbased/plugins/core.py", line 169,
in post_argparse layout.initialize(args.source, args.init_nvr)
File "/usr/lib/python2.7/site-packages/imgbased/plugins/core.py", line 216,
in initialize self.app.imgbase.init_layout_from(source, init_nvr)
File "/usr/lib/python2.7/site-packages/imgbased/imgbase.py", line 271, in
init_layout_from self.init_tags_on(existing_lv)
File "/usr/lib/python2.7/site-packages/imgbased/imgbase.py", line 243, in
init_tags_on pool = lv.thinpool()
File "/usr/lib/python2.7/site-packages/imgbased/lvm.py", line 250, in
thinpool raise MissingLvmThinPool() imgbased.lvm.MissingLvmThinPool

At this point, the only option is to exit the installer.

****************************

Being this a new install, please use 4.1. oVirt 4.0 is not supported
anymore.

Not a problem.

****************************

Can you please provide hosted engine setup logs or better a full sos
report? (sosreport -a)

Again, the process I'm following:
- Using: ovirt-node-ng-installer-ovirt-4.1-2017052604 <(201)%20705-2604>.iso
- During installation I setup one of the two interfaces and check the box
to automatically use the connection.
- I'm currently providing a host name of node-1.test.net until I have a
successful process.
- I configure date and time for my timezone and to use an internal NTP
server.
- On Installation Destination, I pick my 128GB USB3.0 SanDisk flash drive,
check the box that I would like to make additional space, and click done.
In the reclaim disk space window, I click delete all, and then reclaim
space.
- Begin Installation and set a root password.
- Perform a yum update - no packages marked for update (as expected)
- Use vi to update /etc/hosts with a reference for node-1.test.net and
engine.test.net
- First attempt at hosted-engine from web-UI
- Setup downloads and installs ovirt-engine-appliance-4.1-20170523.1.el7.
centos.noarch.rpm
*Failed to execute stage 'Environment setup': Failed to reconfigure libvirt
for VDSM
*Hosted Engine deployment failed
- Attached ovirt-hosted-engine-setup log file.

At this point, I would run ovirt-hosted-engine-cleanup and I would get
further along in the install process.  However, because this is a fresh
install, I'm going to leave things here for now so you can review the SOS.

****************************

I'd like to understand the issues you faced before suggesting to restart
from scratch.

Too late... I did two re-installs to get a more accurate account of my
install process for above.

****************************

Thank you for your help!

On Tue, May 30, 2017 at 12:17 AM, Sandro Bonazzola <sbonazzo at redhat.com>
wrote:

>
>
> On Tue, May 30, 2017 at 6:49 AM, Brendan Hartzell <mrrex4 at gmail.com>
> wrote:
>
>> oVirt users list,
>>
>> Long story short, I've been spending weeks on this project for my home
>> lab with no success.
>>
>> I would like to successfully install two nodes that host a highly
>> available engine with an iSCSI storage back-end.
>>
>> I have read through most, if not all, of the guides on ovirt.org with no
>> substantial help.
>>
>> Successfully, I have done the following:
>> Install oVirt Engine on a bare metal system, added a node, and started
>> exploring - not desired.
>> Install oVirt Node 4.0.6 on a bare metal system - fails if partitions are
>> not done automatically.
>> Install oVirt Node 4.1.2 on a bare metal system - fails if partitions are
>> not done automatically.
>>
>
> Can you please elaborate about the failure you see here and how are you
> trying to manually partition the host?
>
>
>
>
>
>>
>> My process after installing a Node:
>> Run a yum update - just to be sure, but I am using latest iso images from
>> downloads section.
>> Edit /etc/hosts for local name resolution - the goal is to host DNS as a
>> virtual machine, eventually.
>> On 4.1 if I install ovirt-engine-appliance from yum, it does simplify one
>> step in the hosted engine setup.  If I do this on 4.0 it discards the image
>> and uses the default.
>>
>
> Being this a new install, please use 4.1. oVirt 4.0 is not supported
> anymore.
>
>
>
>> On 4.1 the hosted engine setup fails immediately unless I run the hosted
>> engine cleanup from the shell.
>>
>
> Can you please provide hosted engine setup logs or better a full sos
> report? (sosreport -a)
>
>
>
>
>>   If I do this, I can typically get to the point of installing.
>>
>> When I do get to the installation phase, I get to a point just after
>> extracting the OVA that I get a message on the shell saying something about
>> the watchdog running the whole time and then the node reboots.
>>
>> I found one email thread that sounded like my issue and suggested the
>> following commands:
>> vdsm-tool configure --force
>> systemctl restart libvirtd
>> systemctl restart vdsmd
>>
>> Unfortunately, these commands did not help my situation like the other
>> individual.
>>
>> What log file would everyone like to see first?  Given that I still
>> consider myself relatively new to Linux, please identify the path for the
>> log file requested.
>>
>
> See above
>
>
>>
>> Also, because I plan on performing a clean install for this thread using
>> my process from above (I'm not expecting my outcome to be any different),
>> are there any tips and tricks that might result in a success?
>>
>
> I'd like to understand the issues you faced before suggesting to restart
> from scratch.
> Adding some people who may help as well.
>
>
>
>>
>> Thank you for any and all help,
>> Brendan
>>
>> _______________________________________________
>> Users mailing list
>> Users at ovirt.org
>> http://lists.ovirt.org/mailman/listinfo/users
>>
>>
>
>
> --
>
> SANDRO BONAZZOLA
>
> ASSOCIATE MANAGER, SOFTWARE ENGINEERING, EMEA ENG VIRTUALIZATION R&D
>
> Red Hat EMEA <https://www.redhat.com/>
> <https://red.ht/sig>
> TRIED. TESTED. TRUSTED. <https://redhat.com/trusted>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20170530/456e7f27/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ovirt-hosted-engine-setup-20170530192048-z8g9zg.log
Type: text/x-log
Size: 309635 bytes
Desc: not available
URL: <http://lists.ovirt.org/pipermail/users/attachments/20170530/456e7f27/attachment-0001.bin>


More information about the Users mailing list