[ovirt-users] vds.dispatcher ERROR SSL in ovirt 4.0

2016-06-08 Thread Claude Durocher

I'm testing ovirt 4.0 rc1 on centos 7 (hosted engine on nfs). Every 15 seconds 
or so, I receive the following error:

journal: vdsm vds.dispatcher ERROR SSL error during reading data: (104, 
'Connection reset by peer')

Any ideas on how to debug this?
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Problem accessing to hosted-engine after wrong network config

2016-06-08 Thread Alexis HAUSER
>Wouldn't there be another way to access console from the hypervisor to the 
>hosted-engine (without X) ?
>Not really if you don't have network afaik. Have you done the virsh
>command with root permissions? 
>sudo virsh list
>sudo virsh console vm
>If list even under root permissions doesn't show anything, make sure
>that the qemu process is running.

I can't see it with "virsh list" but I can see it with vdsClient -s 0 list

However the status id "Down" with "exitMessage = Failed to acquire lock: No 
space left on device"

I can't actually run the VM anymore since I changed the VLAN of ovirtmgmt...
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


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

2016-06-08 Thread Will Dennis
Fwd'g to list to continue to thread...

-Original Message-
From: Will Dennis 
Sent: Wednesday, June 08, 2016 11:55 AM
To: 'Simone Tiraboschi'
Subject: RE: [ovirt-users] virt-in-virt problem: DHCP failing for a container 
in a oVirt VM

OK, I did, and... Still not getting DHCP IP's assigned on the containers 
running in the VM...

Again, I see the DHCP packets coming in on the 'vnet0' int on the oVirt 
hypervisor hosts having the VM which has the containers:
[root@ovirt-node-03 ~]# tcpdump -i vnet0 -vvv -s 1500 '(port 67 or port 68)'
11:13:38.689970 IP (tos 0x10, ttl 128, id 0, offset 0, flags [none], proto UDP 
(17), length 328)
0.0.0.0.bootpc > 255.255.255.255.bootps: [udp sum ok] BOOTP/DHCP, Request 
from 32:33:32:64:30:65 (oui Unknown), length 300, xid 0xd0f70f67, secs 247, 
Flags [none] (0x)
  Client-Ethernet-Address 32:33:32:64:30:65 (oui Unknown)
  Vendor-rfc1048 Extensions
Magic Cookie 0x63825363
DHCP-Message Option 53, length 1: Discover
Hostname Option 12, length 9: "blitsnorp"
Parameter-Request Option 55, length 13:
  Subnet-Mask, BR, Time-Zone, Default-Gateway
  Domain-Name, Domain-Name-Server, Option 119, Hostname
  Netbios-Name-Server, Netbios-Scope, MTU, Classless-Static-Route
  NTP
END Option 255, length 0
PAD Option 0, length 0, occurs 30

But I do not see the MAC from the container in the relevant oVirt bridge that 
the VM is connected to (in this case, port 3 on the bridge):
[root@ovirt-node-03 ~]# brctl showmacs 207-net | grep "^  3"
  3 00:1a:4a:16:01:57   no 0.13 (VM eth0 MAC)
  3 fe:1a:4a:16:01:57   yes0.00 (veth connection from 
VM)
  3 fe:1a:4a:16:01:57   yes0.00 (why are two showing???)
(notice no entry for MAC 32:33:32:64:30:65 from the container on the VM)



-Original Message-
From: Simone Tiraboschi [mailto:stira...@redhat.com] 
Sent: Wednesday, June 08, 2016 10:54 AM
To: Will Dennis
Subject: Re: [ovirt-users] virt-in-virt problem: DHCP failing for a container 
in a oVirt VM

On Wed, Jun 8, 2016 at 4:50 PM, Will Dennis  wrote:
> OK, installed on all hypervisor hosts (and the engine host as well) - do I 
> need to bounce the VMs having containers now, or not?

Yes, of course: you have to reboot all the involved VMs.

> -Original Message-
> From: Simone Tiraboschi [mailto:stira...@redhat.com]
> Sent: Wednesday, June 08, 2016 10:44 AM
> To: Will Dennis
> Subject: Re: [ovirt-users] virt-in-virt problem: DHCP failing for a container 
> in a oVirt VM
>
> On Wed, Jun 8, 2016 at 4:38 PM, Will Dennis  wrote:
>> OK. This goes on just the engine host, or on the hypervisor hosts? (or both?)
>
> On all the hosted-engine hosts
>
>> Also (and not trying to be insulting here), is this documented anywhere? I 
>> didn't run across this dependency in anything I read...
>
> Good question
>
>> -Original Message-
>> From: Simone Tiraboschi [mailto:stira...@redhat.com]
>> Sent: Wednesday, June 08, 2016 10:31 AM
>> To: Will Dennis
>> Subject: Re: [ovirt-users] virt-in-virt problem: DHCP failing for a 
>> container in a oVirt VM
>>
>> On Wed, Jun 8, 2016 at 4:27 PM, Will Dennis  wrote:
>>> No, I didn't see (notice) that step / instructions anywhere... How to do 
>>> that?
>>>
>>> -Original Message-
>>> From: Simone Tiraboschi [mailto:stira...@redhat.com]
>>> Sent: Wednesday, June 08, 2016 10:23 AM
>>> To: Will Dennis
>>> Cc: jvdw...@xs4all.nl; users@ovirt.org; Michal Skrivanek
>>> Subject: Re: [ovirt-users] virt-in-virt problem: DHCP failing for a 
>>> container in a oVirt VM
>>>
>>>
>>> Did you also correctly installed vdsm-hook-macspoof on all of your 
>>> hosted-engine hosts?
>>
>> yum install vdsm-hook-macspoof
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Upload img file to Storage Domain

2016-06-08 Thread Nir Soffer
On Wed, Jun 8, 2016 at 4:12 PM, Barak Korren  wrote:
> On 8 June 2016 at 15:58, Fernando Frediani  
> wrote:
>> Hi there,
>>
>> I'm spending a fair amount of time to find out how (if possible) to upload a
>> .img image to a oVirt Storage Domain and be able to mount it in a VM as a
>> disk.
>>
>> It is a OpenWRT image and there is no OVF from it, so it's a raw image which
>> I wanted to use as a disc. Tried both with engine-iso-uploader and
>> engine-image-uploader but they refure for diferent reasons.
>>
>> Is that possible at all ?
>>
>
> Uploading of QCOW images from GUI will hopefully land in 4.0.

I has landed, the last 4.0 build should support it in ovirt builds.

It may have a bug that you have to approve additional certificate
to get the upload working, this is fixed upstream.

Amit, can you confirm?

