Re: [ovirt-users] Video RAM

2016-06-13 Thread Amador Pahim

On 06/14/2016 04:31 AM, qinglong.d...@horebdata.cn wrote:

Hi, all
I want to modify three arguments ram, vram and vgamem in the
qemu command where virtual machines are created. I found that
the arguments had default values in libvirt and I wonder how to modify
them. Could they be modified in a certain xml file or in
a before_vm_start VDSM 
hook?(http://www.ovirt.org/documentation/draft/video-ram/)


Yes, hook is the way to go.


I dont't know where the xml file is or
The xml is created every time you start a vm and deleted every time you 
shutdown a vm. A hook can change the resulting xml before start the vm.


> how to write the hook.

Here some examples: https://github.com/oVirt/vdsm/tree/master/vdsm_hooks


Anyone can help? Thanks!





___
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] Using oVirt Python SDK in Avocado Testing Framework

2016-04-20 Thread Amador Pahim

Hi guys,

I would like to share this post on using oVirt Python SDK to write tests 
in Avocado Testing Framework:


https://virtstuff.wordpress.com/2016/04/10/ovirt-functional-tests-using-avocado/

This post was born from an issue report, but after we get rid of the 
issue, I wonder if someone else can benefit from the remaining information.


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


Re: [ovirt-users] Looking for Python-SDK documentation

2016-04-11 Thread Amador Pahim



On 04/11/2016 02:07 PM, Brett I. Holcomb wrote:

On Mon, 2016-04-11 at 17:27 +0200, Frank Thommen wrote:

Dear all,

I'm currently lost at finding any documentation about the Python SDK
(http://www.ovirt.org/develop/release-management/features/infra/python-sdk/)
like provided classes, functions etc..  There are some examples on the
mentioned page, but I cannot find a complete documentation.  Our oVirt
server is running CentOS 7 with ovirt-engine-sdk-python installed.
However there doesn't seem to exist an ovirt-engine-sdk-python-docs
package and I couldn't find any appropriate link on the oVirt
documentation pages (http://www.ovirt.org/documentation/).

Any ideas, where the documentation is available?

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



Other than what you found I found this but that's all.  Doesn't seem 
to be much other than examples an the one that shows what to import. 
 I, too would like to find what your are looking for so I can use it.


There is this RHEV documentation that can be helpful:
https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Virtualization/3.3/html/Developer_Guide/chap-Python_Quick_Start_Example.html



http://www.ovirt.org/develop/api/pythonapi/


___
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] Cannot login after upgrade from 3.5 to 3.6

2016-01-28 Thread Amador Pahim

On 01/28/2016 01:59 PM, Eli Mesika wrote:


- Original Message -

From: "Marcelo Leandro" <marcelol...@gmail.com>
To: "Amador Pahim" <apa...@redhat.com>
Cc: "Eli Mesika" <emes...@redhat.com>, "Martin Perina" <mper...@redhat.com>, "Moti 
Asayag" <masa...@redhat.com>,
"Allon Mureinik" <amure...@redhat.com>, "users" <users@ovirt.org>
Sent: Thursday, January 28, 2016 1:39:49 PM
Subject: Re: [ovirt-users] Cannot login after upgrade from 3.5 to 3.6

Hello,
Yes i can.

It's here:
https://copy.com/OmnU13SAPXh13ZiR

Yes

The problem is in the command_entities table that is not cleaned up and has two 
records after taskcleaner.sh is invoked by engine-setup
Since engine tries to deserialize classes defined in this table and as Martin 
noted changes between 3.5 and 3.6 changed some classes, we got this exception
We should not allow leftovers to exists in this table during the upgrade 
process and taskcleaner utility should handle that as well
Please open a BZ on that, I will handle that
Meanwhile, as a workaround, run the following before the upgrade

psql -U engine -c "DELETE from command_entities;" 


I'm afraid the upgrade was done already. Will this work after the 
upgrade? Or he's supposed to downgrade/restore env to 3.5, run the 
DELETE and then try to upgrade again? Asking 'cause It's quite a task if 
yes :)







Thanks.

2016-01-28 8:17 GMT-03:00 Amador Pahim <apa...@redhat.com>:

On 01/28/2016 09:10 AM, Eli Mesika wrote:


- Original Message -

From: "Martin Perina" <mper...@redhat.com>
To: "Eli Mesika" <emes...@redhat.com>
Cc: "Moti Asayag" <masa...@redhat.com>, "Allon Mureinik"
<amure...@redhat.com>, "users" <users@ovirt.org>, "Amador
Pahim" <apa...@redhat.com>, "Marcelo Leandro" <marcelol...@gmail.com>
Sent: Thursday, January 28, 2016 12:59:02 PM
Subject: Re: [ovirt-users] Cannot login after upgrade from 3.5 to 3.6



- Original Message -

From: "Eli Mesika" <emes...@redhat.com>
To: "Martin Perina" <mper...@redhat.com>
Cc: "Moti Asayag" <masa...@redhat.com>, "Allon Mureinik"
<amure...@redhat.com>, "users" <users@ovirt.org>, "Amador
Pahim" <apa...@redhat.com>, "Marcelo Leandro" <marcelol...@gmail.com>
Sent: Thursday, January 28, 2016 11:55:56 AM
Subject: Re: [ovirt-users] Cannot login after upgrade from 3.5 to 3.6



- Original Message -

From: "Martin Perina" <mper...@redhat.com>
To: "Moti Asayag" <masa...@redhat.com>, "Allon Mureinik"
<amure...@redhat.com>
Cc: "Eli Mesika" <emes...@redhat.com>, "users" <users@ovirt.org>,
"Amador
Pahim" <apa...@redhat.com>, "Marcelo
Leandro" <marcelol...@gmail.com>
Sent: Wednesday, January 27, 2016 2:31:20 PM
Subject: Re: [ovirt-users] Cannot login after upgrade from 3.5 to 3.6

So now I finally understand the issue:

When you try to login, CommandBase tries to execute LoginCommand, but
before the command execution it loads content of commands cache and
here comes the issue: there's stored AddVmFromSnapshotCommand which
contains DiskImage as a parameter and DiskImage implementation has
changed between 3.5 and 3.6.

Moti, is there some way how to clean up commands cache so it doesn't
contain those 3.5 commands?

Also should those situation be covered during engine upgrades?

Martin, is this a left over in the command_entities table that caused
the
failure while the entity is deserialized ?

Probably, because this DiskImage.Id serialization exception started to
appear
after upgrade from 3.5. Is there any way how to verify and clean up?

I suggest having a bug on the taskcleaner code which is called upon
upgrade, then I will try to reproduce
Amador, Is there a chance we can get a backup of that 3.5 DB in order to
reproduce ?


Yes, I was talking to Marcelo off-list and he has the dump taken by
engine-setup. Marcelo, could you send the tar.gz'ed 3.5 dump download link
off-list to Eli?
Thank you.



Thanks

Martin


- Original Message -

From: "Marcelo Leandro" <marcelol...@gmail.com>
To: "Martin Perina" <mper...@redhat.com>
Cc: "Eli Mesika" <emes...@redhat.com>, "users" <users@ovirt.org>,
"Amador
Pahim" <apa...@redhat.com>
Sent: Wednesday, January 27, 2016 1:08:19 PM
Subject: Re: [ovirt-users] Cannot login after upgrade from 3.5 to 3.6

The server  just in time  isolate from the network,is it a problem?
thats ok?

follows the logs:

server.log:
https://copy.com/Eni9adZSCjyMZNFN

engine.log:
https://copy.com/ayczW9ipHdW4BWni

2016-01-27 5:32 GMT-03:00 Martin Perina <mper...@redhat.com>:

Re: [ovirt-users] Cannot login after upgrade from 3.5 to 3.6

2016-01-28 Thread Amador Pahim

On 01/28/2016 09:10 AM, Eli Mesika wrote:


- Original Message -

From: "Martin Perina" <mper...@redhat.com>
To: "Eli Mesika" <emes...@redhat.com>
Cc: "Moti Asayag" <masa...@redhat.com>, "Allon Mureinik" <amure...@redhat.com>, "users" 
<users@ovirt.org>, "Amador
Pahim" <apa...@redhat.com>, "Marcelo Leandro" <marcelol...@gmail.com>
Sent: Thursday, January 28, 2016 12:59:02 PM
Subject: Re: [ovirt-users] Cannot login after upgrade from 3.5 to 3.6



