Re: [ovirt-users] Ovirt All in one spice-sound

2016-05-10 Thread David Jaša
Hi Johan,

On Út, 2016-05-10 at 18:23 +0200, Johan Vermeulen wrote:
> Hello All,
> 
> 
> I've set up an all in one install on Ovirt3.5
> 
> 
> All though I've done it before, for the life of me
> 
> I can't get sound to work with Spice sessions.
> 
> I tried auto, native, browser plugin and html5.
> 
> 
> Following this page:.
> http://www.ovirt.org/develop/infra/testing/spice/
> 
> I've installed xorg-x11-drv-qxl and installed and started
> spice-vdagent

So the VM is Fedora/RHEL/CentOS? What is the client system and
virt-viewer/remote-viewer version btw?

> 
> 
> in Edit virtual -machine-console, enable sound card is checked.
> 

can the VM see the soundcard? (look to Sound Settings or lspci or alsa
utilities or ...)

> 
> What else is needed to get this to work?
> 

If the sound card is not detected in the VM, can you paste qemu command
line? (It's available on the host in /var/log/libvirt/qemu/VM_NAME.log,
it's a very long line right after domain - VM in libvirt terminology -
start message).

HTH,

David

> 
> Many thanks for any advise
> 
> Greetings, J.
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users


___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] Exclamation mark on Windows guests Ovirt 3.6.5

2016-05-10 Thread Bond, Darryl
Why do all my windows guests display an exclamation mark with the message 
'Actual operating system type differs from the configuration' They don't.

There is a variety of Windows OS installed from XP to Server 2102 all 
configured correctly.

My linux VM's don't have an exclamation mark


I installed the QEMU guest tools on an XP guest. No difference.

vdsClient -s 0 getVmStats  show no obvious difference between the 
Windows and linux guests.



Regards

Darryl

?




The contents of this electronic message and any attachments are intended only 
for the addressee and may contain legally privileged, personal, sensitive or 
confidential information. If you are not the intended addressee, and have 
received this email, any transmission, distribution, downloading, printing or 
photocopying of the contents of this message or attachments is strictly 
prohibited. Any legal privilege or confidentiality attached to this message and 
attachments is not waived, lost or destroyed by reason of delivery to any 
person other than intended addressee. If you have received this message and are 
not the intended addressee you should notify the sender by return email and 
destroy all copies of the message and any attachments. Unless expressly 
attributed, the views expressed in this email do not necessarily represent the 
views of the company.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] virt-in-virt problem: DHCP failing for a container in a oVirt VM

2016-05-10 Thread Yedidyah Bar David
On Tue, May 10, 2016 at 8:36 PM, Will Dennis  wrote:
> Hi Simone,
>
> Sorry but I'm just getting back to this... Not sure where/how one might 
> implement the hook you have indicated... It looks to be VM-specific, but I 
> don't see anywhere in either the Admin UI or the User portal UI to set such a 
> parameter... Can you give me instructions on how to implement this?
>

Please check the README that Simone linked to.

You have to add a property using engine-config.
It will appear in the ui when editing a VM, under custom properties.

> -Original Message-
> From: Simone Tiraboschi [mailto:stira...@redhat.com]
> Sent: Monday, May 09, 2016 3:54 AM
> To: Yaniv Kaul
> Cc: Will Dennis; users@ovirt.org
> Subject: Re: [ovirt-users] virt-in-virt problem: DHCP failing for a container 
> in a oVirt VM
>
> There is also a specific VDSM hook to address this configuration:
> https://github.com/oVirt/vdsm/tree/master/vdsm_hooks/macspoof
>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users



-- 
Didi
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] oVirt All-in-One upgrade path and requested improvements

2016-05-10 Thread Yedidyah Bar David
On Tue, May 10, 2016 at 6:20 PM, Neal Gompa  wrote:
> Hello,
>
> I recently found out that oVirt "deprecated" the All-in-One
> configuration option in oVirt 3.6 and removed it in oVirt 4.0. This is
> a huge problem for me, as it means that my oVirt machines don't have
> an upgrade path.
>
> My experiments with the self-hosted engine have ended in failure for a
> couple of reasons:
> * The hosted engine deploy expects that a FQDN is already paired with
> an IP address. This is obviously false in most home environments, and
> even in the work environment where I use oVirt regularly. There's no
> workaround for this (except having a third machine to run the
> engine!), and this utterly breaks the only way to use oVirt in a
> DHCP-centric environment where I may not control the network
> addressing.

There is a simple workaround:

1. Pick up an FQDN for the engine
2. Add a relevant line to /etc/hosts on the host, with a fake
IP address
3. After the engine VM is up and you know its IP address, fix
the line in /etc/hosts to map to the real address. Also add the
same line to /etc/hosts on the engine vm (and all other hosts).

I agree it's ugly, but I use this quite a lot when I have to.

>
> * Other error states have caused the whole thing to break and just
> leave the system a broken mess. With no way to clean up, I'm left
> guessing how to undo everything, which is hellish and leads me to just
> wipe the whole system and start over.

Unlike engine-setup, which is used also for upgrades, hosted-engine
--deploy is ran only for a clean install, so reinstalling the host
is much easier than implementing full rollback as in engine-setup.

See also:

https://bugzilla.redhat.com/show_bug.cgi?id=1001181
http://www.ovirt.org/documentation/how-to/hosted-engine/#recoving-from-failed-install

>
> In addition, I was hoping that there would be improvements with the
> single system case, rather than destruction of this capability. Some
> of the improvements are things I think would be useful in even a
> multi-node setup, too.
>
> For example, I would like to see live migration capabilities with
> local storage across datacenters, as this capability in vMotion makes
> deployments a lot more flexible. Sometimes, local storage is really
> the only way to get the kind of speed needed for some workloads, and
> being able to offer some kind of HA for VMs on local storage would be
> excellent. In addition to being useful for all-in-one setups, it's
> quite useful for self-hosted engine configurations, too.
>
> It's also rather irritating that there's no way to migrate stuff from
> shared storage to local storage and back. On top of that, datacenters
> that have local storage can't have shared storage or vice versa.
>
> On top of that, it looks like the all-in-one code is being kept around
> anyway for the oVirt Live stuff, so why not just keep the capability
> and improve it? oVirt should become the best virtualization solution
> for everyone, not just people who have access to huge datacenters
> where all the conditions are perfect.

You mention several different issues, some unrelated or even irrelevant
to all-in-one. I'd suggest opening a thread and/or RFE per each. I'll not
personally comment because it's not my expertise.

For all-in-one, I tend to agree with Nir: What's wrong with virt-manager?

>
>
>
> --
> 真実はいつも一つ!/ Always, there's only one truth!
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users



-- 
Didi
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] 3.6.5.3: UI Uncaught Exception: New VM from Template

2016-05-10 Thread Oved Ourfali
On May 10, 2016 20:05, "Richard Chan"  wrote:
>
>
>
> On Tue, May 10, 2016 at 11:34 PM, Alexander Wels  wrote:
>>
>>
>> Looks like they already did that as the bottom stack trace has this in
it:
>> org.ovirt.engine.ui.uicommonweb.models.storage.DisksAllocationModel.
>> $updateImageToDestinationDomainMap(DisksAllocationModel.java:288)
>>
>> So looks like an issue in DiskAllocationModel.
>
>
> [SOLVED: user permissions problem]
> I managed to solve the issue: the user did not have sufficient
permissions on the Storage domain. Assigning the user PowerUser role made
VM creation from template work.
>
> RFE: the UI error messages and even the unobfuscated stack trace are not
really very helpful. Is there any way that error reporting can be improved?
> Some pop-up "Insufficient permissions" like the ovirt-shell command line?
>
>

Sounds like a bug in this dialog. Can you open a bug on that? Probably on
storage team.

>
>
> Richard Chan
>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] vioscsi.sys BSOD with Win 7

2016-05-10 Thread Arman Khalatyan
Same bsod was with win2008 server, in order to fix it we changed nics to
e1000 and disks to IDE. Now it boots w/o trouble.
Am 10.05.2016 7:43 nachm. schrieb "Cam Mac" :

