Re: [ovirt-users] Hosted engine on gluster problem

2016-04-11 Thread Bond, Darryl
My setup is hyperconverged. I have placed my test results in 
https://bugzilla.redhat.com/show_bug.cgi?id=1298693


Short description of setup:

3 hosts with 2 disks each set up with gluster replica 3 across the 6 disks 
volume name hosted-engine.

Hostname hosted-storage configured in /etc//hosts to point to the host1.

Installed hosted engine on host1 with the hosted engine storage path = 
hosted-storage:/hosted-engine

Install first engine on h1 successful. Hosts h2 and h3 added to the hosted 
engine. All works fine.

Additional storage and non-hosted engine hosts added etc.

Additional VMs added to hosted-engine storage (oVirt Reports VM and Cinder VM). 
Additional VM's are hosted by other storage - cinder and NFS.

The system is in production.


Engine can be migrated around with the web interface.


- 3.6.4 upgrade released, follow the upgrade guide, engine is upgraded first , 
new Centos kernel requires host reboot.

- Engine placed on h2 -  h3 into maintenance (local) upgrade and Reboot h3 - No 
issues - Local maintenance removed from h3.

- Engine placed on h3 -  h2 into maintenance (local) upgrade and Reboot h2 - No 
issues - Local maintenance removed from h2.

- Engine placed on h3 -h1 into mainteance (local) upgrade and reboot h1 - 
engine crashes and does not start elsewhere, VM(cinder)  on h3 on same gluster 
volume pauses.

- Host 1 takes about 5 minutes to reboot (Enterprise box with all it's normal 
BIOS probing)

- Engine starts after h1 comes back and stabilises

- VM(cinder) unpauses itself,  VM(reports) continued fine the whole time. I can 
do no diagnosis on the 2 VMs as the engine is not available.

- Local maintenance removed from h​1


I don't believe the issue is with gluster itself as the volume remains 
accessible on all hosts during this time albeit with a missing server (gluster 
volume status) as each gluster server is rebooted.

Gluster was upgraded as part of the process, no issues were seen here.


I have been able to duplicate the issue without the upgrade by following the 
same sort of timeline.



From: Sandro Bonazzola 
Sent: Monday, 11 April 2016 7:11 PM
To: Richard Neuboeck; Simone Tiraboschi; Roy Golan; Martin Sivak; Sahina Bose
Cc: Bond, Darryl; users
Subject: Re: [ovirt-users] Hosted engine on gluster problem



On Mon, Apr 11, 2016 at 9:37 AM, Richard Neuboeck 
> wrote:
Hi Darryl,

I'm still experimenting with my oVirt installation so I tried to
recreate the problems you've described.

My setup has three HA hosts for virtualization and three machines
for the gluster replica 3 setup.

I manually migrated the Engine from the initial install host (one)
to host three. Then shut down host one manually and interrupted the
fencing mechanisms so the host stayed down. This didn't bother the
Engine VM at all.

Did you move the host one to maintenance before shutting down?
Or is this a crash recovery test?



To make things a bit more challenging I then shut down host three
while running the Engine VM. Of course the Engine was down for some
time until host two detected the problem. It started the Engine VM
and everything seems to be running quite well without the initial
install host.

Thanks for the feedback!



My only problem is that the HA agent on host two and three refuse to
start after a reboot due to the fact that the configuration of the
hosted engine is missing. I wrote another mail to 
users@ovirt.org
about that.

This is weird. Martin,  Simone can you please investigate on this?




Cheers
Richard

On 04/08/2016 01:38 AM, Bond, Darryl wrote:
> There seems to be a pretty severe bug with using hosted engine on gluster.
>
> If the host that was used as the initial hosted-engine --deploy host goes 
> away, the engine VM wil crash and cannot be restarted until the host comes 
> back.

is this an Hyperconverged setup?


>
> This is regardless of which host the engine was currently running.
>
>
> The issue seems to be buried in the bowels of VDSM and is not an issue with 
> gluster itself.

Sahina, can you please investigate on this?


>
> The gluster filesystem is still accessable from the host that was running the 
> engine. The issue has been submitted to bugzilla but the fix is some way off 
> (4.1).
>
>
> Can my hosted engine be converted to use NFS (using the gluster NFS server on 
> the same filesystem) without rebuilding my hosted engine (ie change 
> domainType=glusterfs to domainType=nfs)?

>
> What effect would that have on the hosted-engine storage domain inside oVirt, 
> ie would the same filesystem be mounted twice or would it just break.
>
>
> Will this actually fix the problem, does it have the same issue when the 
> hosted engine is on NFS?
>
>
> Darryl
>
>
>
>
> 
>
> The contents of this electronic message and any attachments are intended only 
> for the addressee and may contain legally 

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

2016-04-11 Thread Brett I. Holcomb
On Mon, 2016-04-11 at 20:41 +0200, Frank Thommen wrote:
> On 11.04.16 20:17, Brett I. Holcomb wrote:
> > 
> > On Mon, 2016-04-11 at 14:38 -0300, Amador Pahim wrote:
> > > 
> > > 
> > > 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/inf
> > > > > ra/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
> > > > 
> > Thanks.  That is helpful but as Frank said it would be nice to have
> > an
> > api reference for each class and function that gives the
> > parameters,
> > return values, and other stuff usually found in an API
> > reference.  The
> > examples are helpful but don't give all the information abut a
> > function
> > or class.
> Thanks to all who answered.  Brett brings it to the point:  All sent 
> links so far are indeed helpful - thanks a lot - but not the
> reference I 
> expected. 
> https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Virt
> ualization/3.6/html/Python_SDK_Guide/chap-
> Python_Reference_Documentation.html#Python_Reference_Documentation 
> mentions `pydoc`, but this documentation seems to be provided only
> for 
> some modules or to be incomplete.  Also for me not being a software 
> developper and newish to Python, the `pydoc` information is not very 
> useful.  Where can I e.g. find the documentation for vms.get() and 
> vms.add() (just to name teo concrete examples)?
> 
> Frank
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
I'm in the same boat as Frank.  I've done programming in various
languages since Fortran without the numbers  but only when needed
for my job as an Engineer so I'm not a professional but just trying to
get a job done.  It would be nice to have a full reference so we know
what to provide.  When trying to connect with the api I finally figured
out to use ca_file (like ca-file on the command line).  Raz's reference
is more complete but still leaves a lot out.  The newer equivalent of
Raz's reference seems to be http://www.ovirt.org/develop/release-manage
ment/features/infra/python-sdk/.
___
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 Raz Tamir
Try this http://old.ovirt.org/Python-sdk



Thanks,
Raz Tamir
Red Hat Israel

On Mon, Apr 11, 2016 at 10:57 PM, Jamie Lawrence 
wrote:

>
> > On Apr 11, 2016, at 11:41 AM, Frank Thommen <
> f.thom...@dkfz-heidelberg.de> wrote:
> >
>
> > Thanks to all who answered.  Brett brings it to the point:  All sent
> links so far are indeed helpful - thanks a lot - but not the reference I
> expected.
> https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Virtualization/3.6/html/Python_SDK_Guide/chap-Python_Reference_Documentation.html#Python_Reference_Documentation
> mentions `pydoc`, but this documentation seems to be provided only for some
> modules or to be incomplete.  Also for me not being a software developper
> and newish to Python, the `pydoc` information is not very useful.  Where
> can I e.g. find the documentation for vms.get() and vms.add() (just to name
> teo concrete examples)?
>
> I’m pretty sure the examples are all there is at the moment. I spent a
> while looking for reference material a few months ago and haven’t seen
> anything new mentioned in this thread. Between the examples and a couple of
> questions to the list, I managed to piece together what we needed
> (command-line-driven machine creation specific to our needs).
>
> I am a bit hazy on the specifics of what I did, but I recall that the main
> problem I had to ask about was with order-of-operations issues - it wasn’t
> obvious to me that setting some things out of the expected (by the API)
> order wouldn’t work. IIRC, this had to do with setting boot options.
>
> Best of luck,
>
> -j
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


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

2016-04-11 Thread Jamie Lawrence

> On Apr 11, 2016, at 11:41 AM, Frank Thommen  
> wrote:
> 

