[Users] Clone from Snapshot
by Tejesh M
Hi,
I'm trying to clone a VM from snapshot with the below code. but it is not
cloning..
org.ovirt.engine.sdk.decorators.VM vm2 = api.getVMs().get("testVM");
VM cloneVM = new VM();
cloneVM.setName("MyClonedViaAPI");
VMSnapshot snap3 = new VMSnapshot(null);
snap3 =
vm2.getSnapshots().get(UUID.fromString("7799ce3f-a007-415a-84c5-df323e8f440d"));
Action act = new Action();
act.setClone(true);
act.setVm(cloneVM);
snap3.restore(act);
Actually, my original goal is to Clone VM directly from another VM instead
of cloning from snapshot.
Can you help me?
--
Thanks & Regards
Tejesh
10 years, 8 months
[Users] Changing IP address of NFS storage server
by René Koch
Hi,
I have an old oVirt 3.2 setup and I have to change the ip address of the
data storage domain (NFS). Even if I shut down all vms I can't detach
the data storage domain and reimport it as vms and templates are
configured in oVirt which have their disk on this storage domain.
Is there a way to change the ip? Maybe using the database?
Would this be possible in 3.3 or 3.4?
Thanks a lot for tips!
--
Best Regards
René Koch
Senior Solution Architect
============================================
LIS-Linuxland GmbH
Brünner Straße 163, A-1210 Vienna
Phone: +43 1 236 91 60
Mobile: +43 660 / 512 21 31
E-Mail: rkoch(a)linuxland.at
============================================
10 years, 8 months
[Users] Ovirt 3.3.3 to 3.3.4 upgrade issues Centos 6
by Gary Lloyd
I have tested an upgrade from engine 3.3.3 to 3.3.4 under centos 6. It
seems that the vdsm nodes are now showing as non-operational and the only
way I have been able to cure this was to:
- Upgrade the vdsm version on a node to 4.13.3-4
- install vdsm-gluster
- start glusterd service
We are only currently using ISCSI. I cannot get a node running vdsm-4.13.3-3
to show as being operational under engine 3.3.4
Has anyone been able to get 3.3.4 functioning with previous version vdsm
nodes ?
This issue may hinder our progress when it comes time to upgrade our
production engine / nodes when putting hosts into maintenance mode and
performing migrations etc.
Thanks
*Gary Lloyd*
----------------------------------
IT Services
Keele University
-----------------------------------
10 years, 8 months
Re: [Users] GSoC 14 Idea Discussion - virt-sparsify integration
by Federico Simoncelli
----- Original Message -----
> From: "Utkarsh Singh" <utkarshsins(a)gmail.com>
> To: users(a)ovirt.org
> Cc: fsimonce(a)redhat.com
> Sent: Friday, March 7, 2014 6:16:46 PM
> Subject: GSoC 14 Idea Discussion - virt-sparsify integration
>
> Hello,
>
> I am Utkarsh, a 4th year undergrad from IIT Delhi and a GSoC-14
> aspirant. I have been lately involved in an ongoing project Baadal
> Cloud Computing Platform in my institute, which has got me interested
> in oVirt for a potential GSoC project.
>
> I was going through the virt-sparsify integration project idea. I have
> gone through the architecture documentation on the oVirt website. As
> far as I understand, the virt-sparsify integration needs to be done on
> the VDSM daemon, and it's control is either going to be completely
> independent of ovirt-engine (for example running it once every 24
> hours), or it's something that is centrally controlled by the
> ovirt-engine through XML/RPC calls. The details are not specified in
> the project ideas page. I would like to ask -
The request to sparsifying the image is controlled by ovirt-engine.
The user will pick one (or eventually more) disk(s) that are not in use
(vm down) and he'll request to sparsify it/them.
> 1. What would be the proposed ideal implementation? (Central-Control
> or Independent-Control)
Central-Control
> 2. Is virt-sparsify usage going to be automated or
> administrator-triggered, or a combination of both?
administrator-triggered
> There are some aspects of the idea, which I would like to discuss
> before I start working on a proposal.
>
> It's not necessary that an automated usage of virt-sparsify is limited
> to any simple idea. Architecture documentation states that
> ovirt-engine has features like Monitoring that would allow
> administrators (and possibly users) to be aware of vm-guest
> performance as well as vm-host performance. I am not very sure about
> how this data is collected, Is it done through MoM, or Is this
> directly done by VDSM, or is someone else doing this (for hosts). It
> would be great if someone can explain that to me. This information
> about vm-guest usage and vm-host health can help in determining how
> virt-sparsify is to be used.
The vm/hosts statistics are gathered and provided by VDSM.
Anyway I would leave this part out at the moment. The virt-sparsify
command is a long running task and in the current architecture it
can be only an SPM task.
There is some ongoing work to remove the pool and the SPM (making
virt-sparsify operable by any host) but I wouldn't block on that.
> I am also not very clear about the Shared Storage component in the
> architecture. Does oVirt make any assumptions about the Shared
> Storage. For example, the performance difference between running
> virt-sparsify on NFS as compared to running it (if possible) directly
> on storage hardware. If the Storage solution is necessarily a NAS
> instance, then virt-sparsify on NFS mount is the only option.
The storage connections are already managed by vdsm and the volume
chains are maintained transparently in /rhev/data-center/...
There are few differences between image files on NFS/Gluster and images
stored on LVs but with regard to how to reach them it is transparent
(similar path).
> Right now, I am in the process of setting up oVirt on my system, and
> getting more familiar with the architecture. Regarding my experience.
> I am acquainted with both Java and Python. I have little experience
> with JBoss, but I have worked on some other Web Application Servers
> like web2py and Play Framework. My involvement in Baadal Platform has
> got me acquainted with libvirt/QEMU, the details of which I have
> mentioned below (if anyone is interested).
Depending on the amount of time that you can dedicate to this project
it seems that you could tackle both the vdsm and ovirt-engine parts.
--
Federico
10 years, 8 months
[Users] el6 live snapshots and storage migration
by Simon Barrett
--_000_D86C48DF8800164BBE50B87623F7AC95481E29ADln2wio001devtra_
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Is there any current combination of el6 based Engine and Node iso that supp=
ort live snapshots and storage migration?
I tried oVirt Node - 3.0.4 - 1.0.2014012912 but had problems with VDSM comp=
atibility (VDSM version (4.14) and cannot join cluster - cluster is compat=
ible with VDSM versions [4.13, 4.9, 4.11, 4.12, 4.10].) I now see this ment=
ioned in https://bugzilla.redhat.com/show_bug.cgi?id=3D1067096#c0
I did try upgrading Engine to 3.3.4-1.el6 but still see the same VDSM 4.14 =
problem.
I also tried building the iso (as per http://www.ovirt.org/Node_Building) a=
nd could see that it was downloading the qemu-kvm-rhev (which I think is ne=
eded to enable the live snapshot functionality). However I got stuck adding=
the vdsm plugin as the iso was being built with the 3.4.0.57rhs versions o=
f the glusterfs packages whereas the plugin was dependant on glusterfs 3.4=
.0-8.
I already have a working Engine (3.3.2-1.el6) and Node (3.0.1 - 1.0.2.el6) =
test configuration but would very much like to be able to add the live snap=
shot functionality.
Many thanks
Simon
--_000_D86C48DF8800164BBE50B87623F7AC95481E29ADln2wio001devtra_
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.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
span.gwt-inlinelabel
{mso-style-name:gwt-inlinelabel;}
.MsoChpDefault
{mso-style-type:export-only;
mso-fareast-language:EN-US;}
@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-GB" link=3D"#0563C1" vlink=3D"#954F72">
<div class=3D"WordSection1">
<p class=3D"MsoNormal">Is there any current combination of el6 based Engine=
and Node iso that support live snapshots and storage migration?<o:p></o:p>=
</p>
<p class=3D"MsoNormal"><o:p> </o:p></p>
<p class=3D"MsoNormal">I tried oVirt Node - 3.0.4 - 1.0.2014012912 but had =
problems with VDSM compatibility (VDSM version (4.14) and cannot join clust=
er - cluster is compatible with VDSM versions [4.13, 4.9, 4.11, 4.12,=
4.10].) I now see this mentioned in
<a href=3D"https://bugzilla.redhat.com/show_bug.cgi?id=3D1067096#c0">https:=
//bugzilla.redhat.com/show_bug.cgi?id=3D1067096#c0</a><o:p></o:p></p>
<p class=3D"MsoNormal"><o:p> </o:p></p>
<p class=3D"MsoNormal">I did try upgrading Engine to 3.3.4-1.el6 but still =
see the same VDSM 4.14 problem.<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p> </o:p></p>
<p class=3D"MsoNormal">I also tried building the iso (as per http://www.ovi=
rt.org/Node_Building) and could see that it was downloading the qemu-kvm-rh=
ev (which I think is needed to enable the live snapshot functionality). How=
ever I got stuck adding the vdsm plugin
as the iso was being built with the 3.4.0.57rhs versions of the glusterfs =
packages whereas the plugin was dependant on glusterfs 3.4.0-8.<o:p><=
/o:p></p>
<p class=3D"MsoNormal"><o:p> </o:p></p>
<p class=3D"MsoNormal">I already have a working Engine (<span class=3D"gwt-=
inlinelabel">3.3.2-1.el6) and Node (3.0.1 - 1.0.2.el6) test configuration b=
ut would very much like to be able to add the live snapshot functionality.<=
o:p></o:p></span></p>
<p class=3D"MsoNormal"><o:p> </o:p></p>
<p class=3D"MsoNormal">Many thanks<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p> </o:p></p>
<p class=3D"MsoNormal">Simon<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p> </o:p></p>
<p class=3D"MsoNormal"><o:p> </o:p></p>
</div>
</body>
</html>
--_000_D86C48DF8800164BBE50B87623F7AC95481E29ADln2wio001devtra_--
10 years, 8 months
[Users] [RFI] GUI Changes for oVirt 4.0
by Itamar Heim
Hi,
we are brainstorming on what should we change in the oVirt UI for 4.0.
for current brainstorming phase, "anything goes" - i.e., I'd like us to
ignore current limitations and flows, and envision/fantasize the
"perfect solution".
SO - what do YOU think we should consider for 4.0 UI concept, flows, etc.
Thanks,
Itamar
10 years, 8 months
[Users] CPU: Westmere vs. Ivy Bridge
by Joshua Dotson
Hello,
The nodes on the cluster I'm installing have Ivy Bridge
CPUs<http://ark.intel.com/products/75790/Intel-Xeon-Processor-E5-2630-v2-15M-C...>.
The latest choice I see in the hosted-engine installer is Westmere. Am I
missing out on anything significant by choosing Westmere in this case? Is
there any plan to add Ivy Bridge as an option?
Even if there is no difference behind the scenes from choosing Westmere,
having an Ivy Bridge option would have saved me the time it took to reverse
engineer the need to look at the source code to the need for the CPU
family: instruction sets (performance?).
Thanks,
Joshua
10 years, 8 months
[Users] [ANN] oVirt 3.4.0 Second Release Candidate is now available
by Sandro Bonazzola
The oVirt team is pleased to announce that the 3.4.0 Second Release Candidate is now available for testing.
Release notes and information on the changes for this update are still being worked on and will be available soon on the wiki[1].
Please ensure to follow install instruction from release notes if you're going to test it.
The existing repository ovirt-3.4.0-prerelease has been updated for delivering this release candidate and future refreshes until final release.
An oVirt Node iso will also be available soon.
We decided to postpone Final Release by one week in order to properly test the bugs fixed since last Release Candidate.
Help us make this the best release ever, testing it yourself!
[1] http://www.ovirt.org/OVirt_3.4.0_release_notes
--
Sandro Bonazzola
Better technology. Faster innovation. Powered by community collaboration.
See how it works at redhat.com
10 years, 8 months
[Users] Cannot set Compatibility Version to 3.3
by Eric Wong
--_000_87E152BF0D55124F8311754D69D209F635546218MSEX02FRA9corps_
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Hello oVirt gurus out there:
I recently upgraded our oVirt 3.1 installation to 3.3.3. We have 2 cluster=
s configuration. In the QA cluster, in which there is only one host, I can=
switch the cluster's compatibility version from 3.1 to 3.3.
However, on the production cluster, in which there are 10 hosts, I am not a=
ble to switch the cluster compatibility version at all. I opened up the Ed=
it Cluster window. Select 3.3 from the Compatibility Version dropdown list=
. Click OK to save the change. But the Edit Cluster window just remain op=
en.
I checked all the logs in the ovirt-engine. Do not see anything obvious. =
All our hosts are running CentOS 6.5 & vdsm-4.13.3-4.
Can you guys provide some pointers as to where to check for failure?
Thanks in advance.
Eric
--_000_87E152BF0D55124F8311754D69D209F635546218MSEX02FRA9corps_
Content-Type: text/html; charset="iso-8859-1"
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=3Diso-8859-=
1">
<meta name=3D"Generator" content=3D"Microsoft Word 14 (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:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri","sans-serif";}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
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"blue" vlink=3D"purple">
<div class=3D"WordSection1">
<p class=3D"MsoNormal">Hello oVirt gurus out there:<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p> </o:p></p>
<p class=3D"MsoNormal">I recently upgraded our oVirt 3.1 installation to 3.=
3.3. We have 2 clusters configuration. In the QA cluster, in wh=
ich there is only one host, I can switch the cluster’s compatibility =
version from 3.1 to 3.3.<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p> </o:p></p>
<p class=3D"MsoNormal">However, on the production cluster, in which there a=
re 10 hosts, I am not able to switch the cluster compatibility version at a=
ll. I opened up the Edit Cluster window. Select 3.3 from the Co=
mpatibility Version dropdown list. Click OK
to save the change. But the Edit Cluster window just remain open.<o:=
p></o:p></p>
<p class=3D"MsoNormal"><o:p> </o:p></p>
<p class=3D"MsoNormal">I checked all the logs in the ovirt-engine. Do=
not see anything obvious. All our hosts are running CentOS 6.5 &=
vdsm-4.13.3-4.
<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p> </o:p></p>
<p class=3D"MsoNormal">Can you guys provide some pointers as to where to ch=
eck for failure?<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p> </o:p></p>
<p class=3D"MsoNormal">Thanks in advance.<o:p></o:p></p>
<p class=3D"MsoNormal">Eric<span style=3D"color:#1F497D"><o:p></o:p></span>=
</p>
<p class=3D"MsoNormal"><o:p> </o:p></p>
</div>
</body>
</html>
--_000_87E152BF0D55124F8311754D69D209F635546218MSEX02FRA9corps_--
10 years, 8 months
[Users] changing the password of the ovirt root ca
by Sven Kieske
Hi,
does it have any side effects if I change the password
which protects the private root CA key ?
I guess not, but I want to be sure :-)
--
Mit freundlichen Grüßen / Regards
Sven Kieske
Systemadministrator
Mittwald CM Service GmbH & Co. KG
Königsberger Straße 6
32339 Espelkamp
T: +49-5772-293-100
F: +49-5772-293-333
https://www.mittwald.de
Geschäftsführer: Robert Meyer
St.Nr.: 331/5721/1033, USt-IdNr.: DE814773217, HRA 6640, AG Bad Oeynhausen
Komplementärin: Robert Meyer Verwaltungs GmbH, HRB 13260, AG Bad Oeynhausen
10 years, 8 months