>
> In the meantime you can work around it like this:
> 1. Create a VM and install centos/some other Linux on it
> 2. Create a new VM disk and attach to VM, not the disk device
> 3. Copy the image from the file to the disk device with virt-resize.
> 4. Detach the disk from the VM and build a new VM around it
>
> Optionally:
> 1. Convert the VM from step #4 to a template
> 2. Re use the VM from step #1 to upload more images.
>
> HTH,
>
> --
> Barak Korren
> bkor...@redhat.com
> RHEV-CI Team
> ___
> 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] Terribly slow web consile post migration of oVirt Engine from one host to another host

2016-06-08 Thread Anantha Raghava
Hi,

I will try both options tomorrow & revert back here.

Regards,
Anantha Raghava
On Jun 8, 2016 10:04 PM, "Alexander Wels"  wrote:

> On Wednesday, June 08, 2016 08:49:16 PM Anantha Raghava wrote:
> > Hi,
> >
> > I was able to migrate the oVirt Engine from one host to another using
> > engine-backup utility. On the new host, the data is loaded properly but
> > the Administration Portal is terribly slow.
> >
> > It take about 2 to 3 minutes to allow me to enter user name & password.
> > Once logged in, it takes hell a lot of time to show up the data. Click
> > on a tab, we need to wait for a good amount of time to see the actual
> > data. Even the refresh is taking time to execute although it is set to 5
> > Seconds.
> >
> > But if I enable old server and connect, every thing works quickly.
> >
> > Note:
> >
> > 1. We do not have DNS in our environment.
> > 2. Engine name & even the IP is retained the same.
> > 3. Before migration, we stopped ovirt-engine on old server, took the
> > backup, shutdown & disconnected the old server.
> > 4. We installed the ovirt-engine on new server, run engine setup, noted
> > down the DB password, did engine-cleanup, restored the data using
> > engine-backup utility and executed engine-setup again. It did recognize
> > restored data and only httpd configuration was sought and we selected
> > the defaults.
> >
>
> It is highly likely 1 of 2 things:
>
> 1. The entropy mentioned by Brett, however that is mostly applicable on
> hosted
> engine as VMs don't usually have good entropy.
> 2. The engine cannot resolve itself (which looking at your description is
> the
> likely culprit). Since you don't have DNS, you need to add the fqdn to
> /etc/hosts so it can resolve itself.
>
> > Result is terribly slow Web Console.
> >
> > First, we attempted to setup ovirt-reports and later removed it thinking
> > that may be slowing down the engine server. Yet the same result.
> >
> > Commands used to backup from old server: "engine-backup --mode=backup
> > --file= --log= --provision-db"
> > Command used to restore on new server: "engine-backup --mode=restore
> > --file= --log= --change-db-credentials
> > --db-host=localhost --db-user=engine --db-name=engine
> > --db-password= --no-restore-permissions"
> >
> > The command executed without any errors, resulting in a terribly slow
> > web console.
> >
> > Note: Without --restore-permissions, the restore fails. Did not
> > understand what to give as restore permissions. Hence used
> > --no-restore-permissions.
> >
> > *Hardware configuration:*
> > *
> > **Old Server:* i3 Processor, 4 GB Memory, 1 Gbps NIC
> > *New Server :* Lenovo x3250 M5 Server with Intel Xeon Processor, 16 GB
> > RAM, 2 X 1 Gbps NIC.
> >
> > Just unable to understand why it is terribly slow.
>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Terribly slow web consile post migration of oVirt Engine from one host to another host

2016-06-08 Thread Alexander Wels
On Wednesday, June 08, 2016 08:49:16 PM Anantha Raghava wrote:
> Hi,
> 
> I was able to migrate the oVirt Engine from one host to another using
> engine-backup utility. On the new host, the data is loaded properly but
> the Administration Portal is terribly slow.
> 
> It take about 2 to 3 minutes to allow me to enter user name & password.
> Once logged in, it takes hell a lot of time to show up the data. Click
> on a tab, we need to wait for a good amount of time to see the actual
> data. Even the refresh is taking time to execute although it is set to 5
> Seconds.
> 
> But if I enable old server and connect, every thing works quickly.
> 
> Note:
> 
> 1. We do not have DNS in our environment.
> 2. Engine name & even the IP is retained the same.
> 3. Before migration, we stopped ovirt-engine on old server, took the
> backup, shutdown & disconnected the old server.
> 4. We installed the ovirt-engine on new server, run engine setup, noted
> down the DB password, did engine-cleanup, restored the data using
> engine-backup utility and executed engine-setup again. It did recognize
> restored data and only httpd configuration was sought and we selected
> the defaults.
> 

It is highly likely 1 of 2 things:

1. The entropy mentioned by Brett, however that is mostly applicable on hosted 
engine as VMs don't usually have good entropy.
2. The engine cannot resolve itself (which looking at your description is the 
likely culprit). Since you don't have DNS, you need to add the fqdn to 
/etc/hosts so it can resolve itself.

> Result is terribly slow Web Console.
> 
> First, we attempted to setup ovirt-reports and later removed it thinking
> that may be slowing down the engine server. Yet the same result.
> 
> Commands used to backup from old server: "engine-backup --mode=backup
> --file= --log= --provision-db"
> Command used to restore on new server: "engine-backup --mode=restore
> --file= --log= --change-db-credentials
> --db-host=localhost --db-user=engine --db-name=engine
> --db-password= --no-restore-permissions"
> 
> The command executed without any errors, resulting in a terribly slow
> web console.
> 
> Note: Without --restore-permissions, the restore fails. Did not
> understand what to give as restore permissions. Hence used
> --no-restore-permissions.
> 
> *Hardware configuration:*
> *
> **Old Server:* i3 Processor, 4 GB Memory, 1 Gbps NIC
> *New Server :* Lenovo x3250 M5 Server with Intel Xeon Processor, 16 GB
> RAM, 2 X 1 Gbps NIC.
> 
> Just unable to understand why it is terribly slow.

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


Re: [ovirt-users] Terribly slow web consile post migration of oVirt Engine from one host to another host

2016-06-08 Thread Brett I. Holcomb



On 06/08/2016 11:19 AM, Anantha Raghava wrote:

Hi,

I was able to migrate the oVirt Engine from one host to another using 
engine-backup utility. On the new host, the data is loaded properly 
but the Administration Portal is terribly slow.


It take about 2 to 3 minutes to allow me to enter user name & 
password. Once logged in, it takes hell a lot of time to show up the 
data. Click on a tab, we need to wait for a good amount of time to see 
the actual data. Even the refresh is taking time to execute although 
it is set to 5 Seconds.


But if I enable old server and connect, every thing works quickly.

Note:

1. We do not have DNS in our environment.
2. Engine name & even the IP is retained the same.
3. Before migration, we stopped ovirt-engine on old server, took the 
backup, shutdown & disconnected the old server.
4. We installed the ovirt-engine on new server, run engine setup, 
noted down the DB password, did engine-cleanup, restored the data 
using engine-backup utility and executed engine-setup again. It did 
recognize restored data and only httpd configuration was sought and we 
selected the defaults.