> Hi Tomas,
>
> The install went ok, but Windows complains:
>
> "File: \windows\system32\drivers\vioscsi.sys
> status: 0xc428
> Windows cannot verify the digital signature for this file"
>
> Regards,
>
> Campbell
>
> On Tue, May 10, 2016 at 6:29 PM, Cam Mac  wrote:
>
>> Hi Tomas,
>>
>> Thanks, I will test that later tonight and let you know.
>>
>> Regards,
>>
>> Cam
>>
>> On Tue, May 10, 2016 at 3:28 PM, Tomas Jelinek 
>> wrote:
>>
>>> Hi,
>>>
>>> please try to install this guest tools:
>>>
>>> http://resources.ovirt.org/pub/ovirt-3.6/rpm/el6/noarch/ovirt-guest-tools-iso-3.6-3.fc23.noarch.rpm
>>>
>>> Also please make sure you point windows to the correct driver in the
>>> sub-directory for w7
>>>
>>> Tomas
>>>
>>> - Original Message -
>>> > From: "Cam Mac" 
>>> > To: users@ovirt.org
>>> > Sent: Monday, May 9, 2016 7:28:57 PM
>>> > Subject: [ovirt-users] vioscsi.sys BSOD with Win 7
>>> >
>>> > Hi,
>>> >
>>> > I'm running oVirt 3.6.3.4-1.el7.centos and when I install a Win 7
>>> guest VM,
>>> > using VirtIO disk, networking etc, it goes through the install process
>>> ok,
>>> > but blue screens upon boot with a vioscsi.sys error (attached). I have
>>> tried
>>> > the official version ovirt-guest-tools-iso 3.6.0 0.2_master.fc22, as
>>> well as
>>> > some earlier and later versions. I am using a PXE boot method with a
>>> Windows
>>> > deployment server, which has the drivers from the oVirt tools ISO
>>> installed
>>> > (indeed, it picks up the drive and networking and I can see it
>>> installing
>>> > the drivers). I have tried with the generic IDE and rtl8139 config on
>>> the
>>> > guest, and it also fails with the same vioscsi.sys error after
>>> rebooting
>>> > upon finishing installation even though I'm using IDE as the disk
>>> driver.
>>> >
>>> > I have uploaded a win 7 x64 ISO and tried installing that, and it
>>> loads the
>>> > VirtIO viostor driver (using the method at:
>>> >
>>> https://www.ovirt.org/documentation/how-to/virtual-machines/create-a-windows-7-virtual-machine/
>>> > ), and even manages to partition the disks, but fails to install on
>>> the disk
>>> > (screenshot attached).
>>> >
>>> > I've tried temporarily removing the vioscsi files from the install
>>> server as
>>> > a last resort, but as expected it fails to install properly, though I
>>> > thought it used the viostor driver instead.
>>> >
>>> > Thanks for any help.
>>> >
>>> > Regards,
>>> >
>>> > Cam
>>> >
>>> > ___
>>> > Users mailing list
>>> > Users@ovirt.org
>>> > http://lists.ovirt.org/mailman/listinfo/users
>>> >
>>>
>>
>>
>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] vioscsi.sys BSOD with Win 7

2016-05-10 Thread Cam Mac
Hi Tomas,

The install went ok, but Windows complains:

"File: \windows\system32\drivers\vioscsi.sys
status: 0xc428
Windows cannot verify the digital signature for this file"

Regards,

Campbell

On Tue, May 10, 2016 at 6:29 PM, Cam Mac  wrote:

> Hi Tomas,
>
> Thanks, I will test that later tonight and let you know.
>
> Regards,
>
> Cam
>
> On Tue, May 10, 2016 at 3:28 PM, Tomas Jelinek 
> wrote:
>
>> Hi,
>>
>> please try to install this guest tools:
>>
>> http://resources.ovirt.org/pub/ovirt-3.6/rpm/el6/noarch/ovirt-guest-tools-iso-3.6-3.fc23.noarch.rpm
>>
>> Also please make sure you point windows to the correct driver in the
>> sub-directory for w7
>>
>> Tomas
>>
>> - Original Message -
>> > From: "Cam Mac" 
>> > To: users@ovirt.org
>> > Sent: Monday, May 9, 2016 7:28:57 PM
>> > Subject: [ovirt-users] vioscsi.sys BSOD with Win 7
>> >
>> > Hi,
>> >
>> > I'm running oVirt 3.6.3.4-1.el7.centos and when I install a Win 7 guest
>> VM,
>> > using VirtIO disk, networking etc, it goes through the install process
>> ok,
>> > but blue screens upon boot with a vioscsi.sys error (attached). I have
>> tried
>> > the official version ovirt-guest-tools-iso 3.6.0 0.2_master.fc22, as
>> well as
>> > some earlier and later versions. I am using a PXE boot method with a
>> Windows
>> > deployment server, which has the drivers from the oVirt tools ISO
>> installed
>> > (indeed, it picks up the drive and networking and I can see it
>> installing
>> > the drivers). I have tried with the generic IDE and rtl8139 config on
>> the
>> > guest, and it also fails with the same vioscsi.sys error after rebooting
>> > upon finishing installation even though I'm using IDE as the disk
>> driver.
>> >
>> > I have uploaded a win 7 x64 ISO and tried installing that, and it loads
>> the
>> > VirtIO viostor driver (using the method at:
>> >
>> https://www.ovirt.org/documentation/how-to/virtual-machines/create-a-windows-7-virtual-machine/
>> > ), and even manages to partition the disks, but fails to install on the
>> disk
>> > (screenshot attached).
>> >
>> > I've tried temporarily removing the vioscsi files from the install
>> server as
>> > a last resort, but as expected it fails to install properly, though I
>> > thought it used the viostor driver instead.
>> >
>> > Thanks for any help.
>> >
>> > Regards,
>> >
>> > Cam
>> >
>> > ___
>> > Users mailing list
>> > Users@ovirt.org
>> > http://lists.ovirt.org/mailman/listinfo/users
>> >
>>
>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] virt-in-virt problem: DHCP failing for a container in a oVirt VM

2016-05-10 Thread Will Dennis
Hi Simone,

Sorry but I'm just getting back to this... Not sure where/how one might 
implement the hook you have indicated... It looks to be VM-specific, but I 
don't see anywhere in either the Admin UI or the User portal UI to set such a 
parameter... Can you give me instructions on how to implement this?

-Original Message-
From: Simone Tiraboschi [mailto:stira...@redhat.com] 
Sent: Monday, May 09, 2016 3:54 AM
To: Yaniv Kaul
Cc: Will Dennis; users@ovirt.org
Subject: Re: [ovirt-users] virt-in-virt problem: DHCP failing for a container 
in a oVirt VM

There is also a specific VDSM hook to address this configuration:
https://github.com/oVirt/vdsm/tree/master/vdsm_hooks/macspoof

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] vioscsi.sys BSOD with Win 7

2016-05-10 Thread Cam Mac
Hi Tomas,

Thanks, I will test that later tonight and let you know.

Regards,

Cam

On Tue, May 10, 2016 at 3:28 PM, Tomas Jelinek  wrote:

> Hi,
>
> please try to install this guest tools:
>
> http://resources.ovirt.org/pub/ovirt-3.6/rpm/el6/noarch/ovirt-guest-tools-iso-3.6-3.fc23.noarch.rpm
>
> Also please make sure you point windows to the correct driver in the
> sub-directory for w7
>
> Tomas
>
> - Original Message -
> > From: "Cam Mac" 
> > To: users@ovirt.org
> > Sent: Monday, May 9, 2016 7:28:57 PM
> > Subject: [ovirt-users] vioscsi.sys BSOD with Win 7
> >
> > Hi,
> >
> > I'm running oVirt 3.6.3.4-1.el7.centos and when I install a Win 7 guest
> VM,
> > using VirtIO disk, networking etc, it goes through the install process
> ok,
> > but blue screens upon boot with a vioscsi.sys error (attached). I have
> tried
> > the official version ovirt-guest-tools-iso 3.6.0 0.2_master.fc22, as
> well as
> > some earlier and later versions. I am using a PXE boot method with a
> Windows
> > deployment server, which has the drivers from the oVirt tools ISO
> installed
> > (indeed, it picks up the drive and networking and I can see it installing
> > the drivers). I have tried with the generic IDE and rtl8139 config on the
> > guest, and it also fails with the same vioscsi.sys error after rebooting
> > upon finishing installation even though I'm using IDE as the disk driver.
> >
> > I have uploaded a win 7 x64 ISO and tried installing that, and it loads
> the
> > VirtIO viostor driver (using the method at:
> >
> https://www.ovirt.org/documentation/how-to/virtual-machines/create-a-windows-7-virtual-machine/
> > ), and even manages to partition the disks, but fails to install on the
> disk
> > (screenshot attached).
> >
> > I've tried temporarily removing the vioscsi files from the install
> server as
> > a last resort, but as expected it fails to install properly, though I
> > thought it used the viostor driver instead.
> >
> > Thanks for any help.
> >
> > Regards,
> >
> > Cam
> >
> > ___
> > Users mailing list
> > Users@ovirt.org
> > http://lists.ovirt.org/mailman/listinfo/users
> >
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Nested Hyper-V

2016-05-10 Thread David Jaša
On Út, 2016-05-10 at 09:24 +0200, Marco Büttner wrote:
> Hey there,
> 
> for testing purpose I try to run a Windows Server 2012 with Hyper-V in 
> Ovirt 3.6.5 nodes and engine systems are based on Centos 7.
> The vdsm hook nested are also correctly installed and seems working.

Please make sure you have nested virtualization support in
kvm_intel/kvm_amd module enabled, like this:

[root@cihla ~]# modinfo kvm_intel | grep -i nest
parm:   nested:bool
[root@cihla ~]# cat /sys/module/kvm_intel/parameters/nested 
Y

HTH,

David