- Original Message -

From: "Eli Mesika" <emes...@redhat.com>
To: "Martin Perina" <mper...@redhat.com>
Cc: "Moti Asayag" <masa...@redhat.com>, "Allon Mureinik"
<amure...@redhat.com>, "users" <users@ovirt.org>, "Amador
Pahim" <apa...@redhat.com>, "Marcelo Leandro" <marcelol...@gmail.com>
Sent: Thursday, January 28, 2016 11:55:56 AM
Subject: Re: [ovirt-users] Cannot login after upgrade from 3.5 to 3.6



----- Original Message -

From: "Martin Perina" <mper...@redhat.com>
To: "Moti Asayag" <masa...@redhat.com>, "Allon Mureinik"
<amure...@redhat.com>
Cc: "Eli Mesika" <emes...@redhat.com>, "users" <users@ovirt.org>, "Amador
Pahim" <apa...@redhat.com>, "Marcelo
Leandro" <marcelol...@gmail.com>
Sent: Wednesday, January 27, 2016 2:31:20 PM
Subject: Re: [ovirt-users] Cannot login after upgrade from 3.5 to 3.6

So now I finally understand the issue:

When you try to login, CommandBase tries to execute LoginCommand, but
before the command execution it loads content of commands cache and
here comes the issue: there's stored AddVmFromSnapshotCommand which
contains DiskImage as a parameter and DiskImage implementation has
changed between 3.5 and 3.6.

Moti, is there some way how to clean up commands cache so it doesn't
contain those 3.5 commands?

Also should those situation be covered during engine upgrades?

Martin, is this a left over in the command_entities table that caused the
failure while the entity is deserialized ?

Probably, because this DiskImage.Id serialization exception started to appear
after upgrade from 3.5. Is there any way how to verify and clean up?

I suggest having a bug on the taskcleaner code which is called upon upgrade, 
then I will try to reproduce
Amador, Is there a chance we can get a backup of that 3.5 DB in order to 
reproduce ?


Yes, I was talking to Marcelo off-list and he has the dump taken by 
engine-setup. Marcelo, could you send the tar.gz'ed 3.5 dump download 
link off-list to Eli?

Thank you.




Thanks

Martin


- Original Message -

From: "Marcelo Leandro" <marcelol...@gmail.com>
To: "Martin Perina" <mper...@redhat.com>
Cc: "Eli Mesika" <emes...@redhat.com>, "users" <users@ovirt.org>,
"Amador
Pahim" <apa...@redhat.com>
Sent: Wednesday, January 27, 2016 1:08:19 PM
Subject: Re: [ovirt-users] Cannot login after upgrade from 3.5 to 3.6

The server  just in time  isolate from the network,is it a problem?
thats ok?

follows the logs:

server.log:
https://copy.com/Eni9adZSCjyMZNFN

engine.log:
https://copy.com/ayczW9ipHdW4BWni

2016-01-27 5:32 GMT-03:00 Martin Perina <mper...@redhat.com>:

Hi,

according to the test of login by ovirt-engine-extensions-tool you
were
logged in
successfully, so there shouldn't be any issues logging into engine
using
admin@internal ...

Unfortunately both engine.log and server.log ends on Jan 22th and I'd
really
like to see up-to-date logs.

So if you still cannot login into webadmin please do following:

1. Stop engine service

  systemctl stop ovirt-engine

or

  service ovirt-engine stop


2. Rotate logs

cd /var/log/ovirt-engine
mv engine.log engine-20160127.log
mv server.log server-20160127.log


3. Start engine

  systemctl start ovirt-engine

or

  service ovirt-engine start


4. Try to login as admin with domain internal using webadmin


5. Try to login as admin@internal using REST API by
accessing

  http://SERVER/ovirt-engine/api/datacenters

Into user please enter full username: admin@internal


When done please attach latest server.log and engine.log


Thanks a lot

Martin Perina


- Original Message -

From: "Marcelo Leandro" <marcelol...@gmail.com>
To: "Martin Perina" <mper...@redhat.com>
Cc: "Eli Mesika" <emes...@redhat.com>, "users" <users@ovirt.org>,
"Amador
Pahim" <apa...@redhat.com>
Sent: Tuesday, January 26, 2016 8:46:12 PM
Subject: Re: [ovirt-users] Cannot login after upgrade from 3.5 to
3.6

hello,

setup.log:
https://copy.com/lIYzccOnwCiW7e9q

and output the command :
https://copy.com/7psvpyUzUq0FKW31

error scre

Re: [ovirt-users] Cannot login after upgrade from 3.5 to 3.6

2016-01-22 Thread Amador Pahim

On 01/22/2016 03:03 PM, Marcelo Leandro wrote:

After engine-setup from ovirt-engine-3.5.6.2-1.el7.centos to
ovirt-engine-3.6.1.3-1.el7.centos, I'm not able to login anymore. The
engine.log say
Caused by: org.codehaus.jackson.map.JsonMappingException: Invalid type
id 'org.ovirt.engine.core.common.businessentities.DiskImage' (for id
type 'Id.class'): no such class found (through reference chain:
org.ovirt.engine.core.common.action.AddVmFromSnapshotParameters["vm"]->org.ovirt.engine.core.common.businessentities.VM["diskList"])


hmm, I see a similar msg here:
http://lists.ovirt.org/pipermail/devel/2015-July/010976.html

Not sure if related. Eli? Any thoughts here?



Here the setup log:
https://copy.com/YBddV8bg3tnjHnwp

And here the engine.log:
https://copy.com/TWjgIu7KwSkcmRZ8

Need urgent assistance. Thank you in advance.

Best Regards,
Marcelo Leandro
___
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] Node not talking NFS to Node.

2015-11-26 Thread Amador Pahim
Please provide us some logs from the affected hypervisor. vdsm.log and 
the result of "ip address show" should be a good starting point.


--
apahim


On 11/26/2015 08:04 AM, admin wrote:

Hello

Been trying to resolve a problem with my second node which does not 
want to connect :


one of my 2 nodes are not connecting, the problem is that the Node 
cant talk NFS to Node. the node used to function fine, after 
performing a hardware upgrade and bringing the system back up it seems 
to have come up with this issue. we also performed a yum update, 
updated around 447 packages.


Can someone please help me with this.

Thanks
Sol


___
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] Ovirt 3.6 | After upgrade host can not connect to storage domains | returned by VDSM was: 480

2015-11-06 Thread Amador Pahim

On 11/06/2015 05:07 AM, Punit Dambiwal wrote:

Hi,

After upgrade to host with ovirt 3.6 i am not able to attach the 
storage domain to host...storage domain can be add through command 
line but from ovirt dashboard as active host can not..


engine logs :- https://paste.fedoraproject.org/287499/


2015-11-06 15:01:51,103 ERROR 
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] 
(DefaultQuartzScheduler_Worker-78) [40bde6e1] Correlation ID: null, Call 
Stack: null, Custom Event ID: -1, Message: The error message for 
connection gluster.3linux.com:/sata returned by VDSM was: 480



Checking the error 480 in vdsm:

(vdsm/storage/storage_exception.py)

class UnsupportedGlusterVolumeReplicaCountError(StorageException):
code = 480
message = "Gluster volume replica count is not supported"


Seems like you're not using a replica 3 gluster volume.



Thanks,
Punit



___
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] No MAC addresses left in the MAC Address Pool

2015-11-06 Thread Amador Pahim

On 11/06/2015 07:42 AM, nico...@devels.es wrote:

Hi,

We're running oVirt 3.5.3.1-1. One of our users is trying to create a 
new VM. However, he gets the following warning:


2015-11-05 17:33:12,596 WARN 
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] 
(ajp--127.0.0.1-8702-23) [7a0ba949] Correlation ID: null, Call Stack: 
null, Custom Event ID: -1, Message: No MAC addresses left in the MAC 
Address Pool.
2015-11-05 17:33:28,804 WARN 
[org.ovirt.engine.core.bll.CloneVmCommand] (ajp--127.0.0.1-8702-18) 
[22611dad] CanDoAction of action CloneVm failed for user XXX@YYY. 
Reasons: VAR__ACTION__ADD,VAR__TYPE__VM,MAC_POOL_NOT_ENOUGH_MAC_ADDRESSES


