Re: [ovirt-users] Concerns with increasing vdsTimeout value on engine?

2015-07-14 Thread Shubhendu Tripathi

On 07/14/2015 12:35 PM, Piotr Kliczewski wrote:

On Mon, Jul 13, 2015 at 5:12 PM, Groten, Ryan ryan.gro...@stantec.com wrote:

Thanks for the responses everyone and for the RFE.  I do use HA in some places 
at the moment, but I do see another timeout value called vdsConnectionTimeout.  
Would HA use this value or vdsTimeout (set to 2 by default) when attempting to 
contact the host?


There is a difference between the two:

vdsConnectionTimeout - is a timeout used during connecting to a remote
host. By default it is 2 seconds.
vdsTimeout - high level command invocation timeout used by all
commands. By default it is 3 minutes.

As far as I understand you are looking for a possibility to customize
vdsTimeout for some of the commands.


For me, yes, the case is to have an option to set higher value of 
vdsTimeout for a specific command.






-Original Message-
From: Shubhendu Tripathi [mailto:shtri...@redhat.com]
Sent: Monday, July 13, 2015 2:25 AM
To: Piotr Kliczewski
Cc: Omer Frenkel; Groten, Ryan; users@ovirt.org
Subject: Re: [ovirt-users] Concerns with increasing vdsTimeout value on engine?

On 07/13/2015 01:42 PM, Piotr Kliczewski wrote:

On Mon, Jul 13, 2015 at 5:57 AM, Shubhendu Tripathi shtri...@redhat.com wrote:

On 07/12/2015 09:53 PM, Omer Frenkel wrote:

- Original Message -

From: Liron Aravot lara...@redhat.com
To: Ryan Groten ryan.gro...@stantec.com
Cc: users@ovirt.org
Sent: Sunday, July 12, 2015 5:44:28 PM
Subject: Re: [ovirt-users] Concerns with increasing vdsTimeout
value on engine?



- Original Message -

From: Ryan Groten ryan.gro...@stantec.com
To: users@ovirt.org
Sent: Friday, July 10, 2015 10:45:11 PM
Subject: [ovirt-users] Concerns with increasing vdsTimeout value
on engine?



When I try to attach new direct lun disks, the scan takes a very
long time to complete because of the number of pvs presented to my
hosts (there is already a bug on this, related to the pvcreate
command taking a very long time -
https://bugzilla.redhat.com/show_bug.cgi?id=1217401 )



I discovered a workaround by setting the vdsTimeout value higher
(it is
180
seconds by default). I changed it to 300 seconds and now the
direct lun scan returns properly, but I’m hoping someone can warn
me if this workaround is safe or if it’ll cause other potential
issues? I made this change yesterday and so far so good.


Hi, no serious issue can be caused by that.
Keep in mind though that any other operation will have that amount
of time to complete before failing on timeout - which will cause
delays before failing (as the timeout was increased for all
executions)
when not everything is operational and up as expected (as in most
of the time).
I'd guess that a RFE could be opened to allow increasing the
timeout of specific operations if a user want to do that.

thanks,
Liron.

if you have HA vms and use power management (fencing), this might
cause longer downtime for HA vms if host has network timeouts:
the engine will wait for 3 network failures before trying to fence
the host, so in case of timeouts, and increasing it to 5mins, you
should expect 15mins before engine will decide host is
non-responsive and fence, so if you have HA vm on this host, this
will be the vm downtime as well, as the engine will restart HA vms
only after fencing.

you can read more on
http://www.ovirt.org/Automatic_Fencing

Even I am in a need where, I try to delete all the 256 gluster volume
snapshots using a single gluster CLI command, and engine gets timed out.
So, as Liron suggested it would be better if at VDSM verb level we
are able to set timeout. That would be better option and caller needs
to use the feature judicially :)


Please open a RFE for being able to set operation timeout for single
command call with description of use cases for which you would like to
set the timeout.

Piotr,

I created an RFE BZ at https://bugzilla.redhat.com/show_bug.cgi?id=1242373.

Thanks and Regards,
Shubhendu


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


___
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] Concerns with increasing vdsTimeout value on engine?

2015-07-14 Thread Piotr Kliczewski
On Mon, Jul 13, 2015 at 5:12 PM, Groten, Ryan ryan.gro...@stantec.com wrote:
 Thanks for the responses everyone and for the RFE.  I do use HA in some 
 places at the moment, but I do see another timeout value called 
 vdsConnectionTimeout.  Would HA use this value or vdsTimeout (set to 2 by 
 default) when attempting to contact the host?


