ovirt node pxe and thinpool errror in status
by Gianluca Cecchi
Hello,
I'm experimenting to install ovirt ng node 4.2 via pxe and it seems all
went ok.
Only problem I have is that opening terminal session I get this traceback
that seems related to thinpool
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.7/runpy.py", line 72, in _run_code
exec code in run_globals
File "/usr/lib/python2.7/site-packages/nodectl/__main__.py", line
42, in <module>
CliApplication()
File "/usr/lib/python2.7/site-packages/nodectl/__init__.py", line
200, in CliApplication
return cmdmap.command(args)
File "/usr/lib/python2.7/site-packages/nodectl/__init__.py", line
118, in command
return self.commands[command](**kwargs)
File "/usr/lib/python2.7/site-packages/nodectl/__init__.py", line
101, in motd
Motd(Status(Health(self.imgbased).status(),
File "/usr/lib/python2.7/site-packages/imgbased/plugins/core.py",
line 358, in status
status.results.append(group().run())
File "/usr/lib/python2.7/site-packages/imgbased/plugins/core.py",
line 385, in check_thin
pool = self.app.imgbase._thinpool()
File "/usr/lib/python2.7/site-packages/imgbased/imgbase.py", line
120, in _thinpool
return LVM.Thinpool.from_tag(self.thinpool_tag)
File "/usr/lib/python2.7/site-packages/imgbased/lvm.py", line 191,
in from_tag
assert len(lvs) == 1
AssertionError
Admin Console: https://192.168.122.196:9090/
[root@localhost ~]#
Current disk layout is
[root@localhost ~]# fdisk -l /dev/vda
Disk /dev/vda: 53.7 GB, 53687091200 bytes, 104857600 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk label type: dos
Disk identifier: 0x000a3595
Device Boot Start End Blocks Id System
/dev/vda1 * 2048 2099199 1048576 83 Linux
/dev/vda2 2099200 104857599 51379200 8e Linux LVM
[root@localhost ~]# pvs
PV VG Fmt Attr PSize PFree
/dev/vda2 centos lvm2 a-- <49.00g 9.80g
[root@localhost ~]# vgs
VG #PV #LV #SN Attr VSize VFree
centos 1 3 0 wz--n- <49.00g 9.80g
[root@localhost ~]# lvs
LV VG Attr LSize Pool Origin Data% Meta% Move Log
Cpy%Sync Convert
pool00 centos twi-aotz-- <34.16g 10.28
9.18
root centos Vwi-aotz-- <34.16g pool00
10.28
swap centos -wi-ao----
5.00g
[root@localhost ~]#
Any hint?
I installed from 4.2 iso and then applied the
ovirt-node-ng-image-update-4.2.1.1-1.el7.centos.noarch yum update
The problem remains
At the moment it is not linked with any engine, also installed.
I can go to the Admin Console web page and I see, clicking inside
"Virtualization" left tab, that on the right dashboard I have a yellow
triangle to the right of the "Health" word...
But I don't exactly understand the source of the warning...
Thanks for any hint related,
Gianluca
6 years, 9 months
dns vm and ovirt
by Nathanaël Blanchet
Hi all,
I'd need some piece of good practice about dealing a DNS server in or
out of ovirt.
Until now we never wanted to integrate the DNS vm into ovirt because of
the strong dependency. if the DNS server fails for any reason, it
becomes difficult ot join the webadmin (except with a static etc hosts)
and the nodes may become unvailable if they had been configured with fqdn.
We could consider a DNS failover setup, but in a self hosted engine
setup (and more globally an hyperconverged setup) , it doesn't make
sense of setting up a stand alone DNS vm outside of ovirt.
So what about imitating engine vm status in a hosted engine setup? Is
there a way to install the DNS vm outside of ovirt but on the ovirt host
(and why not in a HA mode)?
Second option could be installing the named service on the hosted engine vm?
Any suggestion or return of experience would be much appreciated.
--
Nathanaël Blanchet
Supervision réseau
Pôle Infrastrutures Informatiques
227 avenue Professeur-Jean-Louis-Viala
34193 MONTPELLIER CEDEX 5
Tél. 33 (0)4 67 54 84 55
Fax 33 (0)4 67 54 84 14
blanchet(a)abes.fr
6 years, 10 months
Setting up a LDAP conf
by Jose Fernandes
--_000_209153e2c13f470483d0faab7189aa2alocawebcombr_
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Hello,
I have an OpenDJ LDAP server, and I need some help to do query on a specifi=
c filter search.
We can't figure out how to create a "aaa/profile1.properties" file with the=
se configs.
This is how we can filter the users with ldapsearch on our ldap server:
-H ldaps://server:port -D uid=3Duser,ou=3DOU,dc=3DSERVER,dc=3Dcom,dc=3Dbr -=
W -b ou=3Daa,dc=3Dbb,dc=3Dcc,dc=3Ddd uid=3Djose.fernandes
- My configuration does not permit I search the users on base, so I need t=
o do this filter on "ou=3Daa,dc=3Dbb,dc=3Dcc,dc=3Ddd"
- Port is different from common.
Someone can help me to create the config file?
Regards,
Jos=E9 Fernandes
--_000_209153e2c13f470483d0faab7189aa2alocawebcombr_
Content-Type: text/html; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<html>
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Diso-8859-=
1">
<style type=3D"text/css" style=3D"display:none;"><!-- P {margin-top:0;margi=
n-bottom:0;} --></style>
</head>
<body dir=3D"ltr">
<div id=3D"divtagdefaultwrapper" style=3D"font-size:12pt;color:#000000;font=
-family:Calibri,Arial,Helvetica,sans-serif;" dir=3D"ltr">
<p>Hello,</p>
<p><br>
</p>
<p>I have an OpenDJ LDAP server, and I need some help to do query on a spec=
ific filter search.</p>
<p><br>
</p>
<p><span></span></p>
<p style=3D"font-family: Calibri, Arial, Helvetica, sans-serif, EmojiFont, =
"Apple Color Emoji", "Segoe UI Emoji", NotoColorEmoji, =
"Segoe UI Symbol", "Android Emoji", EmojiSymbols; font-=
size: 16px;">
We can't figure out how to create a "<span style=3D"font-size: 12pt;">=
aaa/profile1.properties" file with these configs.</span></p>
<div><span style=3D"font-size: 12pt;"><br>
</span></div>
<p><span style=3D"font-size: 12pt;">This is how we can filter the users wit=
h ldapsearch on our ldap server:</span></p>
<p><span style=3D"font-size: 12pt;"><br>
</span></p>
<p><span style=3D"font-size: 12pt;">-H ldaps://server</span><span style=3D"=
font-size: 12pt;">:</span><span style=3D"font-size: 12pt;">port</span><span=
style=3D"font-size: 12pt;"> -D uid=3D</span><span style=3D"font-size: 12pt=
;">user</span><span style=3D"font-size: 12pt;">,ou=3D</span><span style=3D"=
font-size: 12pt;">OU</span><span style=3D"font-size: 12pt;">,dc=3D</span><s=
pan style=3D"font-size: 12pt;"></span><span style=3D"font-size: 12pt;">SERV=
ER</span><span style=3D"font-size: 12pt;">,dc=3Dcom,dc=3Dbr
-W -b ou=3Daa</span><span style=3D"font-size: 12pt;">,dc=3Dbb</span><span =
style=3D"font-size: 12pt;">,dc=3Dcc,dc=3Ddd uid=3Djose.fernandes</span><br>
</p>
<p><br>
</p>
<p><span style=3D"font-size: 12pt;"> - </span><span style=3D"font=
-size: 12pt;">My configuration does not permit I search the users on base, =
so I need to do this filter on "ou=3Daa,dc=3Dbb,dc=3Dcc,dc=3Ddd"<=
/span><br>
</p>
<p><span> - Port is different from common.</span></p>
<p><br>
</p>
<p><span style=3D"font-size: 12pt;">Someone can help me to create the confi=
g file?</span></p>
<p><span style=3D"font-size: 12pt;"><br>
</span></p>
<p>Regards,</p>
<p>Jos=E9 Fernandes</p>
</div>
</body>
</html>
--_000_209153e2c13f470483d0faab7189aa2alocawebcombr_--
6 years, 10 months
Quick question about oVirt 3.6 and vdsm log in DEBUG mode (apprently by default??)
by Christopher Cox
We're running oVirt 3.6 on 9 Dell Blades but with just two fairly fat
fabrics, one for LAN stuff, ovirtmgmt and one for iSCSI to the storage
domains.
15 VM Storage Domains
iSCSI has 4 paths going through a 40Gbit i/o blade to switch
115 VMs or thereabouts
9 VLANS, sharing an i/o blade with ovirtmgmt 40Gbit to switch
500+ virtual disks
What we are seeing more and more is that if we do an operation like
expose a new LUN and configure a new storage domain, that all of the
hyervisors go "red triangle" and "Connecting..." and it takes a very
long time (all day) to straighten out.
My guess is that there's too much to look at vdsm wise and so it's
waiting a short(er) period of time for a completed response than what
vdsm is going to us, and it just cycles over and over until it just
happens to work.
I'm thinking that vdsm having DEBUG enabled isn't helping the latency,
but as far as I know it came this way be default. Can we safely disable
DEBUG on the hypervisor hosts for vdsm? Can we do this while things are
roughly in a steady state? Remember, just doing the moves could throw
everything into vdsm la-la-land (actually, that might not be true, might
take a new storage thing to do that).
Just thinking out loud... can we safely turn off DEBUG logging on the
vdsms? Can we do this "live" through bouncing of the vdsm if everything
is "steady state"? Do you think this might help the problems we're
having with storage operations? (I can see all the blades logging in
iSCSI wise, but ovirt engine does the whole red triangle connecting
thing, for many, many, many hours).
Thanks,
Christopher
6 years, 10 months
Hosted-Engine Agent broken
by Sven Achtelik
--_000_94c8a2d4a7c347269b1e642ba1690946epsaero_
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Hi All,
after upgrading my engine to 4.2 and upgrading my hosts to the latest vers=
ions the HA for the hosted engine is not working anymore. The Agent fails w=
ith the following errors. Did I miss anything while upgrading ? The Engine =
is still running - what would be the correct approach to get the HA service=
s up and running ?
ovirt-ha-agent ovirt_hosted_engine_ha.agent.agent.Agent ERROR Traceback (mo=
st recent call last):
Fil=
e "/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/agent/agent.py",=
line 191, in _run_agent
r=
eturn action(he)
Fil=
e "/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/agent/agent.py",=
line 64, in action_proper
r=
eturn he.start_monitoring()
Fil=
e "/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/agent/hosted_eng=
ine.py", line 421, in start_monitoring
s=
elf._config.refresh_vm_conf()
Fil=
e "/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/env/config.py", =
line 496, in refresh_vm_conf
c=
ontent_from_ovf =3D self._get_vm_conf_content_from_ovf_store()
Fil=
e "/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/env/config.py", =
line 438, in _get_vm_conf_content_from_ovf_store
c=
onf =3D ovf2VmParams.confFromOvf(heovf)
Fil=
e "/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/lib/ovf/ovf2VmPa=
rams.py", line 283, in confFromOvf
v=
mConf =3D toDict(ovf)
Fil=
e "/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/lib/ovf/ovf2VmPa=
rams.py", line 210, in toDict
v=
mParams['vmId'] =3D tree.find('Content/Section').attrib[OVF_NS + 'id']
Fil=
e "lxml.etree.pyx", line 2272, in lxml.etree._Attrib.__getitem__ (src/lxml/=
lxml.etree.c:55336)
KeyEr=
ror: '{http://schemas.dmtf.org/ovf/envelope/1/}id'
ovirt-ha-agent ovirt_hosted_engine_ha.agent.agent.Agent ERROR Trying to res=
tart agent
ovirt-ha-agent ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine ERRO=
R Unable to refresh vm.conf from the shared storage. Has this HE cluster co=
rrectly reached 3.6 level?
If anyone could give a hint on where to look at would be very helpful.
Thank you,
Sven
--_000_94c8a2d4a7c347269b1e642ba1690946epsaero_
Content-Type: text/html; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
<html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr=
osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http:=
//www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dus-ascii"=
>
<meta name=3D"Generator" content=3D"Microsoft Word 15 (filtered medium)">
<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;
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";
mso-fareast-language:EN-US;}
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.E-MailFormatvorlage17
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri","sans-serif";
mso-fareast-language:EN-US;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 70.85pt 2.0cm 70.85pt;}
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"DE" link=3D"#0563C1" vlink=3D"#954F72">
<div class=3D"WordSection1">
<p class=3D"MsoNormal">Hi All, <o:p></o:p></p>
<p class=3D"MsoNormal"><o:p> </o:p></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US">after upgrading my engine to 4.=
2 and upgrading my hosts to the latest versions the HA for the hosted=
engine is not working anymore. The Agent fails with the following errors. =
Did I miss anything while upgrading ? The
Engine is still running – what would be the correct approach to get =
the HA services up and running ?
<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US"><o:p> </o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US">ovirt-ha-agent ovirt_hosted_eng=
ine_ha.agent.agent.Agent ERROR Traceback (most recent call last):<o:p></o:p=
></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US"> &=
nbsp; &nbs=
p; &=
nbsp; &nbs=
p; &=
nbsp; &nbs=
p; File "/usr/lib/python2.7/site-packages/ovirt_host=
ed_engine_ha/agent/agent.py", line 191, in _run_agent<o:p></o:p></span=
></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US"> &=
nbsp; &nbs=
p; &=
nbsp; &nbs=
p; &=
nbsp; &nbs=
p; return action(he)<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US"> &=
nbsp; &nbs=
p; &=
nbsp; &nbs=
p; &=
nbsp; &nbs=
p; File "/usr/lib/python2.7/site-packages/ovirt_host=
ed_engine_ha/agent/agent.py", line 64, in action_proper<o:p></o:p></sp=
an></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US"> &=
nbsp; &nbs=
p; &=
nbsp; &nbs=
p; &=
nbsp; &nbs=
p; return he.start_monitoring()<o:p></o:p></s=
pan></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US"> &=
nbsp; &nbs=
p; &=
nbsp; &nbs=
p; &=
nbsp; &nbs=
p; File "/usr/lib/python2.7/site-packages/ovirt_host=
ed_engine_ha/agent/hosted_engine.py", line 421, in start_monitoring<o:=
p></o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US"> &=
nbsp; &nbs=
p; &=
nbsp; &nbs=
p; &=
nbsp; &nbs=
p; self._config.refresh_vm_conf()<o:p></o:p><=
/span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US"> &=
nbsp; &nbs=
p; &=
nbsp; &nbs=
p; =
&nb=
sp; File "/usr/lib/python2.7/site-packages/ovirt_host=
ed_engine_ha/env/config.py", line 496, in refresh_vm_conf<o:p></o:p></=
span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US"> &=
nbsp; &nbs=
p; &=
nbsp; &nbs=
p; &=
nbsp; &nbs=
p; content_from_ovf =3D self._get_vm_conf_con=
tent_from_ovf_store()<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US"> &=
nbsp; &nbs=
p; &=
nbsp; &nbs=
p; &=
nbsp; &nbs=
p; File "/usr/lib/python2.7/site-packages/ovirt_host=
ed_engine_ha/env/config.py", line 438, in _get_vm_conf_content_from_ov=
f_store<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US"> &=
nbsp; &nbs=
p; &=
nbsp; &nbs=
p; =
&nb=
sp; conf =3D ovf2VmParams.confFromOvf(heovf)<o=
:p></o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US"> &=
nbsp; &nbs=
p; &=
nbsp; &nbs=
p; &=
nbsp; &nbs=
p; File "/usr/lib/python2.7/site-packages/ovirt_host=
ed_engine_ha/lib/ovf/ovf2VmParams.py", line 283, in confFromOvf<o:p></=
o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US"> &=
nbsp; &nbs=
p; &=
nbsp; &nbs=
p; &=
nbsp; &nbs=
p; vmConf =3D toDict(ovf)<o:p></o:p></span></=
p>
<p class=3D"MsoNormal"><span lang=3D"EN-US"> &=
nbsp; &nbs=
p; &=
nbsp; &nbs=
p; &=
nbsp; &nbs=
p; File "/usr/lib/python2.7/site-packages/ovirt_host=
ed_engine_ha/lib/ovf/ovf2VmParams.py", line 210, in toDict<o:p></o:p><=
/span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US"> &=
nbsp; &nbs=
p; &=
nbsp; &nbs=
p; &=
nbsp; &nbs=
p; vmParams['vmId'] =3D tree.find('Content/Se=
ction').attrib[OVF_NS + 'id']<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US"> &=
nbsp; &nbs=
p; &=
nbsp; &nbs=
p; &=
nbsp; &nbs=
p; File "lxml.etree.pyx", line 2272, in lxml.et=
ree._Attrib.__getitem__ (src/lxml/lxml.etree.c:55336)<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US"> &=
nbsp; &nbs=
p; &=
nbsp; &nbs=
p; &=
nbsp; &nbs=
p; KeyError: '{http://schemas.dmtf.org/ovf/envelope/1/}id'<o:p></o:p>=
</span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US">ovirt-ha-agent ovirt_hosted_eng=
ine_ha.agent.agent.Agent ERROR Trying to restart agent<o:p></o:p></span></p=
>
<p class=3D"MsoNormal"><span lang=3D"EN-US">ovirt-ha-agent ovirt_hosted_eng=
ine_ha.agent.hosted_engine.HostedEngine ERROR Unable to refresh vm.conf fro=
m the shared storage. Has this HE cluster correctly reached 3.6 level?<o:p>=
</o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US"><o:p> </o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US">If anyone could give a hint on =
where to look at would be very helpful.
<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US"><o:p> </o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US">Thank you, <o:p></o:p></span></=
p>
<p class=3D"MsoNormal"><span lang=3D"EN-US">Sven <o:p></o:p></span></p>
</div>
</body>
</html>
--_000_94c8a2d4a7c347269b1e642ba1690946epsaero_--
6 years, 10 months
4.2.2.2-1 Starting hosted engine on all hosts
by Maton, Brett
The last three 4.2.2 release candidates that I've tried have been starting
self hosted engine all all physical hosts at the same time.
Same with the latest RC, what logs do you need to investigate the problem?
Regards,
Brett
6 years, 10 months
NFS 4.1 support and migration
by spfma.tech@e.mail.fr
--=_286957890dead8fae24931992cf08b5f
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
Hi,=0A Is NFS 4.1 supported and working flawlessly in oVirt ? I wo=
uld like to give it a try (performances with // transferts), but as it r=
equires changes in my network design if I want to add new links, I want=
to be sure it worth the effort. Is there an easy way to "migrate"=
a NFS3 datastore to a NFS4.1 one ? Options are greyed when the domain is=
up, so maybe it requires more care than just a simple click.=0A Regar=
ds =0A=0A-----------------------------------------------------------=
--------------------------------------=0AFreeMail powered by mail.fr
--=_286957890dead8fae24931992cf08b5f
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: quoted-printable
<div><span style=3D"font-family: arial, helvetica,sans-serif; font-size:=
10pt; color: #000000;"> </span></div>=0A<div><span style=3D"font-f=
amily: arial, helvetica, sans-serif; font-size: 10pt; color: #000000;">H=
i,<br /></span></div>=0A<div> </div>=0A<div> </div>=0A<div>&nb=
sp;</div>=0A<div><span style=3D"font-family: arial, helvetica, sans-seri=
f; font-size: 10pt; color: #000000;">Is NFS 4.1 supported and working fl=
awlessly in oVirt ? I would like to give it a try (performances with //=
transferts), but as it requires changes in my network design if I want=
to add new links, I want to be sure it worth the effort.</span></div>=
=0A<div> </div>=0A<div> </div>=0A<div> </div>=0A<div><spa=
n style=3D"font-family: arial, helvetica, sans-serif; font-size: 10pt; c=
olor: #000000;">Is there an easy way to "migrate"a NFS3 datastore to a N=
FS4.1 one ? Options are greyed when the domain is up, so maybe it requir=
es more care than just a simple click.<br /></span></div>=0A<div> <=
/div>=0A<div><span style=3D"font-family: arial, helvetica, sans-serif; f=
ont-size: 10pt; color: #000000;">Regards</span></div>=0A<div> </div=
>=0A<div> </div>=0A <br/><hr>FreeMail powered by=
<a href=3D"https://mail.fr" target=3D"_blank">mail.fr</a>=0A
--=_286957890dead8fae24931992cf08b5f--
6 years, 10 months
Re: [ovirt-users] Using VDSM to edit management interface
by Kirin van der Veer
Ďakujem Peter, but this doesn't seem to work in my case.
/etc/resolv.conf is regenerated by Network Manager after a reboot and my
domain settings are lost.
Your comments regarding the reliance on DNS make sense for most
installations, but in my case oVirt is a secondary service that I would not
expect to run unless our core infrastructure is working correctly.
I'm hesitant to edit /etc/hosts directly, since that can lead to confusion
when the underlying IP addresses change.
For now I will hardcode the IPs of my servers.
It's frustrating (and surprising) that there is not an easy way to do this.
Kirin.
On Thu, Mar 15, 2018 at 5:17 PM, Peter Hudec <phudec(a)cnc.sk> wrote:
> Hi Kirin,
>
> I suggest to do it old way and edit the /etc/resolv.conf manually.
>
> And one advice. Do not relay on the DNS on infrastructure servers. Use
> /etc/hosts. If he DNS will not be accessible, you will have problem to
> put it infrastructure up/working. As side effect the hosts allow you
> to use short names to access servers.
>
> If you are ansible positive, you could use
>
> hudecof.resolv https://galaxy.ansible.com/hudecof/resolv/
> hudecof.hosts https://galaxy.ansible.com/hudecof/hosts/
>
>
> Peter
>
> On 15/03/2018 06:03, Kirin van der Veer wrote:
> > Hi oVirt people, I have setup a new cluster consisting of many
> > oVirt Nodes with a single dedicated oVirt Engine machine. For the
> > most part things are working, however despite entering the DNS
> > search domain during install on the Nodes the management interface
> > is not aware of my search domain and it has not been added to
> > /etc/resolv.conf (perhaps that is unnecessary?). I eventually
> > worked out that the DNS search domain should be included in
> > /etc/sysconfig/network-scripts/ifcfg-ovirtmgmt However as per the
> > header/warning, that file is generated by VDSM. I assumed that I
> > should be able to edit the search domain with vdsClient, but when I
> > run "vdsClient -m" I don't see any options related to network
> > config. I found the following page on DNS config:
> > https://www.ovirt.org/develop/release-management/features/network/
> allowExplicitDnsConfiguration/
> >
> >
> But it does not seem to offer a way of specifying the DNS search domain
> > (other than perhaps directly editing /etc/resolv.conf - which is
> > generated/managed by Network Manager). nmcli reports that all of my
> > interfaces (including ovirtmgmt) are "unmanaged". Indeed when I
> > attempt to run nmtui there is nothing listed to configure. This
> > should be really simple! I just want to add my local search domain
> > so I can use the short name for my NFS server. I'd appreciate any
> > advice.
> >
> > Thanks in advance, Kirin.
> >
> >
> > .
> >
> > *IMPORTANT NOTE. *If you are NOT AN AUTHORISED RECIPIENT of this
> > e-mail, please contact Planet Innovation Pty Ltd by return e-mail
> > or by telephone on +613 9945 7510. In this case, you should not
> > read, print, re-transmit, store or act in reliance on this e-mail
> > or any attachments, and should destroy all copies of them. This
> > e-mail and any attachments are confidential and may contain legally
> > privileged information and/or copyright material of Planet
> > Innovation Pty Ltd or third parties. You should only re-transmit,
> > distribute or commercialise the material if you are authorised to
> > do so. Although we use virus scanning software, we deny all
> > liability for viruses or alike in any message or attachment. This
> > notice should not be removed.
> >
> > **
> >
> >
> > _______________________________________________ Users mailing list
> > Users(a)ovirt.org http://lists.ovirt.org/mailman/listinfo/users
> >
>
>
> --
> *Peter Hudec*
> Infraštruktúrny architekt
> phudec(a)cnc.sk <mailto:phudec@cnc.sk>
>
> *CNC, a.s.*
> Borská 6, 841 04 Bratislava
> Recepcia: +421 2 35 000 100
>
> Mobil:+421 905 997 203
> *www.cnc.sk* <http:///www.cnc.sk>
--
*IMPORTANT NOTE. *If you are NOT AN AUTHORISED RECIPIENT of this e-mail,
please contact Planet Innovation Pty Ltd by return e-mail or by telephone
on +613 9945 7510. In this case, you should not read, print, re-transmit,
store or act in reliance on this e-mail or any attachments, and should
destroy all copies of them. This e-mail and any attachments are
confidential and may contain legally privileged information and/or
copyright material of Planet Innovation Pty Ltd or third parties. You
should only re-transmit, distribute or commercialise the material if you
are authorised to do so. Although we use virus scanning software, we deny
all liability for viruses or alike in any message or attachment. This
notice should not be removed.
6 years, 10 months
ovirt 4.2.2-rc3 switching from legacy to OVS..
by Thomas Davis
I'm getting further along with 4.2.2rc3 than the 4.2.1 when it comes to hosted engine and vlans.. it actually does install
under 4.2.2rc3.
But it's a complete failure when I switch the cluster from Linux Bridge/Legacy to OVS. The first time I try, vdsm does
not properly configure the node, it's all messed up.
I'm getting this in vdsmd logs:
2018-03-08 23:12:46,610-0800 INFO (jsonrpc/7) [api.network] START setupNetworks(networks={u'ovirtmgmt': {u'ipv6autoconf': True,
u'nic': u'eno1', u'vlan': u'50', u'ipaddr': u'192.168.85.49', u'switch': u'ovs', u'mtu': 1500, u'netmask': u'255.255.252.0',
u'dhcpv6': False, u'STP': u'no', u'bridged': u'true', u'gateway': u'192.168.85.254', u'defaultRoute': True}}, bondings={},
options={u'connectivityCheck': u'true', u'connectivityTimeout': 120}) from=::ffff:192.168.85.24,56806,
flow_id=4147e25f-0a23-4f47-a0a4-d424a3437d11 (api:46)
2018-03-08 23:12:52,449-0800 INFO (jsonrpc/2) [jsonrpc.JsonRpcServer] RPC call Host.ping2 succeeded in 0.00 seconds (__init__:573)
2018-03-08 23:12:52,511-0800 INFO (jsonrpc/7) [api.network] FINISH setupNetworks error=[Errno 19] ovirtmgmt is not present in the
system from=::ffff:192.168.85.24,56806, flow_id=4147e25f-0a23-4f47-a0a4-d424a3437d11 (api:50)
2018-03-08 23:12:52,512-0800 ERROR (jsonrpc/7) [jsonrpc.JsonRpcServer] Internal server error (__init__:611)
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/yajsonrpc/__init__.py", line 606, in _handle_request
res = method(**params)
File "/usr/lib/python2.7/site-packages/vdsm/rpc/Bridge.py", line 201, in _dynamicMethod
result = fn(*methodArgs)
File "<string>", line 2, in setupNetworks
File "/usr/lib/python2.7/site-packages/vdsm/common/api.py", line 48, in method
ret = func(*args, **kwargs)
File "/usr/lib/python2.7/site-packages/vdsm/API.py", line 1527, in setupNetworks
supervdsm.getProxy().setupNetworks(networks, bondings, options)
File "/usr/lib/python2.7/site-packages/vdsm/common/supervdsm.py", line 55, in __call__
return callMethod()
File "/usr/lib/python2.7/site-packages/vdsm/common/supervdsm.py", line 53, in <lambda>
**kwargs)
File "<string>", line 2, in setupNetworks
File "/usr/lib64/python2.7/multiprocessing/managers.py", line 773, in _callmethod
raise convert_to_error(kind, result)
IOError: [Errno 19] ovirtmgmt is not present in the system
2018-03-08 23:12:52,512-0800 INFO (jsonrpc/7) [jsonrpc.JsonRpcServer] RPC call Host.setupNetworks failed (error -32603) in 5.90
seconds (__init__:573)
2018-03-08 23:12:54,769-0800 INFO (jsonrpc/1) [jsonrpc.JsonRpcServer] RPC call Host.ping2 succeeded in 0.00 seconds (__init__:573)
2018-03-08 23:12:54,772-0800 INFO (jsonrpc/5) [api.host] START getCapabilities() from=::1,45562 (api:46)
2018-03-08 23:12:54,906-0800 INFO (jsonrpc/5) [api.host] FINISH getCapabilities error=[Errno 19] ovirtmgmt is not present in the
system from=::1,45562 (api:50)
2018-03-08 23:12:54,906-0800 ERROR (jsonrpc/5) [jsonrpc.JsonRpcServer] Internal server error (__init__:611)
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/yajsonrpc/__init__.py", line 606, in _handle_request
res = method(**params)
File "/usr/lib/python2.7/site-packages/vdsm/rpc/Bridge.py", line 201, in _dynamicMethod
result = fn(*methodArgs)
File "<string>", line 2, in getCapabilities
File "/usr/lib/python2.7/site-packages/vdsm/common/api.py", line 48, in method
ret = func(*args, **kwargs)
File "/usr/lib/python2.7/site-packages/vdsm/API.py", line 1339, in getCapabilities
c = caps.get()
File "/usr/lib/python2.7/site-packages/vdsm/host/caps.py", line 168, in get
net_caps = supervdsm.getProxy().network_caps()
File "/usr/lib/python2.7/site-packages/vdsm/common/supervdsm.py", line 55, in __call__
return callMethod()
File "/usr/lib/python2.7/site-packages/vdsm/common/supervdsm.py", line 53, in <lambda>
**kwargs)
File "<string>", line 2, in network_caps
File "/usr/lib64/python2.7/multiprocessing/managers.py", line 773, in _callmethod
raise convert_to_error(kind, result)
IOError: [Errno 19] ovirtmgmt is not present in the system
So something is dreadfully wrong with the bridge to ovs conversion in 4.2.2rc3.
thomas
6 years, 10 months
Host can not boot any more with current kernel
by Jonathan Baecker
Hello everybody,
Today I update my engine, from 4.2.1.6 to 4.2.1.7 and later I update two
hosts. All are running on CentOS 7.4
Now they have the kernel 3.10.0-693.21, one host I can start normal and
the other one always reboot short after the menu where I can select the
kernel. There is not even an error message and I can not switch to the
boot log screen.
The same behavior I have with kernel 3.10.0-693.17. Kernel *.11 and
older are working.
Have any body experience this issue and know what to do?
Regards
Jonathan
6 years, 10 months