Is there a way to increase the MAC Pool?


There are 2 settings to play here:

# engine-config -g MaxMacsCountInPool
MaxMacsCountInPool: 10 version: general

# engine-config -g MacPoolRanges
MacPoolRanges: 00:1a:4a:ab:64:00-00:1a:4a:ab:64:ff version: general

You're probably exhausting the MacPoolRanges. You can either extend the 
current range or add a new range, using commas between the ranges:


# engine-config -s 
"MacPoolRanges=00:1a:4a:ab:64:00-00:1a:4a:ab:64:ff,00:1A:4A:97:5F:00-00:1A:4A:97:5F:FF"


Then restart ovirt-engine service.

Iirc, this setting is changing to the UI in ovirt 3.6.




Thanks.
___
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] Memory Optimization settings

2015-09-30 Thread Amador Pahim

On 09/29/2015 06:14 PM, Groten, Ryan wrote:


On a cluster I can configure Memory Optimization “for server loads” 
(150% overcommit) or “for desktop loads” (200% overcommit).


This relates to memory page sharing right?  If so what’s the downside 
of just setting it as high as possible?




This is how much more memory you will use to create VMs. Using 150%, a 
hypervisor with 10GB of RAM will run up to 15 x 1GB VMs or 10 x 1,5GB 
VMs and so on. If it happens all VMs using all memory in the same time, 
you have KSM working to deduplicate memory pages and, as a last 
resource, enough swap to avoid the oom killer.


The best setting here depends on your workload. If you already know your 
VMs will use all memory they have, so the less the better. If you want a 
big number of VMs and they are not going to stress the memory that much, 
you can play with the values and find what fits better for you.



Thanks,

Ryan



___
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] Unable to add another host

2015-09-30 Thread Amador Pahim

On 09/30/2015 09:59 AM, Budur Nagaraju wrote:
2015-09-30 18:22:15,059 WARN 
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] 
(DefaultQuartzScheduler_Worker-7) [6e31ee33] Correlation ID: 4f29b4a7, 
Call Stack: null, Custom Event ID: -1, Message: Failed to connect Host 
infraesx2 to Storage Pool Pulse
Seems like you already have a Storage Pool called 'Pulse' and the new 
host is not able to connect to it. vdsm.log on the infraesx2 host will 
give you more details.

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


Re: [ovirt-users] quota limit for vm

2015-09-30 Thread Amador Pahim

On 09/28/2015 05:46 AM, Budur Nagaraju wrote:

HI

How to limit Quota in number of creation of vms?unable to find the option.


The quota is intended to limit the resource usage (vcpus, memory, 
storage). We don't do vm number limit.




Thanks,
Nagaraju




___
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] Unable to add another host

2015-09-30 Thread Amador Pahim

On 09/30/2015 12:30 PM, Budur Nagaraju wrote:


Can't we add another host even though storage pool is available ??



We can. The issue seems to be the new host not able to connect to the 
storage. Can you share the vdsm.log for the event?


On Sep 30, 2015 8:26 PM, "Amador Pahim" <apa...@redhat.com 
<mailto:apa...@redhat.com>> wrote:


On 09/30/2015 09:59 AM, Budur Nagaraju wrote:

2015-09-30 18:22:15,059 WARN
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]
(DefaultQuartzScheduler_Worker-7) [6e31ee33] Correlation ID:
4f29b4a7, Call Stack: null, Custom Event ID: -1, Message:
Failed to connect Host infraesx2 to Storage Pool Pulse

Seems like you already have a Storage Pool called 'Pulse' and the
new host is not able to connect to it. vdsm.log on the infraesx2
host will give you more details.



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


Re: [ovirt-users] Python: Clone snapshot into VM

2015-09-16 Thread Amador Pahim

On 09/15/2015 11:57 AM, gregor wrote:

Hi,

I write currently a little backup tool in Python which use the following
workflow:
- create a snapshot -> works
- clone snapshot into VM -> help needed


snapshot = 
params.Snapshot(id=api.vms.get('my_vm01').snapshots.list(description='my_vm_snap_01')[0].id)


snapshots = params.Snapshots(snapshot=[snapshot])

api.vms.add(params.VM(name='new_vm', memory=2524971008, 
cluster=api.clusters.get("Default"), snapshots=snapshots))



- delete the snapshot -> works
- export VM to NFS share -> works
- delete cloned VM -> TODO

Is it possible to clone a snapshot into a VM like from the web-interface?

The above workflow is a little bit resource expensive but it will when
it is finished make Online-Full-backups of VM's.

cheers
gregor
___
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] Sector-size (logical/physical) of 4K

2015-09-16 Thread Amador Pahim

On 09/14/2015 06:32 AM, Florian Crouzat wrote:

Hello,

I'm trying to achieve the equivalent of libvirtd "" with oVirt and


If you want only the libvirt xml, you can inject it using a vdsm hook. 
If you want ovirt to identify the sector size and set the proper xml, 
I'd suggest to open a RFE.




I'm having a hard time. I created a 4K luhn on my SAN and it is seen as
a 4K disk on the host, but within the VM, fdisk show 512 bytes for the
sector size. Is there a way/tips to delegate raw-data non-bootable
partition with 4K sector-size to oVirt virtual machines ?
I'm running 3.5 but I'm okay with a solution in 3.6.

Thanks
Florian

___
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] [ovirt-devel] Network statistics shown in ovirt doesn't look correct.

2015-09-16 Thread Amador Pahim

On 09/07/2015 08:21 AM, Ramesh Nachimuthu wrote:

Hi,

  I have a strange issue with the network traffic shown in oVirt 
webadmin portal. I have 2 10 Gb network card and I have created bond 
out of them. I have used *'iperf*' command to generate10 Gbps traffic 
and I can see that getting reflected in my nagios monitoring. Also 
iperf command confirms that it transferred the data at the rate of 
9.38 Gbits/sec.  But oVirt Ui shows only 1500 Mbps. I am not sure how 
oVirt shows very low traffic. Anyone experiencing the similar problem?


Maybe related to https://bugzilla.redhat.com/show_bug.cgi?id=1108144
Could you show the result of the following command, executed on the host 
while the network test is happening?


# vdsClient -s 0 getVdsStats



VDSM Version: vdsm-4.16.20-1.3.el6rhs.x86_64
Ovirt release : both 3.5 and 3.6

I have attached the relevant screen shots here.

Regards,
Ramesh


___
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] Power Management for Nested VMs

2015-08-14 Thread Amador Pahim

Hi,

I'm used to have nested hypervisors for test/devel pourposes. The 
missing feature when using nested hypervisors is the Power Management 
device, keeping my env. useless to test HA, Cluster Policy with PM 
control and so on.


This week I had contact with the Minyard's set of patches for qemu, 
currently in review, adding an ipmi device to qemu. Here a post with my 
first experiments:


http://apahim.livejournal.com/2395.html

Hope you guys enjoy. Feel free to comment or suggest improvements.

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


Re: [ovirt-users] ovirt-guest-agent

2015-08-10 Thread Amador Pahim

Please check the command vdsClient -s 0 getVmStats vm_id | grep disks.

You will find the following data (vdsm/rpc/vdsmapi-schema.json):
---
6845 ##
6846 # @VmDiskStats:
6847 #
6848 # Statistics about a virtual machine disk device.
6849 #
6850 # @truesize:  The amount of underlying storage allocated (in 
bytes)

6851 #
6852 # @apparentsize:  The size of the disk (in bytes)
6853 #
6854 # @imageID:   The UUID of the Image associated with this disk
6855 #
6856 # @readRate:  The read activity in bytes per second
6857 #
6858 # @writeRate: The write activity in bytes per second
6859 #
6860 # @readLatency:   The latency of read operations in nanoseconds
6861 #
6862 # @writeLatency:  The latency of write operations in nanoseconds
6863 #
6864 # @flushLatency:  The latency of flush operations in nanoseconds
6865 #
6866 # @writeOps:  Write operations since VM start (new in version 
4.17.0)

