Hosted-Engine Setup: Failed to setup networks
by Sven Achtelik
--_000_BFAB40933B3367488CE6299BAF8592D1010C9C2A4941SOCRATESasl_
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Hi Everyone,
I tried to install oVirt 3.5 - hosted engine and it fails with some VDSM er=
ror while creating the ovirtmgmt bridge. The Host is running CentOS 7 and t=
he interface I want to use is em1 and it's the parent interface from a vlan=
.
[ ERROR ] Failed to execute stage 'Misc configuration': Failed to setup net=
works {'ovirtmgmt': {'nic': 'em1', 'netmask': '255.255.255.128', 'bootproto=
': 'none', 'ipaddr': '172.16.1.13', 'gateway': '172.16.1.1'}}. Error code: =
"16" message: "Unexpected exception"
----------------------------------------
2015-04-22 16:33:55 INFO otopi.plugins.ovirt_hosted_engine_setup.network.br=
idge bridge._misc:198 Configuring the management ridge
2015-04-22 16:33:55 DEBUG otopi.context context._executeMethod:152 method e=
xception Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/otopi/context.py", line 142, in _e=
xecuteMethod
method['method']()
File "/usr/share/ovirt-hosted-engine-setup/scripts/../plugins/ovirt-hoste=
d-engine-setup/network/bridge.py", line 207, in _misc
_setupNetworks(conn, networks, {}, {'connectivityCheck': False})
File "/usr/share/ovirt-hosted-engine-setup/scripts/../plugins/ovirt-hoste=
d-engine-setup/network/bridge.py", line 225, in _setupNetworks
'message: "%s"' % (networks, code, message))
RuntimeError: Failed to setup networks {'ovirtmgmt': {'nic': 'em1', 'netmas=
k': '255.255.255.128', 'bootproto': 'none', 'ipaddr': '172.16.1.13', 'gatew=
ay':
'172.16.1.1'}}. Error code: "16" message: "Unexpected exception"
2015-04-22 16:33:55 ERROR otopi.context context._executeMethod:161 Failed t=
o execute stage 'Misc configuration': Failed to setup networks {'ovirtmgmt'=
: {'
nic': 'em1', 'netmask': '255.255.255.128', 'bootproto': 'none', 'ipaddr': '=
172.16.1.13', 'gateway': '172.16.1.1'}}. Error code: "16" message: "Unexpec=
ted
exception"
------------------------------------
Is there anything I can do like creating the bridge manually or use older v=
ersion of the packages that don't have that issue ?
Thank you,
Sven
--_000_BFAB40933B3367488CE6299BAF8592D1010C9C2A4941SOCRATESasl_
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=3DContent-Type content=
=3D"text/html; charset=3Dus-ascii"><meta name=3DGenerator content=3D"Micros=
oft 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=3DDE link=3D"#0563C1" v=
link=3D"#954F72"><div class=3DWordSection1><p class=3DMsoNormal>Hi Everyone=
, <o:p></o:p></p><p class=3DMsoNormal><o:p> </o:p></p><p class=3DMsoNo=
rmal><span lang=3DEN-US>I tried to install oVirt 3.5 – hosted engine =
and it fails with some VDSM error while creating the ovirtmgmt bridge. The =
Host is running CentOS 7 and the interface I want to use is em1 and it̵=
7;s the parent interface from a vlan.<o:p></o:p></span></p><p class=3DMsoNo=
rmal><span lang=3DEN-US><o:p> </o:p></span></p><p class=3DMsoNormal><s=
pan lang=3DEN-US>[ ERROR ] Failed to execute stage 'Misc configuration': Fa=
iled to setup networks {'ovirtmgmt': {'nic': 'em1', 'netmask': '255.255.255=
.128', 'bootproto': 'none', 'ipaddr': '172.16.1.13', 'gateway': '172.16.1.1=
'}}. Error code: "16" message: "Unexpected exception"<o=
:p></o:p></span></p><p class=3DMsoNormal><span lang=3DEN-US>---------------=
-------------------------<o:p></o:p></span></p><p class=3DMsoNormal><span l=
ang=3DEN-US>2015-04-22 16:33:55 INFO otopi.plugins.ovirt_hosted_engine_setu=
p.network.bridge bridge._misc:198 Configuring the management ridge<o:p></o:=
p></span></p><p class=3DMsoNormal><span lang=3DEN-US>2015-04-22 16:33:55 DE=
BUG otopi.context context._executeMethod:152 method exception Traceback (mo=
st recent call last):<o:p></o:p></span></p><p class=3DMsoNormal><span lang=
=3DEN-US> File "/usr/lib/python2.7/site-packages/otopi/context.p=
y", line 142, in _executeMethod<o:p></o:p></span></p><p class=3DMsoNor=
mal><span lang=3DEN-US> method['method']()<o:p></o:p></sp=
an></p><p class=3DMsoNormal><span lang=3DEN-US> File "/usr/share=
/ovirt-hosted-engine-setup/scripts/../plugins/ovirt-hosted-engine-setup/net=
work/bridge.py", line 207, in _misc<o:p></o:p></span></p><p class=3DMs=
oNormal><span lang=3DEN-US> _setupNetworks(conn, networks=
, {}, {'connectivityCheck': False})<o:p></o:p></span></p><p class=3DMsoNorm=
al><span lang=3DEN-US> File "/usr/share/ovirt-hosted-engine-setu=
p/scripts/../plugins/ovirt-hosted-engine-setup/network/bridge.py", lin=
e 225, in _setupNetworks<o:p></o:p></span></p><p class=3DMsoNormal><span la=
ng=3DEN-US> 'message: "%s"' % (networks, code, =
message))<o:p></o:p></span></p><p class=3DMsoNormal><span lang=3DEN-US>Runt=
imeError: Failed to setup networks {'ovirtmgmt': {'nic': 'em1', 'netmask': =
'255.255.255.128', 'bootproto': 'none', 'ipaddr': '172.16.1.13', 'gateway':=
<o:p></o:p></span></p><p class=3DMsoNormal><span lang=3DEN-US> '172.16.1.1'=
}}. Error code: "16" message: "Unexpected exception"<o:=
p></o:p></span></p><p class=3DMsoNormal><span lang=3DEN-US>2015-04-22 16:33=
:55 ERROR otopi.context context._executeMethod:161 Failed to execute stage =
'Misc configuration': Failed to setup networks {'ovirtmgmt': {'<o:p></o:p><=
/span></p><p class=3DMsoNormal><span lang=3DEN-US>nic': 'em1', 'netmask': '=
255.255.255.128', 'bootproto': 'none', 'ipaddr': '172.16.1.13', 'gateway': =
'172.16.1.1'}}. Error code: "16" message: "Unexpected<o:p></=
o:p></span></p><p class=3DMsoNormal><span lang=3DEN-US>exception"<o:p>=
</o:p></span></p><p class=3DMsoNormal><span lang=3DEN-US>------------------=
------------------<o:p></o:p></span></p><p class=3DMsoNormal><span lang=3DE=
N-US><o:p> </o:p></span></p><p class=3DMsoNormal><span lang=3DEN-US>Is=
there anything I can do like creating the bridge manually or use older ver=
sion of the packages that don’t have that issue ? <o:p></o:p></span><=
/p><p class=3DMsoNormal><span lang=3DEN-US><o:p> </o:p></span></p><p c=
lass=3DMsoNormal><span lang=3DEN-US>Thank you, <o:p></o:p></span></p><p cla=
ss=3DMsoNormal><span lang=3DEN-US><o:p> </o:p></span></p><p class=3DMs=
oNormal><span lang=3DEN-US>Sven <o:p></o:p></span></p></div></body></html>=
--_000_BFAB40933B3367488CE6299BAF8592D1010C9C2A4941SOCRATESasl_--
9 years, 7 months
Doubts about performance qcow2 and raw in newer versions of KVM
by Tácio Andrade
Staff would like to know if anyone here in the group has done a comparison
between RAW and qcow2 discs to see if the performance loss is even as large
as speak. I ask this because I saw on the KVM project site a comparative
table, however is based on a version of qemu 2009 apparently, so I wonder
if it is still valid or hear improvements in qcow2.
http://www.linux-kvm.org/page/Qcow2
<https://mailtrack.io/trace/link/2cd1d17a672a9ef035e4ccde270c972ff570e5bd?...>
Another doubt that I have with respect to this article, which he said is
the IDE driver has outperformed virtio, the new version is so? I question
this because I always read the virtio driver is the most suitable for an
installation using KVM.
Thank you in advance for help.
Att. Tácio Andrade, Undergraduate in Computer Science, Network Analyst at
the Universidade Estadual do Sudoeste da Bahia - Campus of Vitoria da
Conquista, Ba and IT Consultant.
9 years, 7 months
Gluster some replicate bricks and some Gluster storage
by ygt@qbfin.ru
Hi all!
I have a Gluster storage which has a volume replicate with name GL (please see attachment one)
I have a storage in my domain Gluster. It name is sGL (please see attachment two)
If I try to add second volume with type Replicate and with name GL-3 to the domain New Name Domain for a example sGL-2 I have a error (please see attachment three)
BUT! If I create storage and don't attache to domain, storage is created fine
What is my problem?
P.S. I add Quorum rules for a node server
volume set GL-2 cluster.quorum-type auto
volume set GL-2 cluster.server-quorum-type server
9 years, 7 months
Problem with setup local storage
by Gregor Burck
Hi,
I try a testsetup on a CentOS 6.6.
I want to setup all on a single host so far.
When I try to create a local storage on the host i got always the
message "Error while executing action Add Storage Connection: General
Exception"
I trie the video howto in combination with the Quick Start Guide and
http://www.ovirt.org/Feature/AllInOne
I understand, that I've to generate a answer-file in cause of a bug for VDSM?
My file looks like this:
OVESETUP_DIALOG/confirmSettings=bool:True
OVESETUP_CONFIG/applicationMode=none:None
OVESETUP_CONFIG/remoteEngineSetupStyle=none:None
OVESETUP_CONFIG/adminPassword=none:None
OVESETUP_CONFIG/storageIsLocal=bool:False
OVESETUP_CONFIG/firewallManager=str:iptables
OVESETUP_CONFIG/remoteEngineHostRootPassword=none:None
OVESETUP_CONFIG/updateFirewall=bool:True
OVESETUP_CONFIG/remoteEngineHostSshPort=none:None
OVESETUP_CONFIG/fqdn=str:edovirt01.mvz.ffm
OVESETUP_CONFIG/storageType=none:None
OSETUP_RPMDISTRO/requireRollback=none:None
OSETUP_RPMDISTRO/enableUpgrade=none:None
OVESETUP_DB/database=str:engine
OVESETUP_DB/fixDbViolations=none:None
OVESETUP_DB/secured=bool:False
OVESETUP_DB/host=str:localhost
OVESETUP_DB/user=str:engine
OVESETUP_DB/securedHostValidation=bool:False
OVESETUP_DB/password=str:vU1qRWyDxXvevhgiQedVSj
OVESETUP_DB/port=str:5432
OVESETUP_ENGINE_CORE/enable=bool:True
OVESETUP_CORE/engineStop=bool:True
OVESETUP_SYSTEM/memCheckEnabled=bool:True
OVESETUP_SYSTEM/nfsConfigEnabled=bool:False
OVESETUP_PKI/organization=none:None
OVESETUP_CONFIG/isoDomainMountPoint=str:/var/lib/exports/iso
OVESETUP_CONFIG/isoDomainName=str:ISO_DOMAIN
OVESETUP_CONFIG/isoDomainACL=none:None
OVESETUP_AIO/configure=bool:True
OVESETUP_AIO/storageDomainName=none:None
OVESETUP_AIO/storageDomainDir=str:/vmdata
OVESETUP_PROVISIONING/postgresProvisioningEnabled=none:None
OVESETUP_APACHE/configureRootRedirection=none:None
OVESETUP_APACHE/configureSsl=none:None
OVESETUP_CONFIG/websocketProxyConfig=bool:True
OVESETUP_ENGINE_CONFIG/fqdn=str:edovirt01.mvz.ffm
Here I insert the settings for AIO.
But still got Problems to add a local storage like the video-turorial
describe,...
Bye
Gregor
9 years, 7 months
Problem to reinstall an ovirt node
by Jan Winter
Hello,
for a test installation I have reinstall my ovirt manager. Now I want to
add my old ovirt nodes, but without to reinstall from scratch the nodes.
When I try to add a node I got the error messages in the UI
"Installation Failed"
The ovirt manager runs version 3.5.2
it look to me he has problem to add the vdsm certificate
2015-04-23 15:51:01 DEBUG otopi.plugins.otopi.dialog.machine
dialog.__logString:215 DIALOG:SEND ###
2015-04-23 15:51:01 DEBUG otopi.plugins.otopi.dialog.machine
dialog.__logString:215 DIALOG:SEND ###
2015-04-23 15:51:01 DEBUG otopi.plugins.otopi.dialog.machine
dialog.__logString:215 DIALOG:SEND ### Please input VDSM
certificate chain that matches certificate request, top is issuer
2015-04-23 15:51:01 DEBUG otopi.plugins.otopi.dialog.machine
dialog.__logString:215 DIALOG:SEND ### 2015-04-23 15:51:01 DEBUG
otopi.plugins.otopi.dialog.machine dialog.__logString:215
DIALOG:SEND ### type '--=451b80dc-996f-432e-9e4f-2b29ef6d1141=--'
in own line to mark end, '--=451b80dc-996f-ABORT-9e4f-2b29ef6d1141=--'
aborts 2015-04-23 15:51:02 DEBUG otopi.context
context._executeMethod:152 method exception Traceback (most recent call
last): File "/tmp/ovirt-0O5Q8S6G6j/pythonlib/otopi/context.py", line
142, in _executeMethod method['method']()
File
"/tmp/ovirt-0O5Q8S6G6j/otopi-plugins/ovirt-host-deploy/vdsm/pki.py",
line 316, in _misc '\n\nPlease input VDSM certificate chain that '
File "/tmp/ovirt-0O5Q8S6G6j/otopi-plugins/otopi/dialog/machine.py",
line 204, in queryMultiString
v = self._readline()
File "/tmp/ovirt-0O5Q8S6G6j/pythonlib/otopi/dialog.py", line 259, in
_readline
raise IOError(_('End of file'))
IOError: End of file
Here is the complete logfile
http://pastebin.com/XpEZh3y3
9 years, 7 months
how to enable spanning tree with parameters with ovirt 3.5 ?
by Ernest Beinrohr
This is a multi-part message in MIME format.
--------------060403060505020903010901
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Hi, on my hosts I use 2 interfaces with 2 switches and bonding with
active-backup config. Ovirt sets STP=off on all bridge networks and it
is creating problems. Is it possible to set STP somehow?
--
Ernest Beinrohr, AXON PRO
Ing <http://www.beinrohr.sk/ing.php>, RHCE
<http://www.beinrohr.sk/rhce.php>, RHCVA
<http://www.beinrohr.sk/rhce.php>, LPIC
<http://www.beinrohr.sk/lpic.php>, VCA <http://www.beinrohr.sk/vca.php>,
+421-2-62410360 +421-903-482603
--------------060403060505020903010901
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: 7bit
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi, on my hosts I use 2 interfaces with 2 switches and bonding with
active-backup config. Ovirt sets STP=off on all bridge networks and
it is creating problems. Is it possible to set STP somehow?<br>
<br>
<br>
<div class="moz-signature">-- <br>
<div id="oernii_footer" style="color: gray;">
<span style="font-family: Lucida Console, Luxi Mono, Courier,
monospace; font-size: 90%;">
Ernest Beinrohr, AXON PRO<br>
<a style="text-decoration: none; color: gray;"
href="http://www.beinrohr.sk/ing.php">Ing</a>, <a
style="text-decoration: none; color: gray;"
href="http://www.beinrohr.sk/rhce.php">RHCE</a>, <a
style="text-decoration: none; color: gray;"
href="http://www.beinrohr.sk/rhce.php">RHCVA</a>, <a
style="text-decoration: none; color: gray;"
href="http://www.beinrohr.sk/lpic.php">LPIC</a>, <a
style="text-decoration: none; color: gray;"
href="http://www.beinrohr.sk/vca.php">VCA</a>, <br>
+421-2-62410360 +421-903-482603
<br>
</span> </div>
<img
src="http://nojsstats.appspot.com/UA-44497096-1/email.beinrohr.sk"
moz-do-not-send="true" border="0" width="1" height="1">
</div>
</body>
</html>
--------------060403060505020903010901--
9 years, 7 months
ManageIQ : Attach an already attached storage domain
by Nicolas Ecarnot
Hello,
According to what I understood, ManageIQ VM appliance needs to attach to
every storage domain it has to scan.
1 : I'm new to ManageIQ and the above is what I think I have understood
from the answer of the ManageIQ team. If anyone here knows more about
it, please comment.
2 : When trying to do the above, oVirt is showing red frightening
warning, so I did not dare yet to approve. I intended to attach these
LUNs in read only mode, hoping this checkbox will get respected.
Once again, may the wisest users comment?
Have a nice day.
--
Nicolas Ecarnot
9 years, 7 months
metadata not found
by Kapetanakis Giannis
Hi,
Any idea what this means?
vdsm.log:
Thread-65::DEBUG::2015-04-22
18:57:32,138::libvirtconnection::143::root::(wrapper) Unknown
libvirterror: ecode: 80 edom: 20 level: 2 message: metadata not found:
Requested metadata element is not present
I don't know if it's related with this messages from syslog:
Apr 22 18:36:23 v2 vdsm vm.Vm WARNING
vmId=`045680b9-06fd-40d9-b98a-92ce527b734f`::Unknown type found, device:
'{'device': 'unix', 'alias': 'channel0', 'type': 'channel', 'address':
{'bus': '0', 'controller': '0', 'type': 'virtio-serial', 'port': '1'}}'
found
Apr 22 18:36:23 v2 vdsm vm.Vm WARNING
vmId=`045680b9-06fd-40d9-b98a-92ce527b734f`::Unknown type found, device:
'{'device': 'unix', 'alias': 'channel1', 'type': 'channel', 'address':
{'bus': '0', 'controller': '0', 'type': 'virtio-serial', 'port': '2'}}'
found
Apr 22 18:36:23 v2 vdsm vm.Vm WARNING
vmId=`045680b9-06fd-40d9-b98a-92ce527b734f`::Unknown type found, device:
'{'device': 'spicevmc', 'alias': 'channel2', 'type': 'channel',
'address': {'bus': '0', 'controller': '0', 'type': 'virtio-serial',
'port': '3'}}' found
Apr 22 18:36:24 v2 vdsm vm.Vm ERROR
vmId=`045680b9-06fd-40d9-b98a-92ce527b734f`::Alias not found for device
type graphics during migration at destination host
regards,
Giannis
9 years, 7 months
Problem with 3.5.1 hosted engine setup
by Willard Dennis
--Apple-Mail=_AD8DC4B3-F799-4743-9EAE-77AA0DA41632
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset="utf-8"
Hi all,
I=E2=80=99m trying to get a hosted engine set up on a CentOS 7.1 box, =
per the instructions found at =
http://community.redhat.com/blog/2014/10/up-and-running-with-ovirt-3-5/ =
<http://community.redhat.com/blog/2014/10/up-and-running-with-ovirt-3-5/>
When I run the =E2=80=98hosted-engine =E2=80=94deploy=E2=80=99 step, =
I=E2=80=99m getting the following output=E2=80=A6
https://gist.github.com/wdennis/f9783b04d77676881d5b =
<https://gist.github.com/wdennis/f9783b04d77676881d5b>
Looking at the log file, I see the following traceback:
https://gist.github.com/wdennis/4e4de8413cf2dd1a3c6b =
<https://gist.github.com/wdennis/4e4de8413cf2dd1a3c6b>
Can anyone tell me what exactly is failing, and how I might fix it?
Thanks,
Will=
--Apple-Mail=_AD8DC4B3-F799-4743-9EAE-77AA0DA41632
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html; charset="utf-8"
<html><head><meta http-equiv=3D"Content-Type" content=3D"text/html =
charset=3Dutf-8"></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" =
class=3D"">Hi all,<div class=3D""><br class=3D""></div><div =
class=3D"">I=E2=80=99m trying to get a hosted engine set up on a CentOS =
7.1 box, per the instructions found at <a =
href=3D"http://community.redhat.com/blog/2014/10/up-and-running-with-ovirt=
-3-5/" =
class=3D"">http://community.redhat.com/blog/2014/10/up-and-running-with-ov=
irt-3-5/</a></div><div class=3D""><br class=3D""></div><div =
class=3D"">When I run the =E2=80=98hosted-engine =E2=80=94deploy=E2=80=99 =
step, I=E2=80=99m getting the following output=E2=80=A6</div><div =
class=3D""><a =
href=3D"https://gist.github.com/wdennis/f9783b04d77676881d5b" =
class=3D"">https://gist.github.com/wdennis/f9783b04d77676881d5b</a></div><=
div class=3D""><br class=3D""></div><div class=3D"">Looking at the log =
file, I see the following traceback:</div><div class=3D""><a =
href=3D"https://gist.github.com/wdennis/4e4de8413cf2dd1a3c6b" =
class=3D"">https://gist.github.com/wdennis/4e4de8413cf2dd1a3c6b</a></div><=
div class=3D""><br class=3D""></div><div class=3D"">Can anyone tell me =
what exactly is failing, and how I might fix it?</div><div class=3D""><br =
class=3D""></div><div class=3D"">Thanks,</div><div =
class=3D"">Will</div></body></html>=
--Apple-Mail=_AD8DC4B3-F799-4743-9EAE-77AA0DA41632--
9 years, 7 months