Daily online VM backups
by gregor
Hi,
what is the best way to make daily backups of my VM's without shutting
them down?
I found the Backup-Restore API and other stuff but no running
tool/script which I can use. I plan to integrate it into backuppc. Or is
there any "Best practice guide for backup"? ;-)
In the meantime I integrated engine-backup into backuppc as a pre-script.
cheers
gregor
9 years, 2 months
Some VMs in status "not responding" in oVirt interface
by Christian Hailer
This is a multipart message in MIME format.
------=_NextPart_000_02B0_01D0E2AC.AFF9F270
Content-Type: text/plain;
charset="utf-8"
Content-Transfer-Encoding: quoted-printable
Hello,
=20
last Wednesday I wanted to update my oVirt 3.5 hypervisor. It is a =
single Centos 7 server, so I started by suspending the VMs in order to =
set the oVirt engine host to maintenance mode. During the process of =
suspending the VMs the server crashed, kernel panic=E2=80=A6
After restarting the server I installed the updates via yum an restarted =
the server again. Afterwards, all the VMs could be started again. Some =
hours later my monitoring system registered some unresponsive hosts, I =
had a look in the oVirt interface, 3 of the VMs were in the state =
=E2=80=9Cnot responding=E2=80=9D, marked by a question mark.=20
I tried to shut down the VMs, but oVirt wasn=E2=80=99t able to do so. I =
tried to reset the status in the database with the sql statement
=20
update vm_dynamic set status =3D 0 where vm_guid =3D (select vm_guid =
from vm_static where vm_name =3D 'MYVMNAME');
=20
but that didn=E2=80=99t help, either. Only rebooting the whole =
hypervisor helped=E2=80=A6 afterwards everything worked again. But only =
for a few hours, then one of the VMs entered the =E2=80=9Cnot =
responding=E2=80=9D state again=E2=80=A6 again only a reboot helped. =
Yesterday it happened again:
=20
2015-08-28 17:44:22,664 INFO =
[org.ovirt.engine.core.vdsbroker.VdsUpdateRunTimeInfo] =
(DefaultQuartzScheduler_Worker-60) [4ef90b12] VM DC =
0f3d1f06-e516-48ce-aa6f-7273c33d3491 moved from Up --> NotResponding
2015-08-28 17:44:22,692 WARN =
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] =
(DefaultQuartzScheduler_Worker-60) [4ef90b12] Correlation ID: null, Call =
Stack: null, Custom Event ID: -1, Message: VM DC is not responding.
=20
Does anybody know what I can do? Where should I have a look? Hints are =
greatly appreciated!
=20
Thanks,
Christian
------=_NextPart_000_02B0_01D0E2AC.AFF9F270
Content-Type: text/html;
charset="utf-8"
Content-Transfer-Encoding: quoted-printable
<html xmlns:v=3D"urn:schemas-microsoft-com:vml" =
xmlns:o=3D"urn:schemas-microsoft-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=3Dutf-8"><meta =
name=3DGenerator content=3D"Microsoft Word 15 (filtered =
medium)"><style><!--
/* Font Definitions */
@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-size:10.0pt;}
@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" vlink=3D"#954F72"><div class=3DWordSection1><p =
class=3DMsoNormal><span lang=3DEN-US>Hello,<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>last Wednesday I wanted to update =
my oVirt 3.5 hypervisor. It is a single Centos 7 server, so I started by =
suspending the VMs in order to set the oVirt engine host to maintenance =
mode. During the process of suspending the VMs the server crashed, =
kernel panic=E2=80=A6<o:p></o:p></span></p><p class=3DMsoNormal><span =
lang=3DEN-US>After restarting the server I installed the updates via yum =
an restarted the server again. Afterwards, all the VMs could be started =
again. Some hours later my monitoring system registered some =
unresponsive hosts, I had a look in the oVirt interface, 3 of the VMs =
were in the state =E2=80=9Cnot responding=E2=80=9D, marked by a question =
mark. <o:p></o:p></span></p><p class=3DMsoNormal><span lang=3DEN-US>I =
tried to shut down the VMs, but oVirt wasn=E2=80=99t able to do so. I =
tried to reset the status in the database with the sql =
statement<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>update vm_dynamic set status =3D 0 where vm_guid =3D =
(select vm_guid from vm_static where vm_name =3D =
'MYVMNAME');<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>but that didn=E2=80=99t help, either. Only rebooting the =
whole hypervisor helped=E2=80=A6 afterwards everything worked again. But =
only for a few hours, then one of the VMs entered the =E2=80=9Cnot =
responding=E2=80=9D state again=E2=80=A6 again only a reboot helped. =
Yesterday it happened again:<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>2015-08-28 17:44:22,664 INFO =
[org.ovirt.engine.core.vdsbroker.VdsUpdateRunTimeInfo] =
(DefaultQuartzScheduler_Worker-60) [4ef90b12] VM DC =
0f3d1f06-e516-48ce-aa6f-7273c33d3491 moved from Up --> =
NotResponding<o:p></o:p></span></p><p class=3DMsoNormal><span =
lang=3DEN-US>2015-08-28 17:44:22,692 WARN =
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] =
(DefaultQuartzScheduler_Worker-60) [4ef90b12] Correlation ID: null, Call =
Stack: null, Custom Event ID: -1, Message: VM DC is not =
responding.<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>Does anybody know what I can do? Where should I have a =
look? Hints are greatly appreciated!<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>Thanks,<o:p></o:p></span></p><p =
class=3DMsoNormal><span =
lang=3DEN-US>Christian<o:p></o:p></span></p></div></body></html>
------=_NextPart_000_02B0_01D0E2AC.AFF9F270--
9 years, 2 months
RESTAPI: 'action type cpu profile empty' if more then one profile defined in the cluster
by Daniel Helgenberger
Hello,
I still seem to have an issue in ovirt with a [BZ1160846].
In my case, foreman is unable to add hosts if I have multiple CPU
Profiles defined in the cluster:
Failed to create a compute oVirt (oVirt) instance $hostname: action type
cpu profile empty
BZ says this was resolved in RHEV 3.5.1; but running 3.5.3 I still have
this issue (if this BZ is even applicable)
Thanks!
Versions:
oVirt 3.5.3 el7
Foreman 1.8.2
Thanks!
[BZ1160846] https://bugzilla.redhat.com/show_bug.cgi?id=1160846
--
Daniel Helgenberger
m box bewegtbild GmbH
P: +49/30/2408781-22
F: +49/30/2408781-10
ACKERSTR. 19
D-10115 BERLIN
www.m-box.de www.monkeymen.tv
Geschäftsführer: Martin Retschitzegger / Michaela Göllner
Handeslregister: Amtsgericht Charlottenburg / HRB 112767
9 years, 2 months
Re: [ovirt-users] searching vm disks according to vm tags
by Eli Mesika
----- Original Message -----
> From: "Yaniv Dary" <ydary(a)redhat.com>
> To: "Eli Mesika" <emesika(a)redhat.com>, "Liron Kuchlani" <lkuchlan(a)redhat.com>
> Sent: Sunday, August 30, 2015 2:30:55 PM
> Subject: Fwd: [ovirt-users] searching vm disks according to vm tags
>
> Yaniv Dary
> Technical Product Manager
> Red Hat Israel Ltd.
> 34 Jerusalem Road
> Building A, 4th floor
> Ra'anana, Israel 4350109
>
> Tel : +972 (9) 7692306
> 8272306
> Email: ydary(a)redhat.com
> IRC : ydary
>
>
> ---------- Forwarded message ----------
> From: Jiří Sléžka <jiri.slezka(a)slu.cz>
> Date: Thu, Aug 27, 2015 at 11:41 AM
> Subject: [ovirt-users] searching vm disks according to vm tags
> To: "users(a)ovirt.org" <users(a)ovirt.org>
>
>
> Hello,
>
> Is there a possibility to filter (in manager) all disks which belongs to
> vms with certain tag? If not I think it would be useful. What do you think?
Currently the Disks TAB in webadmin does not support searching by tag, you may open a RFE for that
>
> I am trying this: I have about 50 vms with disks on different storages. I
> have tagged some from this vms by tag "migrate_to_new_storage" and then I
> would like to move all appropriate disks to new storage. It seems it is not
> possible from manager (in simple way - it looks like I have to filter vms
> by tag, then click on every of them, choose disks tab, select them, click
> move,...).
>
> It would also be nice to have possibility to filter by tags also with
> boolean operator "AND" and not just "OR".
There is already a RFE for that
For doing so we should add a TAB in the webadmin for Tags that will enable that
The challenge is that the result can be mixed entities (hosts, vms etc...), not trivial to display in one result list ...
>
>
> Cheers,
>
> Jiri
>
>
> _______________________________________________
> Users mailing list
> Users(a)ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
9 years, 2 months
What are the messages "metadata not found Requested metadata element is not pres
by Vadq
Hi,
/var/log/messages continuously shows below error message after any vm start:
Aug 28 15:35:33 xxx journal: metadata not found: Requested metadata element is not present
Aug 28 15:35:35 xxx journal: metadata not found: Requested metadata element is not present
Aug 28 15:35:48 xxx journal: metadata not found: Requested metadata element is not present
Aug 28 15:35:50 xxx journal: metadata not found: Requested metadata element is not present
vdsm 4.16.20
vdsm-4.16.20-0.el7.centos.x86_64
vdsm-python-zombiereaper-4.16.20-0.el7.centos.noarch
vdsm-xmlrpc-4.16.20-0.el7.centos.noarch
vdsm-jsonrpc-4.16.20-0.el7.centos.noarch
vdsm-cli-4.16.20-0.el7.centos.noarch
vdsm-python-4.16.20-0.el7.centos.noarch
vdsm-yajsonrpc-4.16.20-0.el7.centos.noarch
libvirt-client-1.2.8-16.el7_1.3.x86_64
libvirt-daemon-config-nwfilter-1.2.8-16.el7_1.3.x86_64
libvirt-daemon-driver-secret-1.2.8-16.el7_1.3.x86_64
libvirt-daemon-driver-network-1.2.8-16.el7_1.3.x86_64
libvirt-daemon-kvm-1.2.8-16.el7_1.3.x86_64
ovirt-release35-005-1.noarch
virt-what-1.13-5.el7.x86_64
libvirt-daemon-1.2.8-16.el7_1.3.x86_64
libvirt-python-1.2.8-7.el7_1.1.x86_64
libvirt-lock-sanlock-1.2.8-16.el7_1.3.x86_64
libvirt-daemon-driver-nodedev-1.2.8-16.el7_1.3.x86_64
libvirt-daemon-driver-qemu-1.2.8-16.el7_1.3.x86_64
libvirt-daemon-driver-storage-1.2.8-16.el7_1.3.x86_64
libvirt-daemon-driver-nwfilter-1.2.8-16.el7_1.3.x86_64
libvirt-daemon-driver-interface-1.2.8-16.el7_1.3.x86_64
fence-virt-0.3.2-1.el7.x86_64
qemu-kvm-tools-ev-2.1.2-23.el7_1.3.1.x86_64
qemu-kvm-ev-2.1.2-23.el7_1.3.1.x86_64
libvirt-daemon-driver-qemu-1.2.8-16.el7_1.3.x86_64
qemu-kvm-common-ev-2.1.2-23.el7_1.3.1.x86_64
ipxe-roms-qemu-20130517-6.gitc4bce43.el7.noarch
qemu-img-ev-2.1.2-23.el7_1.3.1.x86_64
--
Thanks,
Vadim
9 years, 2 months
Change IP Address of Ovirt Engine
by Phil Gersekowski
We have an operational ovirt cluster where all nodes on 1 IP Network,
and the oVirt Engine is on another IP Network and are wanting to change
IP Address of the host of the ovirt engine so that it is on the same
network as the nodes that are managed.
I have not been able to find a definative answer, but since I are NOT
changing the name of the ovirt engine host, from what I have read it
seems that all I will need to do is alter the IP Address in the DNS of
the hostname for the ovirt engine host (apart from plumbing and address
on the new network into the ovrit engine host of course).
Is this correct, or is there some configuration file on either the
engine host or the nodes that needs to be updated to reflect the new IP
Address of the engine host ?
--
Regards,
Phil Gersekowski
IT Director
http://www.aspedia.net <http://www.aspedia.net/> | philg(a)aspedia.net
<mailto:Phil%20Gersekowski%20%3Cphilg@aspedia.net%3E>
------------------------------------------------------------------------
Aspedia <http://aspedia.net/> Phone: *1800 677 656*
Mobile: *0447 546 890*
Suite 1, 1 Clunies Ross Court, Eight Mile Plains QLD 4113 | Map
<https://www.google.com/url?sa=D&oi=plus&q=https://maps.google.com.au/maps...>
------------------------------------------------------------------------
This message and any files transmitted with it are confidential and
should be read only by those persons to whom it is addressed. It may
contain sensitive and private proprietary or legally privileged
information. No confidentiality or privilege is waived or lost by any
mistransmission. If you are not the intended recipient, please
immediately delete this message and notify the sender Aspedia Australia
Pty Ltd. You must not, directly or indirectly, use, disclose,
distribute, print, or copy any part of this message if you are not the
intended recipient. Unless otherwise expressly stated by an authorised
representative of Aspedia Australia Pty Ltd, any views, opinions and
other information expressed in this message and any attachments are
solely those of the sender and do not constitute formal views or
opinions of our company. *Please consider the environment before printing*.
9 years, 2 months
ovirt 3.5 engine web certificate
by Baptiste Agasse
Hi all,
I've followed the procedure to replace self signed certificate to one issued by our internal PKI to avoid security failure when users access to the webui (https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Virtuali...). The connection to the webui now works fine without any security warning (the internal PKI CA is in the trusted CA of our clients OS). But on the other hand, i've some troubles:
* I've to specify the --ca-file option for ovirt-shell and engine-iso-uploader (i didn't test the engine-image-upload command), it will be nice if the documentation provide a way to replace this by default (or use the trusted ca store of the OS ?). This is not a bug just some feedback on the certificate change procedure that don't cover these side effects.
* I can't add new ovirt-node anymore. The ovirt-hosted-engine --deploy fails on new nodes with an SSL error. To workaround this i've to modify the file "/usr/lib/python2.7/site-packages/ovirtsdk/web/connection.py" around line 233 to make an insecure connection to the engine and add the new node. I didn't have tested to add a new node from the ovirt engine cli/webui but i think it will be the same issue because the error occurs on the vdsm activation that is common to the 'new hosted engine node' and 'new node' deployment. I've seen https://bugzilla.redhat.com/show_bug.cgi?id=1059952 but the workaround noted in the comment #8 didn't work for me.
Someone have more info on this issue or have the same problem ?
This deployment is on ovirt 3.5.3, CentOS 7 (engine and nodes).
Have a nice day.
Regards.
--
Baptiste
9 years, 2 months
ovirt+gluster+NFS : storage hicups
by Nicolas Ecarnot
Hi,
I used the two links below to setup a test DC :
http://community.redhat.com/blog/2014/05/ovirt-3-4-glusterized/
http://community.redhat.com/blog/2014/11/up-and-running-with-ovirt-3-5-pa...
The only thing I did different is I did not usea hosted engine, but I
dedicated a solid server for that.
So I have one engine (CentOS 6.6), and 3 hosts (CentOS 7.0)
As in the doc above, my 3 hosts are publishing 300 Go of replicated
gluster storage, above which ctdb is managing a floating virtual ip that
is used by NFS as the master storage domain.
The last point is that the manager is also presenting a NFS storage I'm
using as an export domain.
It took me some time to plug all this setup as it is a bit more
complicated as my other DC with a real SAN and no gluster, but it is
eventually working (I can run VMs, migrate them...)
I have made many severe tests (from a very dumb user point of view :
unplug/replug the power cable of this server - does ctdb floats the vIP?
does gluster self-heals?, does the VM restart?...)
When precisely looking each layer one by one, all seems to be correct :
ctdb is fast at managing the ip, NFS is OK, gluster seems to
reconstruct, fencing eventually worked with the lanplus workaround, and
so on...
But from times to times, there seem to appear a severe hicup which I
have great difficulties to diagnose.
The messages in the web gui are not very precise, and not consistent:
- some tell about some host having network issues, but I can ping it
from every place it needs to be reached (especially from the SPM and the
manager)
"On host serv-vm-al01, Error: Network error during communication with
the Host"
- some tell that some volume is degraded, when it's not (gluster
commands are showing no issue. Even the oVirt tab about the volumes are
all green)
- "Host serv-vm-al03 cannot access the Storage Domain(s) <UNKNOWN>
attached to the Data Center"
Just by waiting a couple of seconds lead to a self heal with no action.
- Repeated "Detected change in status of brick
serv-vm-al03:/gluster/data/brick of volume data from DOWN to UP."
but absolutely no action is made on this filesystem.
At this time, zero VM is running in this test datacenter, and no action
is made on the hosts. Though, I see some looping errors coming and
going, and I find no way to diagnose.
Amongst the *actions* that I had the idea to use to solve some issues :
- I've found that trying to force the self-healing, and playing with
gluster commands had no effect
- I've found that playing with gluster adviced actions "find /gluster
-exec stat {} \; ..." seem to have no either effect
- I've found that forcing ctdb to move the vIp ("ctdb stop, ctdb
continue") DID SOLVE most of these issue.
I believe that it's not what ctdb is doing that helps, but maybe one of
its shell hook that is cleaning some troubles?
As this setup is complexe, I don't ask anyone a silver bullet, but maybe
you may know which layer is the most fragile, and which one I should
look at more closely?
--
Nicolas ECARNOT
9 years, 2 months
ovirt on OFTC issues?
by Sahina Bose
Hi all
When I send a message to #ovirt on OFTC , I get a response - #ovirt
:Cannot send to channel
Anyone else facing this?
thanks
sahina
9 years, 2 months