6867 #
6868 # @readOps:   Read operations since VM start (new in version 
4.17.0)

6869 #
6870 # @readBytes: Bytes read (new in version 4.17.0)
6871 #
6872 # @writtenBytes:  Bytes written (new in version 4.17.0)
6873 #
6874 # Since: 4.10.0
6875 ##
6876 {'type': 'VmDiskStats',
6877  'data': {'truesize': 'uint', 'apparentsize': 'uint', 'imageID': 
'UUID',

6878   'readRate': 'uint', 'writeRate': 'uint',
6879   'readLatency': 'uint', 'writeLatency': 'uint',
6880   'flushLatency': 'uint', 'writeOps': 'uint', 'readOps': 
'uint',

6881   'readBytes': 'uint', 'writtenBytes': 'uint'}}
---

The data is exposed through the API 
(https://ovirt.example.com/api/vms/vm_id/disks/disk_id/statistics).


--
apahim



On 08/10/2015 02:53 PM, Matthew Lagoe wrote:


You can sort of get the io from something like Nagios however the 
problem is if the vm goes wacky you can only get the stats properly 
from a lower level


*From:*users-boun...@ovirt.org [mailto:users-boun...@ovirt.org] *On 
Behalf Of *Donny Davis

*Sent:* Monday, August 10, 2015 10:48 AM
*To:* Arsène Gschwind
*Cc:* users
*Subject:* Re: [ovirt-users] ovirt-guest-agent

Can't you get these metrics from nagios?

On Aug 10, 2015 1:47 PM, Arsène Gschwind arsene.gschw...@unibas.ch 
mailto:arsene.gschw...@unibas.ch wrote:


I would also be interested for that feature since we run some VM with 
high I/O load it would be great to see those metrics in the interface.


rgds,
Arsène

On 08/10/2015 04:49 PM, Matthew Lagoe wrote:

I have had a RFE with Redhat for about 3 years on this exact item,
so it doesn’t seem to be a high priority, that said more people
asking for it is a good thing.

*From:*users-boun...@ovirt.org mailto:users-boun...@ovirt.org
[mailto:users-boun...@ovirt.org] *On Behalf Of *Johan Kooijman
*Sent:* Monday, August 10, 2015 06:16 AM
*To:* users
*Subject:* [ovirt-users] ovirt-guest-agent

Hi,

Would it be possible add the io stats of a vm into
ovirt-guest-agent for making that data available in the interface
of oVirt?

I could help out by getting the stats into the client package, the
server side would be a bigger issue to me.

-- 


Met vriendelijke groeten / With kind regards,
Johan Kooijman

___

Users mailing list

Users@ovirt.org mailto:Users@ovirt.org

http://lists.ovirt.org/mailman/listinfo/users


___
Users mailing list
Users@ovirt.org mailto: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] CPU family: which should I choose?

2015-07-31 Thread Amador Pahim

On 07/31/2015 03:24 AM, Alan Murrell wrote:

Hello,

I am a bit confused about the CPU families.  When I installed my host, 
it prompted me for the CPU family to use, and gave me a list of CPU 
models to choose from.  I chose the default suggestion, 
model_SandyBridge.


I don't recall all the choices it gave me offhand, but when I run ' 
vdsClient -s 0 getVdsCaps | grep -i flags ; echo -e -n \n ;cat 
/proc/cpuinfo | grep model name | head -n 1', it indicates the 
following models detected:


model_Nehalem
model_Conroe
model_coreduo
model_core2duo
model_Penryn
model_Westmere
model_n270
model_SandyBridge

Which one would provide the most compatibility?  Is there a list of 
CPU family hierarchies which would indicate what model(s) could fit 
with what?


You should choose the newest family that matches all your servers, so 
you have all of them with the same set of features available.
In the list above, SandyBridge is the newest. You can see the hierarchy 
here: /usr/share/libvirt/cpu_map.xml





Thanks! :-)

-Alan
___
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] oVirt in the 16th edition of the International Free Software Forum (FISL)

2015-07-19 Thread Amador Pahim

On 07/16/2015 11:25 AM, Douglas Schilling Landgraf wrote:

Report available at:
http://dougsland.livejournal.com/124552.html

Than you for the report Douglas. It was a great event and oVirt has been 
massively present.

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


Re: [ovirt-users] How do I get discard working?

2015-06-10 Thread Amador Pahim

On 06/10/2015 03:24 PM, Fabian Deutsch wrote:

- Original Message -

oVirt Node - 3.5 - 0.999.201504280931.el7.centos

Using our shared storage via baremetal (stock CentOS 7) - iscsi, I can
successfully issue fstrim commands. With oVirt at the VM level, even
with direct LUNS, trim commands are not supported despite having the LVM
config in the VMs set up to allow it.

Hey,

IIUIC you try to get discard working for VMs? That means that if fstrim is
used inside the VM, that it is getting passed down?

The command line needed for qemu to support discards is:

$ qemu … -drive if=virtio,cache=unsafe,discard,file=disk …

I'm not sure which qemu disk drivers/busses support this, but at least virtio 
does so.
I'm using it for development.

You could try a vdsm hook to modify the qemu command which is called when the 
VM is spawned.

Let me know if you can come up with a hook to realize this!


There's this hook in code review intended  to do so:
https://gerrit.ovirt.org/#/c/29770/



Greetings
fabian
___
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] Using 10gb vNIC/vbridge into VM is possible?

2014-12-19 Thread Amador Pahim

On 12/19/2014 02:08 PM, Darrell Budic wrote:
I tried a quick iperf test a while back and got 3-4Gb/sec between a 
pair of VMs on separate hosts with a 10G infrastructure, no real 
tuning and no SRIOV. That met my needs so I didn’t try anything 
further. If you were aiming for 10G for all, you’d want to work on 
SRIOV I imagine, but they get pretty good performance even without it.


Maybe we should report vNIC speed as the speed of underlying NIC/Bond. 
Even being the underlying NIC/Bond shared, it would reflect better the 
vNIC max. speed than a fake hard coded value.





On Dec 19, 2014, at 4:49 AM, Kalil de A. Carvalho kali...@gmail.com 
mailto:kali...@gmail.com wrote:


Dear Amador.

No, unfortunately not.

This was just a friend question, because he need VM with 10GB NIC's.

Today he is using Xenserver, this solution does not attend his 
expedition and he is research another solution.


I told him about oVirt/KVM but this is a prerequisite to use.

I will plan with him to try make a project to test a take the resolts.

Best regards.

On Fri, Dec 19, 2014 at 1:18 AM, Amador Segundoasegu...@redhat.com 
mailto:asegu...@redhat.comwrote:


Virtio devices does not support speed, so we fake their speeds
showing 1000mbps in Admin. Portal. If your boxes have 10gbps
devices then your vms are already taking advantage of that. Did
you test it? Could you share some results?


-Original Message-
From: Kalil de A. Carvalho [kali...@gmail.com
mailto:kali...@gmail.com]
Received: Thursday, 18 Dec 2014, 22:59
To:users@ovirt.org mailto:users@ovirt.org
Subject: [ovirt-users] Using 10gb vNIC/vbridge into VM is possible?


Hello all.

Today a follow work ask me if is possible to use vNIC or vbridge
in a VM managed by ovirt.

What he wants is to have a virtual 10gb network to some machines.

All hosts NIC's are 10gb.

Is this possible?

If yes how can I do it?

Best regards.




--
Atenciosamente,
Kalil de A. Carvalho

___
Users mailing list
Users@ovirt.org mailto: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] console viewer for ovrit engine

2014-12-17 Thread Amador Pahim

On 12/17/2014 04:26 PM, Dan Yasny wrote:



On Wed, Dec 17, 2014 at 2:22 PM, Yue, Cong cong_...@alliedtelesis.com 
mailto:cong_...@alliedtelesis.com wrote:


Hi

I finally created VM and it seems work well. But for the
administrator menu,but I can not show the browser-embeded console,
noVNC and Spice HTML5 browser client.

I am using firefox and chrome in Ubuntu 14.04 desktop OS.