There is a difference between the two:

vdsConnectionTimeout - is a timeout used during connecting to a remote
host. By default it is 2 seconds.
vdsTimeout - high level command invocation timeout used by all
commands. By default it is 3 minutes.

As far as I understand you are looking for a possibility to customize
vdsTimeout for some of the commands.


 -Original Message-
 From: Shubhendu Tripathi [mailto:shtri...@redhat.com]
 Sent: Monday, July 13, 2015 2:25 AM
 To: Piotr Kliczewski
 Cc: Omer Frenkel; Groten, Ryan; users@ovirt.org
 Subject: Re: [ovirt-users] Concerns with increasing vdsTimeout value on 
 engine?

 On 07/13/2015 01:42 PM, Piotr Kliczewski wrote:
 On Mon, Jul 13, 2015 at 5:57 AM, Shubhendu Tripathi shtri...@redhat.com 
 wrote:
 On 07/12/2015 09:53 PM, Omer Frenkel wrote:

 - Original Message -
 From: Liron Aravot lara...@redhat.com
 To: Ryan Groten ryan.gro...@stantec.com
 Cc: users@ovirt.org
 Sent: Sunday, July 12, 2015 5:44:28 PM
 Subject: Re: [ovirt-users] Concerns with increasing vdsTimeout
 value on engine?



 - Original Message -
 From: Ryan Groten ryan.gro...@stantec.com
 To: users@ovirt.org
 Sent: Friday, July 10, 2015 10:45:11 PM
 Subject: [ovirt-users] Concerns with increasing vdsTimeout value
 on engine?



 When I try to attach new direct lun disks, the scan takes a very
 long time to complete because of the number of pvs presented to my
 hosts (there is already a bug on this, related to the pvcreate
 command taking a very long time -
 https://bugzilla.redhat.com/show_bug.cgi?id=1217401 )



 I discovered a workaround by setting the vdsTimeout value higher
 (it is
 180
 seconds by default). I changed it to 300 seconds and now the
 direct lun scan returns properly, but I’m hoping someone can warn
 me if this workaround is safe or if it’ll cause other potential
 issues? I made this change yesterday and so far so good.

 Hi, no serious issue can be caused by that.
 Keep in mind though that any other operation will have that amount
 of time to complete before failing on timeout - which will cause
 delays before failing (as the timeout was increased for all
 executions)
 when not everything is operational and up as expected (as in most
 of the time).
 I'd guess that a RFE could be opened to allow increasing the
 timeout of specific operations if a user want to do that.

 thanks,
 Liron.
 if you have HA vms and use power management (fencing), this might
 cause longer downtime for HA vms if host has network timeouts:
 the engine will wait for 3 network failures before trying to fence
 the host, so in case of timeouts, and increasing it to 5mins, you
 should expect 15mins before engine will decide host is
 non-responsive and fence, so if you have HA vm on this host, this
 will be the vm downtime as well, as the engine will restart HA vms
 only after fencing.

 you can read more on
 http://www.ovirt.org/Automatic_Fencing

 Even I am in a need where, I try to delete all the 256 gluster volume
 snapshots using a single gluster CLI command, and engine gets timed out.
 So, as Liron suggested it would be better if at VDSM verb level we
 are able to set timeout. That would be better option and caller needs
 to use the feature judicially :)

 Please open a RFE for being able to set operation timeout for single
 command call with description of use cases for which you would like to
 set the timeout.

 Piotr,

 I created an RFE BZ at https://bugzilla.redhat.com/show_bug.cgi?id=1242373.

 Thanks and Regards,
 Shubhendu

 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

 ___
 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] Storage question: single node gluster?

2015-07-14 Thread Aharon Canan
AFAIK it is not the best practice from Gluster. 

I tested it using single node and it should work fine. 
everything depend on your traffic and configuration. 

For example, 
Single node with only one NIc is not the same as with multiple nics 
Using only one HDD for both OS and volumes or SSD for OS and another SSD for 
volumes. 

so... it depends on the setup... 

Regards, 
__ 
Aharon Canan 
int phone - 8272036 
ext phone - +97297692036 
email - aca...@redhat.com 