> If I try to install the Hyper-V role, I've got the error massage that a 
> hypervisor is already running.
> 
> In the config the System is set to Windows 2012 X64. It's the same error 
> mesage if I changed this to Windows 7 or 8 or Windows 2012 R2 x64.
> 
> I found some threads in the mailarchive where people are using the same 
> setup... Whats wrong in my setup?
> 
> This is the launched process:
> 
> /usr/libexec/qemu-kvm -name win-root-domain -S -machine 
> pc-i440fx-rhel7.2.0,accel=kvm,usb=off -cpu Nehalem,+vmx -m 
> size=4194304k,slots=16,maxmem=4294967296k -realtime mlock=off -smp 
> 2,maxcpus=16,sockets=16,cores=1,threads=1 -numa 
> node,nodeid=0,cpus=0-1,mem=4096 -uuid 
> 598aab68-48bc-4a9a-ae6f-841dd6a25a7b -smbios 
> type=1,manufacturer=oVirt,product=oVirt 
> Node,version=7-2.1511.el7.centos.2.10,serial=33313934-3432-5A43-4339-343331594446,uuid=598aab68-48bc-4a9a-ae6f-841dd6a25a7b
>  
> -no-user-config -nodefaults -chardev 
> socket,id=charmonitor,path=/var/lib/libvirt/qemu/domain-win-root-domain/monitor.sock,server,nowait
>  
> -mon chardev=charmonitor,id=monitor,mode=control -rtc 
> base=2016-05-10T08:12:10,driftfix=slew -global 
> kvm-pit.lost_tick_policy=discard -no-hpet -no-shutdown -boot strict=on 
> -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 
> file=/rhev/data-center/mnt/10.10.10.25:_volume1_ovirt/c4aa106c-1dc4-4b2c-9e94-0885c34c291a/images/----/9200.16384.WIN8_RTM.120725-1247_X64FRE_SERVER_EVAL_DE-DE-HRM_SSS_X64FREE_DE-DE_DV5.ISO,if=none,id=drive-ide0-1-0,readonly=on,format=raw,serial=
>  
> -device 
> ide-cd,bus=ide.1,unit=0,drive=drive-ide0-1-0,id=ide0-1-0,bootindex=2 
> -drive 
> file=/rhev/data-center/0002-0002-0002-0002-0228/4e61bb2c-503f-4e4d-837d-43b31b4e97cd/images/9f9543e1-3d39-468a-a67d-4b2f95d05238/dce05340-6e26-44fc-b7cb-4d5ef46d3db2,if=none,id=drive-virtio-disk0,format=raw,serial=9f9543e1-3d39-468a-a67d-4b2f95d05238,cache=none,werror=stop,rerror=stop,aio=native
>  
> -device 
> virtio-blk-pci,scsi=off,bus=pci.0,addr=0x6,drive=drive-virtio-disk0,id=virtio-disk0,bootindex=1
>  
> -netdev tap,fd=31,id=hostnet0 -device 
> e1000,netdev=hostnet0,id=net0,mac=00:1a:4a:48:28:01,bus=pci.0,addr=0x3 
> -chardev 
> socket,id=charchannel0,path=/var/lib/libvirt/qemu/channels/598aab68-48bc-4a9a-ae6f-841dd6a25a7b.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/598aab68-48bc-4a9a-ae6f-841dd6a25a7b.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
>  
> -spice 
> port=5902,tls-port=5903,addr=10.10.10.31,x509-dir=/etc/pki/vdsm/libvirt-spice,seamless-migration=on
>  
> -device 
> qxl-vga,id=video0,ram_size=67108864,vram_size=8388608,vgamem_mb=16,bus=pci.0,addr=0x2
>  
> -device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x7 -msg timestamp=on
> 
> 
> Thanks for any idea.
> 
> Best greetings
> Marco
> 
> 
> 
> 
> 
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users


___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] 3.6.5.3: UI Uncaught Exception: New VM from Template

2016-05-10 Thread Richard Chan
On Tue, May 10, 2016 at 11:34 PM, Alexander Wels  wrote:

>
> Looks like they already did that as the bottom stack trace has this in it:
> org.ovirt.engine.ui.uicommonweb.models.storage.DisksAllocationModel.
> $updateImageToDestinationDomainMap(DisksAllocationModel.java:288)
>
> So looks like an issue in DiskAllocationModel.
>

[SOLVED: user permissions problem]
I managed to solve the issue: the user did not have sufficient permissions
on the Storage domain. Assigning the user PowerUser role made VM creation
from template work.

RFE: the UI error messages and even the unobfuscated stack trace are not
really very helpful. Is there any way that error reporting can be improved?
Some pop-up "Insufficient permissions" like the ovirt-shell command line?




Richard Chan
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Log4j hostname

2016-05-10 Thread Ravi Nori
Hi Dominique,

Add

log4j.appender.myappender.header = true

and see if you get the hostname

Ravi


On Mon, May 9, 2016 at 9:37 AM, Dominique Taffin 
wrote:

> Hello!
>
>
> We are using the log4j extension  to send ovirt logs to a logstash server.
>
> As we do have several engine hosts and only one logging backend, we do
> need to filter logs by hostname. So far I am unable to provide a hostname in
>
> Log4jLogger.properties. All Log4j configurations we have in other
> applications/servers to honor the log4j.Application property. I tried
> setting it up by:
>
>
>
>
> ovirt.engine.extension.name = Log4j
> ovirt.engine.extension.provides =
> org.ovirt.engine.api.extensions.logger.Logger
> ovirt.engine.extension.bindings.method = jbossmodule
> ovirt.engine.extension.binding.jbossmodule.module =
> org.ovirt.engine-extensions.logger.log4j
> ovirt.engine.extension.binding.jbossmodule.class =
> org.ovirt.engineextensions.logger.log4j.Log4jLogger
> log4j.rootLogger=DEBUG, myappender
>
> log4j.appender.myappender = org.apache.log4j.net.SyslogAppender
> log4j.appender.myappender.SyslogHost = logstash-server.something
> log4j.appender.myappender.Port = 5544
> log4j.appender.myappender.ReconnectionDelay = 6
> log4j.appender.myappender.Application = ovirthostname
> log4j.appender.myappender.LocationInfo = true
> log4j.appender.myappender.Threshold = DEBUG
> log4j.appender.myappender.layout = org.apache.log4j.PatternLayout
> log4j.appender.myappender.layout.ConversionPattern=[%c] %m%n
>
>
>
>
> Logs do arrive, but no hostname. Can anyone point me out on how to include
> the hostname in the logs?
>
>
> thank you and best,
>
>  Dominique
>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] Ovirt All in one spice-sound

2016-05-10 Thread Johan Vermeulen
Hello All,

I've set up an all in one install on Ovirt3.5

All though I've done it before, for the life of me
I can't get sound to work with Spice sessions.
I tried auto, native, browser plugin and html5.

Following this page:
http://www.ovirt.org/develop/infra/testing/spice/
I've installed xorg-x11-drv-qxl and installed and started spice-vdagent

in Edit virtual -machine-console, enable sound card is checked.

What else is needed to get this to work?

Many thanks for any advise
Greetings, J.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] oVirt All-in-One upgrade path and requested improvements

2016-05-10 Thread Nir Soffer
On Tue, May 10, 2016 at 6:20 PM, Neal Gompa  wrote:
> Hello,
>
> I recently found out that oVirt "deprecated" the All-in-One
> configuration option in oVirt 3.6 and removed it in oVirt 4.0. This is
> a huge problem for me, as it means that my oVirt machines don't have
> an upgrade path.
>
> My experiments with the self-hosted engine have ended in failure for a
> couple of reasons:
> * The hosted engine deploy expects that a FQDN is already paired with
> an IP address. This is obviously false in most home environments, and
> even in the work environment where I use oVirt regularly. There's no
> workaround for this (except having a third machine to run the
> engine!), and this utterly breaks the only way to use oVirt in a
> DHCP-centric environment where I may not control the network
> addressing.
>
> * Other error states have caused the whole thing to break and just
> leave the system a broken mess. With no way to clean up, I'm left
> guessing how to undo everything, which is hellish and leads me to just
> wipe the whole system and start over.
>
> In addition, I was hoping that there would be improvements with the
> single system case, rather than destruction of this capability. Some
> of the improvements are things I think would be useful in even a
> multi-node setup, too.
>
> For example, I would like to see live migration capabilities with
> local storage across datacenters, as this capability in vMotion makes
> deployments a lot more flexible. Sometimes, local storage is really
> the only way to get the kind of speed needed for some workloads, and
> being able to offer some kind of HA for VMs on local storage would be
> excellent. In addition to being useful for all-in-one setups, it's
> quite useful for self-hosted engine configurations, too.
>
> It's also rather irritating that there's no way to migrate stuff from
> shared storage to local storage and back. On top of that, datacenters
> that have local storage can't have shared storage or vice versa.
>
> On top of that, it looks like the all-in-one code is being kept around
> anyway for the oVirt Live stuff, so why not just keep the capability
> and improve it? oVirt should become the best virtualization solution
> for everyone, not just people who have access to huge datacenters
> where all the conditions are perfect.

I agree that hosted engine is not a replacement for all in one
configuration. It adds lot of unneeded complexity that is not useful
for single host use case.

Can you explain why you use ovirt for your single host use case,
and not simpler solution like virt-manager?

ovirt adds lot of complexity and overhead that is not required for
running couple of vms on a single machine with local storage.

Nir
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] 3.6.5.3: UI Uncaught Exception: New VM from Template

2016-05-10 Thread Alexander Wels
On Tuesday, May 10, 2016 11:32:42 AM Vojtech Szocs wrote:
> - Original Message -
> 
> > From: "Sandro Bonazzola" 
> > To: "Alexander Wels" , "Vojtech Szocs"
> >  Cc: "users" 
> > Sent: Monday, May 9, 2016 5:30:06 PM
> > Subject: Re: [ovirt-users] 3.6.5.3: UI Uncaught Exception: New VM from
> > Template
> > 
> > Alexander, Vojtech, any insight?
> 
> In oVirt 3.6 and up, any UI issues are logged into:
> 
>   /var/log/ovirt-engine/ui.log
> 
> UI stack traces are obfuscated by default, unless you're
> running a local development env. with DEV_BUILD_GWT_DRAFT=1.
> 
> According to [1] you can install following packages:
> 
>   userportal-debuginfo
>   webadmin-portal-debuginfo
> 
> restart Engine, and UI stack traces will be de-obfuscated,
> helping developers to pin-point the problematic code.
> 
> [1] https://bugzilla.redhat.com/show_bug.cgi?id=1179897
> 
> I'd suggest to install above packages, reproduce the issue
> and send de-obfuscated UI logs for investigation.
> 
> Vojtech
> 