Is there any setting or requirements for the browser-embeded
console viewer?


html5 support is all you need iirc


And install the CA cert on your browser.


Also if I select other console options as native client, one .w
file will be downloaded, what is the recommendation to open these
.w files with some native viewer for Ubuntu 14.04 desktop?


The file should be opened by virt-viewer (remote-viewer)

Thanks,

Cong



This e-mail message is for the sole use of the intended
recipient(s) and may contain confidential and privileged
information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the intended recipient,
please contact the sender by reply e-mail and destroy all copies
of the original message. If you are the intended recipient, please
be advised that the content of this message is subject to access,
review and disclosure by the sender's e-mail System Administrator.

___
Users mailing list
Users@ovirt.org mailto: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] shared storage with iscsi

2014-12-04 Thread Amador Pahim

On 12/04/2014 12:40 PM, mad Engineer wrote:

Thanks Gianluca,it says only NFS is supported as export domain.


That's right.


I
believe export domain is the one i am currently using for live
migrating vms across hosts.


That's not true. You're not using the Export Domain to support live 
migrations. Your VMs are running in a regular Storage Domain (not Export 
Domain), probably NFS, and it could be iscsi.



So iscsi is not supported,please correct me
if i am wrong.Thanks for your help

On Thu, Dec 4, 2014 at 9:00 PM, Gianluca Cecchi
gianluca.cec...@gmail.com wrote:

On Thu, Dec 4, 2014 at 4:23 PM, mad Engineer themadengin...@gmail.com
wrote:

Thanks Maor,in non ovirt kvm setup i use GFS2 to make the block device
shareable across multiple hosts.Could you tell me how is it achieved
in ovirt.

Regards


First step the admin guide:
http://www.ovirt.org/OVirt_Administration_Guide

and in particular the Storage chapter and the related iSCSI part:
http://www.ovirt.org/OVirt_Administration_Guide#.E2.81.A0Storage

Also, for multipath in case you need it:
http://www.ovirt.org/Feature/iSCSI-Multipath

HIH,
Gianluca

___
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] shared storage with iscsi

2014-12-04 Thread Amador Pahim

On 12/04/2014 02:54 PM, mad Engineer wrote:

sorry i am wrong its the data domain that stores virtual disk images,I
have no idea how ovirt shares block device across hosts.Looks like i
need to try that for understanding how its implemented.In case of
vmware they uses vmfs file system for sharing block device among
hosts.I currently have no issues with my NFS shared storage so dont
have any plan to use iscsi,but just curious how the implementation
is.


It's not shared considering the lowest level. Each disk corresponds to a 
LVM logical volume, which is activated only on the specific hypervisor 
running the VM. Others hypervisors cannot access the logical volume 
while the VM is not running on it (except for shared disks). To activate 
the logical volume (in order to run the VM), hypervisor runs a lvchange 
-ay vol_group/logical_vol



In my existing non ovirt environment,SAN block devices is exported
and its shared using GFS.Is ovirt using any simillar method to achieve
shared block device.



On Thu, Dec 4, 2014 at 9:10 PM, mad Engineer themadengin...@gmail.com wrote:

Thanks Gianluca,it says only NFS is supported as export domain.I
believe export domain is the one i am currently using for live
migrating vms across hosts.So iscsi is not supported,please correct me
if i am wrong.Thanks for your help

On Thu, Dec 4, 2014 at 9:00 PM, Gianluca Cecchi
gianluca.cec...@gmail.com wrote:

On Thu, Dec 4, 2014 at 4:23 PM, mad Engineer themadengin...@gmail.com
wrote:

Thanks Maor,in non ovirt kvm setup i use GFS2 to make the block device
shareable across multiple hosts.Could you tell me how is it achieved
in ovirt.

Regards


First step the admin guide:
http://www.ovirt.org/OVirt_Administration_Guide

and in particular the Storage chapter and the related iSCSI part:
http://www.ovirt.org/OVirt_Administration_Guide#.E2.81.A0Storage

Also, for multipath in case you need it:
http://www.ovirt.org/Feature/iSCSI-Multipath

HIH,
Gianluca

___
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] Cumulative VM network usagePERIOD_TIME

2014-11-20 Thread Amador Pahim

Hi Lior,

Thank you for this. Indeed I have seen multiple requests for this. I 
also have a bugzilla for it: 
https://bugzilla.redhat.com/show_bug.cgi?id=1108144. Some comments bellow.


On 11/11/2014 07:07 AM, Lior Vernia wrote:

Hello,

The need to monitor cumulative VM network usage has come up several
times in the past; while this should be handled as part of
(https://bugzilla.redhat.com/show_bug.cgi?id=1063343), in the mean time
I've written a small Python script that monitors those statistics,
attached here.

The script polls the engine via RESTful API periodically and dumps the
up-to-date total usage into a file. The output is a multi-level
map/dictionary in JSON format, where:
* The top level keys are VM names.
* Under each VM, the next level keys are vNIC names.
* Under each vNIC, there are keys for total 'rx' (received) and 'tx'
(transmitted), where the values are in Bytes.

The script is built to run forever. It may be stopped at any time, but
while it's not running VM network usage data will be lost. When it's
re-run, it'll go back to accumulating data on top of its previous data.


This could be mitigated if along with rx and tx data, vdsm was reporting 
a timestamp reflecting the time when data was collected. So, even with 
gaps, we should be able to calculate the cumulative information.




A few disclaimers:
* I haven't tested this with any edge cases (engine service dies, etc.).
* Tested this with tens of VMs, not sure it'll work fine with hundreds.
* The PERIOD_TIME (polling interval) should be set so that it matches
both the engine's and vdsm's polling interval (see comments inside the
script), otherwise data will be either lost or counted multiple times.
 From 3.4 onwards, default configuration should be fine with 15 seconds.


Here we have another issue. In 3.4, 15 seconds is fine... backend and 
vdsm are in line with 15 seconds. But up to 3.3, vdsm is pooling the 
data every 5 seconds and backend is collecting data every 15 seconds. So 
2 in 3 vdsm poolings are droped. Since you're handling total bytes, this 
might not be a big issue.



* The precision of traffic measurement on a NIC is 0.1% of the
interface's speed over each PERIOD_TIME interval. For example, on a
1Gbps vNIC, when PERIOD_TIME = 15s, data will only be measured in 15Mb
(~2MB) quanta. Specifically what this means is, that in this example,
any traffic smaller than 2MB over a 15-second period would be negligible
and wouldn't be recorded.


Looking to the code, if overhead is bigger than PERIOD_TIME, 
cumulative data for a given period will never be accurate. Anyway the 
script will fall in exception when that is the case (negative value for 
time.sleep()). The mentioned timestamp reported by vdsm could drop the 
need for the overhead calculation.




Knock yourselves out :)


___
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] Cumulative VM network usagePERIOD_TIME

2014-11-20 Thread Amador Pahim

On 11/20/2014 09:20 AM, Amador Pahim wrote:

Hi Lior,

Thank you for this. Indeed I have seen multiple requests for this. I 
also have a bugzilla for it: 
https://bugzilla.redhat.com/show_bug.cgi?id=1108144. Some comments bellow.


On 11/11/2014 07:07 AM, Lior Vernia wrote:

Hello,

