<div dir="ltr">May I suggest you look at Lago[1] and ovirt-system-tests[2] to set up everything you need?<div>I use it on a daily basis on F25.</div><div><br></div><div>HTH,</div><div>Y.</div><div><br></div><div>[1] <a href="http://lago.readthedocs.io/en/latest/README.html">http://lago.readthedocs.io/en/latest/README.html</a></div><div>[2] <a href="http://ovirt-system-tests.readthedocs.io/en/latest/">http://ovirt-system-tests.readthedocs.io/en/latest/</a></div><div><br><br><div class="gmail_quote"><div dir="ltr">On Mon, Feb 27, 2017 at 10:43 AM john <<a href="mailto:vorpal@internode.on.net">vorpal@internode.on.net</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi everybody,<br class="gmail_msg">
<br class="gmail_msg">
I'm having a nightmarish time trying to test oVirt and RHEV on my main<br class="gmail_msg">
machine which i just upgraded to Fedora 25 (before realising oVirt is<br class="gmail_msg">
still on F24). Nevertheless, it seems to me I shouldn't have a problem<br class="gmail_msg">
if i just use F24/RHEV/oVirt nodes running under my F25 machine.<br class="gmail_msg">
<br class="gmail_msg">
The F25 physical host is a pretty powerful machine, 8 (HT) cores, SSD<br class="gmail_msg">
storage, 16 GB ram (bit light on RAM but this should be just sufficient<br class="gmail_msg">
to run the engine & host, and say one test host)<br class="gmail_msg">
<br class="gmail_msg">
Main problem is that i just cannot seem to add a new host to this<br class="gmail_msg">
cluster.<br class="gmail_msg">
<br class="gmail_msg">
I am using the F25 physical host to export NFS4 storage (on SSD),<br class="gmail_msg">
for the oVirt cluster.<br class="gmail_msg">
<br class="gmail_msg">
So currently, I have, all on one physical machine:<br class="gmail_msg">
<br class="gmail_msg">
1) ovirt-engine-host vm - this is the F24 host which i ran hosted-engine<br class="gmail_msg">
--deploy in. So, if the physical host is layer 0 (L0), this is L1.<br class="gmail_msg">
<br class="gmail_msg">
VM has been given 3 CPUs, 6GB of RAM<br class="gmail_msg">
<br class="gmail_msg">
2) ovirt-engine vm- this is the vm inside ovirt-engine-host, and this vm<br class="gmail_msg">
is the main ovirt admin engine/appliance. The image for this appliance<br class="gmail_msg">
was obtained from: ovirt-engine-appliance-4.1-20170201.1.fc24.noarch.rpm<br class="gmail_msg">
So this vm is at L2.<br class="gmail_msg">
<br class="gmail_msg">
According to the ovirt Manager web admin page, this is running:<br class="gmail_msg">
oVirt Engine Version:4.1.0.3-1.el7.centos<br class="gmail_msg">
<br class="gmail_msg">
When i ran the hosted-engine --deploy, I specified 2 CPUs, 4GB of RAM,<br class="gmail_msg">
however, when i look at this host in the management webpqage, it<br class="gmail_msg">
reports 3 CPU, and 6GB of RAM, so the hosted engine deploy script seems<br class="gmail_msg">
to have ignored my wishes and given this vm the full resources of its<br class="gmail_msg">
host vm, which is a little annoying but shouldnt be causing a problem at<br class="gmail_msg">
this stage.<br class="gmail_msg">
<br class="gmail_msg">
Basically, this seems to be working. I can login to the oVirt Manager<br class="gmail_msg">
webpage and see my whole datacenter, storage, cluster, etc.<br class="gmail_msg">
<br class="gmail_msg">
I've been able to add a data domain, and an iso storage domain, and<br class="gmail_msg">
when i did this, the new data storage domain became the Master, and the<br class="gmail_msg">
hosted_storage domain (holding my ovirt-engine host) appeared out of<br class="gmail_msg">
nowhere in the UI. So i now have 3 storage domains - the hosted_engine,<br class="gmail_msg">
the master, and iso storage.<br class="gmail_msg">
<br class="gmail_msg">
<br class="gmail_msg">
So anyway, this is where the problems start. No matter what I try, I<br class="gmail_msg">
can't seem to add a host to this cluster, which seems to be working<br class="gmail_msg">
fine otherwise.<br class="gmail_msg">
<br class="gmail_msg">
On all my F24 hosts Ive installed python2-dnf which is required by<br class="gmail_msg">
oVirt on F24, installed nfs-utils so it can mount nfs shares, enabled<br class="gmail_msg">
ovirt repository, setup static IP address, tweaked /etc/hosts so all my<br class="gmail_msg">
hosts can see each other without relying on the physical KVM host's DNS.<br class="gmail_msg">
<br class="gmail_msg">
I have tried:<br class="gmail_msg">
<br class="gmail_msg">
1) create a new F24 VM under my physical host, so, at L1. I called this<br class="gmail_msg">
ovirt-host-01. I have enabled CPU host-passthrough in KVM so this VM<br class="gmail_msg">
can also run nested VMs, which is of course, the main objective. I've<br class="gmail_msg">
given this VM 3 CPUs, and 6GB of RAM. Go to Management webpage and try<br class="gmail_msg">
to add this as a new host.<br class="gmail_msg">
<br class="gmail_msg">
It ALMOST succeeds, but at the end it fails to mount my hosted_storage<br class="gmail_msg">
domain. It correctly mounts the main master data domain, and the iso<br class="gmail_msg">
domain, but fails to mount the hosted_storage domain. I can mount this<br class="gmail_msg">
domain manually, and I just can't work out why this fails, it's<br class="gmail_msg">
incredibly frustrating.<br class="gmail_msg">
<br class="gmail_msg">
2) create a new host using the latest oVirt node iso:<br class="gmail_msg">
ovirt-node-ng-installer-ovirt-4.0-2017011712.iso<br class="gmail_msg">
<br class="gmail_msg">
node has 25 GB disk,3 CPUs, 6GB of RAM. Cockpit admin webpage reports<br class="gmail_msg">
it is an "oVirt Node 4.0.6.1"<br class="gmail_msg">
<br class="gmail_msg">
The node seems to be running fine, but i can't seem to add it to my<br class="gmail_msg">
main cluster. The VDSM service is failing because it's not a member of<br class="gmail_msg">
any domain. The main "System" tab in CockPit lists all the details,<br class="gmail_msg">
but for Domain, it says: "Join Domain". Nowhere in this CockPit admin<br class="gmail_msg">
webpage does there appear to be any way to actually specify the domain<br class="gmail_msg">
to join.<br class="gmail_msg">
<br class="gmail_msg">
So, I go to my main engine Admin page, and try to add this node as a<br class="gmail_msg">
new host. It attempts to do so, but fails, after trying to trying to<br class="gmail_msg">
install the package collectd, which is in epel. So i enable epel, even<br class="gmail_msg">
though I'm sure something must be drastically wrong here, because this<br class="gmail_msg">
oVirt node should have everything it needs already installed on it.<br class="gmail_msg">
Trying to reinstall again, it fails with the exact same error in the<br class="gmail_msg">
deployment log, saying collectd cannot be found even though it is<br class="gmail_msg">
available from epel & epel repo is enabled.<br class="gmail_msg">
<br class="gmail_msg">
<br class="gmail_msg">
Summary:<br class="gmail_msg">
<br class="gmail_msg">
This is incredibly frustrating. Why is it so hard to add a host to an<br class="gmail_msg">
oVirt cluster. This should be child's play. What is going on?<br class="gmail_msg">
<br class="gmail_msg">
I have seen another email to this list saying you have to run hosted<br class="gmail_msg">
engine deploy on bare metal (L0), so the engine vm is at L1, or the HA<br class="gmail_msg">
features of vdsm are pointless, but I'm not clear why that is, I was<br class="gmail_msg">
hoping i should be able to get some sort of power management setup<br class="gmail_msg">
eventually, KVM & virsh should be able to provide full power management<br class="gmail_msg">
of the hosts even if i had to kludge together a few scripts myself.<br class="gmail_msg">
<br class="gmail_msg">
Plus that still shouldn't prevent me from setting up this test cluster<br class="gmail_msg">
surely. I know i haven't configured power management properly on the<br class="gmail_msg">
hosts i'm adding, but, so what, they should at least work for testing<br class="gmail_msg">
purposes.<br class="gmail_msg">
<br class="gmail_msg">
If we set aside the power management issues for now, I can't see why<br class="gmail_msg">
there should be issues setting up this whole cluster under KVM on a<br class="gmail_msg">
single physical host. The nested virtualisation is working perfectly.<br class="gmail_msg">
<br class="gmail_msg">
Apologies for the long email, but i thought it best to get most of the<br class="gmail_msg">
details out there, so ppl won't have to go back & forth asking questions<br class="gmail_msg">
just to see what i am trying to do. Any questions re details i've left<br class="gmail_msg">
out though, pls feel free to ask.<br class="gmail_msg">
<br class="gmail_msg">
If anyone can offer any halp or advice it'd be greatly appreciated,<br class="gmail_msg">
ta and cheers!<br class="gmail_msg">
<br class="gmail_msg">
J<br class="gmail_msg">
<br class="gmail_msg">
<br class="gmail_msg">
<br class="gmail_msg">
<br class="gmail_msg">
<br class="gmail_msg">
<br class="gmail_msg">
<br class="gmail_msg">
<br class="gmail_msg">
<br class="gmail_msg">
<br class="gmail_msg">
<br class="gmail_msg">
<br class="gmail_msg">
_______________________________________________<br class="gmail_msg">
Users mailing list<br class="gmail_msg">
<a href="mailto:Users@ovirt.org" class="gmail_msg" target="_blank">Users@ovirt.org</a><br class="gmail_msg">
<a href="http://lists.ovirt.org/mailman/listinfo/users" rel="noreferrer" class="gmail_msg" target="_blank">http://lists.ovirt.org/mailman/listinfo/users</a><br class="gmail_msg">
</blockquote></div></div></div>