Looks like they already did that as the bottom stack trace has this in it:
org.ovirt.engine.ui.uicommonweb.models.storage.DisksAllocationModel.
$updateImageToDestinationDomainMap(DisksAllocationModel.java:288)

So looks like an issue in DiskAllocationModel.

> > On Mon, May 9, 2016 at 10:19 AM, Dobó László  wrote:
> > > Same problem here, when i'm trying to convert snapshot to vm.
> > > 
> > > 
> > > 2016-05-05 10:58:59,065 ERROR
> > > [org.ovirt.engine.ui.frontend.server.gwt.OvirtRemoteLoggingService]
> > > (default task-19) []
> > > Permutation name: 56114F8548175924C03C3BC67436871E
> > > 2016-05-05 10:58:59,066 ERROR
> > > [org.ovirt.engine.ui.frontend.server.gwt.OvirtRemoteLoggingService]
> > > (default task-19) []
> > > Uncaught exception: : com.google.gwt.event.shared.UmbrellaException:
> > > Exception caught: (TypeError)
> > > 
> > >  __gwt$exception: : d is undefined
> > >  
> > > at Unknown.ms(Unknown Source)   at Unknown.us(Unknown Source)  
> > > at
> > > 
> > > Unknown.i3(Unknown Source)   at Unknown.l3(U
> > > nknown Source)  at Unknown.v2(Unknown Source)   at Unknown.Im(Unknown
> > > Source)   at Unknown.Sm(Unknown Source)   at Unkn
> > > own.j$(Unknown Source)  at Unknown.Km(Unknown Source)   at
> > > Unknown.S6e(Unknown Source)  at Unknown.UMe(Unknown Source)
> > > 
> > >  at Unknown.vXe(Unknown Source) at Unknown.vZe(Unknown Source)  at
> > > 
> > > Unknown.Yt(Unknown Source)   at Unknown.au(Unknown S
> > > ource)  at Unknown._t/<(Unknown Source) at Unknown.uy(Unknown Source)  
> > > at
> > > Unknown.w6e(Unknown Source)  at Unknown.Sof(
> > > Unknown Source) at Unknown.S6e(Unknown Source)  at Unknown.UMe(Unknown
> > > Source)  at Unknown.vXe(Unknown Source)  at Unkn
> > > own.uXe(Unknown Source) at Unknown.tZe(Unknown Source)  at
> > > Unknown.Yt(Unknown Source)   at Unknown.au(Unknown Source)
> > > 
> > >  at Unknown._t/<(Unknown Source)at Unknown.anonymous(Unknown
> > > 
> > > Source)Caused by: com.google.gwt.core.client.JavaS
> > > criptException: (TypeError)
> > > 
> > >  __gwt$exception: : d is undefined
> > >  
> > > at Unknown.GMq(Unknown Source)  at Unknown.Bbq(Unknown Source) 
> > > at
> > > 
> > > Unknown.pNr(Unknown Source)  at Unknown.lro(
> > > Unknown Source) at Unknown.Cyr(Unknown Source)  at Unknown.nzr(Unknown
> > > Source)  at Unknown.Eol(Unknown Source)  at Unkn
> > > own.Zll(Unknown Source) at Unknown.hml(Unknown Source)  at
> > > Unknown.jkl(Unknown Source)  at Unknown.E$(Unknown Source)
> > > 
> > >  at Unknown.d$(Unknown Source)  at Unknown.F2(Unknown Source)   ... 24
> > >  more
> > > 
> > > regards
> > > 
> > > enax
> > > 
> > > On 05/08/2016 05:08 AM, Richard Chan wrote:
> > > 
> > > Hello list, I hope you can help with a UI exception from New VM from
> > > Template.
> > > 
> > > 1. User (PowerUser) is able to create New VMs manually
> > > 2. New VM from template gives a UI exception:
> > > 
> > > __gwt$exception: : Cannot read property 'f' of undefined
> > > 
> > > 2016-05-08 11:04:50,875 ERROR
> > > [org.ovirt.engine.ui.frontend.server.gwt.OvirtRemoteLoggingService]
> > > (default task-28) [] Permutation name: 56114F8548175924C03C3BC67436871E
> > > 2016-05-08 11:04:50,875 ERROR
> > > [org.ovirt.engine.ui.frontend.server.gwt.OvirtRemoteLoggingService]
> > > (default task-28) [] Uncaught exception: :
> > > com.google.gwt.core.client.JavaScriptException: (TypeError)
> > > 
> > >  __gwt$exception: : f is undefined
> > >  
> > > at
> > > 
> > > org.ovirt.engine.ui.uicommonweb.models.storage.DisksAllocationModel.$upd
> > > ateImageToDestinationDomainMap(DisksAllocationModel.java:288)> > 
> > > at
> > > 
> > > org.ovirt.engine.ui.uicommonweb.models.storage.DisksAllocationModel.$get
> > > ImageToDestinationDomainMap(DisksAllocationModel.java:130)> > 
> > > at
> > > 
> > > 

Re: [ovirt-users] 3.6.5.3: UI Uncaught Exception: New VM from Template

2016-05-10 Thread Vojtech Szocs


- Original Message -
> From: "Sandro Bonazzola" 
> To: "Alexander Wels" , "Vojtech Szocs" 
> Cc: "users" 
> Sent: Monday, May 9, 2016 5:30:06 PM
> Subject: Re: [ovirt-users] 3.6.5.3: UI Uncaught Exception: New VM from 
> Template
> 
> Alexander, Vojtech, any insight?

In oVirt 3.6 and up, any UI issues are logged into:

  /var/log/ovirt-engine/ui.log

UI stack traces are obfuscated by default, unless you're
running a local development env. with DEV_BUILD_GWT_DRAFT=1.

According to [1] you can install following packages:

  userportal-debuginfo
  webadmin-portal-debuginfo

restart Engine, and UI stack traces will be de-obfuscated,
helping developers to pin-point the problematic code.

[1] https://bugzilla.redhat.com/show_bug.cgi?id=1179897

I'd suggest to install above packages, reproduce the issue
and send de-obfuscated UI logs for investigation.

Vojtech

> 
> On Mon, May 9, 2016 at 10:19 AM, Dobó László  wrote:
> 
> > Same problem here, when i'm trying to convert snapshot to vm.
> >
> >
> > 2016-05-05 10:58:59,065 ERROR
> > [org.ovirt.engine.ui.frontend.server.gwt.OvirtRemoteLoggingService]
> > (default task-19) []
> > Permutation name: 56114F8548175924C03C3BC67436871E
> > 2016-05-05 10:58:59,066 ERROR
> > [org.ovirt.engine.ui.frontend.server.gwt.OvirtRemoteLoggingService]
> > (default task-19) []
> > Uncaught exception: : com.google.gwt.event.shared.UmbrellaException:
> > Exception caught: (TypeError)
> >  __gwt$exception: : d is undefined
> > at Unknown.ms(Unknown Source)   at Unknown.us(Unknown Source)   at
> > Unknown.i3(Unknown Source)   at Unknown.l3(U
> > nknown Source)  at Unknown.v2(Unknown Source)   at Unknown.Im(Unknown
> > Source)   at Unknown.Sm(Unknown Source)   at Unkn
> > own.j$(Unknown Source)  at Unknown.Km(Unknown Source)   at
> > Unknown.S6e(Unknown Source)  at Unknown.UMe(Unknown Source)
> >  at Unknown.vXe(Unknown Source) at Unknown.vZe(Unknown Source)  at
> > Unknown.Yt(Unknown Source)   at Unknown.au(Unknown S
> > ource)  at Unknown._t/<(Unknown Source) at Unknown.uy(Unknown Source)   at
> > Unknown.w6e(Unknown Source)  at Unknown.Sof(
> > Unknown Source) at Unknown.S6e(Unknown Source)  at Unknown.UMe(Unknown
> > Source)  at Unknown.vXe(Unknown Source)  at Unkn
> > own.uXe(Unknown Source) at Unknown.tZe(Unknown Source)  at
> > Unknown.Yt(Unknown Source)   at Unknown.au(Unknown Source)
> >  at Unknown._t/<(Unknown Source)at Unknown.anonymous(Unknown
> > Source)Caused by: com.google.gwt.core.client.JavaS
> > criptException: (TypeError)
> >  __gwt$exception: : d is undefined
> > at Unknown.GMq(Unknown Source)  at Unknown.Bbq(Unknown Source)  at
> > Unknown.pNr(Unknown Source)  at Unknown.lro(
> > Unknown Source) at Unknown.Cyr(Unknown Source)  at Unknown.nzr(Unknown
> > Source)  at Unknown.Eol(Unknown Source)  at Unkn
> > own.Zll(Unknown Source) at Unknown.hml(Unknown Source)  at
> > Unknown.jkl(Unknown Source)  at Unknown.E$(Unknown Source)
> >  at Unknown.d$(Unknown Source)  at Unknown.F2(Unknown Source)   ... 24 more
> >
> >
> > regards
> >
> > enax
> >
> > On 05/08/2016 05:08 AM, Richard Chan wrote:
> >
> > Hello list, I hope you can help with a UI exception from New VM from
> > Template.
> >
> > 1. User (PowerUser) is able to create New VMs manually
> > 2. New VM from template gives a UI exception:
> >
> > __gwt$exception: : Cannot read property 'f' of undefined
> >
> > 2016-05-08 11:04:50,875 ERROR
> > [org.ovirt.engine.ui.frontend.server.gwt.OvirtRemoteLoggingService]
> > (default task-28) [] Permutation name: 56114F8548175924C03C3BC67436871E
> > 2016-05-08 11:04:50,875 ERROR
> > [org.ovirt.engine.ui.frontend.server.gwt.OvirtRemoteLoggingService]
> > (default task-28) [] Uncaught exception: :
> > com.google.gwt.core.client.JavaScriptException: (TypeError)
> >  __gwt$exception: : f is undefined
> > at
> > org.ovirt.engine.ui.uicommonweb.models.storage.DisksAllocationModel.$updateImageToDestinationDomainMap(DisksAllocationModel.java:288)
> > at
> > org.ovirt.engine.ui.uicommonweb.models.storage.DisksAllocationModel.$getImageToDestinationDomainMap(DisksAllocationModel.java:130)
> > at
> > org.ovirt.engine.ui.uicommonweb.models.templates.VmBaseListModel.$saveNewVm(VmBaseListModel.java:354)
> > at
> > org.ovirt.engine.ui.uicommonweb.models.templates.VmBaseListModel.$onSaveVM(VmBaseListModel.java:331)
> > at
> > org.ovirt.engine.ui.uicommonweb.models.templates.VmBaseListModel$6.onSuccess(VmBaseListModel.java:309)
> > at
> > org.ovirt.engine.ui.frontend.Frontend$2.$onSuccess(Frontend.java:244)
> > [frontend.jar:]
> >
> >
> >
> >
> >
> > --
> > Richard Chan
> >
> >
> >
> > ___
> > Users mailing
> > listUsers@ovirt.orghttp://lists.ovirt.org/mailman/listinfo/users
> >
> >
> >
> > ___
> > Users mailing list
> > 