The need to monitor cumulative VM network usage has come up several
times in the past; while this should be handled as part of
(https://bugzilla.redhat.com/show_bug.cgi?id=1063343), in the mean time
I've written a small Python script that monitors those statistics,
attached here.

The script polls the engine via RESTful API periodically and dumps the
up-to-date total usage into a file. The output is a multi-level
map/dictionary in JSON format, where:
* The top level keys are VM names.
* Under each VM, the next level keys are vNIC names.
* Under each vNIC, there are keys for total 'rx' (received) and 'tx'
(transmitted), where the values are in Bytes.

The script is built to run forever. It may be stopped at any time, but
while it's not running VM network usage data will be lost. When it's
re-run, it'll go back to accumulating data on top of its previous data.


This could be mitigated if along with rx and tx data, vdsm was 
reporting a timestamp reflecting the time when data was collected. So, 
even with gaps, we should be able to calculate the cumulative information.


Actually vdsm is not reporting rx/tx bytes. They are tx/rx rate. So, 
we're only able to see the average consumption for the time between 
pooling periods.





A few disclaimers:
* I haven't tested this with any edge cases (engine service dies, etc.).
* Tested this with tens of VMs, not sure it'll work fine with hundreds.
* The PERIOD_TIME (polling interval) should be set so that it matches
both the engine's and vdsm's polling interval (see comments inside the
script), otherwise data will be either lost or counted multiple times.
 From 3.4 onwards, default configuration should be fine with 15 seconds.


Here we have another issue. In 3.4, 15 seconds is fine... backend and 
vdsm are in line with 15 seconds. But up to 3.3, vdsm is pooling the 
data every 5 seconds and backend is collecting data every 15 seconds. 
So 2 in 3 vdsm poolings are droped. Since you're handling total bytes, 
this might not be a big issue.


Forget the last sentence. It's a big issue since the data is not 
cumulative, but the average of the period between vdsm checks. 
bz#1066570 is the solution for precise calculations here.





* The precision of traffic measurement on a NIC is 0.1% of the
interface's speed over each PERIOD_TIME interval. For example, on a
1Gbps vNIC, when PERIOD_TIME = 15s, data will only be measured in 15Mb
(~2MB) quanta. Specifically what this means is, that in this example,
any traffic smaller than 2MB over a 15-second period would be negligible
and wouldn't be recorded.


Looking to the code, if overhead is bigger than PERIOD_TIME, 
cumulative data for a given period will never be accurate. Anyway the 
script will fall in exception when that is the case (negative value 
for time.sleep()). The mentioned timestamp reported by vdsm could drop 
the need for the overhead calculation.



Knock yourselves out :)


___
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] User management

2014-11-07 Thread Amador Pahim

On 11/07/2014 10:36 AM, Koen Vanoppen wrote:
Ok, so, is there a other way? So we can query also vm's who are 
created more than 30 days?



We have it on database, but I don't see it exposed on API:

engine=# select vm_static.vm_name, users.name, users.domain from 
vm_static, users where vm_static.created_by_user_id = users.user_id;

-[ RECORD 1 ]-
vm_name | vm01
name| admin
domain  | internal
-[ RECORD 2 ]-
vm_name | test
name| admin
domain  | internal
...

Please open a bugzilla ticket for it.




2014-11-07 14:17 GMT+01:00 Sven Kieske s.kie...@mittwald.de 
mailto:s.kie...@mittwald.de:




On 07/11/14 12:18, Yair Zaslavsky wrote:
 Well, at first I thought this should be done by browsing the
permissions collection in REST-API, but then I realized that we
can get this info from the events
 for example -

 YOUR_URL:/api/events

 then you will see something like -

 Vm my-vm-13 was created by a...@acme.com mailto:a...@acme.com

imho this is not sufficient, because the events are just stored
for the
last 30 days by default. If you want to collect this information for
a 31 days old vm, afaik you will get no information via this method.

--
Mit freundlichen Grüßen / Regards

Sven Kieske

Systemadministrator
Mittwald CM Service GmbH  Co. KG
Königsberger Straße 6
32339 Espelkamp
T: +49-5772-293-100 tel:%2B49-5772-293-100
F: +49-5772-293-333 tel:%2B49-5772-293-333
https://www.mittwald.de
Geschäftsführer: Robert Meyer
St.Nr.: 331/5721/1033, USt-IdNr.: DE814773217, HRA 6640, AG Bad
Oeynhausen
Komplementärin: Robert Meyer Verwaltungs GmbH, HRB 13260, AG Bad
Oeynhausen
___
Users mailing list
Users@ovirt.org mailto: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] CPU type is not supported

2014-10-23 Thread Amador Pahim

On 10/23/2014 06:02 AM, Fawzy Ibrhim wrote:

I tried to update BIOS to latest version but with no luck.

Can you advise where in BIOS, I have to enable AES?


I haven't such hardware, but googling I found this: 
http://i.stack.imgur.com/ljSei.png






___
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] Cluster settings: KSM Control not working?

2014-10-21 Thread Amador Pahim

On 10/19/2014 04:48 PM, Frank Wall wrote:

Hi Doron,

On Sun, Oct 19, 2014 at 11:42:47AM -0400, Doron Fediuck wrote:

KSM is controlled by MoM, which gets its policy from the engine through
VDSM. MoM will call ksm directly as needed when needed. If you choose
to disable it the policy needs to get updated.
Can you please check your mom logs and see if there are any errors there?

I wasn't aware of mom.log, thanks! :-) After another host reboot
and a manual Sync MOM Policy it seems like the setting finally came
through:

2014-10-19 15:57:18,211 - mom.Controllers.KSM - INFO - Updating KSM 
configuration: pages_to_scan:64 run:0 sleep_millisecs:10

Now the ksmd process is still there, but it remains idle.


Indeed ksmd process will always be there. The ultimate place to check 
whether it's working or not is /sys/kernel/mm/ksm/run file. 1 for 
running and 0 for sleeping. mom.log is reflecting its value and MoM 
process will change it as needed.



I've tried this multiple times before upgrading to 3.5.0 GA
today. Maybe it was broken between RC and GA.

I'll keep an eye on this and open a BZ in case the setting will
change again.


Regards
- Frank


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


Re: [ovirt-users] Proper way to change iSCSI and NFS IP

2014-10-21 Thread Amador Pahim

On 10/21/2014 07:37 PM, Trey Dockendorf wrote:
What is the proper way to change iSCSI and NFS IP used to access the 
storage domains?


Using the API: http://www.ovirt.org/Features/Manage_Storage_Connections

i.e. using ovirt-cli:

- Put SD in maintenance mode, then:

[root@ovirt-engine ~]# ovirt-shell -c -l 
https://ovirt-engine.example.com/api; -u admin@internal -I

[...]

[oVirt shell (connected)]# list storageconnections
[...]

[oVirt shell (connected)]# show storageconnection 
3aff9de7-426f-4ebf-99f7-088b52d08da1

[...]

[oVirt shell (connected)]# update storageconnection 
3aff9de7-426f-4ebf-99f7-088b52d08da1 --address NEW_IP

[...]

Activate SD.



My IB fabric which was doing storage crashed and we have a scheduled 
maintenance window for next week at which time I'd like to either move 
my storage to 10GbE or back to IB.  I was able to move things off IB 
to standard TCP/IP by editing the database but that is likely not the 
correct way.  I am on ovirt 3.4.3.  My NFS domain is the master and 
iSCSI data domain is only used by two VMs while NFS is used by ~30 VMs.


Thanks,
- Trey


___
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] USB support always disable

2014-10-21 Thread Amador Pahim

On 10/21/2014 10:24 PM, PaulCheung wrote:


Dears,
Every time I set it to Native, but after I click comfirm, and start 
the VM, it still show Disable. Is it a bug? Actually the USB is enable.


The issue is the VM Edit window not loading current value 
(https://bugzilla.redhat.com/show_bug.cgi?id=1104318), but you can check 
the current value in VM General sub-tab.

Could you share the exact ovirt-engine version you're using?







Sincerely yours,
PaulCheung


 tel: 180-8882-7173


___
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] Cluster settings: KSM Control not working?

2014-10-09 Thread Amador Pahim

On 10/09/2014 04:31 PM, Frank Wall wrote:

Hi,

while testing oVirt 3.5 RC I've came across this cluster setting:

Optimization - KSM control - [X] Enable KSM

I guess it's related to Kernel Same-page Merging.
Since KSM is a bad idea in my case (really slow CPUs), I've disabled
this Cluster setting, expecting oVirt to disable KSM on each oVirt Node.
But KSM is still running and consuming a lot CPU.

1) What is the expected result for this setting?


It will have effect next host change to Up state (i.e. from Maintenance 
or from a reboot). Anyway, you can force the policy to have effect on 
the fly: select the cluster, click in Hosts sub-tab, select the host(s) 
and click Sync MOM Policy.



2) And how do I completely and permanentely disable KSM on oVirt Nodes?


This setting is permanent.




Regards
- Frank
___
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] oVirt 3.2 - iSCSI offload (broadcom - bnx2i)

2014-10-08 Thread Amador Pahim