> Thanks to all who answered.  Brett brings it to the point:  All sent links so 
> far are indeed helpful - thanks a lot - but not the reference I expected. 
> https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Virtualization/3.6/html/Python_SDK_Guide/chap-Python_Reference_Documentation.html#Python_Reference_Documentation
>  mentions `pydoc`, but this documentation seems to be provided only for some 
> modules or to be incomplete.  Also for me not being a software developper and 
> newish to Python, the `pydoc` information is not very useful.  Where can I 
> e.g. find the documentation for vms.get() and vms.add() (just to name teo 
> concrete examples)?

I’m pretty sure the examples are all there is at the moment. I spent a while 
looking for reference material a few months ago and haven’t seen anything new 
mentioned in this thread. Between the examples and a couple of questions to the 
list, I managed to piece together what we needed (command-line-driven machine 
creation specific to our needs). 

I am a bit hazy on the specifics of what I did, but I recall that the main 
problem I had to ask about was with order-of-operations issues - it wasn’t 
obvious to me that setting some things out of the expected (by the API) order 
wouldn’t work. IIRC, this had to do with setting boot options.

Best of luck,

-j 
___
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 Frank Thommen

On 11.04.16 20:17, Brett I. Holcomb wrote:

On Mon, 2016-04-11 at 14:38 -0300, Amador Pahim wrote:


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



Thanks.  That is helpful but as Frank said it would be nice to have an
api reference for each class and function that gives the parameters,
return values, and other stuff usually found in an API reference.  The
examples are helpful but don't give all the information abut a function
or class.


Thanks to all who answered.  Brett brings it to the point:  All sent 
links so far are indeed helpful - thanks a lot - but not the reference I 
expected. 
https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Virtualization/3.6/html/Python_SDK_Guide/chap-Python_Reference_Documentation.html#Python_Reference_Documentation 
mentions `pydoc`, but this documentation seems to be provided only for 
some modules or to be incomplete.  Also for me not being a software 
developper and newish to Python, the `pydoc` information is not very 
useful.  Where can I e.g. find the documentation for vms.get() and 
vms.add() (just to name teo concrete examples)?


Frank
___
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 Brett I. Holcomb
On Mon, 2016-04-11 at 14:38 -0300, Amador Pahim wrote:
> 

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/pyt
> > hon-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_Virtua
lization/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
Thanks.  That is helpful but as Frank said it would be nice to have an
api reference for each class and function that gives the parameters,
return values, and other stuff usually found in an API reference.  The
examples are helpful but don't give all the information abut a function
or class.
##SELECTION_END##
>  ___
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] Looking for Python-SDK documentation

2016-04-11 Thread Brett I. Holcomb
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/pytho
> n-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.  
http://www.ovirt.org/develop/api/pythonapi/___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] ovirt with glusterfs - big test - unwanted results

2016-04-11 Thread Sahina Bose
So I looked at the vdsm logs and since there were multiple tests done it 
was difficult to isolate which error to track down. You mentioned test 
between 14:00-14:30  CET - but the gluster logs that were attached ended 
at 11.29 UTC


Tracking down the errors when the master domain (gluster volume 
1HP12-R3A1P1) went inactive for time period when corresponding gluster 
volume log was available - they all seem to correspond to an issue where 
gluster volume quorum was not met.


Can you confirm if this was for the test performed - or provide logs 
from correct time period (both vdsm and gluster mount logs are required 
- from hypervisors where the master domain is mounted)?


For master domain:
On 1hp1:
vdsm.log
Thread-35::ERROR::2016-03-31 
13:21:27,225::monitor::276::Storage.Monitor::(_monitorDomain) Err

or monitoring domain 14995860-1127-4dc4-b8c8-b540b89f9313
Traceback (most recent call last):
...
  File "/usr/lib/python2.7/site-packages/ioprocess/__init__.py", line 
454, in statvfs

resdict = self._sendCommand("statvfs", {"path": path}, self.timeout)
  File "/usr/lib/python2.7/site-packages/ioprocess/__init__.py", line 
427, in _sendCommand

raise OSError(errcode, errstr)
OSError: [Errno 107] Transport endpoint is not connected
Thread-35::INFO::2016-03-31 
13:21:27,267::monitor::299::Storage.Monitor::(_notifyStatusChanges) 
Domain 14995860-1127-4dc4-b8c8-b540b89f9313 became INVALID


-- And I see a corresponding:
[2016-03-31 11:21:16.027090] W [MSGID: 108001] 
[afr-common.c:4093:afr_notify] 0-1HP12-R3A1P1-r

eplicate-0: Client-quorum is not met

jsonrpc.Executor/0::DEBUG::2016-03-31 
13:23:34,110::__init__::533::jsonrpc.JsonRpcServer::(_serveRequest) 
Return 'GlusterVolume.status' in bridge with {'volumeStatus': {'bricks': 
[{'status': 'OFFLINE', 'hostuuid': 
'f6568a3b-3d65-4f4f-be9f-14a5935e37a4', 'pid': '-1', 'rdma_port': 'N/A', 
'brick': '1hp1:/STORAGES/P1/GFS', 'port': 'N/A'}, {'status': 'OFFLINE', 
'hostuuid': '8e87cf18-8958-41b7-8d24-7ee420a1ef9f', 'pid': '-1', 
'rdma_port': 'N/A', 'brick': '1hp2:/STORAGES/P1/GFS', 'port': 'N/A'}], 
'nfs': [{'status': 'OFFLINE', 'hostuuid': 
'f6568a3b-3d65-4f4f-be9f-14a5935e37a4', 'hostname': '172.16.5.151/24', 
'pid': '-1', 'rdma_port': 'N/A', 'port': 'N/A'}, {'status': 'OFFLINE', 
'hostuuid': '8e87cf18-8958-41b7-8d24-7ee420a1ef9f', 'hostname': '1hp2', 
'pid': '-1', 'rdma_port': 'N/A', 'port': 'N/A'}], 'shd': [{'status': 
'ONLINE', 'hostname': '172.16.5.151/24', 'pid': '2148', 'hostuuid': 
'f6568a3b-3d65-4f4f-be9f-14a5935e37a4'}, {'status': 'ONLINE', 
'hostname': '1hp2', 'pid': '2146', 'hostuuid': 
'8e87cf18-8958-41b7-8d24-7ee420a1ef9f'}], 'name': '1HP12-R3A1P1'}}


-- 2 bricks were offline. I think the arbiter brick is not reported in 
the xml output - this is a bug.


Similarly on 1hp2:
Thread-35::ERROR::2016-03-31 
13:21:14,284::monitor::276::Storage.Monitor::(_monitorDomain) Err

or monitoring domain 14995860-1127-4dc4-b8c8-b540b89f9313
Traceback (most recent call last):
  ...
raise OSError(errcode, errstr)
OSError: [Errno 2] No such file or directory
Thread-35::INFO::2016-03-31 
13:21:14,285::monitor::299::Storage.Monitor::(_notifyStatusChanges) 
Domain 14995860-1127-4dc4-b8c8-b540b89f9313 became INVALID


Corresponding gluster mount log -
[2016-03-31 11:21:16.027640] W [MSGID: 108001] 
[afr-common.c:4093:afr_notify] 0-1HP12-R3A1P1-r

eplicate-0: Client-quorum is not met

On 04/05/2016 07:02 PM, p...@email.cz wrote:

Hello Sahina,
look attached logs which U requested

regs.
Pavel

On 5.4.2016 14:07, Sahina Bose wrote:



On 03/31/2016 06:41 PM, p...@email.cz wrote:

Hi,
rest of logs:
www.uschovna.cz/en/zasilka/HYGXR57CNHM3TP39-L3W 



The TEST is the last big event in logs 
TEST TIME : about 14:00-14:30  CET


Thank you Pavel for the interesting test report and sharing the logs.

You are right - the master domain should not go down if 2 of 3 bricks 
are available from volume A (1HP12-R3A1P1).


I notice that host kvmarbiter was not responsive at 2016-03-31 
13:27:19 , but the ConnectStorageServerVDSCommand executed on 
kvmarbiter node returned success at 2016-03-31 13:27:26


Could you also share the vdsm logs from 1hp1, 1hp2 and kvmarbiter 
nodes during this time ?


Ravi, Krutika - could you take a look at the gluster logs?



regs.Pavel

On 31.3.2016 14:30, Yaniv Kaul wrote:

Hi Pavel,

Thanks for the report. Can you begin with a more accurate 
description of your environment?
Begin with host, oVirt and Gluster versions. Then continue with the 
exact setup (what are 'A', 'B', 'C' - domains? Volumes? What is the 
mapping between domains and volumes?).


Are there any logs you can share with us?

I'm sure with more information, we'd be happy to look at the issue.
Y.


On Thu, Mar 31, 2016 at 3:09 PM, p...@email.cz > wrote:


Hello,
we tried the  following test - with unwanted results

input:
5 node gluster
A = replica 3 with 

[ovirt-users] Upgrade path/possibility from 3.3?

2016-04-11 Thread William Kwan
Hi all,
I have a couple of oVirt cluster running 3.3.3-2.el6.  I would like to upgrade 
them to the latest version. I sort of remember upgrading from 3.3 to 3.5 
required an step to upgrade to 3.4 as an extra step.  With the new 3.6, will it 
be fine to upgrade straight from 3.3.3 to 3.6? or I need some extra steps?
Another question is about preservation of the virtual machines. Can I export 
the VMs to some storage, upgrade oVirt and then import the VMs afterwards?  
Thanks in advance.Will___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] Single VM Down After Attempted Snapshot

2016-04-11 Thread Clint Boggio
Greetings users;

I've got a single VM in a 3.6 environment that is in a down state after
and attempt at creating a snapshot via script, and  exporting said
snapshot to the export domain. I see some indications of what could
possibly be wrong in the filtered engine.log, and i'm at a loss on how
to repair the problem. Below is a "tailf" of the engine.log as i attempt
to run the VM in it's current state. Any guidance or wisdom would be
much appreciated.

**BEGIN LOG***
[root@oVirtMGMT ovirt-engine]# tailf engine.log |grep -e Bill-V
2016-04-11 10:32:36,283 INFO 
[org.ovirt.engine.core.vdsbroker.CreateVmVDSCommand]
(org.ovirt.thread.pool-8-thread-13) [1a797672] START,
CreateVmVDSCommand( CreateVmVDSCommandParameters:{runAsync='true',
hostId='605c731f-726a-4135-9c22-5db6f34409fc',
vmId='6ef30172-b010-46fa-9482-accd30682232', vm='VM [Bill-V]'}), log
id: 36247abb 2016-04-11 10:32:36,288 INFO 
[org.ovirt.engine.core.vdsbroker.vdsbroker.CreateVDSCommand]
(org.ovirt.thread.pool-8-thread-13) [1a797672] START,
CreateVDSCommand(HostName = KVM02,
CreateVmVDSCommandParameters:{runAsync='true',
hostId='605c731f-726a-4135-9c22-5db6f34409fc',
vmId='6ef30172-b010-46fa-9482-accd30682232', vm='VM [Bill-V]'}), log
id: 590576e1 2016-04-11 10:32:36,330 INFO 
[org.ovirt.engine.core.vdsbroker.vdsbroker.CreateVDSCommand]
(org.ovirt.thread.pool-8-thread-13) [1a797672]
org.ovirt.engine.core.vdsbroker.vdsbroker.CreateVDSCommand
memGuaranteedSize=2048,smpThreadsPerCore=1,cpuType=Nehalem,vmId=6ef30172-b010-46fa-9482-accd30682232,acpiEnable=true,numaTune={nodeset=0,1,
mode=interleave},spiceSecureChannels=smain,sinputs,scursor,splayback,srecord,sdisplay,susbredir,ssmartcard,vmType=kvm,keyboardLayout=en-us,smp=4,smpCoresPerSocket=1,emulatedMachine=pc-i440fx-rhel7.2.0,smartcardEnable=false,fileTransferEnable=true,guestNumaNodes=[{memory=16383,
cpus=0,1,2,3,
nodeIndex=0}],transparentHugePages=true,displayNetwork=ovirtmgmt,vmName=Bill-V,maxVCpus=16,kvmEnable=true,devices=[{address={bus=0x00,
domain=0x, function=0x0, slot=0x02, type=pci}, type=video,
specParams={heads=1, vram=32768}, device=qxl,
deviceId=046209a4-ced4-4360-991a-51c2427b55b8}, {type=graphics,
specParams={fileTransferEnable=true, copyPasteEnable=true},
device=spice, deviceId=9f82bc46-0f7e-482f-a07d-8a66af5f1e87},
{iface=ide, shared=false, path=, address={bus=1, controller=0, unit=0,
type=drive, target=0}, readonly=true, index=2, type=disk,
specParams={path=}, device=cdrom,
deviceId=07d52a48-16f3-46be-831c-5dff2f9db4f9}, {shared=false,
address={bus=0, controller=0, unit=0, type=drive, target=0},
imageID=ad486d26-4594-4d16-a402-68b45d82078a, format=cow, index=0,
optional=false, type=disk,
deviceId=ad486d26-4594-4d16-a402-68b45d82078a,
domainID=045c7fda-ab98-4905-876c-00b5413a619f, propagateErrors=off,
iface=ide, readonly=false, bootOrder=1,
poolID=85a72afd-7bde-4065-a1bc-7fc6e22e6bf6,
volumeID=919d6991-43e4-4f26-868e-031a01011191, specParams={},
device=disk}, {filter=vdsm-no-mac-spoofing, nicModel=rtl8139,
address={bus=0x00, domain=0x, function=0x0, slot=0x03, type=pci},
type=interface, specParams={inbound={}, outbound={}}, device=bridge,
linkActive=true, deviceId=b9e193dd-4350-4b82-8409-e28d4a30965c,
macAddr=00:1a:4a:16:01:51, network=Inside-Network}, {address={bus=0x00,
domain=0x, function=0x0, slot=0x05, type=pci}, type=sound,
specParams={}, device=ich6,
deviceId=0f194af3-178f-4a09-a294-bbfa94f3d377}, {address={bus=0x00,
domain=0x, function=0x0, slot=0x04, type=pci}, type=controller,
specParams={}, device=virtio-serial,
deviceId=5390ac7e-5c38-4d97-a394-444e690b36c6}],custom={device_93412e9c-dfd5-4aa3-b139-c729f5711b88device_f401dfe7-c6ec-425e-b15f-8129ed74f86a=VmDevice:{id='VmDeviceId:{deviceId='f401dfe7-c6ec-425e-b15f-8129ed74f86a',
vmId='6ef30172-b010-46fa-9482-accd30682232'}', device='spicevmc',
type='CHANNEL', bootOrder='0', specParams='[]', address='{bus=0,
controller=0, type=virtio-serial, port=3}', managed='false',
plugged='true', readOnly='false', deviceAlias='channel2',
customProperties='[]', snapshotId='null', logicalName='null',
usingScsiReservation='false'},
device_93412e9c-dfd5-4aa3-b139-c729f5711b88device_f401dfe7-c6ec-425e-b15f-8129ed74f86adevice_11cff128-1362-41ac-8006-54952f083d81device_1acda734-f75e-4505-a2e6-1f8df72fcfef=VmDevice:{id='VmDeviceId:{deviceId='1acda734-f75e-4505-a2e6-1f8df72fcfef',
vmId='6ef30172-b010-46fa-9482-accd30682232'}', device='unix',
type='CHANNEL', bootOrder='0', specParams='[]', address='{bus=0,
controller=0, type=virtio-serial, port=2}', managed='false',
plugged='true', readOnly='false', deviceAlias='channel1',
customProperties='[]', snapshotId='null', logicalName='null',
usingScsiReservation='false'},
device_93412e9c-dfd5-4aa3-b139-c729f5711b88=VmDevice:{id='VmDeviceId:{deviceId='93412e9c-dfd5-4aa3-b139-c729f5711b88',
vmId='6ef30172-b010-46fa-9482-accd30682232'}', device='ide',
type='CONTROLLER', bootOrder='0', specParams='[]', address='{slot=0x01,
bus=0x00, domain=0x, type=pci, function=0x1}', managed='false',

[ovirt-users] Keyboard mapping VNC

2016-04-11 Thread Jonas Israelsson

Greetings.

We are under the impression the the keyboard layout for the VNC-server 
is missing from a vm's xml definition, hence the same default layout is 
always used.