- Original Message -

 From: Alan Murrell li...@murrell.ca
 To: users@ovirt.org
 Sent: Tuesday, July 14, 2015 7:18:31 AM
 Subject: [ovirt-users] Storage question: single node gluster?

 Hi There,

 This is not strictly oVirt, but is storage-related, so hopefully you
 will indulge me?

 Is there any detriment (performance or otherwise) in setting up a
 single-node glusterFS storage? I know glusterFS is designed to be used
 with multiple nodes, but I am wondering if there are any ill-effects in
 configuring current storage as a single-node cluster, with the idea of
 possibly adding future nodes in the future?

 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


[ovirt-users] ovirt-Node + hosted engine question

2015-07-14 Thread Alan Murrell
Hi All.

As I was perusing my e-mails from this list earlier today one that
caught my attention was one that had to do with ovirt-node and hosted
engine.  It appeared as though it is possible to install hosted engine
on a ovirt-node host, and indeed, when I installed ovirt-node into a
VirtualBox VM to poke around, there is a hosted engine option in the
menu where you can enter a URL for an ISO/pxe source for OS installtion.

I just want to clarify the following questions:

  1.) Is it possible to install ovirt-node, and then install a hosted
engine?
  2.) If the answer to 1.) is Yes, does it require some sort of
NFS-enabled storage, or can you confgiure local storage on ovirt-node
and install the engine to there?
  3.) Is it possible to create NFS-enabled storage on ovirt-node?
  4.) Can you install the hosted engine onto external NFS storage, then
move/migrate it to local storage on ovirt-node?

I am thinking of a lab situation where there is only one server, but
gobs of RAM and storage.  Running ovirt-node as the host would require
fewer space resources (not that I would necessarily be hurting for
space, but any extra I could squeeze out would not be unwelcome).

Thanks! :-)

-Alan

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


Re: [ovirt-users] Internal Engine Error while adding a new (distribute glusterfs) Storage Domain

2015-07-14 Thread Amit Aviram
Hi Konstantinos.

After having a look at the logs, it seems that the problem you have doesn't 
relate directly to oVirt's support to a single Gluster replica, but for some 
bug in that area. can you please  attach the hole log files so we can open a 
bug for this issue?

Thanks.


- Original Message -
From: Konstantinos Christidis kochr...@ekt.gr
To: users@ovirt.org
Sent: Monday, July 13, 2015 7:22:41 PM
Subject: Re: [ovirt-users] Internal Engine Error while adding a new (distribute 
glusterfs) Storage Domain

The good news: there is an an option for this.
The bad news: Only replica 3 is supported. Other options are for 
development purposes.




[root@hv00 ~]# cat /etc/vdsm/vdsm.conf
...

[gluster]
# Only replica 3 is supported, this configuration is for development.
# Value is comma separated. For example, to allow replica 1 and
# replica 3, use 1,3.
allowed_replica_counts = 1,3

...

https://bugzilla.redhat.com/show_bug.cgi?id=1238093



On 07/13/2015 05:08 PM, Konstantinos Christidis wrote:
 Hello,

 I created (through oVirt web) a GlusterFS distributed volume with four 
 bricks.

 When I try to add a New Domain - GlusterFS Data I am getting
 Error while executing action Add Storage Connection: Internal Engine 
 Error
 and
 Error validating master storage domain: ('MD read error',)

 Full logs
 engine.log - https://paste.kde.org/pefcwndgc/zamd2o/raw
 vdsm.log - https://paste.kde.org/pxf91znwq/6mhrg3/raw

 Gluster info/options - https://paste.kde.org/pjfauvisg/grfrvj/raw
 (oVirt3.6/Centos7)

 ps: My installation seems to work only with replica-3 oVirt Optimized 
 volumes. Every other combination fails with the error above.

 Any help would be appreciated.

 Thanks,

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

K.
___
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-Node + hosted engine question

2015-07-14 Thread Fabian Deutsch
- Original Message -
 Hi All.
 
 As I was perusing my e-mails from this list earlier today one that
 caught my attention was one that had to do with ovirt-node and hosted
 engine.  It appeared as though it is possible to install hosted engine
 on a ovirt-node host, and indeed, when I installed ovirt-node into a
 VirtualBox VM to poke around, there is a hosted engine option in the
 menu where you can enter a URL for an ISO/pxe source for OS installtion.

Hey,

 I just want to clarify the following questions:
 
   1.) Is it possible to install ovirt-node, and then install a hosted
 engine?

Yes.

   2.) If the answer to 1.) is Yes, does it require some sort of
 NFS-enabled storage, or can you confgiure local storage on ovirt-node
 and install the engine to there?

