name of virtual machine and hostname
by nicola gentile
Good morning,
I would like to ask you an information.
After I have installed ovirt, I have created a pool of vm with name
like centos-?? (from 1 to 20)
and then ovirt generated 20 vm with name centos-1, centos-2, centos-3 etc. etc.
The problem is when the vm starts the hostname is not the same of the
vm name in ovirt but is the same name of the template.
Is it possible to make sure that the name of vm and the hostname is identical?
Best regard
Nicola Gentile
9 years, 10 months
ovirt 3.5 rc2 unable to mount cd on running VM
by Gianluca Cecchi
Hello,
installed a CentOS 6.5 x86_64 vm from iso (create VM and then run once
connecting CD iso).
System reboot several times and power on from web admin gui and all seems
ok.
At a certain point I upload guest-tools iso to my engine for future windows
VMs.
Taken ovirt-guest-tools-3.5_5.iso and try to mount it
In engine the downloaded file seems ok and I can loop mount it for test.
[root@ovirtmgr ~]# mount -o loop ovirt-guest-tools-3.5_5.iso /media
[root@ovirtmgr ~]# ll /media
total 19382
dr-xr-xr-x. 4 root root 2048 Jul 7 13:21 bin
dr-xr-xr-x. 4 root root 2048 Jul 6 17:25 drivers
-r--r--r--. 1 root root 19839504 Jul 17 12:49 ovirt-guest-tools-setup.exe
-r--r--r--. 1 root root 88 Jul 7 13:18 version.txt
-r--r--r--. 1 root root 2266 Jul 2 16:40 win-driver-license.txt
[root@ovirtmgr ~]# umount /media
[root@ovirtmgr ~]# md5sum ovirt-guest-tools-3.5_5.iso
ad98fc5db09183acd1620b5effb5e151 ovirt-guest-tools-3.5_5.iso
Also the uploaded file seems ok
[root@ovirtmgr ovirt-engine]# md5sum
/var/lib/exports/iso/3b23161a-18a3-4cfa-bc78-f4fe2052b19e/images/11111111-1111-1111-1111-111111111111/ovirt-guest-tools-3.5_5.iso
ad98fc5db09183acd1620b5effb5e151
/var/lib/exports/iso/3b23161a-18a3-4cfa-bc78-f4fe2052b19e/images/11111111-1111-1111-1111-111111111111/ovirt-guest-tools-3.5_5.iso
If I try to connect cd to the running VM from web admin portal I get a
window with the error:
Error while executing action Change CD: Internal Engine Error
In events:
Failed to change disk in VM c65new (Host: ovnode04, User: admin).
In engine.log
2014-09-23 00:33:43,022 INFO [org.ovirt.engine.core.bll.ChangeDiskCommand]
(ajp--127.0.0.1-8702-5) [22041
702] Running command: ChangeDiskCommand internal: false. Entities affected
: ID: 0ce8ebc0-8464-4e9a-b382-1836234b3560 Type: VMAction group
CHANGE_VM_CD with role type USER
2014-09-23 00:33:43,028 INFO
[org.ovirt.engine.core.vdsbroker.vdsbroker.IsoPrefixVDSCommand]
(ajp--127.0.0.1-8702-5) [22041702] START, IsoPrefixVDSCommand(HostName =
ovnode04, HostId = 36fec87b-c21f-4157-ab2f-434b67c05cb9,
storagePoolId=4512e567-f94e-476a-a050-6cd0a15e260a), log id: 26c82fe2
2014-09-23 00:33:43,028 INFO
[org.ovirt.engine.core.vdsbroker.vdsbroker.IsoPrefixVDSCommand]
(ajp--127.0.0.1-8702-5) [22041702] FINISH, IsoPrefixVDSCommand, return:
/rhev/data-center/mnt/ovirtmgr.localdomain.local:_var_lib_exports_iso/3b23161a-18a3-4cfa-bc78-f4fe2052b19e/images/11111111-1111-1111-1111-111111111111,
log id: 26c82fe2
2014-09-23 00:33:43,029 INFO
[org.ovirt.engine.core.vdsbroker.vdsbroker.ChangeDiskVDSCommand]
(ajp--127.0.0.1-8702-5) [22041702] START, ChangeDiskVDSCommand(HostName =
ovnode04, HostId = 36fec87b-c21f-4157-ab2f-434b67c05cb9,
vmId=0ce8ebc0-8464-4e9a-b382-1836234b3560,
diskPath=/rhev/data-center/mnt/ovirtmgr.localdomain.local:_var_lib_exports_iso/3b23161a-18a3-4cfa-bc78-f4fe2052b19e/images/11111111-1111-1111-1111-111111111111/ovirt-guest-tools-3.5_5.iso),
log id: 12ce4870
2014-09-23 00:33:43,060 ERROR
[org.ovirt.engine.core.vdsbroker.vdsbroker.ChangeDiskVDSCommand]
(ajp--127.0.0.1-8702-5) [22041702] Failed in ChangeDiskVDS method, for vds:
ovnode04; host: 192.168.1.74
2014-09-23 00:33:43,061 ERROR
[org.ovirt.engine.core.vdsbroker.vdsbroker.ChangeDiskVDSCommand]
(ajp--127.0.0.1-8702-5) [22041702] Command ChangeDiskVDSCommand(HostName =
ovnode04, HostId = 36fec87b-c21f-4157-ab2f-434b67c05cb9,
vmId=0ce8ebc0-8464-4e9a-b382-1836234b3560,
diskPath=/rhev/data-center/mnt/ovirtmgr.localdomain.local:_var_lib_exports_iso/3b23161a-18a3-4cfa-bc78-f4fe2052b19e/images/11111111-1111-1111-1111-111111111111/ovirt-guest-tools-3.5_5.iso)
execution failed. Exception: NullPointerException:
2014-09-23 00:33:43,063 INFO
[org.ovirt.engine.core.vdsbroker.vdsbroker.ChangeDiskVDSCommand]
(ajp--127.0.0.1-8702-5) [22041702] FINISH, ChangeDiskVDSCommand, log id:
12ce4870
2014-09-23 00:33:43,063 ERROR [org.ovirt.engine.core.bll.ChangeDiskCommand]
(ajp--127.0.0.1-8702-5) [22041702] Command
org.ovirt.engine.core.bll.ChangeDiskCommand throw Vdc Bll exception. With
error message VdcBLLException: java.lang.NullPointerException (Failed with
error ENGINE and code 5001)
2014-09-23 00:33:43,069 ERROR [org.ovirt.engine.core.bll.ChangeDiskCommand]
(ajp--127.0.0.1-8702-5) [22041702] Transaction rolled-back for command:
org.ovirt.engine.core.bll.ChangeDiskCommand.
2014-09-23 00:33:43,083 ERROR
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]
(ajp--127.0.0.1-8702-5) [22041702] Correlation ID: 22041702, Job ID:
a6be11b2-bb67-49ec-b3fc-695e8eab36b2, Call Stack: null, Custom Event ID:
-1, Message: Failed to change disk in VM c65new (Host: ovnode04, User:
admin).
No errors in vdsm.log of host and in VM logfile under /var/log/libvirt/qemu
on hypervisor.
The Vm runs with this command line generated by oVirt
qemu 31193 1 0 Sep16 ? 01:36:41 /usr/libexec/qemu-kvm -name
c65new -S -M rhel6.5.0 -cpu Nehalem -enable-kvm -m 2048 -realtime mlock=off
-smp 2,maxcpus=16,sockets=16,cores=1,threads=1 -uuid
0ce8ebc0-8464-4e9a-b382-1836234b3560 -smbios
type=1,manufacturer=oVirt,product=oVirt
Node,version=6-5.el6.centos.11.2,serial=9B1B2F84-3CB9-11DE-B5A1-001517B493E8,uuid=0ce8ebc0-8464-4e9a-b382-1836234b3560
-nodefconfig -nodefaults -chardev
socket,id=charmonitor,path=/var/lib/libvirt/qemu/c65new.monitor,server,nowait
-mon chardev=charmonitor,id=monitor,mode=control -rtc
base=2014-09-16T00:22:11,driftfix=slew -no-kvm-pit-reinjection -no-shutdown
-device piix3-usb-uhci,id=usb,bus=pci.0,addr=0x1.0x2 -device
virtio-scsi-pci,id=scsi0,bus=pci.0,addr=0x4 -device
virtio-serial-pci,id=virtio-serial0,max_ports=16,bus=pci.0,addr=0x5 -drive
if=none,media=cdrom,id=drive-ide0-1-0,readonly=on,format=raw,serial=
-device ide-drive,bus=ide.1,unit=0,drive=drive-ide0-1-0,id=ide0-1-0 -drive
file=/rhev/data-center/4512e567-f94e-476a-a050-6cd0a15e260a/346732c8-e1e9-49de-9ca4-63f4477ef6dd/images/f9c73080-8653-44bd-9bd9-acc7a9925971/72821a56-1806-4b8f-bd73-7b5ef4f3c12f,if=none,id=drive-scsi0-0-0-0,format=qcow2,serial=f9c73080-8653-44bd-9bd9-acc7a9925971,cache=none,werror=stop,rerror=stop,aio=native
-device
scsi-hd,bus=scsi0.0,channel=0,scsi-id=0,lun=0,drive=drive-scsi0-0-0-0,id=scsi0-0-0-0,bootindex=1
-netdev tap,fd=26,id=hostnet0,vhost=on,vhostfd=27 -device
virtio-net-pci,netdev=hostnet0,id=net0,mac=00:01:a4:a3:42:01,bus=pci.0,addr=0x3
-chardev
socket,id=charchannel0,path=/var/lib/libvirt/qemu/channels/0ce8ebc0-8464-4e9a-b382-1836234b3560.com.redhat.rhevm.vdsm,server,nowait
-device
virtserialport,bus=virtio-serial0.0,nr=1,chardev=charchannel0,id=channel0,name=com.redhat.rhevm.vdsm
-chardev
socket,id=charchannel1,path=/var/lib/libvirt/qemu/channels/0ce8ebc0-8464-4e9a-b382-1836234b3560.org.qemu.guest_agent.0,server,nowait
-device
virtserialport,bus=virtio-serial0.0,nr=2,chardev=charchannel1,id=channel1,name=org.qemu.guest_agent.0
-chardev spicevmc,id=charchannel2,name=vdagent -device
virtserialport,bus=virtio-serial0.0,nr=3,chardev=charchannel2,id=channel2,name=com.redhat.spice.0
-chardev pty,id=charconsole0 -device
virtconsole,chardev=charconsole0,id=console0 -spice
port=5900,tls-port=5901,addr=192.168.1.74,x509-dir=/etc/pki/vdsm/libvirt-spice,tls-channel=main,tls-channel=display,tls-channel=inputs,tls-channel=cursor,tls-channel=playback,tls-channel=record,tls-channel=smartcard,tls-channel=usbredir,seamless-migration=on
-k en-us -vga qxl -global qxl-vga.ram_size=67108864 -global
qxl-vga.vram_size=33554432 -device
virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x6
It seems to be a general problem. Tried also to mount the iso of CentOS 6.5
that I used to install the VM itself but I get the same error.
Donna if it is somehow related also with what I previously wrote about cd
and install in 3.5 rc2; see
http://lists.ovirt.org/pipermail/users/2014-September/027465.html
Gianluca
9 years, 11 months
Re: [ovirt-users] [ovirt-devel] virt-v2v integration feature
by Sven Kieske
Am 09.07.2014 20:30, schrieb Arik Hadas:
> Hi All,
>
> The proposed feature will introduce a new process of import virtual machines from external systems using virt-v2v in oVirt.
> I've created a wiki page that contains initial thoughts and design for it:
> http://www.ovirt.org/Features/virt-v2v_Integration
>
> You are more than welcome to share your thoughts and insights.
>
> Thanks,
> Arik
Am I right that this still involves a full operational e.g. esxi host
to import vmware vms?
There is a huge user demand on a simpler process for just converting and
importing an vmware disk image. This feature will not solve this
use case, will it?
--
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
9 years, 12 months
Sizing the master storage domain
by Nicolas Ecarnot
Hi,
I know Itamar explained that the notion of master storage domain will
disappear in some releases.
But now, with a 3.4 I'm installing, I was wondering :
- on my other oVirt setups, I started with one big (iSCSI) LUN, which is
the master, and stored as many VMs I could
- when space came to miss, I added another LUN, the another...
- when I have to do some maintenance (grow, disable, other...) on a LUN,
I can move my VM disks amongst the normal storage domains. When Empty, I
can switch them off, add others, and so on
The only one I can not play with is the master one.
I came to think that I had no benefice storing anything on the master
storage domain, and use only the normal storage domains.
And then, I came to think I had no reason to dedicate a huge LUN for the
master.
Ok, but according to you, what is the minimum reasonable size for a
master storage domain?
--
Nicolas Ecarnot
10 years
GlusterFS Distributed Replicate HA with KeepAlived
by Punit Dambiwal
Hi,
I have 4 node GlusterFS Distributed Replicate volume...the same 4 host node
i am using for compute purpose....now i want to make it HA....so if any
host goes down .....VM will not pause and it will migrate to another
available node...
1. Can any one have any document or reference to do this with keepalived...
2. I have one more node as spare...so if any host goes down and can not
come up again because of any HW failure...i can add it...but i didn't find
any way to add these bricks to volume...??
Thanks,
Punit
10 years
[Users] connecting to oVirt/RHEV VMs through proxy and the oVirt API
by i iordanov
Hello,
My apologies for cross-posting, but this discussion concerns both mailing
lists, I think.
In Opaque, I recently started setting the proxy property of SpiceSession
from a console file, as is done in remote-viewer, in order to support
installations where the nodes are not "visible" from the point of view of
the client.
However, then I remembered that I have not seen the proxy property being
available through the oVirt/RHEV API. I looked at the latest remote-viewer
code, and I looked through the oVirt/RHEV API documentation, and indeed, I
see no way to get proxy information other than through the console.vv file.
If I am correct, then this means that both Opaque and remote-viewer cannot
connect to VMs behind a proxy unless a console.vv file is used, which also
means that since console.vv files are unobtainable through the User Portal
on mobile devices, mobile devices effectively cannot at all connect to such
VMs if the user is not an Administrator.
Would it be possible to expose the proxy parameter through the API? I
couldn't find a bug opened about this, but it doesn't mean it isn't there
:).
Thanks!
iordan
--
The conscious mind has only one thread of execution.
10 years
[Users] oVirt Weekly Meeting Minutes -- 2013-10-30
by Mike Burns
Minutes: http://ovirt.org/meetings/ovirt/2013/ovirt.2013-10-30-14.00.html
Minutes (text):
http://ovirt.org/meetings/ovirt/2013/ovirt.2013-10-30-14.00.txt
Log: http://ovirt.org/meetings/ovirt/2013/ovirt.2013-10-30-14.00.log.html
============================
#ovirt: oVirt Weekly Meeting
============================
Meeting started by mburns at 14:00:43 UTC. The full logs are available
at http://ovirt.org/meetings/ovirt/2013/ovirt.2013-10-30-14.00.log.html
.
Meeting summary
---------------
* Agenda and roll call (mburns, 14:00:59)
* 3.3 update releases (mburns, 14:01:06)
* 3.4 planning (mburns, 14:01:11)
* conferences and workshops (mburns, 14:01:19)
* infra update (mburns, 14:01:23)
* other topics (mburns, 14:01:28)
* oVirt 3.3 updates (mburns, 14:07:09)
* 3.3.1 beta was posted last week (mburns, 14:07:26)
* all pending bugs have patches that are merged (mburns, 14:08:08)
* new build coming today (mburns, 14:08:15)
* ACTION: ybronhei to build vdsm with one additional fix (for selinux
issues) (mburns, 14:09:41)
* ACTION: fabiand_ to build new ovirt-node images once vdsm is ready
(mburns, 14:09:46)
* ACTION: sbonazzo to build new ovirt-engine (mburns, 14:10:00)
* tentative plan is to have some testing this week, and release early
next week (assuming no issues) (mburns, 14:10:31)
* ACTION: mburns to send notice of new packages out once they're
available (mburns, 14:12:08)
* LINK:
http://lists.ovirt.org/pipermail/users/2013-October/017263.html do
you want me to do bug report for this? (samppah, 14:16:16)
* ACTION: sahina to follow up on gluster domains using fuse instead of
native gluster (mburns, 14:20:14)
* ovirt 3.4 release (mburns, 14:28:35)
* code freeze is at end of December (mburns, 14:28:49)
* Release set for end of January (mburns, 14:28:56)
* still need to do some work to get a list of features committed for
this release (mburns, 14:29:35)
* ACTION: sbonazzo to create 3.4 release management page (mburns,
14:31:27)
* with links to itamar's feature planning doc (mburns, 14:31:49)
* more details on exact dates, builds, beta, test days, etc to come in
the next few weeks (mburns, 14:33:31)
* Conferences and Workshops (mburns, 14:35:24)
* big developer meetup last week during KVM Forum/LinuxCon EU
(mburns, 14:35:41)
* many talks, many sessions across all the
conferences/workshops/meetings (mburns, 14:35:59)
* itamar sent a writeup already detailing the event to the ovirt
mailing lists (mburns, 14:36:53)
* planning for future presentations and workshops is underway, but no
details just yet (mburns, 14:37:34)
* there will be a devroom at FOSDEM and it's open for CFP now
(mburns, 14:38:18)
* plan is to have at least a few oVirt related talks there (mburns,
14:38:42)
* and hopefully a booth as well (mburns, 14:39:48)
* Infra updates (mburns, 14:41:02)
* no updates from infra team this week, please see their meeting
minutes for updates (mburns, 14:44:22)
* Other topics (mburns, 14:44:26)
* LINK:
https://en.wikipedia.org/wiki/Posting_style#Choosing_the_proper_posting_s...
(SvenKieske, 14:47:13)
Meeting ended at 14:52:41 UTC.
Action Items
------------
* ybronhei to build vdsm with one additional fix (for selinux issues)
* fabiand_ to build new ovirt-node images once vdsm is ready
* sbonazzo to build new ovirt-engine
* mburns to send notice of new packages out once they're available
* sahina to follow up on gluster domains using fuse instead of native
gluster
* sbonazzo to create 3.4 release management page
Action Items, by person
-----------------------
* fabiand_
* fabiand_ to build new ovirt-node images once vdsm is ready
* mburns
* mburns to send notice of new packages out once they're available
* sahina
* sahina to follow up on gluster domains using fuse instead of native
gluster
* sbonazzo
* sbonazzo to build new ovirt-engine
* sbonazzo to create 3.4 release management page
* ybronhei
* ybronhei to build vdsm with one additional fix (for selinux issues)
* **UNASSIGNED**
* (none)
People Present (lines said)
---------------------------
* mburns (79)
* danken (23)
* itamar (18)
* sbonazzo (10)
* samppah (6)
* ovirtbot (6)
* SvenKieske (5)
* fabiand_ (4)
* JosueDelgado (3)
* backblue (3)
* sahina (2)
* YamakasY (1)
* lvernia (1)
* apuimedo (1)
* ybronhei (1)
Generated by `MeetBot`_ 0.1.4
.. _`MeetBot`: http://wiki.debian.org/MeetBot
10 years, 1 month
delete snapshots or create a template make a huge impact on VMs on SPM-node
by Ricky Schneberger
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
When we do some tasks in ovirt as delete an snapshot or clone a machine
or just want to make a machine template the impact on VMs residing on
the SPM node is huge. Is there a way to prevent this? This is just
normal tasks and we do this all the time.
- --
Ricky Schneberger
- ------------------------------------
DANGER! Human at keyboard!
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iEYEARECAAYFAlQkA0AACgkQOap81biMC2MfdwCdEe4PJs0OdQwqsrNVg4qmGwuJ
Tp4An0rnDMjHf2JcS/lC7d4pBb3G9Jzw
=5yO2
-----END PGP SIGNATURE-----
10 years, 1 month
[Users] How to See Ovirt Console From a Remote Windows Host
by Jon Forrest
I know that this is simple for some of you, but I also
know from Googling around that lots of people have had
trouble seeing their ovirt console from a remote Windows
host. Below I describe what finally worked for me. I hope
this helps somebody avoid wasting as much time as I did
today.
I'm a fairly experienced VMWare user who's learning ovirt.
I just installed an all-in-one ovirt server and copied a
CentOS 6.5 iso into it. I then tried to boot a new VM
but soon learned that console access is different in ovirt
than on VMWare.
I then spent over an hour trying the various documented
ways to view a remote console using Spice on my Windows 7
desktop. I even tried using a Linux VM to see if the Firefox
plugin for Spice would work. Nothing.
What finally worked was installing the virt-viewer Windows
client (http://virt-manager.org/download/). Then, I opened
the ovirt Administration Portal in Firefox running on my
Windows 7 desktop. I created a new VM and configured it
the way I wanted. Then, from the "Virtual Machines" tab, I started
the new VM. Pretty soon the little console icon turned green so
I clicked on it. I got the prompt from Firefox asking me what
app I wanted to associate with the ".vv" URL that opened when
I clicked on the console icon. I browsed around and selected
\Program Files\VirtViewer\bin\remote-viewer.exe
which is from the virt-viewer client package I installed above.
I told Firefox to always use this app for this kind of file.
This works great! I was able to boot the CentOS system and
install it with no problems.
Good luck!
Jon Forrest
10 years, 1 month