[ovirt-users] oVirt All-in-One upgrade path and requested improvements

2016-05-10 Thread Neal Gompa
Hello,

I recently found out that oVirt "deprecated" the All-in-One
configuration option in oVirt 3.6 and removed it in oVirt 4.0. This is
a huge problem for me, as it means that my oVirt machines don't have
an upgrade path.

My experiments with the self-hosted engine have ended in failure for a
couple of reasons:
* The hosted engine deploy expects that a FQDN is already paired with
an IP address. This is obviously false in most home environments, and
even in the work environment where I use oVirt regularly. There's no
workaround for this (except having a third machine to run the
engine!), and this utterly breaks the only way to use oVirt in a
DHCP-centric environment where I may not control the network
addressing.

* Other error states have caused the whole thing to break and just
leave the system a broken mess. With no way to clean up, I'm left
guessing how to undo everything, which is hellish and leads me to just
wipe the whole system and start over.

In addition, I was hoping that there would be improvements with the
single system case, rather than destruction of this capability. Some
of the improvements are things I think would be useful in even a
multi-node setup, too.

For example, I would like to see live migration capabilities with
local storage across datacenters, as this capability in vMotion makes
deployments a lot more flexible. Sometimes, local storage is really
the only way to get the kind of speed needed for some workloads, and
being able to offer some kind of HA for VMs on local storage would be
excellent. In addition to being useful for all-in-one setups, it's
quite useful for self-hosted engine configurations, too.

It's also rather irritating that there's no way to migrate stuff from
shared storage to local storage and back. On top of that, datacenters
that have local storage can't have shared storage or vice versa.

On top of that, it looks like the all-in-one code is being kept around
anyway for the oVirt Live stuff, so why not just keep the capability
and improve it? oVirt should become the best virtualization solution
for everyone, not just people who have access to huge datacenters
where all the conditions are perfect.



-- 
真実はいつも一つ!/ Always, there's only one truth!
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] ovirt backup

2016-05-10 Thread Alexander Wels
On Tuesday, May 10, 2016 05:10:22 PM Dobó László wrote:
> Hi,
> 
> I like to implement an incremental block level backup solution for
> ovirt. I have a few nice idea with libvirt, but i can't manage it directly.
> Any advice which direction should i start, what kind of possibilities i
> have to communicate with libvirt?
> 
> Thanks,
> enax

I think a good starting point would be this:

https://www.ovirt.org/develop/release-management/features/storage/backup-restore-api-integration/


>From what I understand of this after reading it, is you will have a backup VM 
that is running your incremental backups from live snapshots made from running 
VMs that are mounted on that VM. I haven't looked into it that closely though.

> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] ovirt backup

2016-05-10 Thread Dobó László

Hi,

I like to implement an incremental block level backup solution for 
ovirt. I have a few nice idea with libvirt, but i can't manage it directly.
Any advice which direction should i start, what kind of possibilities i 
have to communicate with libvirt?


Thanks,
enax
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] vioscsi.sys BSOD with Win 7

2016-05-10 Thread Tomas Jelinek
Hi,

please try to install this guest tools:
http://resources.ovirt.org/pub/ovirt-3.6/rpm/el6/noarch/ovirt-guest-tools-iso-3.6-3.fc23.noarch.rpm

Also please make sure you point windows to the correct driver in the 
sub-directory for w7

Tomas

- Original Message -
> From: "Cam Mac" 
> To: users@ovirt.org
> Sent: Monday, May 9, 2016 7:28:57 PM
> Subject: [ovirt-users] vioscsi.sys BSOD with Win 7
> 
> Hi,
> 
> I'm running oVirt 3.6.3.4-1.el7.centos and when I install a Win 7 guest VM,
> using VirtIO disk, networking etc, it goes through the install process ok,
> but blue screens upon boot with a vioscsi.sys error (attached). I have tried
> the official version ovirt-guest-tools-iso 3.6.0 0.2_master.fc22, as well as
> some earlier and later versions. I am using a PXE boot method with a Windows
> deployment server, which has the drivers from the oVirt tools ISO installed
> (indeed, it picks up the drive and networking and I can see it installing
> the drivers). I have tried with the generic IDE and rtl8139 config on the
> guest, and it also fails with the same vioscsi.sys error after rebooting
> upon finishing installation even though I'm using IDE as the disk driver.
> 
> I have uploaded a win 7 x64 ISO and tried installing that, and it loads the
> VirtIO viostor driver (using the method at:
> https://www.ovirt.org/documentation/how-to/virtual-machines/create-a-windows-7-virtual-machine/
> ), and even manages to partition the disks, but fails to install on the disk
> (screenshot attached).
> 
> I've tried temporarily removing the vioscsi files from the install server as
> a last resort, but as expected it fails to install properly, though I
> thought it used the viostor driver instead.
> 
> Thanks for any help.
> 
> Regards,
> 
> Cam
> 
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
> 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Webadmin - disable idle logout

2016-05-10 Thread Alexander Wels
On Tuesday, May 10, 2016 08:26:43 AM Grundmann, Christian wrote:
> Hi,
> is there a way to disable the idle logout in webadmin?
> 
> Thx a lot
> Christian

Note this is BAD security practice, but you can use:

engine-config -s UserSessionTimeOutInterval=-1

engine-config -l will give you a list of things you can configure including a 
description of each option.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] Ovirt3.5 allinone -sound issue

2016-05-10 Thread Johan Vermeulen
Hello All,

I've set up an all in one install.
All though I've done it before, for the life of me
I can't get sound to work with Spice sessions.
I tried auto, native, browser plugin and html5.
in Edit virtual machine-console, enable sound card is checked.

What else is needed to get this to work?

Many thanks for any advise
Greetings, J.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Fencing failed, fence agent ipmilan used instead of ilo4

2016-05-10 Thread Wee Sritippho

Found a workaround.

Changed the fence agent type from "ilo4" to "ipmilan" then added 
"lanplus=1,power_wait=30" (without quotes) to options.


Now the host can be fenced successfully and all HA VMs in that host will 
be restarted in another hosts.


Did a small experiment with power_wait parameter, here are the results:
- power_wait=60 : HA VMs restarted and are pingable in ~2:45 minutes 
after connection lost
- power_wait=30 : HA VMs restarted and are pingable in ~2:15 minutes 
after connection lost


On 10/5/2559 12:52, Wee Sritippho wrote:

Hi,

I'm running an oVirt hosted-engine environment on 3 hosts. To test 
VMs' HA functionality, I shutdown host02's link, where one of my HA 
VMs is running on, using this command:


2016-05-10 09:59:19 ICT [root@host02 ~]# ip link set bond0 down

Few seconds later, an attempt to fence host02 was issued, and this 
entry appears in the web UI event tab "May 10, 2016 10:00:34 ... 
Executing power management status on Host hosted_engine_2 using Proxy 
Host hosted_engine_1 and Fence Agent ipmilan:172.16.3.5.". The IP 
"172.16.3.5" was correct the Fence Agent "ipmilan" was not.


Even though a failure message "May 10, 2016 10:00:36 ... Execution of 
power management status on Host hosted_engine_2 using Proxy Host 
hosted_engine_1 and Fence Agent ipmilan:172.16.3.5 failed." appears in 
the web UI event tab, host02 was successfully powered off.


The last message in the web GUI event tab is "May 10, 2016 10:00:40 AM 
... Host hosted_engine_2 is rebooting.", but the host wasn't actually 
rebooted - I have to boot it manually using iLo web UI.


How can fix this issue in order to make VMs' HA work?

Thank you.

Here is my power management settings:
hosted_engine_1 -> ilo4 : 172.16.3.4
hosted_engine_2 -> ilo4 : 172.16.3.5
hosted_engine_3 -> ilo4 : 172.16.3.6