Currently you can install hosted-engine on eitehr NFS or iSCSI storage

   3.) Is it possible to create NFS-enabled storage on ovirt-node?

No.
Maybe you technically can, but I can just strongly discourage to do that.

   4.) Can you install the hosted engine onto external NFS storage, then
 move/migrate it to local storage on ovirt-node?

I strongly believe not.

 I am thinking of a lab situation where there is only one server, but
 gobs of RAM and storage.  Running ovirt-node as the host would require
 fewer space resources (not that I would necessarily be hurting for
 space, but any extra I could squeeze out would not be unwelcome).

Maybe this will work in future, when we can also configure some storage
server on Node. But for now that is not supported.

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


[ovirt-users] Engine missing snapshot which is used by VM

2015-07-14 Thread Jan Siml

Hello,

while analyzing a performance issue of a VM, I discovered the machine 
uses a snapshot which is not referenced in Engine's database.


[oVirt shell (connected)]# list disks --vm-identifier bamboo

id : 4244c296-2b81-4dff-89ab-cd7f8847576a
name   : bamboo_Disk1

[oVirt shell (connected)]# list snapshots --vm-identifier bamboo

id : 24a7de50-83ec-4e33-8f19-28b729422982
description: Active VM

Within the storage mount path I see two images:

root@prod-node-07 4244c296-2b81-4dff-89ab-cd7f8847576a]# ls
ddb30e69-73ac-454a-b9a0-b67c970958e9
ddb30e69-73ac-454a-b9a0-b67c970958e9.lease
ddb30e69-73ac-454a-b9a0-b67c970958e9.meta
e2b4e67a-616c-4be0-bb9b-6470ef9012ba
e2b4e67a-616c-4be0-bb9b-6470ef9012ba.lease
e2b4e67a-616c-4be0-bb9b-6470ef9012ba.meta

[root@prod-node-07 4244c296-2b81-4dff-89ab-cd7f8847576a]# cat *.meta
DOMAIN=fe7e2860-ab10-4010-9b80-2d40a0198594
VOLTYPE=INTERNAL
CTIME=1435308199
FORMAT=RAW
IMAGE=4244c296-2b81-4dff-89ab-cd7f8847576a
DISKTYPE=2
PUUID=----
LEGALITY=LEGAL
MTIME=0
POOL_UUID=
SIZE=1468006400
TYPE=SPARSE
DESCRIPTION=
EOF

DOMAIN=fe7e2860-ab10-4010-9b80-2d40a0198594
VOLTYPE=LEAF
CTIME=1435308200
FORMAT=COW
IMAGE=4244c296-2b81-4dff-89ab-cd7f8847576a
DISKTYPE=2
PUUID=ddb30e69-73ac-454a-b9a0-b67c970958e9
LEGALITY=LEGAL
MTIME=0
POOL_UUID=
DESCRIPTION={DiskAlias:bamboo_Disk1,DiskDescription:}
TYPE=SPARSE
SIZE=1468006400
EOF

Even if I have no clue why this has happened I would like to remove the 
snapshot and return to a consistent state. What can I do now to solve 
the problem?


--
Kind regards

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


[ovirt-users] oVirt 3.6.0 beta release postponed

2015-07-14 Thread Sandro Bonazzola
Hi,
in order to provide a better and more stable beta release, the schedule for 
oVirt 3.6.0 has been updated
moving the beta release to August 3rd[1].

Following milestones have not yet been rescheduled.

Thanks,

[1] http://www.ovirt.org/OVirt_3.6_Release_Management#Key_Milestones
-- 
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] 3.5.3 node iso

2015-07-14 Thread Jonas Israelsson



On 09/07/15 20:28, Fabian Deutsch wrote:

- Original Message -

Any chance that 3.5.3 EL7 node will get a release soon?

Hey Patrick,

currently we are not publishing official isos to resources.ovirt.org, instead 
please
use the ISOs build in our CI:

Out of curiosity, why is still not 'official' ?

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


[ovirt-users] Create Template error

2015-07-14 Thread Konstantinos Christidis

Hello,

Clone VM or Make Template took several minutes and failed with this 
error Failed with error ENGINE and code5001

Full error engone log http://ur1.ca/n4iiu

oVirt / CentOS7 and local PostgreSQL.

Thanks,

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


[ovirt-users] Where can I find the full document/description of ovirtsdk 3.5?

2015-07-14 Thread lof yer
Where can I find the full document/description of ovirtsdk 3.5?
Since help(xxx) in python is not very useful.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users