Result is terribly slow Web Console.

First, we attempted to setup ovirt-reports and later removed it 
thinking that may be slowing down the engine server. Yet the same result.


Commands used to backup from old server: "engine-backup --mode=backup 
--file= --log= --provision-db"
Command used to restore on new server: "engine-backup --mode=restore 
--file= --log= 
--change-db-credentials --db-host=localhost --db-user=engine 
--db-name=engine --db-password= 
--no-restore-permissions"


The command executed without any errors, resulting in a terribly slow 
web console.


Note: Without --restore-permissions, the restore fails. Did not 
understand what to give as restore permissions. Hence used 
--no-restore-permissions.


*Hardware configuration:*
*
**Old Server:* i3 Processor, 4 GB Memory, 1 Gbps NIC
*New Server :* Lenovo x3250 M5 Server with Intel Xeon Processor, 16 GB 
RAM, 2 X 1 Gbps NIC.


Just unable to understand why it is terribly slow.


What version of oVirt are you running.  Before 3.6.5 there was an issue 
because of the generation of random numbers.  Many hosts and VMs don't 
have much mouse and keyboard activity so it  takes forever to generate 
the entropy needed for the connection process.  I was told to check the 
entropy level with


cat /proc/sys/kernel/random/entropy_avail

I installed haveged and that fixed it but I'm now on 3.6.5.



--

Thanks & Regards,

Anantha Raghava




___
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] Problem accessing to hosted-engine after wrong network config

2016-06-08 Thread Martin Polednik

On 08/06/16 17:00 +0200, Alexis HAUSER wrote:

Wouldn't there be another way to access console from the hypervisor to the 
hosted-engine (without X) ?


Not really if you don't have network afaik. Have you done the virsh
command with root permissions? 


sudo virsh list
sudo virsh console vm

If list even under root permissions doesn't show anything, make sure
that the qemu process is running.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] Terribly slow web consile post migration of oVirt Engine from one host to another host

2016-06-08 Thread Anantha Raghava

Hi,

I was able to migrate the oVirt Engine from one host to another using 
engine-backup utility. On the new host, the data is loaded properly but 
the Administration Portal is terribly slow.


It take about 2 to 3 minutes to allow me to enter user name & password. 
Once logged in, it takes hell a lot of time to show up the data. Click 
on a tab, we need to wait for a good amount of time to see the actual 
data. Even the refresh is taking time to execute although it is set to 5 
Seconds.


But if I enable old server and connect, every thing works quickly.

Note:

1. We do not have DNS in our environment.
2. Engine name & even the IP is retained the same.
3. Before migration, we stopped ovirt-engine on old server, took the 
backup, shutdown & disconnected the old server.
4. We installed the ovirt-engine on new server, run engine setup, noted 
down the DB password, did engine-cleanup, restored the data using 
engine-backup utility and executed engine-setup again. It did recognize 
restored data and only httpd configuration was sought and we selected 
the defaults.


Result is terribly slow Web Console.

First, we attempted to setup ovirt-reports and later removed it thinking 
that may be slowing down the engine server. Yet the same result.


Commands used to backup from old server: "engine-backup --mode=backup 
--file= --log= --provision-db"
Command used to restore on new server: "engine-backup --mode=restore 
--file= --log= --change-db-credentials 
--db-host=localhost --db-user=engine --db-name=engine 
--db-password= --no-restore-permissions"


The command executed without any errors, resulting in a terribly slow 
web console.


Note: Without --restore-permissions, the restore fails. Did not 
understand what to give as restore permissions. Hence used 
--no-restore-permissions.


*Hardware configuration:*
*
**Old Server:* i3 Processor, 4 GB Memory, 1 Gbps NIC
*New Server :* Lenovo x3250 M5 Server with Intel Xeon Processor, 16 GB 
RAM, 2 X 1 Gbps NIC.


Just unable to understand why it is terribly slow.

--

Thanks & Regards,

Anantha Raghava


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


Re: [ovirt-users] Problem accessing to hosted-engine after wrong network config

2016-06-08 Thread Alexis HAUSER
Wouldn't there be another way to access console from the hypervisor to the 
hosted-engine (without X) ?
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Problem accessing to hosted-engine after wrong network config

2016-06-08 Thread Alexis HAUSER

>I'm not sure about first part, but it should be accessible from
>engine's hypervisor using QEMU console. You can list VMs running on
>the host with
>$ virsh -r list

That would be nice, but the list is empty...However I can see it with vdsClient 
-s 0 list and hosted-engine --vm-status after setting it in maintenance mode.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] oVirt Windows Guest Tools & Live Migration issues.

2016-06-08 Thread Anantha Raghava

Hello Michal,

The Live Migration fails. Events does not show any information but just 
mentioning migration failed. This happens even when we put the host into 
maintenance. VMs do not migrate and host fails to move into maintenance 
mode.


Attempted to upgrade the Hosts, but failed, no reasons attached.

I am a bit lost at this stage. Should we check for some more information 
in some logs? If yes, where do we find the logs?


--

Thanks & Regards,

Anantha Raghava


On Tuesday 07 June 2016 11:13 PM, Anantha Raghava wrote:

Hello Michal,

Guest tools are working and getting all details about guest vm as needed.

But one thing I didn't understand. What is the relationship between 
virtioserial driver and oVirt Guest Service? Without virtio serial 
driver, guest services does not start.


Also, how do we install memory baloon driver?

Tomorrow morning, I will post about Live Migration events after I 
attempt it.


--

Thanks & Regards,


Anantha Raghava


On Friday 03 June 2016 04:36 PM, Michal Skrivanek wrote:


On 03 Jun 2016, at 12:57, Anantha Raghava 
 wrote:


Hello Michal,

Thanks for quick feed back.

Windows Guests Agents - Where do I download them from? Not getting 
the proper links. Or is to a part of virt-drivers that we use during 
installation.


Hi Anantha,
it’s part of ovirt-guest-tools. See 
http://lists.ovirt.org/pipermail/users/2016-May/039779.html




Live migration failure - These are pretty busy VMs if not big. The 
event does not show any specific message but just as migration 
failed. Is the reason logged somewhere? Please share the log 
location so that I can check & share the log for meaningful message 
and proper screen shots.


There should be more details in the events at the bottom of the 
webadmin page (just make it a bit bigger it may not be te last message)
If they are busy VMs then you may have issues migrating them. There 
is some simple tuning available and it may help. You can increase the 
maximum downtime in VM properties dialog (500ms by default, you can 
go up to whatever is feasible for your VM, seconds, tens of seconds)
Bandwidth is limited to work on 1Gb network, if you have 10Gb 
availabl you can also tune /etc/vdsm.conf on each host and increase 
the maximum bandwidth 10 times


Thanks,
michal



--

Thanks & Regards,


Anantha Raghava


On 03 Jun 2016, at 07:14, Anantha Raghava 
 wrote:


Hi,

We have just installed oVirt 3.6 on 3 hosts with storage volumes 
on Fibre Channel storage box. Every thing is working fine except 
the following.


1. We have created 15 Virtual Machines all VM with Windows Server 
2012 R2 OS. VM properties does not report the Operating System nor 
it shows the IP and FQDN in the Admin Portal. There is always an 
exclamation mark that reports about OS being different from the 
template and timezone issues. We have changed the timezone to 
Indian Standard Time in both VM and Host, same result continues. 
We have installed Windows Gues Tools, same result continues. 
Screen shot is below.


you doesn’t seem to run the guest agent. Make sure the service is 
started and works, then you’ll see IPs and more detailed info about 
each guest, and exclamation marks should go away






2. When we manually tried to migrate the VMs from one host to 
another one, the migration gets initiated, but will eventually fail.


Any specific setting missing here or is it a bug.


are they big or busy VMs? What does it fail on? There should be a 
menaingful message even if it’s just a timeout




Note:

All hosts are installed with CentOS 7.2 minimal installation oVirt 
node is installed and activated.

We do not have a DNS in our environment. We have to do with IPs.


as long as engine works with FQDN it’s ok


We are yet to apply the 3.6.6 patch on Engine and Nodes.


that may help with some of the issues above, so please try to do that

Thanks,
michal


We are running a stand alone engine, not a Hosted Engine.
--

Thanks & Regards,


Anantha Raghava

eXza Technology Consulting & Services


___
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-06-08 Thread Will Dennis
No, I didn't see (notice) that step / instructions anywhere... How to do that?

-Original Message-
From: Simone Tiraboschi [mailto:stira...@redhat.com] 
Sent: Wednesday, June 08, 2016 10:23 AM
To: Will Dennis
Cc: jvdw...@xs4all.nl; users@ovirt.org; Michal Skrivanek
Subject: Re: [ovirt-users] virt-in-virt problem: DHCP failing for a container 
in a oVirt VM


Did you also correctly installed vdsm-hook-macspoof on all of your 
hosted-engine hosts?
___
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-06-08 Thread Simone Tiraboschi
On Wed, Jun 8, 2016 at 4:22 PM, Will Dennis  wrote:
> FYI, here are the results of 'engine-config -g [...]' on my engine VM:
>
> [root@ovirt-engine-01 ~]# sudo engine-config -g UserDefinedVMProperties
> UserDefinedVMProperties:  version: 3.0
> UserDefinedVMProperties:  version: 3.1
> UserDefinedVMProperties:  version: 3.2
> UserDefinedVMProperties:  version: 3.3
> UserDefinedVMProperties:  version: 3.4
> UserDefinedVMProperties:  version: 3.5
> UserDefinedVMProperties: macspoof=(true|false) version: 3.6
>
> [root@ovirt-engine-01 ~]# sudo engine-config -g CustomDeviceProperties
> CustomDeviceProperties:  version: 3.0
> CustomDeviceProperties:  version: 3.1
> CustomDeviceProperties:  version: 3.2
> CustomDeviceProperties:  version: 3.3
> CustomDeviceProperties: 
> {type=interface;prop={SecurityGroups=^(?:(?:[0-9a-fA-F]{8}-(?:[0-9a-fA-F]{4}-){3}[0-9a-fA-F]{12},
>  *)*[0-9a-fA-F]{8}-(?:[0-9a-fA-F]{4}-){3}[0-9a-fA-F]{12}|)$}} version: 3.4
> CustomDeviceProperties: 
> {type=interface;prop={SecurityGroups=^(?:(?:[0-9a-fA-F]{8}-(?:[0-9a-fA-F]{4}-){3}[0-9a-fA-F]{12},
>  *)*[0-9a-fA-F]{8}-(?:[0-9a-fA-F]{4}-){3}[0-9a-fA-F]{12}|)$}} version: 3.5
> CustomDeviceProperties: 
> {type=interface;prop={SecurityGroups=^(?:(?:[0-9a-fA-F]{8}-(?:[0-9a-fA-F]{4}-){3}[0-9a-fA-F]{12},
>  *)*[0-9a-fA-F]{8}-(?:[0-9a-fA-F]{4}-){3}[0-9a-fA-F]{12}|)$}} version: 3.6

> -Original Message-
> From: Will Dennis
> Sent: Wednesday, June 08, 2016 10:14 AM
> To: 'Simone Tiraboschi'
> Cc: jvdw...@xs4all.nl; users@ovirt.org; Michal Skrivanek
> Subject: RE: [ovirt-users] virt-in-virt problem: DHCP failing for a container 
> in a oVirt VM
>
> Hi Simone,
>
> These are the instructions I followed, which I found at: 
> https://www.ovirt.org/develop/developer-guide/engine/engine-config-examples/
>
> 
> Adding VM custom properties (macspoof)
>   # engine-config -s "UserDefinedVMProperties=macspoof=(true|false)"
>   # service ovirt-engine restart
>
> In order to deactivate mac spoof filtering on a VM:
>
> 1. Bring down the VM
> 2. edit the VM
> 3. Click advanced
> 4. Custom properties
> 5. Add a key
> 6. elect macspoof
> 7. Type true as the value  <<<
> 8. Start the VM
> 
>
> I did indeed do this. See the attached UI pic from one of the VMs I edited. 
> So I take it that this did not properly alter the 'filterref' attribute 
> properly?
>

Did you also correctly installed vdsm-hook-macspoof on all of your
hosted-engine hosts?
___
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-06-08 Thread Will Dennis
FYI, here are the results of 'engine-config -g [...]' on my engine VM:

[root@ovirt-engine-01 ~]# sudo engine-config -g UserDefinedVMProperties
UserDefinedVMProperties:  version: 3.0
UserDefinedVMProperties:  version: 3.1
UserDefinedVMProperties:  version: 3.2
UserDefinedVMProperties:  version: 3.3
UserDefinedVMProperties:  version: 3.4
UserDefinedVMProperties:  version: 3.5
UserDefinedVMProperties: macspoof=(true|false) version: 3.6

[root@ovirt-engine-01 ~]# sudo engine-config -g CustomDeviceProperties
CustomDeviceProperties:  version: 3.0
CustomDeviceProperties:  version: 3.1
CustomDeviceProperties:  version: 3.2
CustomDeviceProperties:  version: 3.3
CustomDeviceProperties: 
{type=interface;prop={SecurityGroups=^(?:(?:[0-9a-fA-F]{8}-(?:[0-9a-fA-F]{4}-){3}[0-9a-fA-F]{12},
 *)*[0-9a-fA-F]{8}-(?:[0-9a-fA-F]{4}-){3}[0-9a-fA-F]{12}|)$}} version: 3.4