We therefore (just to test) created a small host hook adding a static 
keyboard layout, and with the hook, it seem to work as expected as the 
-k switch to kvm is now populated.


vm started with our hook

  passwd='***' passwdValidTo='2016-04-11T09:21:09'>
network='vdsm-ovirtmgmt' fromConfig='0'/>

  


and one without

  passwdValidTo='1970-01-01T00:00:01'>
network='vdsm-ovirtmgmt' fromConfig='0'/>

  


oVirt Engine Version: 3.6.3.4-1.el7.centos
Node: oVirt Node Hypervisor release 3.6 (0.999.201512141021.el7.centos)

Is this a known issue ?

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


[ovirt-users] Looking for Python-SDK documentation

2016-04-11 Thread Frank Thommen

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


[ovirt-users] stalls during live Merge Centos 7 / qemu 2.3

2016-04-11 Thread Markus Stockhausen
Hi there,

I'm getting slowly mad about our new Centos 7 cluster. Whenever
I start a live merge the machine completely freezes. It seems to be
independent of the Guest OS (tried SLES 11 SP3, SLES11 SP4 and
SLES12). I already opened BZ1319400 because I'm clueless. 

Doing the same in our Fedora 20 cluster (qemu 2.1.3) we only see
small hiccups of 1-3 seconds at the start of the live merge but no
complete stall. Its the same VM!

Just to be sure that it is not a specific problem of our topology
or SLES I would like to receive some feedback of the list if anyone 
observes similar lockups in their environment.

Thanks in advance.

Markus


Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte
Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail
irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und
vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte
Weitergabe dieser Mail ist nicht gestattet.

Über das Internet versandte E-Mails können unter fremden Namen erstellt oder
manipuliert werden. Deshalb ist diese als E-Mail verschickte Nachricht keine
rechtsverbindliche Willenserklärung.

Collogia
Unternehmensberatung AG
Ubierring 11
D-50678 Köln

Vorstand:
Kadir Akin
Dr. Michael Höhnerbach

Vorsitzender des Aufsichtsrates:
Hans Kristian Langva

Registergericht: Amtsgericht Köln
Registernummer: HRB 52 497

This e-mail may contain confidential and/or privileged information. If you
are not the intended recipient (or have received this e-mail in error)
please notify the sender immediately and destroy this e-mail. Any
unauthorized copying, disclosure or distribution of the material in this
e-mail is strictly forbidden.

e-mails sent over the internet may have been written under a wrong name or
been manipulated. That is why this message sent as an e-mail is not a
legally binding declaration of intention.

Collogia
Unternehmensberatung AG
Ubierring 11
D-50678 Köln

executive board:
Kadir Akin
Dr. Michael Höhnerbach

President of the supervisory board:
Hans Kristian Langva

Registry office: district court Cologne
Register number: HRB 52 497


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


Re: [ovirt-users] can I use ovirt webmin UI create glusterfs volume and not use ovirtmgmt ip

2016-04-11 Thread Sahina Bose



On 04/06/2016 03:05 PM, 胡茂荣 wrote:

My problem is :
   my environment :
[root@node44 bin]# cat /etc/hosts
127.0.0.1   localhost localhost.localdomain localhost4 
localhost4.localdomain4
::1 localhost localhost.localdomain localhost6 
localhost6.localdomain6

192.168.8.93 node93.gluster.com
192.168.8.44 node44.gluster.com
192.168.8.45 node45.gluster.com
192.168.1.93 node93.host.com
192.168.1.44 node44.host.com
192.168.1.45 node45.host.com
192.168.1.9  node9.engine.com
  and  glusterfs peer :
Hostname: node45.gluster.com
Hostname: node93.gluster.com
Hostname: node44.gluster.com

 ovirtmgmt port :
Hostname: node45.host.com
Hostname: node93.host.com
Hostname: node44.host.com

Then  I want create glusterfs volume by ovirt webmin UI , but webmin 
UI show only ovirtmgmt port :


how can I use glusterfs peer port create glusterfs volume by ovirt 
webmin UI  ?



You can use a separate network for bricks when you create a gluster volume.

To do this:

1. Create a logical network (non-VM)
2. Assign "gluster" network role and add it to the cluster.
3. From Host -> Networks sub tab, click on Set up networks, and assign 
the network with "gluster" network role to the interface that you want 
to use for the bricks. Make sure that an IP address is assigned to the 
interface, and the gluster network role is correctly assigned on the UI.


Now, when creating a volume, the bricks will use the interface's IP in 
Step 3.


(Ovirt cannot work with multiple hostnames for a host currently, so 
there's no support to create the brick with alternate FQDN, only 
alternate IP addresses will work for the bricks)






















___
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] How reliable does network netween hypervisor / storage and engine has to be?

2016-04-11 Thread Christophe TREFOIS
Dear all,

We are considering moving 2 hypervisors and 1 iSCSI storage to a different 
physical data centre.

Does the engine have certain requirements in terms of network connectivity to 
achieve this?

The network should be quite stable, but is not able to sustain heavy data 
transfer for long periods of time.
Furthermore, we have noticed random connection drops between the two data 
centers, which recover usually quite fast.

Thank you for your input and experience,

Kind regards,

—
Christophe

Dr Christophe Trefois, Dipl.-Ing.
Technical Specialist / Post-Doc

UNIVERSITÉ DU LUXEMBOURG

LUXEMBOURG CENTRE FOR SYSTEMS BIOMEDICINE
Campus Belval | House of Biomedicine
6, avenue du Swing
L-4367 Belvaux
T: +352 46 66 44 6124
F: +352 46 66 44 6949
http://www.uni.lu/lcsb

[Facebook]  [Twitter] 
   [Google Plus] 
   [Linkedin] 
   [skype] 



This message is confidential and may contain privileged information.
It is intended for the named recipient only.
If you receive it in error please notify me and permanently delete the original 
message and any copies.




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


[ovirt-users] Cleanup Ovirt Node

2016-04-11 Thread Marcelo Leandro
Good Morning ,
how do I clear the configurations of oVirt node?

Thanks,

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


Re: [ovirt-users] Ovirt + OpenVSwitch

2016-04-11 Thread Sverker Abrahamsson

Hi
My usecase is that I am setting up a lab to emulate a customers 
production environment which has multiple vlans. As this is done in a 
hosting environment where I don't have any control over the switches, 
I've created virtual switches with OpenVSwitch which connects together a 
couple of physical servers which are running virtual machines to emulate 
their servers. Currently I'm running a few virtual machines created 
manually with libvirt but looking for a more user friendly way of 
handling them.


I'm not looking at managing the network setup from Ovirt, I just want it 
to use the network that is present and create VM's there.


The tweaking that I did with 3.6 was to run the hosted-engine setup but 
where it failed I put the right answer in the file so that it would skip 
over that part. I got that far that it attempts to start the vm but as 
it doesn't give right parameters to libvirt it fails to create a port on 
the bridge.


I'm not having much luck with the 4.0 alpha though, this is a separate 
machine that I set up for this testing but when I run hosted-engine 
--deploy it just returns without any message. I did run the cleanup 
script found at http://www.ovirt.org/documentation/how-to/hosted-engine/ 
and rebooted in between but still no luck


/Sverker

On 2016-04-07 13:49, Dan Kenigsberg wrote:

On Wed, Apr 06, 2016 at 11:57:08AM -0400, Martin Mucha wrote:

Hi,

I think OpenVSwitch should be supported in 4.0.

M.

- Original Message -

Has anybody succeeded in installing Ovirt 3.6 with hosted engine on a
server which uses OpenVSwitch for the network config?

I believe my issue is that Ovirt wants to control the network to create
a bridge for its management and I wants it to just use whatever network
is available on the host without trying to be clever about it. I was
able to tweak it to get to the final stage where it fails on waiting for
the engine to start.

Martin is right, but we should understand your usage of OpenVSwitch
first.

Do you intend to use it for networking of ovirt VMs? For something else?

How did you tweak "it" (ovirt? hosted engine? ovs?)


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


Re: [ovirt-users] Cannot create local ISO storage domain from UI.

2016-04-11 Thread knarra

On 04/11/2016 04:39 PM, Barak Korren wrote:

On 11 April 2016 at 11:51, knarra  wrote:

Hi,

 I am trying to set up Hosted Engine. I wanted to deploy windows virtual
