[Users] How can remove the existing isos from engine
by Shu Ming
Hi,
I uploaded several isos to engine by engine-iso-uploader. But, I found
that there is no tools to remove the iso from engine or there is no
option in engine to remove them. Any clue to remove them? Just remove
the iso from the directory where iso domain is mapped? I think it is a
bit rude to do that. Is there any graceful way to remove them?
--
Shu Ming<shuming(a)linux.vnet.ibm.com>
IBM China Systems and Technology Laboratory
12 years, 10 months
[Users] live snapshots ovirt 3.1
by Winfried de Heiden
It looks like it is possible now to create live snapshots; that is: on a
running system. Creating fails however:
[root@ovirtm ovirt-engine]# tail -f engine.log | grep -i snapshot
2012-06-19 09:50:07,046 INFO
[org.ovirt.engine.core.bll.CreateAllSnapshotsFromVmCommand]
(ajp--0.0.0.0-8009-7) [62433299] Lock Acquired to object EngineLock
[exclusiveLocks= key: 88321641-ae26-4460-ab3e-30daa5a7fc1a value: VM
2012-06-19 09:50:07,213 INFO
[org.ovirt.engine.core.bll.CreateAllSnapshotsFromVmCommand]
(ajp--0.0.0.0-8009-7) [62433299] Running command:
CreateAllSnapshotsFromVmCommand internal: false. Entities affected :
ID: 88321641-ae26-4460-ab3e-30daa5a7fc1a Type: VM
2012-06-19 09:50:07,260 INFO
[org.ovirt.engine.core.bll.CreateAllSnapshotsFromVmCommand]
(ajp--0.0.0.0-8009-7) [62433299] Lock freed to object EngineLock
[exclusiveLocks= key: 88321641-ae26-4460-ab3e-30daa5a7fc1a value: VM
2012-06-19 09:50:07,265 INFO
[org.ovirt.engine.core.bll.CreateSnapshotCommand] (ajp--0.0.0.0-8009-7)
[50705e1b] Running command: CreateSnapshotCommand internal: true.
Entities affected : ID: 00000000-0000-0000-0000-000000000000 Type: Storage
2012-06-19 09:50:07,334 INFO
[org.ovirt.engine.core.vdsbroker.irsbroker.CreateSnapshotVDSCommand]
(ajp--0.0.0.0-8009-7) [50705e1b] START,
CreateSnapshotVDSCommand(storagePoolId =
29decfa5-6776-45f2-be4c-5aa975e7decf, ignoreFailoverLimit = false,
compatabilityVersion = 3.1, storageDomainId =
573aae44-b52c-48c4-a588-6338baedced7, imageGroupId =
a5fe1b85-af8d-444b-be70-b0dfe9355593, imageSizeInBytes = 8589934592,
volumeFormat = COW, newImageId = cc9b435b-f9c0-4bd4-bb01-1d8f92016448,
newImageDescription = , imageId = 50d53c99-ffe7-4ae0-938b-c3f79720e13e,
sourceImageGroupId = a5fe1b85-af8d-444b-be70-b0dfe9355593), log id: 7b7a0fb2
2012-06-19 09:50:07,336 INFO
[org.ovirt.engine.core.vdsbroker.irsbroker.CreateSnapshotVDSCommand]
(ajp--0.0.0.0-8009-7) [50705e1b] --
CreateSnapshotVDSCommand::ExecuteIrsBrokerCommand: calling
'createVolume' with two new parameters: description and UUID
2012-06-19 09:50:07,336 INFO
[org.ovirt.engine.core.vdsbroker.irsbroker.CreateSnapshotVDSCommand]
(ajp--0.0.0.0-8009-7) [50705e1b] -- createVolume parameters:
2012-06-19 09:50:07,529 INFO
[org.ovirt.engine.core.vdsbroker.irsbroker.CreateSnapshotVDSCommand]
(ajp--0.0.0.0-8009-7) [50705e1b] FINISH, CreateSnapshotVDSCommand,
return: cc9b435b-f9c0-4bd4-bb01-1d8f92016448, log id: 7b7a0fb2
2012-06-19 09:50:07,572 INFO
[org.ovirt.engine.core.bll.AsyncTaskManager] (ajp--0.0.0.0-8009-7)
[50705e1b] AsyncTaskManager::AddTaskToManager: Adding task
2dcdc253-87f8-47cf-ba9f-80deaf131ce4 (Parent Command
CreateAllSnapshotsFromVm, Parameters Type
org.ovirt.engine.core.common.asynctasks.AsyncTaskParameters), polling
hasn't started yet..
2012-06-19 09:50:07,630 INFO
[org.ovirt.engine.core.bll.EntityMultiAsyncTasks] (ajp--0.0.0.0-8009-7)
[50705e1b] EntityMultiAsyncTasks::StartPollingTask: Current Action Type
for entity 88321641-ae26-4460-ab3e-30daa5a7fc1a is
CreateAllSnapshotsFromVm (determined by task
2dcdc253-87f8-47cf-ba9f-80deaf131ce4)
2012-06-19 09:50:13,628 INFO [org.ovirt.engine.core.bll.SPMAsyncTask]
(QuartzScheduler_Worker-76) SPMAsyncTask::PollTask: Polling task
2dcdc253-87f8-47cf-ba9f-80deaf131ce4 (Parent Command
CreateAllSnapshotsFromVm, Parameters Type
org.ovirt.engine.core.common.asynctasks.AsyncTaskParameters) returned
status finished, result 'success'.
2012-06-19 09:50:13,713 INFO [org.ovirt.engine.core.bll.SPMAsyncTask]
(QuartzScheduler_Worker-76) BaseAsyncTask::OnTaskEndSuccess: Task
2dcdc253-87f8-47cf-ba9f-80deaf131ce4 (Parent Command
CreateAllSnapshotsFromVm, Parameters Type
org.ovirt.engine.core.common.asynctasks.AsyncTaskParameters) ended
successfully.
2012-06-19 09:50:13,717 INFO
[org.ovirt.engine.core.bll.EntityAsyncTask] (QuartzScheduler_Worker-76)
EntityAsyncTask::EndAction: Ending action for 1 tasks (entity ID:
88321641-ae26-4460-ab3e-30daa5a7fc1a): calling EndAction for action type
CreateAllSnapshotsFromVm.
2012-06-19 09:50:13,719 INFO
[org.ovirt.engine.core.bll.EntityAsyncTask] (pool-3-thread-48)
EntityAsyncTask::EndCommandAction [within thread]context: Attempting to
EndAction CreateAllSnapshotsFromVm
2012-06-19 09:50:13,746 INFO
[org.ovirt.engine.core.bll.CreateAllSnapshotsFromVmCommand]
(pool-3-thread-48) [62433299] Ending command successfully:
org.ovirt.engine.core.bll.CreateAllSnapshotsFromVmCommand
2012-06-19 09:50:13,758 INFO
[org.ovirt.engine.core.vdsbroker.vdsbroker.SnapshotVDSCommand]
(pool-3-thread-48) [62433299] START, SnapshotVDSCommand(vdsId =
c7bfb9f6-b926-11e1-ba3b-d7d59418f024,
vmId=88321641-ae26-4460-ab3e-30daa5a7fc1a), log id: 2e483a2e
2012-06-19 09:50:13,832 ERROR
[org.ovirt.engine.core.vdsbroker.vdsbroker.BrokerCommandBase]
(pool-3-thread-48) [62433299] Failed in SnapshotVDS method
2012-06-19 09:50:13,833 ERROR
[org.ovirt.engine.core.vdsbroker.vdsbroker.BrokerCommandBase]
(pool-3-thread-48) [62433299] Error code SNAPSHOT_FAILED and error
message VDSGenericException: VDSErrorException: Failed to SnapshotVDS,
error = Snapshot failed
2012-06-19 09:50:13,834 INFO
[org.ovirt.engine.core.vdsbroker.vdsbroker.BrokerCommandBase]
(pool-3-thread-48) [62433299] Command
org.ovirt.engine.core.vdsbroker.vdsbroker.SnapshotVDSCommand return value
mMessage Snapshot failed
2012-06-19 09:50:13,836 ERROR
[org.ovirt.engine.core.vdsbroker.VDSCommandBase] (pool-3-thread-48)
[62433299] Command SnapshotVDS execution failed. Exception:
VDSErrorException: VDSGenericException: VDSErrorException: Failed to
SnapshotVDS, error = Snapshot failed
2012-06-19 09:50:13,837 INFO
[org.ovirt.engine.core.vdsbroker.vdsbroker.SnapshotVDSCommand]
(pool-3-thread-48) [62433299] FINISH, SnapshotVDSCommand, log id: 2e483a2e
2012-06-19 09:50:13,837 ERROR
[org.ovirt.engine.core.bll.CreateAllSnapshotsFromVmCommand]
(pool-3-thread-48) [62433299] Wasnt able to live snpashot due to error:
VdcBLLException: VdcBLLException:
org.ovirt.engine.core.vdsbroker.vdsbroker.VDSErrorException:
VDSGenericException: VDSErrorException: Failed to SnapshotVDS, error =
Snapshot failed, rolling back.
2012-06-19 09:50:13,840 ERROR
[org.ovirt.engine.core.bll.CreateSnapshotCommand] (pool-3-thread-48)
[50705e1b] Ending command with failure:
org.ovirt.engine.core.bll.CreateSnapshotCommand
2012-06-19 09:50:14,188 INFO
[org.ovirt.engine.core.bll.EntityAsyncTask] (pool-3-thread-48)
EntityAsyncTask::HandleEndActionResult [within thread]: EndAction for
action type CreateAllSnapshotsFromVm completed, handling the result.
2012-06-19 09:50:14,189 INFO
[org.ovirt.engine.core.bll.EntityAsyncTask] (pool-3-thread-48)
EntityAsyncTask::HandleEndActionResult [within thread]: EndAction for
action type CreateAllSnapshotsFromVm hasn't succeeded, clearing tasks.
Is live snapshots a new Ovirt feature? Taking a snapshot on a
non-running host is fine.
Winfried
12 years, 10 months
[Users] Backup functionality via Acronis
by David Wilson
This is a multi-part message in MIME format.
--------------080408040308090005030204
Content-Type: text/plain; charset=WINDOWS-1252; format=flowed
Content-Transfer-Encoding: quoted-printable
Hi guys,
First off well done to the oVirt contributors - it is an excellent product!
Has anyone tested Acronis Backup and Recovery with oVirt?
I am looking for a reliable way to backup guest oVirt disk images,=20
config and state. So far I've tried the popular script by Daniel=20
Berteaud 'virt-backup.pl' which works very well for our standard KVM=20
systems but I found that I had to disable libvirtd's SASL authentication=20
which caused oVirt to lose connectivity to the node and oVirt to fence=20
the node.
I thought I'd try a manual 'virsh save' but that causes oVirt to believe=20
that the guest has gone down which causes the guest to be automatically=20
migrated (I am running 2 nodes).
What experience have you had with backing up guests? I am not sure if=20
Acronis is the best way forward?
--=20
Get important Linux and industry-related news at: facebook.com/dcdata=20
<http://facebook.com/dcdata>
Kind regards,
David Wilson
CNS,CLS, LINUX+, CLA, DCTS, LPIC3
*LinuxTech CC t/a DcData*
CK number: 2001/058368/23
*Website:* =09http://www.dcdata.co.za
*Support:* =09+27(0)860-1-LINUX
*Mobile:* =09+27(0)824147413
*Tel:* =09+27(0)333446100
*Fax:* =09+27(0)866878971
--------------080408040308090005030204
Content-Type: text/html; charset=WINDOWS-1252
Content-Transfer-Encoding: quoted-printable
<html>
<head>
<meta http-equiv=3D"content-type" content=3D"text/html; charset=3DISO-8=
859-1">
</head>
<body bgcolor=3D"#FFFFFF" text=3D"#000000">
Hi guys,<br>
<br>
First off well done to the oVirt contributors - it is an excellent
product!<br>
<br>
Has anyone tested Acronis Backup and Recovery with oVirt?<br>
I am looking for a reliable way to backup guest oVirt disk images,
config and state. So far I've tried the popular script by Daniel
Berteaud 'virt-backup.pl' which works very well for our standard
KVM systems but I found that I had to disable libvirtd's SASL
authentication which caused oVirt to lose connectivity to the node
and oVirt to fence the node.<br>
I thought I'd try a manual 'virsh save' but that causes oVirt to
believe that the guest has gone down which causes the guest to be
automatically migrated (I am running 2 nodes).<br>
<br>
What experience have you had with backing up guests? I am not sure
if Acronis is the best way forward?<br>
<br>
<br>
<br>
<div class=3D"moz-signature">-- <br>
<br>
<br>
Get important Linux and industry-related news at: <a
href=3D"http://facebook.com/dcdata">facebook.com/dcdata</a><br>
<br>
<font color=3D"#000000"><font face=3D"arial" size=3D"2">Kind regards,=
</font><br>
<br>
<font color=3D"#000000"><font face=3D"arial"><font size=3D"4"=
>David
Wilson</font></font></font><br>
<font color=3D"#000000"><font face=3D"arial"><font size=3D"1"=
>CNS,CLS,
LINUX+, CLA, DCTS, LPIC3</font></font></font><br>
<font color=3D"#0779b5"><font face=3D"arial"><font size=3D"3"=
><b>LinuxTech
CC t/a DcData</b></font></font></font><br>
<font color=3D"#0779b5"><font face=3D"arial"><font size=3D"1"=
>CK
number: 2001/058368/23</font></font></font><br>
<table border=3D"0">
<tbody>
<tr>
<td width=3D"75"><font color=3D"#000000"><font face=3D"arial"=
><font
size=3D"2"><b>Website:</b></font></font></font></td>
<td><font color=3D"#000000"><font face=3D"arial"><font
size=3D"2"><a class=3D"moz-txt-link-freetext" href=3D=
"http://www.dcdata.co.za">http://www.dcdata.co.za</a></font></font></font><=
/td>
</tr>
<tr>
<td><font color=3D"#000000"><font face=3D"arial"><font
size=3D"2"><b>Support:</b></font></font></font></td>
<td><font color=3D"#000000"><font face=3D"arial"><font
size=3D"2">+27(0)860-1-LINUX</font></font></font></td=
>
</tr>
<tr>
<td><font color=3D"#000000"><font face=3D"arial"><font
size=3D"2"><b>Mobile:</b></font></font></font></td>
<td><font color=3D"#000000"><font face=3D"arial"><font
size=3D"2">+27(0)824147413</font></font></font></td>
</tr>
<tr>
<td><font color=3D"#000000"><font face=3D"arial"><font
size=3D"2"><b>Tel:</b></font></font></font></td>
<td><font color=3D"#000000"><font face=3D"arial"><font
size=3D"2">+27(0)333446100</font></font></font></td>
</tr>
<tr>
<td><font color=3D"#000000"><font face=3D"arial"><font
size=3D"2"><b>Fax:</b></font></font></font></td>
<td><font color=3D"#000000"><font face=3D"arial"><font
size=3D"2">+27(0)866878971</font></font></font></td>
</tr>
</tbody>
</table>
</font></div>
=20
<br><br>
<p style=3D"font-family: Verdana; font-size:8pt; color:#666666;" align=3D"j=
ustify">
Time to evaluate your email security provider? <a href=3D"http://www.mimeca=
st.com/emailsecurity/">Watch the video</a> and take advantage of Mimecast=
=92s first ever limited promotion.
</p>
</body>
</html>
--------------080408040308090005030204--
12 years, 10 months
[Users] Questions about ovirt engine
by Shu Ming
Hi,
I created a VM in my engine. And I found that every time I run the VM
after shutdown, the VM uuid was changed to a different not while the VM
itself was not changed including the VM name. Why doesn't engine keep
the UUID for a VM and use the UUID every time the VM starts? How can I
persistent my setting to a VM with "vdsClient", like the password set
by the "setVmTicket" command?
--
Shu Ming<shuming(a)linux.vnet.ibm.com>
IBM China Systems and Technology Laboratory
12 years, 10 months
[Users] Host setup for 3.1 beta
by Dennis Jacobfeuerborn
Hi,
is there a working way to add a host with the current beta code? I tried
the latest node iso and also a plain Fedora 17 with the latest vdsm
packages but in both cases the registration seems to succeed but the
installation seems to fail.
Regards,
Dennis
12 years, 10 months
[Users] Managing ovirt-node with Puppet - Bad idea?
by Trey Dockendorf
Currently I've been running all my KVM systems as standard libvirt
managed hypervisors with virt-manager for creating VMs. All the setup
of these systems was done via Puppet, including bridges and pool
definitions. Now that I've setup my first ovirt-node I'm wondering if
Puppet is appropriate on the ovirt-node.
The first thing that concerned me was libvirtd was not set to start on
boot after installing in the ovirt web interface, is this because the
vdsmd daemon starts/stops libvirtd? Also is is it safe to manage
things like vdsm.conf via Puppet or will ovirt-engine ever touch that
file outside of the bootstrap process?
Right now all my nodes will be bare CentOS 6.2 systems with a basic
KVM / libvirt hypervisor and then vdsm. What I'm curious of is if
anyone has suggestions or insight into whether or not something like
Puppet should be managing ovirt-nodes. Ideally I'd like to use a bare
hypervisor like RHEV-H or the oVirt-node ISO but all I have access to
is the later and I'm very weary of having anywhere Fedora in my data
center aside from my desktop. So far Puppet has proven useful in the
process of setting up the ovirt-node prior to adding it to oVirt
interface, but I'm worried something I'm enforcing will be changed by
ovirt and then changed back by Puppet and break my setup.
Thanks
- Trey
12 years, 10 months
[Users] ovirt 3.1 and backup (created in storage 3.0)
by ??????
This is a multi-part message in MIME format.
------=_NextPart_000_0812_01CD4B24.B0F478D0
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: 7bit
I'm trying to import a virtual machine from the backup storage created in
3.0 ovirt.
Ovirt 3.1 does not detects the presence of virtual machines in the backup
storage, giving the error:
Failed to read VM "wifi-test" OVF, it mau be corrupted
How do I restore the virtual machine?
------=_NextPart_000_0812_01CD4B24.B0F478D0
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-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=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dus-ascii">
<meta name=3DGenerator content=3D"Microsoft Word 12 (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";}
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;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:2.0cm 42.5pt 2.0cm 3.0cm;}
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=3DRU link=3Dblue =
vlink=3Dpurple><div class=3DWordSection1><p class=3DMsoNormal><span =
lang=3DEN-US>I'm trying to import a virtual machine from the backup =
storage created in 3.0 ovirt. <o:p></o:p></span></p><p =
class=3DMsoNormal><span lang=3DEN-US>Ovirt 3.1 does not detects the =
presence of virtual machines in the backup storage, giving the =
error:<o:p></o:p></span></p><p class=3DMsoNormal><span =
lang=3DEN-US>Failed to read VM “wifi-test” OVF, it mau be =
corrupted<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>How do I restore the virtual =
machine?<o:p></o:p></span></p><p class=3DMsoNormal><span =
lang=3DEN-US><o:p> </o:p></span></p></div></body></html>
------=_NextPart_000_0812_01CD4B24.B0F478D0--
12 years, 10 months
[Users] ovirt-node-iso-2.4.0-1.1.fc17.iso - VDSM fails
by Winfried de Heiden
Hi,
I installed the latest ovirt-node from Ovirt-beta. Installation is OK,
registration to the Ovirt-Manager also. After approving the node, vdsm
is not running; /var/log/vdsm/vdsm.log tells:
MainThread::INFO::2012-06-18
08:06:50,365::vmChannels::139::vds::(settimeout) Setting channels'
timeout to 30 seconds.
VM Channels Listener::INFO::2012-06-18
08:06:50,366::vmChannels::127::vds::(run) Starting VM channels listener
thread.
MainThread::ERROR::2012-06-18
08:06:50,373::clientIF::151::vds::(_prepareBindings) Unable to load the
rest server module. Please make sure it is installed.
MainThread::ERROR::2012-06-18 08:07:10,907::vdsm::73::vds::(run)
Exception raised
Some details:
[root@kvm vdsm]# rpm -qi ovirt-node
Name : ovirt-node
Version : 2.4.0
Release : 1.fc17
Architecture: noarch
Install Date: Fri Jun 15 01:54:48 2012
Group : Applications/System
Size : 902789
License : GPLv2+
Signature : (none)
Source RPM : ovirt-node-2.4.0-1.fc17.src.rpm
Build Date : Thu Jun 14 16:56:59 2012
Build Host : mburns-laptop.usersys.redhat.com
Relocations : (not relocatable)
URL : http://www.ovirt.org/
Summary : The oVirt Node daemons/scripts
Description :
Provides a series of daemons and support utilities for hypervisor
distribution.
[root@kvm vdsm]# rpm -qi vdsm
Name : vdsm
Version : 4.10.0
Release : 1.fc17
Architecture: x86_64
Install Date: Fri Jun 15 01:54:59 2012
Group : Applications/System
Size : 2422457
License : GPLv2+
Signature : (none)
Source RPM : vdsm-4.10.0-1.fc17.src.rpm
Build Date : Mon Jun 11 09:25:28 2012
Build Host : x86-15.phx2.fedoraproject.org
Relocations : (not relocatable)
Packager : Fedora Project
Vendor : Fedora Project
URL : http://www.ovirt.org/wiki/Vdsm
Summary : Virtual Desktop Server Manager
Description :
The VDSM service is required by a Virtualization Manager to manage the
Linux hosts. VDSM manages and monitors the host's storage, memory and
networks as well as virtual machine creation, other host administration
tasks, statistics gathering, and log collection.
[root@kvm vdsm]# rpm -qa | grep vdsm
vdsm-reg-4.10.0-1.fc17.noarch
vdsm-python-4.10.0-1.fc17.x86_64
vdsm-xmlrpc-4.10.0-1.fc17.noarch
vdsm-4.10.0-1.fc17.x86_64
vdsm-cli-4.10.0-1.fc17.noarch
12 years, 10 months