CustomDeviceProperties: 
{type=interface;prop={SecurityGroups=^(?:(?:[0-9a-fA-F]{8}-(?:[0-9a-fA-F]{4}-){3}[0-9a-fA-F]{12},
 *)*[0-9a-fA-F]{8}-(?:[0-9a-fA-F]{4}-){3}[0-9a-fA-F]{12}|)$}} version: 3.5
CustomDeviceProperties: 
{type=interface;prop={SecurityGroups=^(?:(?:[0-9a-fA-F]{8}-(?:[0-9a-fA-F]{4}-){3}[0-9a-fA-F]{12},
 *)*[0-9a-fA-F]{8}-(?:[0-9a-fA-F]{4}-){3}[0-9a-fA-F]{12}|)$}} version: 3.6


-Original Message-
From: Will Dennis 
Sent: Wednesday, June 08, 2016 10:14 AM
To: 'Simone Tiraboschi'
Cc: jvdw...@xs4all.nl; users@ovirt.org; Michal Skrivanek
Subject: RE: [ovirt-users] virt-in-virt problem: DHCP failing for a container 
in a oVirt VM

Hi Simone,

These are the instructions I followed, which I found at: 
https://www.ovirt.org/develop/developer-guide/engine/engine-config-examples/


Adding VM custom properties (macspoof)
  # engine-config -s "UserDefinedVMProperties=macspoof=(true|false)" 
  # service ovirt-engine restart 

In order to deactivate mac spoof filtering on a VM:

1. Bring down the VM
2. edit the VM
3. Click advanced
4. Custom properties
5. Add a key
6. elect macspoof
7. Type true as the value  <<<
8. Start the VM


I did indeed do this. See the attached UI pic from one of the VMs I edited. So 
I take it that this did not properly alter the 'filterref' attribute properly?

___
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-06-08 Thread Will Dennis
Hi Simone,

These are the instructions I followed, which I found at: 
https://www.ovirt.org/develop/developer-guide/engine/engine-config-examples/


Adding VM custom properties (macspoof)
  # engine-config -s "UserDefinedVMProperties=macspoof=(true|false)" 
  # service ovirt-engine restart 

In order to deactivate mac spoof filtering on a VM:

1. Bring down the VM
2. edit the VM
3. Click advanced
4. Custom properties
5. Add a key
6. elect macspoof
7. Type true as the value  <<<
8. Start the VM


I did indeed do this. See the attached UI pic from one of the VMs I edited. So 
I take it that this did not properly alter the 'filterref' attribute properly?


-Original Message-
From: Simone Tiraboschi [mailto:stira...@redhat.com] 
Sent: Wednesday, June 08, 2016 5:58 AM
To: Will Dennis
Cc: jvdw...@xs4all.nl; users@ovirt.org; Michal Skrivanek
Subject: Re: [ovirt-users] virt-in-virt problem: DHCP failing for a container 
in a oVirt VM

On Wed, Jun 8, 2016 at 12:00 AM, Will Dennis  wrote:
> 
> 
>   
>   
>   
>   
>   

The issue is simple here ^^^
Please check if and how you configured the macspoof vdsm hook; please follow 
this guide:
 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] Upload img file to Storage Domain

2016-06-08 Thread Дмитрий Глушенок
Alternatively you can put the image manually to any location, reachable by qemu 
and use vmdisk hook to attach the image to VM at start.

--
Dmitry Glushenok
Jet Infosystems
http://www.jet.msk.su +7-495-411-7601 (ext. 1237)

> 8 июня 2016 г., в 15:58, Fernando Frediani  
> написал(а):
> 
> Hi there,
> 
> I'm spending a fair amount of time to find out how (if possible) to upload a 
> .img image to a oVirt Storage Domain and be able to mount it in a VM as a 
> disk.
> 
> It is a OpenWRT image and there is no OVF from it, so it's a raw image which 
> I wanted to use as a disc. Tried both with engine-iso-uploader and 
> engine-image-uploader but they refure for diferent reasons.
> 
> Is that possible at all ?
> 
> Fernando
> ___
> 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] Problem accessing to hosted-engine after wrong network config

2016-06-08 Thread Martin Polednik

On 08/06/16 11:54 +0200, Alexis HAUSER wrote:

hi,


I made a terrible and stupid mistake : I changed the VLAN of the wrong ovirt 
network interface : ovirtmgmt...

I now don't have anymore access to my hosted engine. I can still access to the 
host hypervisor anyway.

Any idea how I can change the ovirtmgmt VLAN (disabling the option enable VLAN 
tagging at all) without accessing the hosted-engine ?

If there is no way, how can I access the hosted engine console ? I tried with 
remote-viewer and ssh forwarding with no success...
Is there other ways using hosted-engine --console and ssh X forwarding ?


I'm not sure about first part, but it should be accessible from
engine's hypervisor using QEMU console. You can list VMs running on
the host with

$ virsh -r list

and connect to the console 


$ virsh console vm_id


___
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] Upload img file to Storage Domain

2016-06-08 Thread Barak Korren
On 8 June 2016 at 15:58, Fernando Frediani  wrote:
> Hi there,
>
> I'm spending a fair amount of time to find out how (if possible) to upload a
> .img image to a oVirt Storage Domain and be able to mount it in a VM as a
> disk.
>
> It is a OpenWRT image and there is no OVF from it, so it's a raw image which
> I wanted to use as a disc. Tried both with engine-iso-uploader and
> engine-image-uploader but they refure for diferent reasons.
>
> Is that possible at all ?
>

Uploading of QCOW images from GUI will hopefully land in 4.0.

In the meantime you can work around it like this:
1. Create a VM and install centos/some other Linux on it
2. Create a new VM disk and attach to VM, not the disk device
3. Copy the image from the file to the disk device with virt-resize.
4. Detach the disk from the VM and build a new VM around it

Optionally:
1. Convert the VM from step #4 to a template
2. Re use the VM from step #1 to upload more images.

HTH,

-- 
Barak Korren
bkor...@redhat.com
RHEV-CI Team
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] Upload img file to Storage Domain

2016-06-08 Thread Fernando Frediani

Hi there,

I'm spending a fair amount of time to find out how (if possible) to 
upload a .img image to a oVirt Storage Domain and be able to mount it in 
a VM as a disk.


It is a OpenWRT image and there is no OVF from it, so it's a raw image 
which I wanted to use as a disc. Tried both with engine-iso-uploader and 
engine-image-uploader but they refure for diferent reasons.


Is that possible at all ?

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


Re: [ovirt-users] Allow non-privileged users to use the API

2016-06-08 Thread nicolas

El 2016-06-08 13:43, Alexander Wels escribió:

On Wednesday, June 08, 2016 01:27:48 PM nico...@devels.es wrote:

Hi,

I'm currently trying to use oVirt's API with a non-privileged username
(only has UserRole over a few VMs) and when the request is made, a 400
error is returned:


   Operation Failed
   
 query execution failed due to insufficient permissions.
   