machines in this environment and as part of that i am creating ISO Domain to
upload my windows image. But for some reason, while i create ISO domain it
always fails with error "Failed to add Storage Domain 
and always remains in unattached state.

 Can some one please help me to reslove this issue? Attaching the vdsm
logs.


I'm shooting in the dark here, but did you add a normal (Data) storage
domain and activate the cluster before trying to add an ISO domain?

HTH,
Barak.

yes. There are some storage(Data) domains already present in the cluster.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Cannot create local ISO storage domain from UI.

2016-04-11 Thread Barak Korren
On 11 April 2016 at 11:51, knarra  wrote:
> Hi,
>
> I am trying to set up Hosted Engine. I wanted to deploy windows virtual
> machines in this environment and as part of that i am creating ISO Domain to
> upload my windows image. But for some reason, while i create ISO domain it
> always fails with error "Failed to add Storage Domain 
> and always remains in unattached state.
>
> Can some one please help me to reslove this issue? Attaching the vdsm
> logs.
>

I'm shooting in the dark here, but did you add a normal (Data) storage
domain and activate the cluster before trying to add an ISO domain?

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


Re: [ovirt-users] debuging Python SDK

2016-04-11 Thread Fabrice Bacchella


>> 
>> It should be better if the given attribute name was given, it will save
>> me time.
>> 
> 
> Unfortunately we can't improve that area of the code, because that
> "params.py" file is automatically generated using the generateDS.py
> tool, and those are the errors it generates.
> 
> In version 4 of the SDK (which will work only with version 4 of the
> engine) we will use a different approach to generate the code, which
> will enable us to do improvements in this area.
> 
> Are you still having trouble? Can you share the code that is causing the
> error?

After a few minutes of reflexion and deduction, I found where my mistake was, 
so I didn't loose too much time with this particular bug. I hope that I will 
not be bitten by an hard case before version 4 is out.

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


[ovirt-users] debuging Python SDK

2016-04-11 Thread Fabrice Bacchella
I writting code to generate a VM.

But I'm getting :
Traceback (most recent call last):
  ...
newvm = self.api.vms.add(params.VM(**kwargs))
  File 
"build/bdist.macosx-10.10-x86_64/egg/ovirtsdk/infrastructure/brokers.py", line 
35195, in add
  File "build/bdist.macosx-10.10-x86_64/egg/ovirtsdk/utils/parsehelper.py", 
line 53, in toXml
  File "build/bdist.macosx-10.10-x86_64/egg/ovirtsdk/xml/params.py", line 
24888, in export_
  File "build/bdist.macosx-10.10-x86_64/egg/ovirtsdk/xml/params.py", line 
24946, in exportChildren
AttributeError: 'str' object has no attribute 'export_'

I made a bug in my call to params.VM. But I have no way to know which argument 
is wrong, the message is too terse :
AttributeError: 'str' object has no attribute 'export_'

It should be better if the given attribute name was given, it will save me time.___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] python sdk and params

2016-04-11 Thread Fabrice Bacchella

> Le 11 avr. 2016 à 12:20, Juan Hernández  a écrit :
> 
> On 04/11/2016 11:51 AM, Fabrice Bacchella wrote:
>> I'm playing with the python sdk.
>> 
>> When I want to delete a VM, I see that it takes a action with settings :
>> 
>> [@param action.force: boolean]
>> [@param action.vm.disks.detach_only: boolean]
>> [@param action.async: boolean]
>> [@param action.grace_period.expiry: long]
>> [@param correlation_id: any string]
>> 
>> But if I try
>> 
>>  action_params = params.Action(vm={'disks': {'detach_only': False}})
>>  print action_params.export_(sys.stdout, 0)
>> 
>> I'm getting :
>> 
>>   AttributeError: 'dict' object has no attribute 'export_'
>> 
>> How can I build the argument to params.Action ?
>> 
> 
> action_params = params.Action(
>  vm=params.Vm(
>disks=param.Disks(
>  detach_only=False,
>),
>  ),
> )

Thanks.

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


Re: [ovirt-users] python sdk and params

2016-04-11 Thread Juan Hernández
On 04/11/2016 11:51 AM, Fabrice Bacchella wrote:
> I'm playing with the python sdk.
> 
> When I want to delete a VM, I see that it takes a action with settings :
> 
> [@param action.force: boolean]
> [@param action.vm.disks.detach_only: boolean]
> [@param action.async: boolean]
> [@param action.grace_period.expiry: long]
> [@param correlation_id: any string]
> 
> But if I try
> 
>   action_params = params.Action(vm={'disks': {'detach_only': False}})
>   print action_params.export_(sys.stdout, 0)
> 
> I'm getting :
> 
>AttributeError: 'dict' object has no attribute 'export_'
> 
> How can I build the argument to params.Action ?
> 

action_params = params.Action(
  vm=params.Vm(
disks=param.Disks(
  detach_only=False,
),
  ),
)

-- 
Dirección Comercial: C/Jose Bardasano Baos, 9, Edif. Gorbea 3, planta
3ºD, 28016 Madrid, Spain
Inscrita en el Reg. Mercantil de Madrid – C.I.F. B82657941 - Red Hat S.L.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Hosted engine on gluster problem

2016-04-11 Thread Richard Neuboeck
On 04/11/2016 11:11 AM, Sandro Bonazzola wrote:
> On Mon, Apr 11, 2016 at 9:37 AM, Richard Neuboeck
> > wrote:
> 
> Hi Darryl,
> 
> I'm still experimenting with my oVirt installation so I tried to
> recreate the problems you've described.
> 
> My setup has three HA hosts for virtualization and three machines
> for the gluster replica 3 setup.
> 
> I manually migrated the Engine from the initial install host (one)
> to host three. Then shut down host one manually and interrupted the
> fencing mechanisms so the host stayed down. This didn't bother the
> Engine VM at all.
> 
> 
> Did you move the host one to maintenance before shutting down?
> Or is this a crash recovery test?

I did not put the machine in maintenance mode. Just issued
'poweroff' on the command line. Same for host one as host three.

> 
> To make things a bit more challenging I then shut down host three
> while running the Engine VM. Of course the Engine was down for some
> time until host two detected the problem. It started the Engine VM
> and everything seems to be running quite well without the initial
> install host.
> 
> 
> Thanks for the feedback!
> 
>  
> 
> 
> My only problem is that the HA agent on host two and three refuse to
> start after a reboot due to the fact that the configuration of the
> hosted engine is missing. I wrote another mail to
> users@ovirt.org 
> about that.
> 
> 
> This is weird. Martin,  Simone can you please investigate on this?
> 
> 
>  
> 
> 
> Cheers
> Richard
> 
> On 04/08/2016 01:38 AM, Bond, Darryl wrote:
> > There seems to be a pretty severe bug with using hosted engine
> on gluster.
> >
> > If the host that was used as the initial hosted-engine
> --deploy host goes away, the engine VM wil crash and cannot be
> restarted until the host comes back.
> 
> 
> is this an Hyperconverged setup?
> 
>  
> 
> >
> > This is regardless of which host the engine was currently running.
> >
> >
> > The issue seems to be buried in the bowels of VDSM and is not
> an issue with gluster itself.
> 
> 
> Sahina, can you please investigate on this?
> 
>  
> 
> >
> > The gluster filesystem is still accessable from the host that
> was running the engine. The issue has been submitted to bugzilla
> but the fix is some way off (4.1).
> >
> >
> > Can my hosted engine be converted to use NFS (using the
> gluster NFS server on the same filesystem) without rebuilding my
> hosted engine (ie change domainType=glusterfs to domainType=nfs)?
> 
>  
> 
> >
> > What effect would that have on the hosted-engine storage
> domain inside oVirt, ie would the same filesystem be mounted
> twice or would it just break.
> >
> >
> > Will this actually fix the problem, does it have the same
> issue when the hosted engine is on NFS?
> >
> >
> > Darryl
> >
> >
> >
> >
> > 
> >
> > The contents of this electronic message and any attachments
> are intended only for the addressee and may contain legally
> privileged, personal, sensitive or confidential information. If
> you are not the intended addressee, and have received this
> email, any transmission, distribution, downloading, printing or
> photocopying of the contents of this message or attachments is
> strictly prohibited. Any legal privilege or confidentiality
> attached to this message and attachments is not waived, lost or
> destroyed by reason of delivery to any person other than
> intended addressee. If you have received this message and are
> not the intended addressee you should notify the sender by
> return email and destroy all copies of the message and any
> attachments. Unless expressly attributed, the views expressed in
> this email do not necessarily represent the views of the company.
> > ___
> > Users mailing list
> > Users@ovirt.org 
> > http://lists.ovirt.org/mailman/listinfo/users
> >
> 
> 
> --
> /dev/null
> 
> 
> ___
> Users mailing list
> Users@ovirt.org 
> http://lists.ovirt.org/mailman/listinfo/users
> 
> 
> 
> 
> -- 
> Sandro Bonazzola
> Better technology. Faster innovation. Powered by community
> collaboration.
> See how it works at redhat.com 