Here are the log files:
https://app.box.com/s/fs5let8955rjbcuxuy0p42ixj4dzou6m

[root@engine ~]# rpm -qa | grep ovirt
ovirt-engine-wildfly-8.2.1-1.el7.x86_64
ovirt-engine-setup-plugin-ovirt-engine-common-3.6.5.3-1.el7.centos.noarch
ovirt-vmconsole-1.0.0-1.el7.centos.noarch
ovirt-engine-cli-3.6.2.0-1.el7.centos.noarch
ovirt-engine-setup-plugin-ovirt-engine-3.6.5.3-1.el7.centos.noarch
ovirt-engine-backend-3.6.5.3-1.el7.centos.noarch
ovirt-iso-uploader-3.6.0-1.el7.centos.noarch
ovirt-engine-extensions-api-impl-3.6.5.3-1.el7.centos.noarch
ovirt-host-deploy-1.4.1-1.el7.centos.noarch
ovirt-release36-007-1.noarch
ovirt-engine-sdk-python-3.6.5.0-1.el7.centos.noarch
ovirt-image-uploader-3.6.0-1.el7.centos.noarch
ovirt-engine-extension-aaa-jdbc-1.0.6-1.el7.noarch
ovirt-setup-lib-1.0.1-1.el7.centos.noarch
ovirt-host-deploy-java-1.4.1-1.el7.centos.noarch
ovirt-engine-setup-base-3.6.5.3-1.el7.centos.noarch
ovirt-engine-setup-plugin-websocket-proxy-3.6.5.3-1.el7.centos.noarch
ovirt-engine-tools-backup-3.6.5.3-1.el7.centos.noarch
ovirt-vmconsole-proxy-1.0.0-1.el7.centos.noarch
ovirt-engine-vmconsole-proxy-helper-3.6.5.3-1.el7.centos.noarch
ovirt-engine-setup-3.6.5.3-1.el7.centos.noarch
ovirt-engine-webadmin-portal-3.6.5.3-1.el7.centos.noarch
ovirt-engine-tools-3.6.5.3-1.el7.centos.noarch
ovirt-engine-restapi-3.6.5.3-1.el7.centos.noarch
ovirt-engine-3.6.5.3-1.el7.centos.noarch
ovirt-guest-agent-common-1.0.11-1.el7.noarch
ovirt-engine-wildfly-overlay-8.0.5-1.el7.noarch
ovirt-engine-lib-3.6.5.3-1.el7.centos.noarch
ovirt-engine-websocket-proxy-3.6.5.3-1.el7.centos.noarch
ovirt-engine-setup-plugin-vmconsole-proxy-helper-3.6.5.3-1.el7.centos.noarch 


ovirt-engine-userportal-3.6.5.3-1.el7.centos.noarch
ovirt-engine-dbscripts-3.6.5.3-1.el7.centos.noarch

[root@host03 ~]# rpm -qa | grep ovirt
ovirt-vmconsole-1.0.0-1.el7.centos.noarch
ovirt-host-deploy-1.4.1-1.el7.centos.noarch
ovirt-vmconsole-host-1.0.0-1.el7.centos.noarch
ovirt-engine-sdk-python-3.6.5.0-1.el7.centos.noarch
ovirt-hosted-engine-ha-1.3.5.3-1.1.el7.noarch
libgovirt-0.3.3-1.el7_2.1.x86_64
ovirt-hosted-engine-setup-1.3.5.0-1.1.el7.noarch
ovirt-setup-lib-1.0.1-1.el7.centos.noarch

[root@host03 ~]# rpm -qa | grep vdsm
vdsm-cli-4.17.26-1.el7.noarch
vdsm-4.17.26-1.el7.noarch
vdsm-infra-4.17.26-1.el7.noarch
vdsm-xmlrpc-4.17.26-1.el7.noarch
vdsm-yajsonrpc-4.17.26-1.el7.noarch
vdsm-hook-vmfex-dev-4.17.26-1.el7.noarch
vdsm-python-4.17.26-1.el7.noarch
vdsm-jsonrpc-4.17.26-1.el7.noarch



--
Wee

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Problems exporting VM's

2016-05-10 Thread Michal Skrivanek

> On 09 May 2016, at 23:09, Luciano Natale  wrote:
> 
> Ok, i've filtered out saturday. At midnight it  starts to backup 
> automatically with a custom made script. At that run, I had trouble with vm 
> named "operaciones-ad". Then i started working on the problem (among other 
> things, i added a new backup storage domain) and you can se around 8 PM that 
> another VM failed the backup, this one called "biblioteca". Other VM's i 
> remeber failing where "NS1" and "NS2”.

Tal, can someone take a look and investigate why the task is failing?
engine.log failure excerpt below

Luciano, I suppose vdsm.log from that time would help further

Thanks,
michal

2016-05-07 18:04:52,386 INFO  [org.ovirt.engine.core.bll.ExportVmCommand] 
(org.ovirt.thread.pool-8-thread-15) [7a94a972] Running command: ExportVmCommand 
internal: fals
e. Entities affected :  ID: c9bddba0-c553-4a90-b97c-bdc1e88a333e Type: 
StorageAction group IMPORT_EXPORT_VM with role type ADMIN
2016-05-07 18:04:52,388 INFO  
[org.ovirt.engine.core.vdsbroker.SetVmStatusVDSCommand] 
(org.ovirt.thread.pool-8-thread-15) [7a94a972] START, SetVmStatusVDSCommand( 
vmId
= 59e1be99-c37e-431d-9b4c-1d039fd667a7, status = ImageLocked, exit status = 
Normal), log id: 7261d03c
2016-05-07 18:04:52,392 INFO  
[org.ovirt.engine.core.vdsbroker.SetVmStatusVDSCommand] 
(org.ovirt.thread.pool-8-thread-15) [7a94a972] FINISH, SetVmStatusVDSCommand, 
log
id: 7261d03c
2016-05-07 18:04:52,453 INFO  [org.ovirt.engine.core.bll.ExportVmCommand] 
(org.ovirt.thread.pool-8-thread-15) [7a94a972] Lock freed to object EngineLock 
[exclusiveLocks
= key: 59e1be99-c37e-431d-9b4c-1d039fd667a7 value: VM
2016-05-07 18:04:52,465 INFO  [org.ovirt.engine.core.bll.CopyImageGroupCommand] 
(org.ovirt.thread.pool-8-thread-15) [6f66db4a] Running command: 
CopyImageGroupCommand in
ternal: true. Entities affected :  ID: c9bddba0-c553-4a90-b97c-bdc1e88a333e 
Type: Storage
2016-05-07 18:04:52,745 INFO  
[org.ovirt.engine.core.vdsbroker.irsbroker.MoveImageGroupVDSCommand] 
(org.ovirt.thread.pool-8-thread-15) [6f66db4a] START, MoveImageGroupV
DSCommand( storagePoolId = 58aa23b5-9680-4ff2-991c-8f8952cfa13c, 
ignoreFailoverLimit = false, storageDomainId = 
2a1cc76e-9ba2-4586-a612-049894467470, imageGroupId = 63e
58057-00fd-4597-a258-64558d45c155, dstDomainId = 
c9bddba0-c553-4a90-b97c-bdc1e88a333e, vmId = 
59e1be99-c37e-431d-9b4c-1d039fd667a7, op = Copy, postZero = false, force =
 true), log id: 781cc2f3
2016-05-07 18:04:53,135 INFO  
[org.ovirt.engine.core.vdsbroker.irsbroker.MoveImageGroupVDSCommand] 
(org.ovirt.thread.pool-8-thread-15) [6f66db4a] FINISH, MoveImageGroup
VDSCommand, log id: 781cc2f3
2016-05-07 18:04:53,233 INFO  
[org.ovirt.engine.core.bll.tasks.CommandAsyncTask] 
(org.ovirt.thread.pool-8-thread-15) [6f66db4a] CommandAsyncTask::Adding 
CommandMultiAsy
ncTasks object for command 1711f190-c188-419c-acc2-25edc8b8d1cf
2016-05-07 18:04:53,234 INFO  
[org.ovirt.engine.core.bll.CommandMultiAsyncTasks] 
(org.ovirt.thread.pool-8-thread-15) [6f66db4a] 
CommandMultiAsyncTasks::AttachTask: Atta
ching task 106774fb-1093-495a-a996-48f48e066a6f to command 
1711f190-c188-419c-acc2-25edc8b8d1cf.
2016-05-07 18:04:53,421 INFO  
[org.ovirt.engine.core.bll.tasks.AsyncTaskManager] 
(org.ovirt.thread.pool-8-thread-15) [6f66db4a] Adding task 
106774fb-1093-495a-a996-48f4
8e066a6f (Parent Command ExportVm, Parameters Type 
org.ovirt.engine.core.common.asynctasks.AsyncTaskParameters), polling hasn't 
started yet.
2016-05-07 18:04:54,164 INFO  
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] 
(org.ovirt.thread.pool-8-thread-15) [6f66db4a] Correlation ID: 7a94a972, Job 
ID: a312c127-45ef-44b4-8bee-b36fe7f251ee, Call Stack: null, Custom Event ID: 
-1, Message: Starting export Vm operaciones-ad to vms-backups
2016-05-07 18:04:54,166 INFO  [org.ovirt.engine.core.bll.tasks.SPMAsyncTask] 
(org.ovirt.thread.pool-8-thread-15) [6f66db4a] BaseAsyncTask::startPollingTask: 
Starting to poll task 106774fb-1093-495a-a996-48f48e066a6f.
2016-05-07 18:04:54,945 WARN  
[org.ovirt.engine.core.bll.scheduling.policyunits.EvenGuestDistributionBalancePolicyUnit]
 (DefaultQuartzScheduler_Worker-53) [662bbf2a] There is no host with less than 