Is there a way to grant non-privileged users the ability to use API 
(for

example, to list VMs where they have privileges)? What's the minimal
permission a username needs to be granted to use the API?

Thanks.

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


I don't know which SDK you are using or if you are doing direct http 
requests
with your own framework, but in order for non privileged users to use 
the REST
api you need to pass the 'filter: true' header with the request. This 
will tell

the REST api to filter the results based on the users permissions.


Thanks, that worked.

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


Re: [ovirt-users] Allow non-privileged users to use the API

2016-06-08 Thread Alexander Wels
On Wednesday, June 08, 2016 01:27:48 PM nico...@devels.es wrote:
> Hi,
> 
> I'm currently trying to use oVirt's API with a non-privileged username
> (only has UserRole over a few VMs) and when the request is made, a 400
> error is returned:
> 
> 
>Operation Failed
>
>  query execution failed due to insufficient permissions.
>
> 
> 
> Is there a way to grant non-privileged users the ability to use API (for
> example, to list VMs where they have privileges)? What's the minimal
> permission a username needs to be granted to use the API?
> 
> Thanks.
> 
> Nicolás
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users

I don't know which SDK you are using or if you are doing direct http requests 
with your own framework, but in order for non privileged users to use the REST 
api you need to pass the 'filter: true' header with the request. This will tell 
the REST api to filter the results based on the users permissions.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] Allow non-privileged users to use the API

2016-06-08 Thread nicolas

Hi,

I'm currently trying to use oVirt's API with a non-privileged username 
(only has UserRole over a few VMs) and when the request is made, a 400 
error is returned:



  Operation Failed
  
query execution failed due to insufficient permissions.
  


Is there a way to grant non-privileged users the ability to use API (for 
example, to list VMs where they have privileges)? What's the minimal 
permission a username needs to be granted to use the API?


Thanks.

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


[ovirt-users] Cannot create volume snapshot from illegal volume

2016-06-08 Thread nicolas

Hi,

We're running oVirt 3.6.5.3-1 and we're experiencing an issue with one 
of the VMs we have. There's one VM we'd like to make snapshots of and 
each time we try, the following error is shown in oVirt engine:


Message: VDSM host01.domain.com command failed: Cannot create volume 
snapshot from illegal volume


Same happens when trying to export the VM. I've attached logs for oVirt 
engine + VDSM of the SPM host.


Any hints on how to fix this will be very appreciated.

Regards,

Nicolás

illegal-volume.tar.gz
Description: GNU Zip compressed data
___
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-06-08 Thread Simone Tiraboschi
On Wed, Jun 8, 2016 at 12:00 AM, Will Dennis  wrote:
> The "-r" arg to virsh makes all the difference :)  (much to learn...)
>
> [root@ovirt-node-03 ~]# virsh -r list
>  IdName   State
> 
>  6 proxmox-01 running
>  7 proxmox-02 running
>
> [root@ovirt-node-03 ~]# virsh -r dumpxml proxmox-01
> 
>   proxmox-01
>   1a49b65b-9950-4b29-8c72-139d5263e11d
>   http://ovirt.org/vm/tune/1.0;>
> 
>   
>   4294967296
>   8388608
>   8388608
>   16
>   
> 1020
>   
>   
> 
>   
>   
> /machine
>   
>   
> 
>   oVirt
>   oVirt Node
>   7-2.1511.el7.centos.2.10
>   271BC900-7252-11DD-8001-002185350C3C
>   1a49b65b-9950-4b29-8c72-139d5263e11d
> 
>   
>   
> hvm
> 
> 
>   
>   
> 
>   
>   
> Penryn
> 
> 
>   
> 
>   
>   
> 
> 
> 
>   
>   destroy
>   restart
>   destroy
>   
> /usr/libexec/qemu-kvm
> 
>   
>   
>   
>   
>   
>   
>   
>   
>   
> 
> 
>io='threads'/>
>file='/rhev/data-center/0001-0001-0001-0001-0138/4e2358ab-6b51-4d13-9e36-ac5cb271618a/images/aeae1aeb-047e-493f-a70c-f471f2e7245c/278ed347-c79a-4168-b578-1562a08ac551'/>
>   
>   
>   aeae1aeb-047e-493f-a70c-f471f2e7245c
>   
>   
>function='0x0'/>
> 
> 
>   
>function='0x0'/>
> 
> 
>   
>function='0x1'/>
> 
> 
>   
>function='0x2'/>
> 
> 
>   
> 
> 
>   
>   
>   
>   
>   

The issue is simple here ^^^
Please check if and how you configured the macspoof vdsm hook; please
follow this guide:
 https://github.com/oVirt/vdsm/tree/master/vdsm_hooks/macspoof

>   
>   
>function='0x0'/>
> 
> 
>path='/var/lib/libvirt/qemu/channels/1a49b65b-9950-4b29-8c72-139d5263e11d.com.redhat.rhevm.vdsm'/>
>state='disconnected'/>
>   
>   
> 
> 
>path='/var/lib/libvirt/qemu/channels/1a49b65b-9950-4b29-8c72-139d5263e11d.org.qemu.guest_agent.0'/>
>state='disconnected'/>
>   
>   
> 
> 
>   
>   
>   
> 
> 
> 
>  listen='0' passwdValidTo='2016-05-18T15:01:33' connected='disconnect'>
>   
> 
> 
>   
>   
>function='0x0'/>
> 
> 
>   
> 
>   
> 
>
> ___
> 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] Problem accessing to hosted-engine after wrong network config

2016-06-08 Thread Alexis HAUSER
hi,


I made a terrible and stupid mistake : I changed the VLAN of the wrong ovirt 
network interface : ovirtmgmt...

I now don't have anymore access to my hosted engine. I can still access to the 
host hypervisor anyway.

Any idea how I can change the ovirtmgmt VLAN (disabling the option enable VLAN 
tagging at all) without accessing the hosted-engine ?

If there is no way, how can I access the hosted engine console ? I tried with 
remote-viewer and ssh forwarding with no success...
Is there other ways using hosted-engine --console and ssh X forwarding ?
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] PCI Passthrough problem

2016-06-08 Thread Jérôme Chapelle
Thanks to all of us ! 
We read the Sandro's email annoucement: 
http://lists.ovirt.org/pipermail/users/2016-June/040172.html 
And applied to the HV the update process pointed in: 
http://www.ovirt.org/release/3.6.7/ 
(we only updated vdsm) 
Now our HV is working fine and we are able again to do pci passthrough with it. 
As a result, the virtual machine hosted on it now sees tape. 
Thanks again for your fast and precisous help ! 
Jerome 


From: "Michal Skrivanek"  
To: "Lionel Caignec"  
Cc: "honvault" , "Martin Polednik" , 
"users"  
Sent: Wednesday, June 8, 2016 9:12:44 AM 
Subject: Re: [ovirt-users] PCI Passthrough problem 