-- 
/dev/null



signature.asc
Description: OpenPGP digital signature
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] python sdk and params

2016-04-11 Thread Fabrice Bacchella
I'm playing with the python sdk.

When I want to delete a VM, I see that it takes a action with settings :

[@param action.force: boolean]
[@param action.vm.disks.detach_only: boolean]
[@param action.async: boolean]
[@param action.grace_period.expiry: long]
[@param correlation_id: any string]

But if I try

  action_params = params.Action(vm={'disks': {'detach_only': False}})
  print action_params.export_(sys.stdout, 0)

I'm getting :

   AttributeError: 'dict' object has no attribute 'export_'

How can I build the argument to params.Action ?

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


Re: [ovirt-users] HA agent fails to start

2016-04-11 Thread Sandro Bonazzola
On Mon, Apr 11, 2016 at 8:11 AM, Richard Neuboeck 
wrote:

> Hi oVirt Group,
>
> in my attempts to get all aspects of oVirt 3.6 up and running I
> stumbled upon something I'm not sure how to fix:
>
> Initially I installed a hosted engine setup. After that I added
> another HA host (with hosted-engine --deploy). The host was
> registered in the Engine correctly and HA agent came up as expected.
>
> However if I reboot the second host (through the Engine UI or
> manually) HA agent fails to start. The reason seems to be that
> /etc/ovirt-hosted-engine/hosted-engine.conf is empty. The backup
> file ending with ~ exists though.
>

Simone, Martin, can you please investigate on this?



>
> Here are the log messages from the journal:
> Apr 11 07:29:39 cube-two.tbi.univie.ac.at systemd[1]: Starting oVirt
> Hosted Engine High Availability Monitoring Agent...
> Apr 11 07:29:39 cube-two.tbi.univie.ac.at ovirt-ha-agent[3747]:
> INFO:ovirt_hosted_engine_ha.agent.agent.Agent:ovirt-hosted-engine-ha
> agent 1.3.5.3-0.0.master started
> Apr 11 07:29:39 cube-two.tbi.univie.ac.at ovirt-ha-agent[3747]:
> INFO:ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine:Found
> certificate common name: cube-two.tbi.univie.ac.at
> Apr 11 07:29:39 cube-two.tbi.univie.ac.at ovirt-ha-agent[3747]:
> ovirt-ha-agent
> ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine ERROR Hosted
> Engine is not configured. Shutting down.
> Apr 11 07:29:39 cube-two.tbi.univie.ac.at ovirt-ha-agent[3747]:
> ERROR:ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine:Hosted
> Engine is not configured. Shutting down.
> Apr 11 07:29:39 cube-two.tbi.univie.ac.at ovirt-ha-agent[3747]:
> INFO:ovirt_hosted_engine_ha.agent.agent.Agent:Agent shutting down
> Apr 11 07:29:39 cube-two.tbi.univie.ac.at systemd[1]:
> ovirt-ha-agent.service: main process exited, code=exited, status=255/n/a
>
> If I restore the configuration from the backup file and manually
> restart the HA agent it's working properly.
>
> For testing purposes I added a third HA host which turn out to
> behave exactly the same.
>
> Any help would be appreciated!
> Thanks
> Cheers
> Richard
>
> --
> /dev/null
>
>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
>


-- 
Sandro Bonazzola
Better technology. Faster innovation. Powered by community collaboration.
See how it works at redhat.com
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Creating templates in a blocking fashion from Python SDK

2016-04-11 Thread Juan Hernández
On 04/10/2016 12:16 PM, Yaniv Kaul wrote:
> 
> 
> On Sun, Apr 10, 2016 at 11:02 AM, Yedidyah Bar David  > wrote:
> 
> On Sun, Apr 10, 2016 at 10:43 AM, Barak Korren  > wrote:
> > Hi there, I use the following Python SDK snippet to create a template
> > from an existing VM:
> >
> > templ = ovirt.templates.add(
> > ovirtsdk.xml.Template(vm=vm, name=vm.name )
> > )
> >
> > This seems to launch a template creation task in a non-blocking
> > manner, which makes the next command I run, which tries to delete the
> > VM, fail because the VM is still locked by the template creation task.
> >
> > Is there a way to block on the template creation task and not return
> > to the code until it finishes?
> 
> I don't think so, but you can loop waiting, see e.g.:
> 
> http://www.ovirt.org/develop/api/pythonapi/#create-a-template-from-vm
> 
> 
> I wish we could have an extra parameters on the Python SDK that would do
> this exact loop for us, since essentially most use cases require this.
> I'm not sure it is relevant only for template creation, btw.
> What is also more annoying, is that this loop (IIRC) will never break,
> if something bad happens and the template ends up in a state != down
> (such as locked).
> (Same issue I've just had with host installation - Iv'e waited endlessly
> for it to be in 'up' state, only to find out it ended in
> 'installed_failed' state).
> Y.
>  

The API already has mechanisms to run operations in a synchronous
fashion, and they caused more problems than they solved.

For example, all actions have an "async" parameter, that indicates, when
the values is "false", if the API should wait for all the reported
backend activities to finish. The problem is that the meaning of
"reported backend activities" may be different from what you expect:
some backend activities aren't reported, see bug 1199011.

In addition the backend doesn't have any commitment to keep reporting
activities in a backwards compatible fashion. What is reported in
version 3.5 may not be reported in version 3.6.

So the only reliable mechanism to wait for activities to finish is to
check them explicitly, looping and checking the status. This is the only
mechanism that we can support and recommend.

-- 
Dirección Comercial: C/Jose Bardasano Baos, 9, Edif. Gorbea 3, planta
3ºD, 28016 Madrid, Spain
Inscrita en el Reg. Mercantil de Madrid – C.I.F. B82657941 - Red Hat S.L.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] ovirt node 3.6 stable

2016-04-11 Thread Sandro Bonazzola
On Mon, Apr 11, 2016 at 9:07 AM, Johan Kooijman 
wrote:

> Doesn't exist yet, you can use 3.5 node stable or the nightly builds:
> http://jenkins.ovirt.org/job/ovirt-node_ovirt-3.6_create-iso-el7_merged/
>
> On Fri, Apr 8, 2016 at 11:04 PM, Marcelo Leandro 
> wrote:
>
>> Yes, but i cant see the ovirt node 3.6
>>
>
You can get latest and shiniest oVirt Node from
http://jenkins.ovirt.org/job/ovirt-node_ovirt-3.6_create-iso-el7_merged/
Adding Fabian, Node maintainer, so he can further elaborate.




> Thanks.
>> Em 08/04/2016 16:47, "Arman Khalatyan"  escreveu:
>>
>>> Are you looking for this ?
>>> http://www.ovirt.org/download/
>>> Or
>>> sudo yum localinstall
>>> http://resources.ovirt.org/pub/yum-repo/ovirt-release36.rpm ?
>>> hello,
>>>
>>> which link to download the stable version of oVirt node 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
>>
>>
>
>
> --
> Met vriendelijke groeten / With kind regards,
> Johan Kooijman
>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
>


-- 
Sandro Bonazzola
Better technology. Faster innovation. Powered by community collaboration.
See how it works at redhat.com
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Hosted engine on gluster problem

2016-04-11 Thread Sandro Bonazzola
On Mon, Apr 11, 2016 at 9:37 AM, Richard Neuboeck 
wrote:

> Hi Darryl,
>
> I'm still experimenting with my oVirt installation so I tried to
> recreate the problems you've described.
>
> My setup has three HA hosts for virtualization and three machines
> for the gluster replica 3 setup.
>
> I manually migrated the Engine from the initial install host (one)
> to host three. Then shut down host one manually and interrupted the
> fencing mechanisms so the host stayed down. This didn't bother the
> Engine VM at all.
>

Did you move the host one to maintenance before shutting down?
Or is this a crash recovery test?



>
> To make things a bit more challenging I then shut down host three
> while running the Engine VM. Of course the Engine was down for some
> time until host two detected the problem. It started the Engine VM
> and everything seems to be running quite well without the initial
> install host.
>

Thanks for the feedback!



>
> My only problem is that the HA agent on host two and three refuse to
> start after a reboot due to the fact that the configuration of the
> hosted engine is missing. I wrote another mail to users@ovirt.org
> about that.
>

This is weird. Martin,  Simone can you please investigate on this?




>
> Cheers
> Richard
>
> On 04/08/2016 01:38 AM, Bond, Darryl wrote:
> > There seems to be a pretty severe bug with using hosted engine on
> gluster.
> >
> > If the host that was used as the initial hosted-engine --deploy host
> goes away, the engine VM wil crash and cannot be restarted until the host
> comes back.
>

is this an Hyperconverged setup?



> >
> > This is regardless of which host the engine was currently running.
> >
> >
> > The issue seems to be buried in the bowels of VDSM and is not an issue
> with gluster itself.
>

Sahina, can you please investigate on this?



> >
> > The gluster filesystem is still accessable from the host that was
> running the engine. The issue has been submitted to bugzilla but the fix is
> some way off (4.1).
> >
> >
> > Can my hosted engine be converted to use NFS (using the gluster NFS
> server on the same filesystem) without rebuilding my hosted engine (ie
> change domainType=glusterfs to domainType=nfs)?
>

>
>
> > What effect would that have on the hosted-engine storage domain inside
> oVirt, ie would the same filesystem be mounted twice or would it just break.
> >
> >
> > Will this actually fix the problem, does it have the same issue when the
> hosted engine is on NFS?
> >
> >
> > Darryl
> >
> >
> >
> >
> > 
> >
> > The contents of this electronic message and any attachments are intended
> only for the addressee and may contain legally privileged, personal,
> sensitive or confidential information. If you are not the intended
> addressee, and have received this email, any transmission, distribution,
> downloading, printing or photocopying of the contents of this message or
> attachments is strictly prohibited. Any legal privilege or confidentiality
> attached to this message and attachments is not waived, lost or destroyed
> by reason of delivery to any person other than intended addressee. If you
> have received this message and are not the intended addressee you should
> notify the sender by return email and destroy all copies of the message and
> any attachments. Unless expressly attributed, the views expressed in this
> email do not necessarily represent the views of the company.
> > ___
> > Users mailing list
> > Users@ovirt.org
> > http://lists.ovirt.org/mailman/listinfo/users
> >
>
>
> --
> /dev/null
>
>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
>


-- 
Sandro Bonazzola
Better technology. Faster innovation. Powered by community collaboration.
See how it works at redhat.com
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Install oVirt with directly-attached SCSI devices

2016-04-11 Thread Paolo Smiraglia
Thank you Nir and Rik for your hints! I'll check them soon.

Bests,

  Paolo

On 04/09/2016 09:03 PM, Rik Theys wrote:
> Hi Paolo,
> 
> If your storage is detected by multipathd as a multipath capable device
> (it should, even if connected through only one connection), oVirt will
> detect it as "fibre channel" storage and selecting that as the storage
> type should work.
> 
> We use a similar setup (with Dell powervault storage)  and haven't had
> any problems with it.
> 
> Regards,
> 
> Rik


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


Re: [ovirt-users] Hosted engine on gluster problem

2016-04-11 Thread Richard Neuboeck
Hi Darryl,

I'm still experimenting with my oVirt installation so I tried to
recreate the problems you've described.

My setup has three HA hosts for virtualization and three machines
for the gluster replica 3 setup.

I manually migrated the Engine from the initial install host (one)
to host three. Then shut down host one manually and interrupted the
fencing mechanisms so the host stayed down. This didn't bother the
Engine VM at all.

To make things a bit more challenging I then shut down host three
while running the Engine VM. Of course the Engine was down for some
time until host two detected the problem. It started the Engine VM
and everything seems to be running quite well without the initial
install host.

My only problem is that the HA agent on host two and three refuse to
start after a reboot due to the fact that the configuration of the
hosted engine is missing. I wrote another mail to users@ovirt.org
about that.

Cheers
Richard

On 04/08/2016 01:38 AM, Bond, Darryl wrote:
> There seems to be a pretty severe bug with using hosted engine on gluster.
> 
> If the host that was used as the initial hosted-engine --deploy host goes 
> away, the engine VM wil crash and cannot be restarted until the host comes 
> back.
> 
> This is regardless of which host the engine was currently running.
> 
> 
> The issue seems to be buried in the bowels of VDSM and is not an issue with 
> gluster itself.
> 
> The gluster filesystem is still accessable from the host that was running the 
> engine. The issue has been submitted to bugzilla but the fix is some way off 
> (4.1).
> 
> 
> Can my hosted engine be converted to use NFS (using the gluster NFS server on 
> the same filesystem) without rebuilding my hosted engine (ie change 
> domainType=glusterfs to domainType=nfs)?
> 
> What effect would that have on the hosted-engine storage domain inside oVirt, 
> ie would the same filesystem be mounted twice or would it just break.
> 
> 
> Will this actually fix the problem, does it have the same issue when the 
> hosted engine is on NFS?
> 
> 
> Darryl
> 
> 
> 
> 
> 
> 
> The contents of this electronic message and any attachments are intended only 
> for the addressee and may contain legally privileged, personal, sensitive or 
> confidential information. If you are not the intended addressee, and have 
> received this email, any transmission, distribution, downloading, printing or 
> photocopying of the contents of this message or attachments is strictly 
> prohibited. Any legal privilege or confidentiality attached to this message 
> and attachments is not waived, lost or destroyed by reason of delivery to any 
> person other than intended addressee. If you have received this message and 
> are not the intended addressee you should notify the sender by return email 
> and destroy all copies of the message and any attachments. Unless expressly 
> attributed, the views expressed in this email do not necessarily represent 
> the views of the company.
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
> 


-- 
/dev/null



signature.asc
Description: OpenPGP digital signature
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] ovirt node 3.6 stable

2016-04-11 Thread Johan Kooijman
Doesn't exist yet, you can use 3.5 node stable or the nightly builds:
http://jenkins.ovirt.org/job/ovirt-node_ovirt-3.6_create-iso-el7_merged/

On Fri, Apr 8, 2016 at 11:04 PM, Marcelo Leandro 
wrote:

> Yes, but i cant see the ovirt node 3.6
>
> Thanks.
> Em 08/04/2016 16:47, "Arman Khalatyan"  escreveu:
>
>> Are you looking for this ?
>> http://www.ovirt.org/download/
>> Or
>> sudo yum localinstall
>> http://resources.ovirt.org/pub/yum-repo/ovirt-release36.rpm ?
>> hello,
>>
>> which link to download the stable version of oVirt node 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
>
>


-- 
Met vriendelijke groeten / With kind regards,
Johan Kooijman
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Creating templates in a blocking fashion from Python SDK

2016-04-11 Thread Barak Korren

 Is there a way to block on the template creation task and not
 return to the code until it finishes?
>>>
>>>
>>> I don't think so, but you can loop waiting, see e.g.:
>>>
>>> http://www.ovirt.org/develop/api/pythonapi/#create-a-template-from-vm
>>> [2]
>>
>>
>> I wish we could have an extra parameters on the Python SDK that would
>> do this exact loop for us, since essentially most use cases require
>> this.

I see most SDK action-creating methods have an optional
"correlation_id" string argument, could that be used to somehow track
the task and figure out when it is done?


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


[ovirt-users] HA agent fails to start

2016-04-11 Thread Richard Neuboeck
Hi oVirt Group,

in my attempts to get all aspects of oVirt 3.6 up and running I
stumbled upon something I'm not sure how to fix:

Initially I installed a hosted engine setup. After that I added
another HA host (with hosted-engine --deploy). The host was
registered in the Engine correctly and HA agent came up as expected.

