Need input please.
by carl langlois
Hi again all,
I really need your input on recovering my failed upgrade to 4.2.
I do not now what manipulation i did to end up in this situation. First i
have to host and a hosted_engine running on those Hosts. The engine is seem
to be running fine. If i ssh to any hosts i can manage the hosted engine
with hosted_engine command. The hosted engine can also migrate from one to
the others if i put one host in local maintenance. In the web UI i can see
evevrything but i am not able to do any action on the current data center,
hosts, domain..
The main problem is that all host are stuck in not operational mode.. I do
not know where to look for The only thing that i can see that is not
working is this event
[image: Inline image 1]
I do i debug this SSLEngine problem... log? what to look in the log?
Anything would help.
here is some question :
i would like to remove one host and adding it again but i am not able to
remove from the UI. Is there a way to force the remove somewhere ?
Thanks
Carl
6 years, 10 months
Can't create 2nd network for VMs in DMZ zone
by Andrei V
Hi !
I'm having difficulty to utilize 2nd NIC on HP Proliant server in order
to connect guest VM to DMZ (engine, node and all other guest VMs are on
internal zone).
I tried to use PCI passthrough, downed ifcfg-enp3s4f1 on node host,
created vNic profile "PCI NIC Passthrough", network named "Node10-NIC2",
then Virtual Machines -> Network Interfaces -> nic 2 of type PCI
Passthrough and profile above.
Unfortunately, guest OS (SuSE Leap 42.3) still don't recognize this NIC.
This 2nd NIC is visible on Compute -> Hosts -> Network Interfaces.
I can assign it network named "Node10-NIC2". However, right now I'm
working from the remote, if node net setup get screwed, it will be a big
problem.
In the archive I found that this 2nd NIC must be up with no IP and
default route. Is this correct definition of ifcfg-enp3s4f1?
NetworkManager is disabled on node.
TYPE=Ethernet
PROXY_METHOD=none
BROWSER_ONLY=no
BOOTPROTO=none
DEFROUTE=yes
IPV4_FAILURE_FATAL=no
IPV6INIT=no
NM_CONTROLLED=no
NAME=enp3s4f1
UUID=09f96366-e4a9-4e6e-a090-7267ed102d36
DEVICE=enp3s4f1
ONBOOT=yes
Thanks in advance
Andrei V
6 years, 10 months
Local storage and multiple hosts in cluster
by Waqar Khan
Hi,
I have 1 engine manager and 2 nodes. The 2 nodes are using local storage
(this is for testing out ovirt and learning about it). I cannot however add
2 hosts to the same cluster in the same data centre without shared storage.
Is there a workaround for this?
Regards
6 years, 10 months
ovirt 4.2 and hosted-engine storage migration
by gabriel_skupien@o2.pl
Does it exist any supported procedure to migrate the hosted-engine from one NFS storage to another NFS storage? I would appreciate any clue regarding this matter.
6 years, 10 months
Upgrade to 4.2
by carl langlois
Hi all,
I have upgrade to 4.2 and have some problem getting everithing up and
running again.
The upgrade was made from latest 4.1. For now the engine dashboard can be
access but all hosts, data center are all the status to "Not responsive"
...
for now the only thing i found is
ERROR ssl handshake: SSLError, address:
from a systemctl status vdsmd
Any help would be appreciated
Carl
6 years, 10 months
Re: [ovirt-users] Unable to add VM Portal successfully
by Jakub Niedermertl
Hi Pym,
to deploy VM Portal (ovirt-web-ui) next to the engine one needs to compile
it from sources to rpm package [1], and install it next to ovirt-engine
package. Container deployment is not used by default.
Technically ovirt-web-ui is another war application served by engine's
Wildfly.
See symlink /usr/share/ovirt-engine/ovirt-web-ui.war and configuration file
/etc/ovirt-engine/engine.conf.d/50-ovirt-web-ui.conf of package
ovirt-web-ui [2] for details.
Best regards
Jakub
[1]: https://github.com/oVirt/ovirt-web-ui#build
[2]: http://resources.ovirt.org/pub/ovirt-4.2/rpm/el7/noarch/
On Thu, Jan 4, 2018 at 10:58 AM, Pym <pym0914(a)163.com> wrote:
> Hi:
>
> I recently built the ovirt-engine service in source code compilation,
> which is now accessible through the web interface. However, there is no VM
> Portal feature on the main page. After clicking, "404 - failed to find the
> page".
>
> Next I found the source code for web- UI functionality at github, and I
> wanted to install it through source compilation. I tried to follow the
> above process, but the following problems occurred:
>
> "
> [root@ovirttest ovirt-web-ui]# docker run --rm -it --network host
> --add-host ovirttest.erc.com:10.100.211.113 -e ENGINE_URL=
> https://ovirttest.erc.com/ovirt-engine -p 3000:3000
> mareklibra/ovirt-web-ui:latest
> yarn start v0.24.4
> $ node scripts/start.js
> Please authenticate against oVirt running at https://ovirttest.erc.com/o
> virt-engine
> oVirt user (admin@internal): admin
> oVirt password: ******
> oVirt domain (internal-authz): ovirttest.erc.com
> Failed obtaining oVirt auth token: Error: connect ECONNREFUSED
> 10.100.211.113:443
> Done in 27.64s.
> "
>
> How to make sure the container can reach the engine on this ip:port.
>
> Or there are other ways to solve this problem, which has been bothering me
> for days.
>
> Thank you very much.
>
>
>
>
6 years, 10 months
Ovirt update 4.2 crash
by Thomas Fecke
--_004_5e5ceee923ea447880f660f699109f85DR1XEXCH02Besetcorp_
Content-Type: multipart/alternative;
boundary="_000_5e5ceee923ea447880f660f699109f85DR1XEXCH02Besetcorp_"
--_000_5e5ceee923ea447880f660f699109f85DR1XEXCH02Besetcorp_
Content-Type: text/plain; charset="iso-8859-2"
Content-Transfer-Encoding: quoted-printable
Hey Guys,
I wanna update ovirt 4.1 to 4.2.
I followed the update guide but in the "yum update" I get following error m=
essage:
--> Konflikt wird verarbeitet: ovirt-engine-setup-plugin-ovirt-engine-4.2.0=
.2-1.el7.centos.noarch kollidiert mit ovirt-engine < 4.1.7
--> Abh=E4ngigkeitsaufl=F6sung beendet
Fehler: ovirt-engine-setup-plugin-ovirt-engine conflicts with ovirt-engine-=
4.1.5.2-1.el7.centos.noarch
Sie k=F6nnen versuchen, mit --skip-broken das Problem zu umgehen.
Sie k=F6nnten Folgendes versuchen: rpm -Va --nofiles -nodigest
How to upgrade to 4.2? Thank you Guys
Mit freundlichen Gr=FC=DFen / Best regards,
Thomas Fecke
Pre Sales Specialist
+49 3641 3114 205
[ESET]
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -=
- - - - - - - - - -
ESET Deutschland GmbH
Spitzweidenweg 32
07743 Jena
Deutschland
www.eset.de<http://www.eset.de/>
Amtsgericht Jena: HRB 508673 - Gesch=E4ftsf=FChrer: Miroslav Miku=B9
--_000_5e5ceee923ea447880f660f699109f85DR1XEXCH02Besetcorp_
Content-Type: text/html; charset="iso-8859-2"
Content-Transfer-Encoding: quoted-printable
<html>
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Diso-8859-=
2">
<meta name=3D"Generator" content=3D"Microsoft Word 15 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:"Calibri Light";
panose-1:2 15 3 2 2 2 4 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=3D"EN-US" link=3D"#0563C1" vlink=3D"#954F72">
<div class=3D"WordSection1">
<p class=3D"MsoNormal">Hey Guys,<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p> </o:p></p>
<p class=3D"MsoNormal">I wanna update ovirt 4.1 to 4.2. <o:p></o:p></p>
<p class=3D"MsoNormal"><o:p> </o:p></p>
<p class=3D"MsoNormal">I followed the update guide but in the “yum up=
date” I get following error message:<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p> </o:p></p>
<p class=3D"MsoNormal"><o:p> </o:p></p>
<p class=3D"MsoNormal"><span lang=3D"DE">--> Konflikt wird verarbeitet: =
ovirt-engine-setup-plugin-ovirt-engine-4.2.0.2-1.el7.centos.noarch kollidie=
rt mit ovirt-engine < 4.1.7<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"DE">--> Abh=E4ngigkeitsaufl=F6sung =
beendet<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"DE">Fehler: ovirt-engine-setup-plugin-=
ovirt-engine conflicts with ovirt-engine-4.1.5.2-1.el7.centos.noarch<o:p></=
o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"DE">Sie k=F6nnen versuchen, mit --skip=
-broken das Problem zu umgehen.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"DE">Sie k=F6nnten Folgendes versuchen:=
rpm -Va --nofiles –nodigest<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"DE"><o:p> </o:p></span></p>
<p class=3D"MsoNormal">How to upgrade to 4.2? Thank you Guys<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p> </o:p></p>
<p class=3D"MsoNormal"><span lang=3D"DE" style=3D"font-size:10.0pt;mso-fare=
ast-language:EN-GB">Mit freundlichen Gr=FC=DFen / Best regards,<o:p></o:p><=
/span></p>
<p class=3D"MsoNormal"><b><span style=3D"font-size:10.0pt;mso-fareast-langu=
age:EN-GB">Thomas Fecke<o:p></o:p></span></b></p>
<p class=3D"MsoNormal"><span style=3D"font-size:10.0pt;mso-fareast-language=
:EN-GB"><br>
Pre Sales Specialist<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:10.0pt;mso-fareast-language=
:EN-GB">+49 3641 3114 205<br>
<br>
<o:p></o:p></span></p>
<p class=3D"MsoNormal" style=3D"text-autospace:none"><span style=3D"font-fa=
mily:"Calibri Light",sans-serif"><img width=3D"262" height=3D"37"=
style=3D"width:2.7291in;height:.3854in" id=3D"Grafik_x0020_1" src=3D"cid:i=
mage001.png(a)01D3865F.017A8C60" alt=3D"ESET"></span><span lang=3D"EN-GB" sty=
le=3D"font-size:10.0pt;font-family:"Calibri Light",sans-serif;mso=
-fareast-language:EN-GB"><o:p></o:p></span></p>
<p class=3D"MsoNormal" style=3D"text-autospace:none"><span lang=3D"EN-GB" s=
tyle=3D"font-size:10.0pt;font-family:"Calibri Light",sans-serif;m=
so-fareast-language:EN-GB"><o:p> </o:p></span></p>
<p class=3D"MsoNormal" style=3D"text-autospace:none"><span lang=3D"DE" styl=
e=3D"font-size:10.0pt;font-family:"Calibri Light",sans-serif;colo=
r:#9A9A9A;mso-fareast-language:EN-GB">- - - - - - - - - - - - - - - - - - -=
- - - - - - - - - - - - - - - - - - - - - - - - -
- - - -</span><span lang=3D"DE" style=3D"font-size:10.0pt;font-family:&quo=
t;Calibri Light",sans-serif;mso-fareast-language:EN-GB"><o:p></o:p></s=
pan></p>
<p class=3D"MsoNormal" style=3D"text-autospace:none"><span lang=3D"DE" styl=
e=3D"font-size:10.0pt;font-family:"Calibri Light",sans-serif;colo=
r:#343434;mso-fareast-language:EN-GB">ESET Deutschland GmbH</span><span lan=
g=3D"DE" style=3D"font-size:10.0pt;font-family:"Calibri Light",sa=
ns-serif;mso-fareast-language:EN-GB"><o:p></o:p></span></p>
<p class=3D"MsoNormal" style=3D"text-autospace:none"><span lang=3D"DE" styl=
e=3D"font-size:10.0pt;font-family:"Calibri Light",sans-serif;colo=
r:#343434;mso-fareast-language:EN-GB">Spitzweidenweg 32<o:p></o:p></span></=
p>
<p class=3D"MsoNormal" style=3D"text-autospace:none"><span lang=3D"DE" styl=
e=3D"font-size:10.0pt;font-family:"Calibri Light",sans-serif;colo=
r:#343434;mso-fareast-language:EN-GB">07743 Jena<br>
Deutschland</span><span lang=3D"DE" style=3D"font-size:10.0pt;font-family:&=
quot;Calibri Light",sans-serif;mso-fareast-language:EN-GB"><o:p></o:p>=
</span></p>
<p class=3D"MsoNormal" style=3D"text-autospace:none"><span lang=3D"DE" styl=
e=3D"font-size:10.0pt;font-family:"Calibri Light",sans-serif;colo=
r:#343434;mso-fareast-language:EN-GB"><o:p> </o:p></span></p>
<p class=3D"MsoNormal" style=3D"text-autospace:none"><a href=3D"http://www.=
eset.de/"><span lang=3D"DE" style=3D"font-size:10.0pt;font-family:"Cal=
ibri Light",sans-serif;color:blue;mso-fareast-language:EN-GB">www.eset=
.de</span></a><u><span style=3D"font-size:10.0pt;font-family:"Calibri =
Light",sans-serif;color:#0000EF;mso-fareast-language:EN-GB">
</span></u><span lang=3D"DE" style=3D"font-size:10.0pt;font-family:"Ca=
libri Light",sans-serif;mso-fareast-language:EN-GB"><o:p></o:p></span>=
</p>
<p class=3D"MsoNormal" style=3D"text-autospace:none"><span lang=3D"DE" styl=
e=3D"font-size:10.0pt;font-family:"Calibri Light",sans-serif;colo=
r:#9A9A9A;mso-fareast-language:EN-GB"><o:p> </o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"DE" style=3D"font-size:10.0pt;font-fam=
ily:"Calibri Light",sans-serif;mso-fareast-language:EN-GB">Amtsge=
richt Jena: HRB 508673 – Gesch=E4ftsf=FChrer: Miroslav Miku=B9</span>=
<span lang=3D"DE" style=3D"font-size:12.0pt;font-family:"Calibri Light=
",sans-serif;mso-fareast-language:EN-GB"><o:p></o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"DE"><o:p> </o:p></span></p>
</div>
</body>
</html>
--_000_5e5ceee923ea447880f660f699109f85DR1XEXCH02Besetcorp_--
--_004_5e5ceee923ea447880f660f699109f85DR1XEXCH02Besetcorp_
Content-Type: image/png; name="image001.png"
Content-Description: image001.png
Content-Disposition: inline; filename="image001.png"; size=7177;
creation-date="Fri, 05 Jan 2018 18:54:34 GMT";
modification-date="Fri, 05 Jan 2018 18:54:34 GMT"
Content-ID: <image001.png(a)01D3865F.017A8C60>
Content-Transfer-Encoding: base64
iVBORw0KGgoAAAANSUhEUgAAAQYAAAAlCAYAAAHXfXeGAAAAAXNSR0IArs4c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AzJkFp3tfBwqb
Pkv76o4hKk5mE+J/bwfKdFdo3zocevs43TQ8Svylg2vX3iceb7SNS0Te0XFwfCZh5hPQM9jnVnMT
KaVWxIvn9JZvivi6/K5BW3Xp/yBAxZBpN1c2zfLBel15vytCQkIuNm8aMWE2mPpoiv99wA1IW1sF
1qxZ4+nUvw3MTuaHQY++vWT6/lA3um1kCp39GqXbBWseJ3U/RlleIvC1/ky8VOBGKaMwTHabfqwu
/48HKLWRDiecR/B2DxgNxZRnFX7uAMzRle3cKXDH1RMj+P0d6cbo+IZLibgkPcojDpZDHprS8v4m
jLbYjQ7QO19MeJYAdGSNzhj4mxx8F4W3fFPE3//r2Sdfl74ffrRQdO/+E9U/9Kh8i7FbLypcbdy4
83XY+/rrlI9pfn9M6W9PnUhtR48DpYr517ETKCh/Bk2uXOT5SE1T4N0My/qNNKRwHt05Pp3ajhqr
4zHiajsmlR6ckk1JZVZase15OvdFw1OY0jHwVVFB/Yz1OxNr9/P7hl796N70TMpaupxWbN9Bzx84
SK+8+aYQP8PmfS9T9ZatlF61iO7gF6b8zoTfA3B4My6T+obQpaFhtHL7C544TBq+oNgIWz9MfeKX
rf0HnUP88h0UP/xo2QiLCONL//iTI/x2f966jbrZtXycPnPWuFCQO7a6iwC9SH9zmbczhzRCnksE
tVyTpP0bjcPL/+tIPpMyYoYudT/8aAXgbxiOHEcqfqTswV+bkkZP7H1ZN7+WCznHwNfOjogluca2
pdLo8TCTfHYT/PCjdWDs2MvV6AnLRWeCj+/ysd6YUXTF+Ezq76iUI8Q733iTDpx4r8VQ7dvv0A3Z
M4wj0fzV3JZEfLyaLxhJSX9ejR79G13KfvjRijEp+z6VmfO4mpTzuWhcZqHx8bc+uNOor4z0YxPn
qeFtPz8scdmwJiWXFX9ULyN3m8rMNj7k74cfrQpK/R8DdfRFMWcPiAAAAABJRU5ErkJggg==
--_004_5e5ceee923ea447880f660f699109f85DR1XEXCH02Besetcorp_--
6 years, 10 months
changing Master Storage Domain
by Giorgio Bersano
Hello,
I've a question regarding Master Storage Domain. I did already search the
net without results so I'm asking here.
In our production setup (ovirt 4.1.7) we have five iSCSI Data Storage
Domains and we unfortunately need to remove the one that is the Master SD.
That's not difficult, I know the procedure as I did it in the past:
- Move every disk belonging to the MSD to another SD
- Put the MSD in maintenance
- Detach it then Remove it
Another SD is automatically selected as Master and everything should be OK
(for the sake of simplicity i did not mention the other operations needed
on the storage array and the hosts to phisically remove the LUN).
The tricky part is I don't want a random choice, I want to choose which SD
becomes the new Master.
Is there any specific procedure to obtain this result?
TIA,
Giorgio.
6 years, 10 months
[vdsm] status update: running containers alongside VMs
by Francesco Romani
Hi everyone,
I'm happy to share some progress about the former "convirt"[1] project,
which aims to let Vdsm containers alongside VMs, on bare metal.
In the last couple of months I kept updating the patch series, which
is approaching the readiness to be merged in Vdsm.
Please read through this mail to see what the patchset can do now,
how you could try it *now*, even before it is merged.
Everyone is invited to share thoughts and ideas about how this effort
could evolve.
This will be a long mail; I will amend, enhance and polish the content
and make a blog post (on https://mojaves.github.io) to make it easier
to consume and to have some easy-to-find documentation. Later on the
same content will appear also on the oVirt blog.
Happy hacking!
+++
# How to try how the experimental container support for Vdsm.
Vdsm is gaining *experimental* support to run containers alongside VMs.
Vdsm had since long time the ability to manage VMs which run containers,
and recently gained support for
[atomic guests](http://www.projectatomic.io/blog/2015/01/running-ovirt-guest-agent-as-privileged-container/).
With the new support we are describing, you will be able to manage containers
with the same, proven infrastructure that let you manage VMs.
This feature is currently being developed and it is still not merged in the
Vdsm codebase, so some extra work is needed if you want to try it out.
We aiming to merge it in the oVirt 4.1.z cycle.
## What works, aka what to expect
The basic features are expected to work:
1. Run any docker image on the public docker registry
2. Make the container accessible from the outside (aka not just from localhost)
3. Use file-based storage for persistent volumes
## What does not yet work, aka what NOT to expect
Few things are planned and currently under active development:
1. Monitoring. Engine will not get any update from the container besides "VM" status (Up, Down...)
One important drawback is that you will not be told the IP of the container from Engine,
you will need to connect to the Vdsm host to discover it using standard docker tools.
2. Proper network integration. Some steps still need manual intervention
3. Stability and recovery - it's pre-alpha software after all! :)
## 1. Introduction and prerequisites
Trying out container support affects only the host and the Vdsm.
Besides add few custom properties (totally safe and supported since early
3.z), there are zero changes required to the DB and to Engine.
Nevertheless, we recommend to dedicate one oVirt 4.y environment,
or at least one 4.y host, to try out the container feature.
To get started, first thing you need is to setup a vanilla oVirt 4.y
installation. We will need to make changes to the Vdsm and to the
Vdsm host, so hosted engine and/or oVirt node may add extra complexity,
better to avoid them at the moment.
The reminder of this tutorial assumes you are using two hosts,
one for Vdsm (will be changed) and one for Engine (will require zero changes);
furthermore, we assume the Vdsm host is running on CentOS 7.y.
We require:
- one test host for Vdsm. This host need to have one NIC dedicated to containers.
We will use the [docker macvlan driver](https://raesene.github.io/blog/2016/07/23/Docker-MacVLAN/),
so this NIC *must not be* part of one bridge.
- docker >= 1.12
- oVirt >= 4.0.5 (Vdsm >= 4.18.15)
- CentOS >= 7.2
Docker >= 1.12 is avaialable for download [here](https://docs.docker.com/engine/installation/linux/centos/)
Caveats:
1. docker from official rpms conflicts con docker from CentOS, and has a different package name: docker-engine vs docker.
Please note that the kubernetes package from CentOS, for example, require 'docker', not 'docker-engine'.
2. you may want to replace the default service file
[with this one](https://github.com/mojaves/convirt/blob/master/patches/centos72/syst...
and to use this
[sysconfig file](https://github.com/mojaves/convirt/blob/master/patches/centos72/sys....
Here I'm just adding the storage options docker requires, much like the CentOS docker is configured.
Configuring docker like this can save you some troubleshooting, especially if you had docker from CentOS installed
on the testing box.
## 2. Patch Vdsm to support containers
You need to patch and rebuild Vdsm.
Fetch [this patch](https://github.com/mojaves/convirt/blob/master/patches/vdsm/4.18.1...
and apply it against Vdsm 4.18.15.1. Vdsm 4.18.15.{1,2,...} are supported as well.
Rebuild Vdsm and reinstall on your box.
[centos 7.2 packages are here](https://github.com/mojaves/convirt/tree/master/rpms/centos72)
Make sure you install the Vdsm command line client (vdsm-cli)
Restart *both* Vdsm and Supervdsm, make sure Engine still works flawlessly with patched Vdsm.
This ensure that no regression is introduced, and that your environment can run VMs just as before.
Now we can proceed adding the container support.
start docker:
# systemctl start docker-engine
(optional)
# systemctl enable docker-engine
Restart Vdsm again
# systemctl restart vdsm
Now we can check if Vdsm detects docker, so you can use it:
still on the same Vdsm host, run
$ vdsClient -s 0 getVdsCaps | grep containers
containers = ['docker', 'fake']
This means this Vdsm can run containers using 'docker' and 'fake' runtimes.
Ignore the 'fake' runtime; as the name suggests, is a test driver, kinda like /dev/null.
Now we need to make sure the host network configuration is fine.
### 2.1. Configure the docker network for Vdsm
PLEASE NOTE
that the suggested network configuration assumes that
* you have one network, `ovirtmgmt` (the default one) you use for everything
* you have one Vdsm host with at least two NICs, one bound to the `ovirtmgmt` network, and one spare
_This step is not yet automated by Vdsm_, so manual action is needed; Vdsm will take
care of this automatically in the future.
You can use
[this helper script](https://github.com/mojaves/convirt/blob/master/patches/vdsm/cont-...,
which reuses the Vdsm libraries. Make sure
you have patched Vdsm to support container before to use it.
Let's review what the script needs:
# ./cont-setup-net -h
usage: cont-setup-net [-h] [--name [NAME]] [--bridge [BRIDGE]]
[--interface [INTERFACE]] [--gateway [GATEWAY]]
[--subnet [SUBNET]] [--mask [MASK]]
optional arguments:
-h, --help show this help message and exit
--name [NAME] network name to use
--bridge [BRIDGE] bridge to use
--interface [INTERFACE]
interface to use
--gateway [GATEWAY] address of the gateway
--subnet [SUBNET] subnet to use
--mask [MASK] netmask to use
So we need to feed --name, --interface, --gateway, --subnet and optionally --mask (default, /24, is often fine).
For my case the default mask was indeed fine, so I used the script like this:
# ./cont-setup-net --name ovirtmgmt --interface enp3s0 --gateway 192.168.1.1 --subnet 192.168.1.0
Thhis is the output I got:
DEBUG:virt.containers.runtime:configuring runtime 'docker'
DEBUG:virt.containers.command:* calling ['/bin/docker', 'network', 'inspect', 'ovirtmgmt']
Error: No such network: ovirtmgmt
DEBUG:virt.containers.command:* called ['/bin/docker', 'network', 'inspect', 'ovirtmgmt']
DEBUG:virt.containers.runtime.Docker:config: cannot load 'ovirtmgmt', ignored
DEBUG:virt.containers.command:* calling ['/bin/docker', 'network', 'create', '-d', 'macvlan', '--subnet=192.168.1.0/24', '--gateway=192.168.1.1', '--ip-range=192.168.1.0/24', '-o', 'parent=enp3s0', 'ovirtmgmt']
DEBUG:virt.containers.command:* called ['/bin/docker', 'network', 'create', '-d', 'macvlan', '--subnet=192.168.1.0/24', '--gateway=192.168.1.1', '--ip-range=192.168.1.0/24', '-o', 'parent=enp3s0', 'ovirtmgmt']
DEBUG:virt.containers.runtime:configuring runtime 'fake'
You can clearly see what the script did, and why it needed the root privileges. Let's deoublecheck using the docker tools:
# docker network ls
NETWORK ID NAME DRIVER SCOPE
91535f3425a8 bridge bridge local
d42f7e5561b5 host host local
621ab6dd49b1 none null local
f4b88e4a67eb ovirtmgmt macvlan local
# docker network inspect ovirtmgmt
[
{
"Name": "ovirtmgmt",
"Id": "f4b88e4a67ebb7886ec74073333d613b1893272530cae4d407c95ab587c5fea1",
"Scope": "local",
"Driver": "macvlan",
"EnableIPv6": false,
"IPAM": {
"Driver": "default",
"Options": {},
"Config": [
{
"Subnet": "192.168.1.0/24",
"IPRange": "192.168.1.0/24",
"Gateway": "192.168.1.1"
}
]
},
"Internal": false,
"Containers": {},
"Options": {
"parent": "enp3s0"
},
"Labels": {}
}
]
Looks good! the host configuration is completed. Let's move to the Engine side.
## 3. Configure Engine
As mentioned above, we need now to configure Engine. This boils down to:
Add a few custom properties for VMs:
In case you were already using custom properties, you need to amend the command
line to not overwrite your existing ones.
# engine-config -s UserDefinedVMProperties='volumeMap=^[a-zA-Z_-]+:[a-zA-Z_-]+$;containerImage=^[a-zA-Z]+(://|)[a-zA-Z]+$;containerType=^(docker|rkt)$' --cver=4.0
It is worth stressing that while the variables are container-specific,
the VM custom properties are totally inuntrusive and old concept in oVirt, so
this step is totally safe.
Now restart Engine to let it use the new variables:
# systemctl restart ovirt-engine
The next step is actually configure one "container VM" and run it.
## 4. Create the container "VM"
To finally run a container, you start creating a VM much like you always did, with
few changes
1. most of the hardware-related configuration isn't relevant for container "VMs",
besides cpu share and memory limits; this will be better documented in the
future; unneeded configuration will just be ignored
2. You need to set some custom properties for your container "VM". Those are
actually needed to enable the container flow, and they are documented in
the next section. You *need* to set at least `containerType` and `containerImage`.
### 4.2. Custom variables for container support
The container support needs some custom properties to be properly configured:
1. `containerImage` (*needed* to enable the container system).
Just select the target image you want to run. You can use the standard syntax of the
container runtimes.
2. `containerType` (*needed* to enable the container system).
Selects the container runtime you want to use. All the available options are always showed.
Please note that unavailable container options are not yet grayed out.
If you *do not* have rkt support on your host, you still can select it, but it won't work.
3. `volumeMap` key:value like. You can map one "VM" disk (key) to one container volume (value),
to have persistent storage. Only file-based storage is supported.
Example configuration:
`containerImage = redis`
`containerType = docker`
`volumeMap = vda:data` (this may not be needed, and the volume label is just for illustrative purposes)
### 4.2. A little bit of extra work: preload the images on the Vdsm host
This step is not needed by the flow, and will be handled by oVirt in the future.
The issue is how the container image are handled. They are stored by the container
management system (rkt, docker) on each host, and they are not pre-downloaded.
To shorten the duration of the first boot, you are advised to pre-download
the image(s) you want to run. For example
## on the Vdsm host you want to use with containers
# docker pull redis
## 5. Run the container "VM"
You are now all set to run your "VM" using oVirt Engine, just like any existing VM.
Some actions doesn't make sense for a container "VM", like live migration.
Engine won't stop you to try to do those actions, but they will fail gracefully
using the standard errors.
## 6. Next steps
What to expect from this project in the future?
For the integration with Vdsm, we want to fix the existing known issues, most notably:
* add proper monitoring/reporting of the container health
* ensure proper integration of the container image store with oVirt storage management
* streamline the network configuration
What is explicitely excluded yet is any Engine change. This is a Vdsm-only change at the
moment, so fixing the following is currently unplanned:
* First and foremost, Engine will not distinguish between real VMs and container VMs.
Actions unavailable to container will not be hidden from UI. Same for monitoring
and configuration data, which will be ignored.
* Engine is NOT aware of the volumes one container can use. You must inspect and do the
mapping manually.
* Engine is NOT aware of the available container runtimes. You must select it carefully
Proper integration with Engine may be added in the future once this feature exits
from the experimental/provisional stage.
Thanks for reading, make sure to share your thoughts on the oVirt mailing lists!
+++
[1] we keep calling it that way _only_ internally, because it's a short
name we are used to. After the merge/once we release it, we will use
a different name, like "vdsm-containers" or something like it.
--
Francesco Romani
Red Hat Engineering Virtualization R & D
Phone: 8261328
IRC: fromani
6 years, 10 months
Configuring Gluster
by carl langlois
Hi all,
I am in the process of adding GlusterFS storage to our already ovirt setup.
I am using 4.1.8 for now but plan to upgrade to 4.2 later. I need your
suggestions on what is the best approach for replacing my NFS storage to a
GlusterFS storage..
Thanks for all your inputs.
Carl
6 years, 10 months