> On 08 Jun 2016, at 08:41, Lionel Caignec  wrote: 
> 
> Hi thanks for reply 
> 
> There is something i does not understand, on my hosts i've vdsm 4.17.28-0.el7 
> no indication about a version 3.6.5 or 3.6.7. 
> How can i get this version? 

The ovirt release 3.6.7 rc2, see Sandro’s announcement email sent to this list 
last Thursday. Once you reconfigure repos as explained there you will see the 
new fixed vdsm:) It’s a release candidate repo 

Hope it works, 
michal 

> 
> 
> 
> 
> - Mail original - 
> De: "Martin Polednik"  
> À: "Lionel Caignec"  
> Cc: "Martin Polednik" , "chapelle" , 
> "users" , "honvault"  
> Envoyé: Mercredi 8 Juin 2016 08:20:02 
> Objet: Re: PCI Passthrough problem 
> 
> On 07/06/16 19:04 +0200, Lionel Caignec wrote: 
>> Hi i'm coworker of Mr Chapelle, 
>> 
>> Thank you for your reply. 
>> 
>> so if i understand we need to "downgrade" our ovirt engine which is in 
>> version 3.6.6.x to version 3.6.5? 
>> But how can we do that? 
> 
> You would only need to downgrade the 2 hosts to 3.6.5 VDSM. But 
> thinking of it, you could instead upgrade to 3.6.7 (rc2) - the bug is 
> fixed there. 
> 
>> Lionel Caignec. 
>> 
>> 
>> 
>> - Mail original - 
>> De: "Martin Polednik"  
>> À: "chapelle"  
>> Cc: "users" , "honvault"  
>> Envoyé: Mardi 7 Juin 2016 17:11:10 
>> Objet: Re: [ovirt-users] PCI Passthrough problem 
>> 
>> On 07/06/16 16:50 +0200, Jérôme Chapelle wrote: 
>>> We are no more able to give a pci device to one VM. 
>>> Here is the process we used to assign one device to one VM: 
>>> - Click on the VM, and then on the tab "Host devices" 
>>> - In the tab, click on "pin to host" and select the host that will give the 
>>> pci device 
>>> - Click on "add device", in the window appear all the pci devices: choose 
>>> the pci card you wish (ex. pci__83_00_0 pci__83_00_1) and then 
>>> click on the gray arrow to assign this device to the VM 
>>> - Click on ok 
>>> - boot the VM. 
>>> The problem is that in the window that appears, there is not a single pci 
>>> device listed (there should be many listed). 
>>> I checked first: the IOMMU setting is set in the kernel. 
>>> 
>>> Our environment: 
>>> We have two HV running CentOs7. 
>>> Each of them have three fiber channel cards. First card is connected to a 
>>> disk array, second one to the first tape library and third one to another 
>>> tape library. 
>>> We used to give the second card to a VM1, and the third card to another 
>>> VM2. Both VMs ran on one HV or on the other in the past: everything was 
>>> fine. 
>>> What happened: 
>>> Today we add to upgrade one of the HV (HV1). Both VMs ran on this HV1. We 
>>> upgraded then restarted the HV1. 
>>> Then I edited the second VM2 in order to remove card from HV1. Then I tried 
>>> to add the card from HV2 to this VM2: the list of "host devices" is empty. 
>>> I started the VM1: it works fine (I didn't change anything on it). 
>> 
>> Hello! 
>> 
>> I'm afraid you have hit the bug [1]. For hosts where you need host 
>> devices, the best solution is most likely not upgrading them to 3.6.6 
>> for now. 
>> 
>> [1] https://bugzilla.redhat.com/show_bug.cgi?id=1341299 
>> 
>>> 
>>> -- 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> Jérôme Chapelle 
>>> C entre I nformatique N ational de l' E nseignement S upérieur 
>>> 950 rue de Saint Priest 
>>> 34 097 M ONTPELLIER Cedex 5 
>>> 
>>> Tél. 04 67 14 14 14 
>>> eMail chape...@cines.fr 
>>> 
>> 
>>> ___ 
>>> 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 
> 
> 

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

-- 






Re: [ovirt-users] Changing ticket duration for VMs

2016-06-08 Thread Michal Skrivanek

> On 07 Jun 2016, at 12:20, Alexis HAUSER  
> wrote:
> 
> Hi,
> 
> 
> I'm looking for a way to change the duration of all tickets from all VMs. How 
> can I do this ? I'd like to change it to 5 min instead of 2 min.

standalone clients or web clients? For web there’s websocket proxy which has 
it’s own WebSocketProxyTicketValiditySeconds engine-config parameter
But I think the regular 120s for the actual qemu connection still applies, so 
it won’t solve anything for you
120s cannot be changed

> 
> It seems it is possible to change these parameters using the RestAPI, with 
> "action.grace_period.expiry" or "action.ticket.value"...
> Anyway, these parameters seems to be accessible only using POST but not GET. 
> How can you retrieve their value then, using POST ?
> 
> These parameters seem to be available for each VM, is there a way to set it 
> for all VMs in general, even next VM created ? Do they work for all tickets 
> created, or only one single generated ticket where you define its value ?

Note that if your clock between engine and hosts is too much off you will run 
into all kind of issues. So please do make sure you have NTP set up on all 
machines correctly.
For clients connecting to portal/console it’s indeed just this ticket validity 
which is often a problem:)

Thanks,
michal

> 
> ___
> 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] PCI Passthrough problem

2016-06-08 Thread Michal Skrivanek

> On 08 Jun 2016, at 08:41, Lionel Caignec  wrote:
> 
> Hi thanks for reply
> 
> There is something i does not understand, on my hosts i've vdsm 4.17.28-0.el7 
> no indication about a version 3.6.5 or 3.6.7.
> How can i get this version?

The ovirt release 3.6.7 rc2, see Sandro’s announcement email sent to this list 
last Thursday. Once you reconfigure repos as explained there you will see the 
new fixed vdsm:) It’s a release candidate repo

Hope it works,
michal