4 running guests
2016-05-07 18:04:54,946 WARN  
[org.ovirt.engine.core.bll.scheduling.PolicyUnitImpl] 
(DefaultQuartzScheduler_Worker-53) [662bbf2a] All hosts are over-utilized, cant 
balance the cluster main
2016-05-07 18:05:00,647 INFO  
[org.ovirt.engine.core.bll.tasks.AsyncTaskManager] 
(DefaultQuartzScheduler_Worker-90) [3b5cd3b6] Polling and updating Async Tasks: 
1 tasks, 1 tasks to poll now
2016-05-07 18:05:00,656 ERROR 
[org.ovirt.engine.core.vdsbroker.vdsbroker.HSMGetAllTasksStatusesVDSCommand] 
(DefaultQuartzScheduler_Worker-90) [3b5cd3b6] Failed in 
HSMGetAllTasksStatusesVDS method
2016-05-07 18:05:00,657 INFO  [org.ovirt.engine.core.bll.tasks.SPMAsyncTask] 
(DefaultQuartzScheduler_Worker-90) [3b5cd3b6] SPMAsyncTask::PollTask: Polling 
task 

Re: [ovirt-users] qcow compat 1.1

2016-05-10 Thread Fred Rolland
Hi,
It has been introduced in the following patch :

https://gerrit.ovirt.org/#/c/56522/

Thanks,

Fred

On Tue, May 10, 2016 at 11:24 AM, Dobó László  wrote:

> Hi,
>
> Is it possible to force ovirt 3.6.x to use qcow compat 1.1 insted of 0.10?
>
> Regards
> enax
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] Webadmin - disable idle logout

2016-05-10 Thread Grundmann, Christian
Hi,
is there a way to disable the idle logout in webadmin?

Thx a lot
Christian
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] 3.6.5.3: UI Uncaught Exception: New VM from Template

2016-05-10 Thread Tomas Jelinek


- Original Message -
> From: "Richard Chan" 
> To: users@ovirt.org
> Sent: Sunday, May 8, 2016 5:08:40 AM
> Subject: [ovirt-users] 3.6.5.3: UI Uncaught Exception: New VM from Template
> 
> Hello list, I hope you can help with a UI exception from New VM from
> Template.
> 
> 1. User (PowerUser) is able to create New VMs manually
> 2. New VM from template gives a UI exception:

It does not happen to me, I will have some questions:
- is it in userportal, right?
- what exact permissions the user has?
- is this working for admin@internal user?
- what exact browser generated this exception? (so I will be able to match the 
property 'f' to something)
- is some quota around?

Thanx, 
Tomas

> 
> __gwt$exception: : Cannot read property 'f' of undefined
> 
> 2016-05-08 11:04:50,875 ERROR
> [org.ovirt.engine.ui.frontend.server.gwt.OvirtRemoteLoggingService] (default
> task-28) [] Permutation name: 56114F8548175924C03C3BC67436871E
> 2016-05-08 11:04:50,875 ERROR
> [org.ovirt.engine.ui.frontend.server.gwt.OvirtRemoteLoggingService] (default
> task-28) [] Uncaught exception: :
> com.google.gwt.core.client.JavaScriptException: (TypeError)
> __gwt$exception: : f is undefined
> at
> org.ovirt.engine.ui.uicommonweb.models.storage.DisksAllocationModel.$updateImageToDestinationDomainMap(DisksAllocationModel.java:288)
> at
> org.ovirt.engine.ui.uicommonweb.models.storage.DisksAllocationModel.$getImageToDestinationDomainMap(DisksAllocationModel.java:130)
> at
> org.ovirt.engine.ui.uicommonweb.models.templates.VmBaseListModel.$saveNewVm(VmBaseListModel.java:354)
> at
> org.ovirt.engine.ui.uicommonweb.models.templates.VmBaseListModel.$onSaveVM(VmBaseListModel.java:331)
> at
> org.ovirt.engine.ui.uicommonweb.models.templates.VmBaseListModel$6.onSuccess(VmBaseListModel.java:309)
> at org.ovirt.engine.ui.frontend.Frontend$2.$onSuccess(Frontend.java:244)
> [frontend.jar:]
> 
> 
> 
> 
> 
> --
> Richard Chan
> 
> 
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
> 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] configuring bonding on host

2016-05-10 Thread Fabrice Bacchella

> Le 10 mai 2016 à 09:55, Alona Kaplan  a écrit :
> 
> 
> 
> You should modify the already existing network_attachment.
> Here, since you don't pass the existing attachment 'id', we're trying to 
> create a new attachment.
> Since you didn't remove the old one, we get two attachments for the same 
> network. The old one is still attached to 'eth0', that's why you get the 
> error.
> 
> You have to specify the attachment 'id' on the attachment you're updating and 
> it should work.

That's quite logical. Thank you.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] qcow compat 1.1

2016-05-10 Thread Dobó László

Hi,

Is it possible to force ovirt 3.6.x to use qcow compat 1.1 insted of 0.10?

Regards
enax
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] configuring bonding on host

2016-05-10 Thread Alona Kaplan


- Original Message -
> From: "Fabrice Bacchella" 
> To: "Juan Hernández" 
> Cc: "users" 
> Sent: Monday, May 9, 2016 1:46:22 PM
> Subject: Re: [ovirt-users] configuring bonding on host
> 
> 
> 
> 
> 
> 
> I think I will soon have more questions about what is a modified or removed
> object when creating bond, but I will need to play a little more with it.
> 
> 
> Ok, I started to play with the right setupnetworks, and I'm getting strange
> results.
> 
> When I try to transform an eth0 attachement to a bond attachement, I get
> 
> Cannot setup Networks. Network Interface 'eth0' cannot become slave, there's
> network 'ovirtmgmt' attached to it.
> 
> I tried to have a look at the command that the UI send and don't get it. It
> says :
> 
> networks='[HostNetwork:{defaultRoute='true', bonding='true',
> networkName='ovirtmgmt', nicName='bond0', vlan='null', mtu='9000',
> vmNetwork='true', stp='false', properties='[]', bootProtocol='DHCP',
> address='null', netmask='null', gateway='null'}]',
> removedNetworks='[]',
> bonds='[Bond:{id='ffcfe313-7607-4347-b797-aa9c3260e221', name='bond0',
> vdsId='null', networkName='ovirtmgmt', bootProtocol='DHCP', address='null',
> subnet='null', gateway='null', mtu='9000', bridged='true', type='2',
> networkImplementationDetails='null', qos='null', macAddress='null',
> bondOptions='mode=4 miimon=100', labels='null', slaves='[eth0, eth1]'}]',
> removedBonds='[Bond:{id='ffcfe313-7607-4347-b797-aa9c3260e221', name='bond0',
> vdsId='null', networkName='ovirtmgmt', bootProtocol='DHCP', address='null',
> subnet='null', gateway='null', mtu='9000', bridged='true', type='2',
> networkImplementationDetails='null', qos='null', macAddress='null',
> bondOptions='mode=4 miimon=100', labels='null', slaves='[eth0, eth1]'}]'}),
> 
> What I'm doing is quite close, there is a modified network and modified bond.
> But what about the removedBonds ? They was no bonding before that
> 
> My code is :
> 
> bond_name = kwargs['bond_name']
> mtu = kwargs.pop('mtu', None)
> nics = []
> for if_name in kwargs['interfaces']:
> nic = params.HostNIC(name=if_name)
> if mtu is not None:
> nic.set_mtu(mtu)
> nics.append(nic)
> 
> bonding = params.Bonding(
> slaves=params.Slaves(host_nic=nics),
> options=params.Options(
> option=map(lambda (x, y): params.Option(name=x, value=y),
> kwargs.pop('bond_options', {}).iteritems() )
> )
> )
> 
> bonded_if = params.HostNIC(name=bond_name, bonding=bonding)
> 
> if mtu is not None:
> bonded_if.set_mtu(mtu)
> 
> ip = kwargs.pop('ip', None)
> gateway = kwargs.pop('gateway', None)
> if ip is not None:
> ip = unicode(ip)
> ip_addr = ipaddress.ip_address(ip.split('/')[0])
> ip_net = ipaddress.ip_network(ip, strict=False)
> ip_conf = params.IP(address=str(ip_addr),
> netmask=str(ip_net).split('/')[0])
> if gateway is not None:
> ip_conf.set_gateway(gateway)
> ip_assignment = params.IpAddressAssignment(assignment_method="static",
> ip=ip_conf)
> elif kwargs.pop('dhcp', False):
> ip_assignment = params.IpAddressAssignment(assignment_method="dhcp",
> ip=params.IP())
> 
> bonded_network =
> params.NetworkAttachment(network=params.Network(name=kwargs['network']),
> host_nic=params.HostNIC(name=bond_name),
> ip_address_assignments=params.IpAddressAssignments([ip_assignment]))
> 
> return self.broker.setupnetworks(params.Action(modified_bonds =
> params.HostNics(host_nic = [bonded_if]),
> modified_network_attachments =
> params.NetworkAttachments(network_attachment=[bonded_network]),
> )
> )
> 
> And it generates :
> 
> > POST /api/hosts/db240f83-9266-4892-a6d2-8ac406cadfb1/setupnetworks HTTP/1.1
> > 
> > 
> > 