However if I reboot the second host (through the Engine UI or
manually) HA agent fails to start. The reason seems to be that
/etc/ovirt-hosted-engine/hosted-engine.conf is empty. The backup
file ending with ~ exists though.

Here are the log messages from the journal:
Apr 11 07:29:39 cube-two.tbi.univie.ac.at systemd[1]: Starting oVirt
Hosted Engine High Availability Monitoring Agent...
Apr 11 07:29:39 cube-two.tbi.univie.ac.at ovirt-ha-agent[3747]:
INFO:ovirt_hosted_engine_ha.agent.agent.Agent:ovirt-hosted-engine-ha
agent 1.3.5.3-0.0.master started
Apr 11 07:29:39 cube-two.tbi.univie.ac.at ovirt-ha-agent[3747]:
INFO:ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine:Found
certificate common name: cube-two.tbi.univie.ac.at
Apr 11 07:29:39 cube-two.tbi.univie.ac.at ovirt-ha-agent[3747]:
ovirt-ha-agent
ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine ERROR Hosted
Engine is not configured. Shutting down.
Apr 11 07:29:39 cube-two.tbi.univie.ac.at ovirt-ha-agent[3747]:
ERROR:ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine:Hosted
Engine is not configured. Shutting down.
Apr 11 07:29:39 cube-two.tbi.univie.ac.at ovirt-ha-agent[3747]:
INFO:ovirt_hosted_engine_ha.agent.agent.Agent:Agent shutting down
Apr 11 07:29:39 cube-two.tbi.univie.ac.at systemd[1]:
ovirt-ha-agent.service: main process exited, code=exited, status=255/n/a

If I restore the configuration from the backup file and manually
restart the HA agent it's working properly.

For testing purposes I added a third HA host which turn out to
behave exactly the same.

Any help would be appreciated!
Thanks
Cheers
Richard

-- 
/dev/null



signature.asc
Description: OpenPGP digital signature
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Fwd: Re: ***UNCHECKED*** Re: kvm vcpu0 unhandled rdmsr

2016-04-11 Thread Yaniv Kaul
On Sun, Apr 10, 2016 at 11:22 PM, Yaniv Kaul  wrote:

> On Sun, Apr 10, 2016 at 6:05 PM, gregor  wrote:
>
>> Hi,
>>
>> has anybody a last tip. Now the third installed Windows Server 2012 R2
>> VM is damaged and I will move tomorrow my host back to VMWare and leave
>> oVirt.
>>
>
> It's a QEMU/KVM issue - let me see if I can get someone from KVM
> development team to get the details from you.
>

I've contacted them. They asked to file a bug in RedHat Bugzilla, and state:
1. The version of qemu-kvm (or qemu-kvm-ev) you are using.
2. The command line (which I've seen you've already have pasted to the
email)
3. The exact msr message you are seeing.

Thanks,
Y.


> Y.
>
>
>
>>
>> regards
>> gregor
>>
>>  Forwarded Message 
>> Subject: Re: [ovirt-users] ***UNCHECKED*** Re:  kvm vcpu0 unhandled rdmsr
>> Date: Mon, 4 Apr 2016 15:06:52 +0200
>> From: gregor 
>> To: Yaniv Kaul 
>> CC: users 
>>
>> Hi,
>>
>> the host and VM are all up-to-date with latest packages for CentOS 7.*.
>>
>> In /proc/cpuinfo I see "nx" in the flags list, the full list is on the
>> and of the mail.
>>
>> Is it possible that this problem destroy the Windows Server 2012 R2 VM?
>> Now I start the third installation, hopefully this time it will not get
>> damaged. If it fails again I have to use another virtualization provider
>> and leave oVirt, and I was so happy to leave VMWare :°(
>>
>> This is the command line for a VM (got with ps aux ...):
>> /usr/libexec/qemu-kvm -name srv02 -S -machine
>> pc-i440fx-rhel7.2.0,accel=kvm,usb=off -cpu Westmere -m
>> size=2097152k,slots=16,maxmem=4294967296k -realtime mlock=off -smp
>> 1,maxcpus=16,sockets=16,cores=1,threads=1 -numa
>> node,nodeid=0,cpus=0,mem=2048 -uuid 6765fd03-ac0d-49ea-b8ba-cf10c60d3968
>> -smbios type=1,manufacturer=oVirt,product=oVirt
>>
>> Node,version=7-2.1511.el7.centos.2.10,serial=39343937-3439-5A43-3135-353130324542,uuid=6765fd03-ac0d-49ea-b8ba-cf10c60d3968
>> -no-user-config -nodefaults -chardev
>>
>> socket,id=charmonitor,path=/var/lib/libvirt/qemu/domain-srv02/monitor.sock,server,nowait
>> -mon chardev=charmonitor,id=monitor,mode=control -rtc
>> base=2016-04-03T21:24:06,driftfix=slew -global
>> kvm-pit.lost_tick_policy=discard -no-hpet -no-shutdown -boot strict=on
>> -device piix3-usb-uhci,id=usb,bus=pci.0,addr=0x1.0x2 -device
>> virtio-scsi-pci,id=scsi0,bus=pci.0,addr=0x4 -device
>> virtio-serial-pci,id=virtio-serial0,max_ports=16,bus=pci.0,addr=0x5
>> -drive if=none,id=drive-ide0-1-0,readonly=on,format=raw,serial= -device
>> ide-cd,bus=ide.1,unit=0,drive=drive-ide0-1-0,id=ide0-1-0 -drive
>>
>> file=/rhev/data-center/0001-0001-0001-0001-033d/4443edf0-54aa-4ef5-84c2-a433813f304a/images/f596f9a8-c6c4-41b8-b547-7f83829807fe/5028abbd-35c8-4dcd-95a0-3d0c61dfc2b7,if=none,id=drive-virtio-disk0,format=raw,serial=f596f9a8-c6c4-41b8-b547-7f83829807fe,cache=none,werror=stop,rerror=stop,aio=threads
>> -device
>>
>> virtio-blk-pci,scsi=off,bus=pci.0,addr=0x6,drive=drive-virtio-disk0,id=virtio-disk0,bootindex=1
>> -netdev tap,fd=30,id=hostnet0,vhost=on,vhostfd=31 -device
>>
>> virtio-net-pci,netdev=hostnet0,id=net0,mac=00:1a:4a:16:01:57,bus=pci.0,addr=0x3
>> -chardev
>>
>> socket,id=charchannel0,path=/var/lib/libvirt/qemu/channels/6765fd03-ac0d-49ea-b8ba-cf10c60d3968.com.redhat.rhevm.vdsm,server,nowait
>> -device
>>
>> virtserialport,bus=virtio-serial0.0,nr=1,chardev=charchannel0,id=channel0,name=com.redhat.rhevm.vdsm
>> -chardev
>>
>> socket,id=charchannel1,path=/var/lib/libvirt/qemu/channels/6765fd03-ac0d-49ea-b8ba-cf10c60d3968.org.qemu.guest_agent.0,server,nowait
>> -device
>>
>> virtserialport,bus=virtio-serial0.0,nr=2,chardev=charchannel1,id=channel1,name=org.qemu.guest_agent.0
>> -chardev spicevmc,id=charchannel2,name=vdagent -device
>>
>> virtserialport,bus=virtio-serial0.0,nr=3,chardev=charchannel2,id=channel2,name=com.redhat.spice.0
>> -spice
>>
>> port=5904,tls-port=5905,addr=0,x509-dir=/etc/pki/vdsm/libvirt-spice,seamless-migration=on
>> -device
>>
>> qxl-vga,id=video0,ram_size=67108864,vram_size=33554432,vgamem_mb=16,bus=pci.0,addr=0x2
>> -device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x7 -msg
>> timestamp=on
>>
>> Here are the full flags list:
>> fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36
>> clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb
>> rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology
>> nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx
>> smx est tm2 ssse3 fma cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic movbe
>> popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm arat epb
>> pln pts dtherm tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust
>> bmi1 avx2 smep bmi2 erms invpcid cqm xsaveopt cqm_llc cqm_occup_llc
>>
>> On 04/04/16 08:52, Yaniv Kaul wrote:
>> >
>> >
>> > On Sun, Apr 3, 2016 at 10:07 PM, gregor