oVirt split brain resolution
by Abi Askushi
Hi All,
I have a 3 node ovirt 4.1 setup. I lost one node due to raid controller
issues. Upon restoration I have the following split brain, although the
hosts have mounted the storage domains:
gluster volume heal engine info split-brain
Brick gluster0:/gluster/engine/brick
/e1c80750-b880-495e-9609-b8bc7760d101/ha_agent
Status: Connected
Number of entries in split-brain: 1
Brick gluster1:/gluster/engine/brick
/e1c80750-b880-495e-9609-b8bc7760d101/ha_agent
Status: Connected
Number of entries in split-brain: 1
Brick gluster2:/gluster/engine/brick
/e1c80750-b880-495e-9609-b8bc7760d101/ha_agent
Status: Connected
Number of entries in split-brain: 1
Hosted engine status gives the following:
hosted-engine --vm-status
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/ovirt_hosted_engine_setup/vm_status.py",
line 173, in <module>
if not status_checker.print_status():
File
"/usr/lib/python2.7/site-packages/ovirt_hosted_engine_setup/vm_status.py",
line 103, in print_status
all_host_stats = self._get_all_host_stats()
File
"/usr/lib/python2.7/site-packages/ovirt_hosted_engine_setup/vm_status.py",
line 73, in _get_all_host_stats
all_host_stats = ha_cli.get_all_host_stats()
File
"/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/client/client.py",
line 160, in get_all_host_stats
return self.get_all_stats(self.StatModes.HOST)
File
"/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/client/client.py",
line 105, in get_all_stats
stats = broker.get_stats_from_storage(service)
File
"/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/lib/brokerlink.py",
line 233, in get_stats_from_storage
result = self._checked_communicate(request)
File
"/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/lib/brokerlink.py",
line 261, in _checked_communicate
.format(message or response))
ovirt_hosted_engine_ha.lib.exceptions.RequestError: Request failed: failed
to read metadata: [Errno 5] Input/output error:
'/rhev/data-center/mnt/glusterSD/10.100.100.1:
_engine/e1c80750-b880-495e-9609-b8bc7760d101/ha_agent/hosted-engine.metadata'
Any idea on how to resolve this split brain?
Thanx,
Alex
7 years, 5 months
iSCSI storage domain and multipath when adding node
by Gianluca Cecchi
Hello,
my configuration is what described here:
http://lists.ovirt.org/pipermail/users/2017-March/080992.html
So I'm using iSCSI multipath and not bonding
can anyone reproduce?
Initial situation is only one node configured and active with some VMS
I go and configure a second node; it tries to activate but networks are not
all already mapped and so gies to non operational.
I setup all networks and activate the node
It happens that:
- on the first node where I currently have 2 iSCSI connections and
2multipath lines (with p1p1.100 and p1p2) it is instantiated a new iSCSI
SID using interface "default" and in multipath -l output I see now 3 lines
- on the newly added node I only see 1 iSCSI SID using interface default
My way to solve the situation was to go inside iscsi multipath section
do nothing but save the same config
brutally on first node
iscsiadm -m session -u
--> all iscsi sessions are closed
after a while I see again the original 2 connections recovered, with
correct interface names used
- on second node
iscsiadm -m session -u
--> the only session is cloed
nothing happens
if I set to maintenance the node and then activate the node
--> the 2 correct iscsi sessions are activated...
Thanks
Gianluca
7 years, 5 months
Re: [ovirt-users] oVirt Live USB3 question
by Lev Veyde
Hi Michael,
I'm glad that I could help.
Yes, while USB3 has an impressive interface (and thus potential) speed of
up to 5 gbps (or over 600 MB/sec) the actual hardware normally provides
speeds which for basic DOKs are even under USB 2.0 spec. in most cases
(under 60 MB/sec.).
However, as I also mentioned, it will only affect the time it takes to
load, and from my experience with any decent DOK it's quite OK, you don't
even have to invest into ultra-expensive and ultra-fast one, especially if
you don't plan to "re-burn" the DOK very often.
Thanks in advance,
On Mon, Jun 26, 2017 at 8:05 PM, Michael McConachie <
michael.mcconachie(a)hotmail.com> wrote:
> Lev,
>
>
> That's exactly what I thought; you hit all the points (including slow DOM
> SATA I type performance vs. USB3 speeds). That's all I needed
> clarification on, before running down the rabbit hole.
>
>
> MM
>
>
>
> ------------------------------
> *From:* Lev Veyde <lveyde(a)redhat.com>
> *Sent:* Monday, June 26, 2017 4:00 PM
> *To:* Michael McConachie
> *Cc:* users(a)ovirt.org
> *Subject:* Re: [ovirt-users] oVirt Live USB3 question
>
> Hi Michael,
>
> oVirt-Live's basically functions as any other LiveCD, so no special
> differences here.
> Generally it means that necessary kernel/kernel modules/programs are
> loaded into RAM, and access to the image is needed if e.g. one wants to run
> some more programs.
> All writes are done into RAM.
>
> Note however that since the whole CD isn't copied into RAM, so you still
> need it to be accessible, e.g. have the USB DOK be inserted into the
> computer.
>
> As you already mentioned the oVirt-Live is designed to work in a sandboxed
> environment as far as the network is concerned.
> It was never designed nor tested to work with i.e. external storages, as
> in order to do so the network configuration will have to be modified.
>
> Regarding performance: we haven't tested it, but probably the oVirt-Live
> may take a bit more time to load when compared to normal installation.
> This is because USB DOKs are generally slower than SAS/SATA HDDs/SSDs.
> Once loaded however the performance will be similar and in some cases even
> greater, since all writes are done to the RAM.
> The price of this is of course that once the system is rebooted for
> whatever reason all data is lost.
>
> Hope it helped,
>
> On Sat, Jun 24, 2017 at 5:10 AM, Michael McConachie <
> michael.mcconachie(a)hotmail.com> wrote:
>
>> Hi all,
>>
>>
>> Potentially stupid question here. Sorry in advance if so. I have always
>> built out full blown multi rack instances of oVirt, and RHEV for clients,
>> but the following question has me wondering before I go digging and trying
>> it out...
>>
>>
>> I realize that the oVirtLive ISO is for demo purposes, sandboxing, and
>> not production: I have a client, who is in need of a bootable AIO-based USB
>> install with the caveat of being able to connect to the computer's HD and
>> other external storage at that point (for the Storage and ISO domains that
>> I'll create afterwards). This is because they have one BM to work with and
>> they don't want the extra overhead using an SSD HD slot. They don't want to
>> use a Sata DOM either if possible.
>>
>> In saying that, and concerning the oVirt LiveISO capabilities - I have
>> two questions.
>>
>>
>> - Does the AIO USB install load necessary runtimes into memory, similar
>> to esxi bootable USBs and utilize the base hardware afterwards so that the
>> rest of the operations are ran in memory, hitting the disk (USB in this
>> case) like a normal OS load when needed for kernel calls, etc..??
>>
>> - Are there a terrible performance costs if we stay with USB3 (which has
>> a ridiculous theoretical speed in certain hardware matching situations)?
>>
>>
>> Thanks in advance for anyone who might have already crossed this bridge
>> and can provide insight.
>>
>>
>>
>> Michael J. McConachie | keys.fedoraproject.org | PubKey: 0x7BCD88F8
>>
>> *NOTE: The information included and/or attached in this electronic mail
>> transmission may contain confidential or privileged information and is
>> intended solely for the addressee(s). Any unauthorized disclosure,
>> reproduction, distribution or the taking of action in reliance on the **contents
>> of the information are strictly prohibited. If you have received the
>> message in error, please notify the sender by reply transmission and delete
>> the message without copying, disclosing or forwarding.*
>>
>> _______________________________________________
>> Users mailing list
>> Users(a)ovirt.org
>> http://lists.ovirt.org/mailman/listinfo/users
>>
>>
>
>
> --
>
> Lev Veyde
>
> Software Engineer, RHCE | RHCVA | MCITP
>
> Red Hat Israel
>
> <https://www.redhat.com>
>
> lev(a)redhat.com | lveyde(a)redhat.com
> <https://red.ht/sig>
> TRIED. TESTED. TRUSTED. <https://redhat.com/trusted>
>
--
Lev Veyde
Software Engineer, RHCE | RHCVA | MCITP
Red Hat Israel
<https://www.redhat.com>
lev(a)redhat.com | lveyde(a)redhat.com
<https://red.ht/sig>
TRIED. TESTED. TRUSTED. <https://redhat.com/trusted>
7 years, 5 months
Access VM Console on a Smart Phone with User Permission
by Jerome Roque
Good day oVirt Users,
I need some little help. I have a KVM and used oVirt for the management of
VMs. What I want is that my client will log on to their account and access
their virtual machine using their Smart phone. I tried to install mOvirt
and yes can connect to the console of my machine, but it is only accessible
for admin console. Tried to use web console, it downloaded console.vv but
can't open it. By any chance could make this thing possible?
Thank you,
Jerome
7 years, 5 months
"Could not detect Guest Agent on VM"
by Sven Achtelik
--_000_BFAB40933B3367488CE6299BAF8592D1014E52D7B127SOCRATESasl_
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Hi All,
I have several Windows VMs (Server 2012, Server 2012 R2) running and the gu=
est tools are installed. IF I go and check the Services in those VMs I can =
also see the "Ovirt Guest Service" running and the "QEMU Guest Agent" runni=
ng. Also there is Information about the VM show in the GUI, like installed =
applications etc.. I've tried several Versions of the tools and even with t=
he latest 4.1.5 I can't get that message to disappear.
Am I doing something wrong ?
How does this affect the Backup-API and possible Snapshots are taken for Ba=
ckups ?
If you have any hints please let me know.
Thank you,
Sven
--_000_BFAB40933B3367488CE6299BAF8592D1014E52D7B127SOCRATESasl_
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=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 All,<o:p=
></o:p></p><p class=3DMsoNormal><o:p> </o:p></p><p class=3DMsoNormal><=
span lang=3DEN-US>I have several Windows VMs (Server 2012, Server 2012 R2) =
running and the guest tools are installed. IF I go and check the Services i=
n those VMs I can also see the “Ovirt Guest Service” running an=
d the “QEMU Guest Agent” running. Also there is Information abo=
ut the VM show in the GUI, like installed applications etc.. I’ve tri=
ed several Versions of the tools and even with the latest 4.1.5 I can’=
;t get that message to disappear.<o:p></o:p></span></p><p class=3DMsoNormal=
><span lang=3DEN-US><o:p> </o:p></span></p><p class=3DMsoNormal><span =
lang=3DEN-US>Am I doing something wrong ? <o:p></o:p></span></p><p class=3D=
MsoNormal><span lang=3DEN-US><o:p> </o:p></span></p><p class=3DMsoNorm=
al><span lang=3DEN-US>How does this affect the Backup-API and possible Snap=
shots are taken for Backups ? <o:p></o:p></span></p><p class=3DMsoNormal><s=
pan lang=3DEN-US><o:p> </o:p></span></p><p class=3DMsoNormal><span lan=
g=3DEN-US>If you have any hints please let me know. <o:p></o:p></span></p><=
p class=3DMsoNormal><span lang=3DEN-US><o:p> </o:p></span></p><p class=
=3DMsoNormal><span lang=3DEN-US>Thank you, <o:p></o:p></span></p><p class=
=3DMsoNormal><span lang=3DEN-US><o:p> </o:p></span></p><p class=3DMsoN=
ormal><span lang=3DEN-US>Sven <o:p></o:p></span></p><p class=3DMsoNormal><o=
:p> </o:p></p></div></body></html>=
--_000_BFAB40933B3367488CE6299BAF8592D1014E52D7B127SOCRATESasl_--
7 years, 5 months
oVirt Live USB3 question
by Michael McConachie
--_000_DM5PR03MB263695A8C2F650880DC40D8B8CD90DM5PR03MB2636namp_
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Hi all,
Potentially stupid question here. Sorry in advance if so. I have always bu=
ilt out full blown multi rack instances of oVirt, and RHEV for clients, but=
the following question has me wondering before I go digging and trying it =
out...
I realize that the oVirtLive ISO is for demo purposes, sandboxing, and not =
production: I have a client, who is in need of a bootable AIO-based USB ins=
tall with the caveat of being able to connect to the computer's HD and othe=
r external storage at that point (for the Storage and ISO domains that I'll=
create afterwards). This is because they have one BM to work with and the=
y don't want the extra overhead using an SSD HD slot. They don't want to us=
e a Sata DOM either if possible.
In saying that, and concerning the oVirt LiveISO capabilities - I have two =
questions.
- Does the AIO USB install load necessary runtimes into memory, similar to =
esxi bootable USBs and utilize the base hardware afterwards so that the res=
t of the operations are ran in memory, hitting the disk (USB in this case) =
like a normal OS load when needed for kernel calls, etc..??
- Are there a terrible performance costs if we stay with USB3 (which has a =
ridiculous theoretical speed in certain hardware matching situations)?
Thanks in advance for anyone who might have already crossed this bridge and=
can provide insight.
Michael J. McConachie | keys.fedoraproject.org | PubKey: 0x7BCD88F8
NOTE: The information included and/or attached in this electronic mail tran=
smission may contain confidential or privileged information and is intended=
solely for the addressee(s). Any unauthorized disclosure, reproduction, di=
stribution or the taking of action in reliance on the contents of the infor=
mation are strictly prohibited. If you have received the message in error, =
please notify the sender by reply transmission and delete the message witho=
ut copying, disclosing or forwarding.
--_000_DM5PR03MB263695A8C2F650880DC40D8B8CD90DM5PR03MB2636namp_
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:'Courier New',monospace;" dir=3D"ltr">
<p><span>Hi all,</span></p>
<p><br>
</p>
<p>Potentially stupid question here. Sorry in advance if so. I have a=
lways built out full blown multi rack instances of oVirt, and RHEV for clie=
nts, but the following question has me wondering before I go digging and tr=
ying it out...</p>
<p><br>
</p>
<p>I realize that the oVirtLive ISO is for demo purposes, sandboxing, and n=
ot production: I have a client, who is in need of a bootable AIO-based USB =
install with the caveat of being able to connect to the computer's HD and o=
ther external storage at that point
(for the Storage and ISO domains that I'll create afterwards). This =
is because they have one BM to work with and they don't want the extra=
overhead using an SSD HD slot. They don't want to use a Sata DOM either if=
possible.<br>
</p>
<br>
<p>In saying that, and concerning the oVirt LiveISO capabilities -&nbs=
p;I have two questions.</p>
<p><br>
</p>
<p>- Does the AIO USB install load necessary runtimes into memory, similar =
to esxi bootable USBs and utilize the base hardware afterwards so that the =
rest of the operations are ran in memory, hitting the disk (USB in this cas=
e) like a normal OS load when needed
for kernel calls, etc..??</p>
<p>- Are there a terrible performance costs if we stay with USB3 (which has=
a ridiculous theoretical speed in certain hardware matching situations)?</=
p>
<p><br>
</p>
<p>Thanks in advance for anyone who might have already crossed this bridge =
and can provide insight.<br>
</p>
<p><br>
</p>
<div id=3D"Signature">
<pre><font style=3D"font-size:10pt" size=3D"2" face=3D"Courier New"><br>Mic=
hael J. McConachie</font><font style=3D"font-size:10pt" size=3D"2" face=3D"=
Courier New"><font style=3D"font-size:10pt"> | </font><font style=3D"font-s=
ize:10pt" color=3D"#008A17">keys.fedoraproject.org</font><font style=3D"fon=
t-size:10pt"> </font><font style=3D"font-size:10pt" color=3D"#AC193D"><font=
style=3D"" color=3D"#000000">|</font> PubKey: 0x7BCD88F8</font><br></font>=
</pre>
<font style=3D"font-size:10pt" size=3D"2" face=3D"Courier New"><i><font sty=
le=3D"" color=3D"#ff0000">NOTE:
</font><font style=3D"" color=3D"#366092">The information included and/or a=
ttached in this electronic mail transmission may contain confidential or pr=
ivileged information and is intended solely for the addressee(s). Any unaut=
horized disclosure, reproduction, distribution
or the taking of action in reliance on the </font></i></font><font style=
=3D"font-size:10pt" size=3D"2" face=3D"Courier New"><i><font style=3D"" col=
or=3D"#366092">contents of the information are strictly prohibited. If you =
have received the message in error, please notify
the sender by reply transmission and delete the message without copying, d=
isclosing or forwarding.</font></i></font>
</div>
</div>
</body>
</html>
--_000_DM5PR03MB263695A8C2F650880DC40D8B8CD90DM5PR03MB2636namp_--
7 years, 5 months
Hot Memory add and Physical Memory guaranteed
by Luca 'remix_tj' Lorenzetto
Hello,
i just tested the memory hot add to a vm. This vm had 2048 MB. I set
the new memory to 2662 MB.
I logged into the vm and i've seen that hasn't been any memory change,
even if i said to the manager to apply memory expansion immediately.
Memory shown by free -m is 1772 MB.
Looking around i've found that that value was set in the option called
"Physical Memory guaranteed".
I tried setting this parameter to an higher value, but is still
showing 1772, even if it says that "Memory" parameter will be changed
immediately and minAllocatedMemory is changed at next boot.
What is the right workflow to hot increase the ram of a vm?
Luca
--
"E' assurdo impiegare gli uomini di intelligenza eccellente per fare
calcoli che potrebbero essere affidati a chiunque se si usassero delle
macchine"
Gottfried Wilhelm von Leibnitz, Filosofo e Matematico (1646-1716)
"Internet è la più grande biblioteca del mondo.
Ma il problema è che i libri sono tutti sparsi sul pavimento"
John Allen Paulos, Matematico (1945-vivente)
Luca 'remix_tj' Lorenzetto, http://www.remixtj.net , <lorenzetto.luca(a)gmail.com>
7 years, 5 months
Ovirt adding routes
by Alan Griffiths
Hi,
When installing an ovirt host I got these routes automatically added
default dev ovirtmgmt table 2886865805 scope link
172.18.19.128/26 via 172.18.19.141 dev ovirtmgmt table 2886865805
What is their intended purpose? It seems to be stopping packets from being
correctly routed to the local gateway.
Thanks,
Alan
7 years, 5 months
import and old datadomain
by Ben De Luca
Hey,
So, our DR plans included the idea of importing old domains. Is that
meant to work now?
-ben
*very tired sysadmin*
7 years, 5 months
migrating VMS from old hosted engine to new hosted engine
by Paul Groeneweg | Pazion
We are moving our VMs from an old 3.6 oVirt platform to a new oVirt 4.1
platform.
I am looking for an easy way to migrate the VMs. ( I know about export
domain, but this takes 2 times a copy action ) I tested and just detaching
the Data domain and attaching it, didn't work.
Then I found the VM import option:
- Adding a ssh key gen and setting password on virsh
- load a list of machines in the webinterface from VM import
- when I start an import the system complains:
The following VMs retrieved from external server
qemu+ssh://root@xxx.xxx.xxx.xxx/system are not in down status: VM [VM-NAME].
- I tried to suspend the VM, but this didn;t work either ( same error )
- Problem is ,when VM is shutdown, it disappears from this system list.
Is there a way to directly import a VM from old oVirt platform to the new
platform
Looking forward to find a solution to quickly migrate our VMs.
Best Regards,
Paul Groeneweg
7 years, 5 months