On 10/08/2014 08:29 AM, Ricardo Esteves wrote:

Hi,

lspci -nn

00:00.0 Host bridge [0600]: Intel Corporation 5500 I/O Hub to ESI Port 
[8086:3403] (rev 13)
00:01.0 PCI bridge [0604]: Intel Corporation 5520/5500/X58 I/O Hub PCI 
Express Root Port 1 [8086:3408] (rev 13)
00:02.0 PCI bridge [0604]: Intel Corporation 5520/5500/X58 I/O Hub PCI 
Express Root Port 2 [8086:3409] (rev 13)
00:03.0 PCI bridge [0604]: Intel Corporation 5520/5500/X58 I/O Hub PCI 
Express Root Port 3 [8086:340a] (rev 13)
00:07.0 PCI bridge [0604]: Intel Corporation 5520/5500/X58 I/O Hub PCI 
Express Root Port 7 [8086:340e] (rev 13)
00:08.0 PCI bridge [0604]: Intel Corporation 5520/5500/X58 I/O Hub PCI 
Express Root Port 8 [8086:340f] (rev 13)
00:09.0 PCI bridge [0604]: Intel Corporation 7500/5520/5500/X58 I/O 
Hub PCI Express Root Port 9 [8086:3410] (rev 13)
00:0a.0 PCI bridge [0604]: Intel Corporation 7500/5520/5500/X58 I/O 
Hub PCI Express Root Port 10 [8086:3411] (rev 13)

00:0d.0 Host bridge [0600]: Intel Corporation Device [8086:343a] (rev 13)
00:0d.1 Host bridge [0600]: Intel Corporation Device [8086:343b] (rev 13)
00:0d.2 Host bridge [0600]: Intel Corporation Device [8086:343c] (rev 13)
00:0d.3 Host bridge [0600]: Intel Corporation Device [8086:343d] (rev 13)
00:0d.4 Host bridge [0600]: Intel Corporation 7500/5520/5500/X58 
Physical Layer Port 0 [8086:3418] (rev 13)
00:0d.5 Host bridge [0600]: Intel Corporation 7500/5520/5500 Physical 
Layer Port 1 [8086:3419] (rev 13)

00:0d.6 Host bridge [0600]: Intel Corporation Device [8086:341a] (rev 13)
00:0e.0 Host bridge [0600]: Intel Corporation Device [8086:341c] (rev 13)
00:0e.1 Host bridge [0600]: Intel Corporation Device [8086:341d] (rev 13)
00:0e.2 Host bridge [0600]: Intel Corporation Device [8086:341e] (rev 13)
00:0e.3 Host bridge [0600]: Intel Corporation Device [8086:341f] (rev 13)
00:0e.4 Host bridge [0600]: Intel Corporation Device [8086:3439] (rev 13)
00:14.0 PIC [0800]: Intel Corporation 7500/5520/5500/X58 I/O Hub 
System Management Registers [8086:342e] (rev 13)
00:14.1 PIC [0800]: Intel Corporation 7500/5520/5500/X58 I/O Hub GPIO 
and Scratch Pad Registers [8086:3422] (rev 13)
00:14.2 PIC [0800]: Intel Corporation 7500/5520/5500/X58 I/O Hub 
Control Status and RAS Registers [8086:3423] (rev 13)
00:1c.0 PCI bridge [0604]: Intel Corporation 82801JI (ICH10 Family) 
PCI Express Root Port 1 [8086:3a40]
00:1d.0 USB controller [0c03]: Intel Corporation 82801JI (ICH10 
Family) USB UHCI Controller #1 [8086:3a34]
00:1d.1 USB controller [0c03]: Intel Corporation 82801JI (ICH10 
Family) USB UHCI Controller #2 [8086:3a35]
00:1d.2 USB controller [0c03]: Intel Corporation 82801JI (ICH10 
Family) USB UHCI Controller #3 [8086:3a36]
00:1d.3 USB controller [0c03]: Intel Corporation 82801JI (ICH10 
Family) USB UHCI Controller #6 [8086:3a39]
00:1d.7 USB controller [0c03]: Intel Corporation 82801JI (ICH10 
Family) USB2 EHCI Controller #1 [8086:3a3a]
00:1e.0 PCI bridge [0604]: Intel Corporation 82801 PCI Bridge 
[8086:244e] (rev 90)
00:1f.0 ISA bridge [0601]: Intel Corporation 82801JIB (ICH10) LPC 
Interface Controller [8086:3a18]
01:03.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. 
[AMD/ATI] ES1000 [1002:515e] (rev 02)
01:04.0 System peripheral [0880]: Compaq Computer Corporation 
Integrated Lights Out Controller [0e11:b203] (rev 03)
01:04.2 System peripheral [0880]: Compaq Computer Corporation 
Integrated Lights Out  Processor [0e11:b204] (rev 03)
01:04.4 USB controller [0c03]: Hewlett-Packard Company Integrated 
Lights-Out Standard Virtual USB Controller [103c:3300]
01:04.6 IPMI SMIC interface [0c07]: Hewlett-Packard Company Integrated 
Lights-Out Standard KCS Interface [103c:3302]
02:00.0 Ethernet controller [0200]: Broadcom Corporation NetXtreme II 
BCM57711E 10-Gigabit PCIe [14e4:1650]
02:00.1 Ethernet controller [0200]: Broadcom Corporation NetXtreme II 
BCM57711E 10-Gigabit PCIe [14e4:1650]
06:00.0 Ethernet controller [0200]: Broadcom Corporation NetXtreme II 
BCM5709S Gigabit Ethernet [14e4:163a] (rev 20)
06:00.1 Ethernet controller [0200]: Broadcom Corporation NetXtreme II 
BCM5709S Gigabit Ethernet [14e4:163a] (rev 20)
0c:00.0 RAID bus controller [0104]: Hewlett-Packard Company Smart 
Array G6 controllers [103c:323a] (rev 01)


---

lsmod | grep bnx2

bnx2i  52167  0
libiscsi   49836  8 
be2iscsi,cxgb4i,cxgb3i,libcxgbi,ib_iser,iscsi_tcp,libiscsi_tcp,bnx2i
scsi_transport_iscsi84241  8 
be2iscsi,libcxgbi,ib_iser,iscsi_tcp,bnx2i,libiscsi

cnic   72983  1 bnx2i
bnx2  199384  0
bnx2x1445902  0
libcrc32c   1246  1 bnx2x
mdio4769  2 cxgb3,bnx2x



dmesg | grep bnx2

bnx2x: Broadcom NetXtreme II 5771x/578xx 10/20-Gigabit Ethernet Driver 
bnx2x 1.710.39 ($DateTime: 2014/06/02 04:31:55 $)

bnx2x :02:00.0: msix capability found
bnx2x :02:00.0: PCI INT A - GSI 28 (level, low) - IRQ 28
bnx2x :02:00.0: setting latency timer to 64
bnx2x 

Re: [ovirt-users] VM Contextutalization?

2014-07-09 Thread Amador Pahim

On 07/09/2014 08:52 PM, Brian Proffitt wrote:

One of the CentOS developers has asked me if oVirt could be used to create 
something like this:

http://wiki.centos.org/Cloud/OpenNebula

Only with oVirt rather than OpenNebula. Anyone have any pointers/ideas?


We can use oVirt to export CentOS OVF images. Users will then upload the 
image to oVirt using engine-image-uploader.

http://www.ovirt.org/OVirt_engine_tools#engine-image-uploader



BKP





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


Re: [ovirt-users] Spam Re: CPU Flags

2014-06-27 Thread Amador Pahim

On 06/27/2014 09:14 AM, Maurice James wrote:

Is there anything else that I need to do beside installing those vdsm hooks? I 
ask because you said that its not available in stock el6


You need to check if nested KVM support is enabled on your machine

cat /sys/module/kvm_intel/parameters/nested

If the answer is N:

echo options kvm-intel nested=1  /etc/modprobe.d/kvm-intel.conf

Then reboot. This and vdsm-hook-nestedvt package should be enough.




- Original Message -
From: Dan Kenigsberg dan...@redhat.com
To: Maurice James mja...@media-node.com
Cc: users users@ovirt.org
Sent: Friday, June 27, 2014 4:27:50 AM
Subject: Re: [ovirt-users] CPU Flags