You should modify the already existing network_attachment.
Here, since you don't pass the existing attachment 'id', we're trying to create 
a new attachment.
Since you didn't remove the old one, we get two attachments for the same 
network. The old one is still attached to 'eth0', that's why you get the error.

You have to specify the attachment 'id' on the attachment you're updating and 
it should work.

> > 
> > ovirtmgmt
> > 
> > 
> > bond0
> > 
> > 
> > 
> > 
> > dhcp
> > 
> > 
> > 
> > 
> > 
> > 
> > bond0
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > eth0
> > 
> > 
> > eth1
> > 
> > 
> > 
> > 
> > 
> > 
> 
> 
> 
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
> 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Nested Hyper-V

2016-05-10 Thread Simone Tiraboschi
On Tue, May 10, 2016 at 9:24 AM, Marco Büttner  wrote:
> Hey there,
>
> for testing purpose I try to run a Windows Server 2012 with Hyper-V in Ovirt
> 3.6.5 nodes and engine systems are based on Centos 7.
> The vdsm hook nested are also correctly installed and seems working.
> If I try to install the Hyper-V role, I've got the error massage that a
> hypervisor is already running.
>
> In the config the System is set to Windows 2012 X64. It's the same error
> mesage if I changed this to Windows 7 or 8 or Windows 2012 R2 x64.
>
> I found some threads in the mailarchive where people are using the same
> setup... Whats wrong in my setup?

Hyper-V... :-)
Joking aside, nested support AFAIK is disabled by default on Hyper-V
side, you can enable it on latest versions but I don't know how if and
how it works.
Look here as a reference:
https://msdn.microsoft.com/en-us/virtualization/hyperv_on_windows/user_guide/nesting


> This is the launched process:
>
> /usr/libexec/qemu-kvm -name win-root-domain -S -machine
> pc-i440fx-rhel7.2.0,accel=kvm,usb=off -cpu Nehalem,+vmx -m
> size=4194304k,slots=16,maxmem=4294967296k -realtime mlock=off -smp
> 2,maxcpus=16,sockets=16,cores=1,threads=1 -numa
> node,nodeid=0,cpus=0-1,mem=4096 -uuid 598aab68-48bc-4a9a-ae6f-841dd6a25a7b
> -smbios type=1,manufacturer=oVirt,product=oVirt
> Node,version=7-2.1511.el7.centos.2.10,serial=33313934-3432-5A43-4339-343331594446,uuid=598aab68-48bc-4a9a-ae6f-841dd6a25a7b
> -no-user-config -nodefaults -chardev
> socket,id=charmonitor,path=/var/lib/libvirt/qemu/domain-win-root-domain/monitor.sock,server,nowait
> -mon chardev=charmonitor,id=monitor,mode=control -rtc
> base=2016-05-10T08:12:10,driftfix=slew -global
> kvm-pit.lost_tick_policy=discard -no-hpet -no-shutdown -boot strict=on
> -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
> file=/rhev/data-center/mnt/10.10.10.25:_volume1_ovirt/c4aa106c-1dc4-4b2c-9e94-0885c34c291a/images/----/9200.16384.WIN8_RTM.120725-1247_X64FRE_SERVER_EVAL_DE-DE-HRM_SSS_X64FREE_DE-DE_DV5.ISO,if=none,id=drive-ide0-1-0,readonly=on,format=raw,serial=
> -device ide-cd,bus=ide.1,unit=0,drive=drive-ide0-1-0,id=ide0-1-0,bootindex=2
> -drive
> file=/rhev/data-center/0002-0002-0002-0002-0228/4e61bb2c-503f-4e4d-837d-43b31b4e97cd/images/9f9543e1-3d39-468a-a67d-4b2f95d05238/dce05340-6e26-44fc-b7cb-4d5ef46d3db2,if=none,id=drive-virtio-disk0,format=raw,serial=9f9543e1-3d39-468a-a67d-4b2f95d05238,cache=none,werror=stop,rerror=stop,aio=native
> -device
> virtio-blk-pci,scsi=off,bus=pci.0,addr=0x6,drive=drive-virtio-disk0,id=virtio-disk0,bootindex=1
> -netdev tap,fd=31,id=hostnet0 -device
> e1000,netdev=hostnet0,id=net0,mac=00:1a:4a:48:28:01,bus=pci.0,addr=0x3
> -chardev
> socket,id=charchannel0,path=/var/lib/libvirt/qemu/channels/598aab68-48bc-4a9a-ae6f-841dd6a25a7b.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/598aab68-48bc-4a9a-ae6f-841dd6a25a7b.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
> -spice
> port=5902,tls-port=5903,addr=10.10.10.31,x509-dir=/etc/pki/vdsm/libvirt-spice,seamless-migration=on
> -device
> qxl-vga,id=video0,ram_size=67108864,vram_size=8388608,vgamem_mb=16,bus=pci.0,addr=0x2
> -device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x7 -msg timestamp=on
>
>
> Thanks for any idea.
>
> Best greetings
> Marco
>
>
>
>
>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] Nested Hyper-V

2016-05-10 Thread Marco Büttner

Hey there,

for testing purpose I try to run a Windows Server 2012 with Hyper-V in 
Ovirt 3.6.5 nodes and engine systems are based on Centos 7.

The vdsm hook nested are also correctly installed and seems working.
If I try to install the Hyper-V role, I've got the error massage that a 
hypervisor is already running.


In the config the System is set to Windows 2012 X64. It's the same error 
mesage if I changed this to Windows 7 or 8 or Windows 2012 R2 x64.


I found some threads in the mailarchive where people are using the same 
setup... Whats wrong in my setup?


This is the launched process:

/usr/libexec/qemu-kvm -name win-root-domain -S -machine 
pc-i440fx-rhel7.2.0,accel=kvm,usb=off -cpu Nehalem,+vmx -m 
size=4194304k,slots=16,maxmem=4294967296k -realtime mlock=off -smp 
2,maxcpus=16,sockets=16,cores=1,threads=1 -numa 
node,nodeid=0,cpus=0-1,mem=4096 -uuid 
598aab68-48bc-4a9a-ae6f-841dd6a25a7b -smbios 
type=1,manufacturer=oVirt,product=oVirt 
Node,version=7-2.1511.el7.centos.2.10,serial=33313934-3432-5A43-4339-343331594446,uuid=598aab68-48bc-4a9a-ae6f-841dd6a25a7b 
-no-user-config -nodefaults -chardev 
socket,id=charmonitor,path=/var/lib/libvirt/qemu/domain-win-root-domain/monitor.sock,server,nowait 
-mon chardev=charmonitor,id=monitor,mode=control -rtc 
base=2016-05-10T08:12:10,driftfix=slew -global 
kvm-pit.lost_tick_policy=discard -no-hpet -no-shutdown -boot strict=on 
-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 
file=/rhev/data-center/mnt/10.10.10.25:_volume1_ovirt/c4aa106c-1dc4-4b2c-9e94-0885c34c291a/images/----/9200.16384.WIN8_RTM.120725-1247_X64FRE_SERVER_EVAL_DE-DE-HRM_SSS_X64FREE_DE-DE_DV5.ISO,if=none,id=drive-ide0-1-0,readonly=on,format=raw,serial= 
-device 
ide-cd,bus=ide.1,unit=0,drive=drive-ide0-1-0,id=ide0-1-0,bootindex=2 
-drive 
file=/rhev/data-center/0002-0002-0002-0002-0228/4e61bb2c-503f-4e4d-837d-43b31b4e97cd/images/9f9543e1-3d39-468a-a67d-4b2f95d05238/dce05340-6e26-44fc-b7cb-4d5ef46d3db2,if=none,id=drive-virtio-disk0,format=raw,serial=9f9543e1-3d39-468a-a67d-4b2f95d05238,cache=none,werror=stop,rerror=stop,aio=native 
-device 
virtio-blk-pci,scsi=off,bus=pci.0,addr=0x6,drive=drive-virtio-disk0,id=virtio-disk0,bootindex=1 
-netdev tap,fd=31,id=hostnet0 -device 
e1000,netdev=hostnet0,id=net0,mac=00:1a:4a:48:28:01,bus=pci.0,addr=0x3 
-chardev 
socket,id=charchannel0,path=/var/lib/libvirt/qemu/channels/598aab68-48bc-4a9a-ae6f-841dd6a25a7b.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/598aab68-48bc-4a9a-ae6f-841dd6a25a7b.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 
-spice 
port=5902,tls-port=5903,addr=10.10.10.31,x509-dir=/etc/pki/vdsm/libvirt-spice,seamless-migration=on 
-device 
qxl-vga,id=video0,ram_size=67108864,vram_size=8388608,vgamem_mb=16,bus=pci.0,addr=0x2 
-device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x7 -msg timestamp=on



Thanks for any idea.

Best greetings
Marco





___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Migrating Vm's from one engine to another

2016-05-10 Thread Michal Skrivanek


> On 09 May 2016, at 21:09, Ross, George E CW3 USARMY (US) 
>  wrote:
> 
> Good afternoon,
> Is there a way to migrate a VM from one engine to another in oVIRT? I don't 
> mean within the same cluster but from one completely different engine to 
> another?

Hi,
You have to export and import the VM, via the same export domain. You currently 
need to attach it to one engine, export, detach, attach to the other one and 
import

Thanks,
michal
>  
> v/r
>  
> CW3 George E. Ross
> NGB 169 CPT
> CISSP,CASP,C|EH,SEC+
> 443-306-0568
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users