> 
> 
> 
> 
> - Mail original -
> De: "Martin Polednik" 
> À: "Lionel Caignec" 
> Cc: "Martin Polednik" , "chapelle" , 
> "users" , "honvault" 
> Envoyé: Mercredi 8 Juin 2016 08:20:02
> Objet: Re: PCI Passthrough problem
> 
> On 07/06/16 19:04 +0200, Lionel Caignec wrote:
>> Hi i'm coworker of Mr Chapelle,
>> 
>> Thank you for your reply.
>> 
>> so if i understand we need to "downgrade" our ovirt engine which is in 
>> version 3.6.6.x to version 3.6.5?
>> But how can we do that?
> 
> You would only need to downgrade the 2 hosts to 3.6.5 VDSM. But
> thinking of it, you could instead upgrade to 3.6.7 (rc2) - the bug is
> fixed there.
> 
>> Lionel Caignec.
>> 
>> 
>> 
>> - Mail original -
>> De: "Martin Polednik" 
>> À: "chapelle" 
>> Cc: "users" , "honvault" 
>> Envoyé: Mardi 7 Juin 2016 17:11:10
>> Objet: Re: [ovirt-users] PCI Passthrough problem
>> 
>> On 07/06/16 16:50 +0200, Jérôme Chapelle wrote:
>>> We are no more able to give a pci device to one VM.
>>> Here is the process we used to assign one device to one VM:
>>> - Click on the VM, and then on the tab "Host devices"
>>> - In the tab, click on "pin to host" and select the host that will give the 
>>> pci device
>>> - Click on "add device", in the window appear all the pci devices: choose 
>>> the pci card you wish (ex. pci__83_00_0 pci__83_00_1) and then 
>>> click on the gray arrow to assign this device to the VM
>>> - Click on ok
>>> - boot the VM.
>>> The problem is that in the window that appears, there is not a single pci 
>>> device listed (there should be many listed).
>>> I checked first: the IOMMU setting is set in the kernel.
>>> 
>>> Our environment:
>>> We have two HV running CentOs7.
>>> Each of them have three fiber channel cards. First card is connected to a 
>>> disk array, second one to the first tape library and third one to another 
>>> tape library.
>>> We used to give the second card to a VM1, and the third card to another 
>>> VM2. Both VMs ran on one HV or on the other in the past: everything was 
>>> fine.
>>> What happened:
>>> Today we add to upgrade one of the HV (HV1). Both VMs ran on this HV1. We 
>>> upgraded then restarted the HV1.
>>> Then I edited the second VM2 in order to remove card from HV1. Then I tried 
>>> to add the card from HV2 to this VM2: the list of "host devices" is empty.
>>> I started the VM1: it works fine (I didn't change anything on it).
>> 
>> Hello!
>> 
>> I'm afraid you have hit the bug [1]. For hosts where you need host
>> devices, the best solution is most likely not upgrading them to 3.6.6
>> for now.
>> 
>> [1] https://bugzilla.redhat.com/show_bug.cgi?id=1341299
>> 
>>> 
>>> --
>>> 
>>> 
>>> 
>>> 
>>> 
>>> Jérôme Chapelle
>>> C entre I nformatique N ational de l' E nseignement S upérieur
>>> 950 rue de Saint Priest
>>> 34 097 M ONTPELLIER Cedex 5
>>> 
>>> Tél.04 67 14 14 14
>>> eMail   chape...@cines.fr
>>> 
>> 
>>> ___
>>> 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
> 
> 

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


Re: [ovirt-users] PCI Passthrough problem

2016-06-08 Thread Lionel Caignec
Hi thanks for reply

There is something i does not understand, on my hosts i've vdsm 4.17.28-0.el7 
no indication about a version 3.6.5 or 3.6.7.
How can i get this version?




- Mail original -
De: "Martin Polednik" 
À: "Lionel Caignec" 
Cc: "Martin Polednik" , "chapelle" , 
"users" , "honvault" 
Envoyé: Mercredi 8 Juin 2016 08:20:02
Objet: Re: PCI Passthrough problem

On 07/06/16 19:04 +0200, Lionel Caignec wrote:
>Hi i'm coworker of Mr Chapelle,
>
>Thank you for your reply.
>
>so if i understand we need to "downgrade" our ovirt engine which is in version 
>3.6.6.x to version 3.6.5?
>But how can we do that?

You would only need to downgrade the 2 hosts to 3.6.5 VDSM. But
thinking of it, you could instead upgrade to 3.6.7 (rc2) - the bug is
fixed there.

>Lionel Caignec.
>
>
>
>- Mail original -
>De: "Martin Polednik" 
>À: "chapelle" 
>Cc: "users" , "honvault" 
>Envoyé: Mardi 7 Juin 2016 17:11:10
>Objet: Re: [ovirt-users] PCI Passthrough problem
>
>On 07/06/16 16:50 +0200, Jérôme Chapelle wrote:
>>We are no more able to give a pci device to one VM.
>>Here is the process we used to assign one device to one VM:
>>- Click on the VM, and then on the tab "Host devices"
>>- In the tab, click on "pin to host" and select the host that will give the 
>>pci device
>>- Click on "add device", in the window appear all the pci devices: choose the 
>>pci card you wish (ex. pci__83_00_0 pci__83_00_1) and then click on 
>>the gray arrow to assign this device to the VM
>>- Click on ok
>>- boot the VM.
>>The problem is that in the window that appears, there is not a single pci 
>>device listed (there should be many listed).
>>I checked first: the IOMMU setting is set in the kernel.
>>
>>Our environment:
>>We have two HV running CentOs7.
>>Each of them have three fiber channel cards. First card is connected to a 
>>disk array, second one to the first tape library and third one to another 
>>tape library.
>>We used to give the second card to a VM1, and the third card to another VM2. 
>>Both VMs ran on one HV or on the other in the past: everything was fine.
>>What happened:
>>Today we add to upgrade one of the HV (HV1). Both VMs ran on this HV1. We 
>>upgraded then restarted the HV1.
>>Then I edited the second VM2 in order to remove card from HV1. Then I tried 
>>to add the card from HV2 to this VM2: the list of "host devices" is empty.
>>I started the VM1: it works fine (I didn't change anything on it).
>
>Hello!
>
>I'm afraid you have hit the bug [1]. For hosts where you need host
>devices, the best solution is most likely not upgrading them to 3.6.6
>for now.
>
>[1] https://bugzilla.redhat.com/show_bug.cgi?id=1341299
>
>>
>>--
>>
>>
>>  
>>  
>>  
>>  Jérôme Chapelle
>>  C entre I nformatique N ational de l' E nseignement S upérieur
>>950 rue de Saint Priest
>>34 097 M ONTPELLIER Cedex 5
>>
>>  Tél.04 67 14 14 14
>>  eMail   chape...@cines.fr
>>
>
>>___
>>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] video memory in virtual machine

2016-06-08 Thread Martin Polednik

On 08/06/16 09:55 +0800, qinglong.d...@horebdata.cn wrote:

I have found that playing video is not fluent in the virtual machine. So I 
thought maybe too small video memory in virtual machines led to this. Some 
parameters have been found when I was trying to check some information. So I 
wonder where to modify them and if it works to do this.

-device qxl-vga,id=video0,ram_size=67108864,vram_size=8388608,vgamem_mb=16

Anyone can help?


You cannot directly set ram and vgamem, but you can modify vram size 
through vram multiplier.


The defaults are as follows:
vram_size = 8192 * vram multiplier (2)
ram_size = 16384 * 4
vgamem = 16384 * 1

(hopefully got them right)

Modifying osinfo[1] property vramMultiplier allows you to change vram
size.

[1] http://www.ovirt.org/develop/release-management/features/virt/os-info/


___
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