On Thu, Jun 26, 2014 at 06:49:00PM -0400, Maurice James wrote:

Is it possible to pass the vmx extension to a guest?

Yes, but you need nested kvm support in the host (which is not available
in stock el6), and to install the nestedvt hook. More about it in
http://community.redhat.com/blog/2013/08/testing-ovirt-3-3-with-nested-kvm/


Is that what the vhost custom property is for?

Nope, that's to turn off a certain type of vNIC optimization that used
to be detrimental to certain guests.
___
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: [Users] Proposal for a fresh look and feel for Ovirt

2013-10-14 Thread Amador Pahim


On 10/14/2013 02:06 PM, Malini Rao wrote:

Hi all,

Here is a proposal for updating the ovirt look and feel to give it a fresh and 
modern look - http://www.ovirt.org/Ovirt_LAF.
Your feedback and input is invited.
Hi Malini, great job. I really liked it. I'd  suggest evaluate better 
the load bars color. IMHO, it seems disconnected with the overall 
theme colors or even with the green used in unselected Up icons and 
the head's green line.
Please also evaluate the colors for all bar situations and the text 
color for each of them:

- Selected / Unselected.
- Green / Orange / Red.
- Low / Medium (tricky for text color) / High value.


Thanks
Malini
___
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: [Users] Portuguese Brazilian List about oVirt

2013-07-12 Thread Amador Pahim

On 07/12/2013 05:38 AM, Dave Neary wrote:

Hi,

How about ovirt-pt? Or are pt and pt_BR very different languages?


It works.
Thank you.



Cheers,
Dave.

On 07/12/2013 03:39 AM, Marcelo Barbosa wrote:

Hi Dave,

It would be great! Could you create it as ovirt-bra...@ovirt.org?
Adding APahim and Douglas in the loop (CC).
Thank you very much .

Marcelo Barbosa
Fedora Project Packager/Ambassador
fireman...@fedoraproject.org


On Thu, Jul 11, 2013 at 9:31 PM, Dave Neary dne...@redhat.com wrote:

Hi Marcelo,

I have a definite preference to having this list on ovirt.org - would
you be happy with that, instead of Google Groups?

Thanks,
Dave.

On 07/11/2013 09:15 PM, Marcelo Barbosa wrote:

Hey everybody,

I know what is very difficult communicate in english for some
users, i wish promote this list in portuguese brazilian about our
project oVirt,  sorry if I'm wrong about some rule this list, but my
intention is help more users is possible.

List: ovirt-bra...@googlegroups.com

Thanks for advance

Marcelo Barbosa
Fedora Project Packager/Ambassador
fireman...@fedoraproject.org
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


--
Dave Neary - Community Action and Impact
Open Source and Standards, Red Hat - http://community.redhat.com
Ph: +33 9 50 71 55 62 / Cell: +33 6 77 01 92 13


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


Re: [Users] Portuguese Brazilian List about oVirt

2013-07-12 Thread Amador Pahim

On 07/12/2013 10:43 AM, Dave Neary wrote:

Hi,

I will make you and Marcelo list admins, OK?

That way you get the moderator requests and can manage list membership
policies, etc. Since I am not a Portugese speaker that makes the most
sense to me.



Ok. Please include Douglas.



Cheers,
Dave.

On 07/12/2013 03:16 PM, Amador Pahim wrote:

On 07/12/2013 05:38 AM, Dave Neary wrote:

Hi,

How about ovirt-pt? Or are pt and pt_BR very different languages?

It works.
Thank you.


Cheers,
Dave.

On 07/12/2013 03:39 AM, Marcelo Barbosa wrote:

Hi Dave,

It would be great! Could you create it as ovirt-bra...@ovirt.org?
Adding APahim and Douglas in the loop (CC).
Thank you very much .

Marcelo Barbosa
Fedora Project Packager/Ambassador
fireman...@fedoraproject.org


On Thu, Jul 11, 2013 at 9:31 PM, Dave Neary dne...@redhat.com wrote:

Hi Marcelo,

I have a definite preference to having this list on ovirt.org - would
you be happy with that, instead of Google Groups?

Thanks,
Dave.

On 07/11/2013 09:15 PM, Marcelo Barbosa wrote:

Hey everybody,

 I know what is very difficult communicate in english for some
users, i wish promote this list in portuguese brazilian about our
project oVirt,  sorry if I'm wrong about some rule this list, but my
intention is help more users is possible.

 List: ovirt-bra...@googlegroups.com

Thanks for advance

Marcelo Barbosa
Fedora Project Packager/Ambassador
fireman...@fedoraproject.org
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


--
Dave Neary - Community Action and Impact
Open Source and Standards, Red Hat - http://community.redhat.com
Ph: +33 9 50 71 55 62 / Cell: +33 6 77 01 92 13


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


Re: [Users] Portuguese Brazilian List about oVirt

2013-07-12 Thread Amador Pahim

On 07/12/2013 11:05 AM, Itamar Heim wrote:

On 07/12/2013 11:38 AM, Dave Neary wrote:

Hi,

How about ovirt-pt? Or are pt and pt_BR very different languages?


kind of redundnat with ovirt.org?
why not users...@ovirt.org?


Makes sense. Dave?



(i assume this is only about users issues, not replacing devel lists)



Cheers,
Dave.

On 07/12/2013 03:39 AM, Marcelo Barbosa wrote:

Hi Dave,

It would be great! Could you create it as ovirt-bra...@ovirt.org?
Adding APahim and Douglas in the loop (CC).
Thank you very much .

Marcelo Barbosa
Fedora Project Packager/Ambassador
fireman...@fedoraproject.org


On Thu, Jul 11, 2013 at 9:31 PM, Dave Neary dne...@redhat.com wrote:

Hi Marcelo,

I have a definite preference to having this list on ovirt.org - would
you be happy with that, instead of Google Groups?

Thanks,
Dave.

On 07/11/2013 09:15 PM, Marcelo Barbosa wrote:

Hey everybody,

I know what is very difficult communicate in english for some
users, i wish promote this list in portuguese brazilian about our
project oVirt,  sorry if I'm wrong about some rule this list, but my
intention is help more users is possible.

List: ovirt-bra...@googlegroups.com

Thanks for advance

Marcelo Barbosa
Fedora Project Packager/Ambassador
fireman...@fedoraproject.org
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users



--
Dave Neary - Community Action and Impact
Open Source and Standards, Red Hat - http://community.redhat.com
Ph: +33 9 50 71 55 62 / Cell: +33 6 77 01 92 13




___
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: [Users] Portuguese Brazilian List about oVirt

2013-07-11 Thread Amador Pahim

On 07/11/2013 09:31 PM, Dave Neary wrote:

Hi Marcelo,

I have a definite preference to having this list on ovirt.org - would
you be happy with that, instead of Google Groups?


Great! Actually we created the list in google groups before checking the 
official infrastructure availability. I apologize for that.
But we have few members so far and the migration will be easy. Using 
ovirt.org will make us stronger over here.

Thank you.



Thanks,
Dave.

On 07/11/2013 09:15 PM, Marcelo Barbosa wrote:

Hey everybody,

I know what is very difficult communicate in english for some
users, i wish promote this list in portuguese brazilian about our
project oVirt,  sorry if I'm wrong about some rule this list, but my
intention is help more users is possible.

List: ovirt-bra...@googlegroups.com

Thanks for advance

Marcelo Barbosa
Fedora Project Packager/Ambassador
fireman...@fedoraproject.org
___
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: [Users] oVirt warning about memory usage

2013-01-07 Thread Amador Pahim

On 01/07/2013 06:18 AM, Alex Leonhardt wrote:

Hi,

just seen a memory usage warning in oVirt's Admin Interface saying the 
available memory is below threshold of 1024MB - however - when I 
checked the host, it had still 20GB left ?


See screenshot.

Alex



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


The message is happening due to memAvailable statistic coming from vdsm. The 
memAvailable field can be negative and considers a set of values from different sources 
to compose its result (free memory, cached memory, resident set size from qemu processes, 
committed memory from running vms and host reserved memory

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