Re: [Engine-devel] Introduce mail

2013-06-29 Thread Livnat Peer
Hi Fellipe,

We'll be happy to use your help, there is always a lot of work to do :)
Is there any specific area in virtualization you would like to focus on?
Network | storage | VMs life-cycle | host life-cycle other?

To start setting your development environment, take a look at -
www.ovirt.org/Vdsm_Developers


Also adding Dan to point any low hanging fruits, or pointers for a
potentially first task :)

Livnat

On 06/28/2013 12:48 AM, Fellipe Henrique wrote:
> hello folks! 
> 
> I'm here today, to introduce myself. I want to start to contribute to
> oVirt project, I'm developing most of time in python, and I'll love to
> contribute in python, but can be in C.
> 
> I love developing and virtualization, and I think this project have all
> I like.
> 
> well, like I said, this is a introduce email, and I'll like suggestion
> how can I help, and show my code to you guys.
> 
> best regards,
> 
> T.·.F.·.A.·. S+F
> *Fellipe Henrique P. Soares*
> 
> /"Quemadmodum gladius neminem occidit, occidentis telum est."/
> (Epistulae morales ad Lucilium
> , Lucius
> Annaeus Seneca)
> 
> /"Any intelligent fool can make things bigger, more complex, and more
> violent. It takes a touch of genius -- and a lot of courage -- to move
> in the opposite direction."/ 
> Albert Einstein (March 14th 1879 – April 18th 1955)
> 
> 
> ___
> Engine-devel mailing list
> Engine-devel@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/engine-devel
> 

___
Engine-devel mailing list
Engine-devel@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-devel


Re: [Engine-devel] SSH Soft Fencing

2013-06-29 Thread Livnat Peer
On 06/30/2013 05:46 AM, Yair Zaslavsky wrote:
> 
> 
> - Original Message -
>> From: "Barak Azulay" 
>> To: "Martin Perina" 
>> Cc: "Yair Zaslavsky" , engine-devel@ovirt.org, "Eli 
>> Mesika" 
>> Sent: Thursday, June 27, 2013 8:31:35 PM
>> Subject: Re: SSH Soft Fencing
>>
>>
>>
>> - Original Message -
>>> From: "Eli Mesika" 
>>> To: "Yair Zaslavsky" 
>>> Cc: "Martin Perina" , engine-devel@ovirt.org, "Barak
>>> Azulay" 
>>> Sent: Thursday, June 27, 2013 5:55:29 PM
>>> Subject: Re: SSH Soft Fencing
>>>
>>>
>>>
>>> - Original Message -
 From: "Yair Zaslavsky" 
 To: "Eli Mesika" 
 Cc: "Martin Perina" , engine-devel@ovirt.org, "Barak
 Azulay" 
 Sent: Thursday, June 27, 2013 5:43:17 PM
 Subject: Re: SSH Soft Fencing



 - Original Message -
> From: "Eli Mesika" 
> To: "Martin Perina" 
> Cc: engine-devel@ovirt.org, "Yair Zaslavsky" ,
> "Barak
> Azulay" 
> Sent: Thursday, June 27, 2013 3:48:39 PM
> Subject: Re: SSH Soft Fencing
>
>
>
> - Original Message -
>> From: "Martin Perina" 
>> To: engine-devel@ovirt.org
>> Cc: "Yair Zaslavsky" , "Barak Azulay"
>> , "Eli Mesika" 
>> Sent: Thursday, June 27, 2013 1:51:06 PM
>> Subject: SSH Soft Fencing
>>
>> Hi,
>>
>> SSH Soft Fencing is a new feature for 3.3 and it tries to restart
>> VDSM
>> using SSH connection on non responsive hosts prior to real fencing.
>> More info can be found at
>>
>> http://www.ovirt.org/Automatic_Fencing#Automatic_Fencing_in_oVirt_3.3
>>
>> In current SSH Soft Fencing implementation the restart VDSM using SSH
>> command is part of standard fencing implementation in
>> VdsNotRespondingTreatmentCommand. But this command is executed only
>> if a host has a valid PM configuration. If host doesn't have a valid
>> PM configuration, the execution of the command is disabled and host
>> state is change to Non Responsive.
>>
>> So my question are:
>>
>> 1) Should SSH Soft Fencing be executed on hosts without valid PM
>>configuration?
>
> I think that the answer should be yes. The vdsm restart will solve most
> of
> problems , so why not using it whether a PM agent is defined or not.
 I agree.
 I would like to say that I also don't like the fact that
 VdsNotRespondingTreatment extends RestartVdsCommand.
 One should ask if "non responding treatment is a restart vds operation"
 or
 maybe RestartVdsCommand is just a step in the non responding treatment
 (inheritance vs containment/delegation).
 I think that VdsNotRespodingTreatment should delegate the call to
 RestartVdsCommand as the 2nd step after issuing the Soft Fencing command.
 Thoughts anyone?
>>>
>>> That would be a nice and needed re-factoring
>>
>> I would say yes - but would add it only with appropriate configuration
>> (enableAutoSoftVdsmRestartWhenNoPMAvailable  I hate the name)
> 
> +1 on configuration.
> Configuration must reside at host-related entities (i.e - VdsStatic).
> 
> Yair
> 

Why would a user like to avoid fencing VDSM when host becomes
non-responsive?

I think that adding another configuration option is cumbersome with no
real value.

Livnat

>>
>>  
>>
>>>

>
>>
>> 2) Should VDSM restart using SSH command be reimplemented
>>as standalone command to be usable also in other parts of engine?
>>If 1) is true, I think it will have to be done anyway.

 I agree here.
>
> +1
>>
>> On one hand it makes sense,  but I have several questions on the above:
>> - Who do we think may want to use such a command ?
>> - Should (or even can) we limit the use of such command to
>> noneResponsiveTreatment ?
>>
>> Having general commands available to all code when there is only one specific
>> case we are using it might be a bit riskey,
>> Especially when we talk about restarting something.
>>
>> Thoughts ?
>>
>>
>>
>
>>
>>
>> Martin Perina
>>
>

>>>
>>
> ___
> Engine-devel mailing list
> Engine-devel@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/engine-devel
> 

___
Engine-devel mailing list
Engine-devel@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-devel


Re: [Engine-devel] SSH Soft Fencing

2013-06-29 Thread Yair Zaslavsky


- Original Message -
> From: "Barak Azulay" 
> To: "Martin Perina" 
> Cc: "Yair Zaslavsky" , engine-devel@ovirt.org, "Eli 
> Mesika" 
> Sent: Thursday, June 27, 2013 8:31:35 PM
> Subject: Re: SSH Soft Fencing
> 
> 
> 
> - Original Message -
> > From: "Eli Mesika" 
> > To: "Yair Zaslavsky" 
> > Cc: "Martin Perina" , engine-devel@ovirt.org, "Barak
> > Azulay" 
> > Sent: Thursday, June 27, 2013 5:55:29 PM
> > Subject: Re: SSH Soft Fencing
> > 
> > 
> > 
> > - Original Message -
> > > From: "Yair Zaslavsky" 
> > > To: "Eli Mesika" 
> > > Cc: "Martin Perina" , engine-devel@ovirt.org, "Barak
> > > Azulay" 
> > > Sent: Thursday, June 27, 2013 5:43:17 PM
> > > Subject: Re: SSH Soft Fencing
> > > 
> > > 
> > > 
> > > - Original Message -
> > > > From: "Eli Mesika" 
> > > > To: "Martin Perina" 
> > > > Cc: engine-devel@ovirt.org, "Yair Zaslavsky" ,
> > > > "Barak
> > > > Azulay" 
> > > > Sent: Thursday, June 27, 2013 3:48:39 PM
> > > > Subject: Re: SSH Soft Fencing
> > > > 
> > > > 
> > > > 
> > > > - Original Message -
> > > > > From: "Martin Perina" 
> > > > > To: engine-devel@ovirt.org
> > > > > Cc: "Yair Zaslavsky" , "Barak Azulay"
> > > > > , "Eli Mesika" 
> > > > > Sent: Thursday, June 27, 2013 1:51:06 PM
> > > > > Subject: SSH Soft Fencing
> > > > > 
> > > > > Hi,
> > > > > 
> > > > > SSH Soft Fencing is a new feature for 3.3 and it tries to restart
> > > > > VDSM
> > > > > using SSH connection on non responsive hosts prior to real fencing.
> > > > > More info can be found at
> > > > > 
> > > > > http://www.ovirt.org/Automatic_Fencing#Automatic_Fencing_in_oVirt_3.3
> > > > > 
> > > > > In current SSH Soft Fencing implementation the restart VDSM using SSH
> > > > > command is part of standard fencing implementation in
> > > > > VdsNotRespondingTreatmentCommand. But this command is executed only
> > > > > if a host has a valid PM configuration. If host doesn't have a valid
> > > > > PM configuration, the execution of the command is disabled and host
> > > > > state is change to Non Responsive.
> > > > > 
> > > > > So my question are:
> > > > > 
> > > > > 1) Should SSH Soft Fencing be executed on hosts without valid PM
> > > > >configuration?
> > > > 
> > > > I think that the answer should be yes. The vdsm restart will solve most
> > > > of
> > > > problems , so why not using it whether a PM agent is defined or not.
> > > I agree.
> > > I would like to say that I also don't like the fact that
> > > VdsNotRespondingTreatment extends RestartVdsCommand.
> > > One should ask if "non responding treatment is a restart vds operation"
> > > or
> > > maybe RestartVdsCommand is just a step in the non responding treatment
> > > (inheritance vs containment/delegation).
> > > I think that VdsNotRespodingTreatment should delegate the call to
> > > RestartVdsCommand as the 2nd step after issuing the Soft Fencing command.
> > > Thoughts anyone?
> > 
> > That would be a nice and needed re-factoring
> 
> I would say yes - but would add it only with appropriate configuration
> (enableAutoSoftVdsmRestartWhenNoPMAvailable  I hate the name)

+1 on configuration.
Configuration must reside at host-related entities (i.e - VdsStatic).

Yair

> 
>  
> 
> > 
> > > 
> > > > 
> > > > > 
> > > > > 2) Should VDSM restart using SSH command be reimplemented
> > > > >as standalone command to be usable also in other parts of engine?
> > > > >If 1) is true, I think it will have to be done anyway.
> > > 
> > > I agree here.
> > > > 
> > > > +1
> 
> On one hand it makes sense,  but I have several questions on the above:
> - Who do we think may want to use such a command ?
> - Should (or even can) we limit the use of such command to
> noneResponsiveTreatment ?
> 
> Having general commands available to all code when there is only one specific
> case we are using it might be a bit riskey,
> Especially when we talk about restarting something.
> 
> Thoughts ?
> 
> 
> 
> > > > 
> > > > > 
> > > > > 
> > > > > Martin Perina
> > > > > 
> > > > 
> > > 
> > 
> 
___
Engine-devel mailing list
Engine-devel@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-devel


Re: [Engine-devel] Introduce mail

2013-06-29 Thread Douglas Schilling Landgraf

Oi Fellipe,

On 06/27/2013 05:48 PM, Fellipe Henrique wrote:

hello folks!

I'm here today, to introduce myself. I want to start to contribute to
oVirt project, I'm developing most of time in python, and I'll love to
contribute in python, but can be in C.


Nice, welcome!



I love developing and virtualization, and I think this project have all
I like.

well, like I said, this is a introduce email, and I'll like suggestion
how can I help, and show my code to you guys.


Which part of world are you located? :) If you are Brazilian (I am 
guessing based on your last name), are you going to FISL next week?


If yes, we will have a booth there with talks about oVirt, demos and I 
am pretty sure we can talk about development, debugging env (on node 
side), eclipse and so on.


As Alon already shared, there are tasks that you can help.

Fell free to contact me offline list for more details about FISL.

--
Cheers
Douglas
___
Engine-devel mailing list
Engine-devel@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-devel


Re: [Engine-devel] Jenkins failure - findbugs failed: Timeout: killed the sub-process

2013-06-29 Thread Eyal Edri
i tried fixing this with alternating the timeout for mvn commnd:

clean install findbugs:findbugs -P findbugs-general -DskipTests 
-Dtimeout=120

according to http://mojo.codehaus.org/findbugs-maven-plugin/findbugs-mojo.html.

i will try increasing it even more.

- Original Message -
> From: "Douglas Schilling Landgraf" 
> To: engine-devel@ovirt.org
> Sent: Saturday, June 29, 2013 1:40:34 AM
> Subject: [Engine-devel] Jenkins failure - findbugs failed: Timeout: killed
> the sub-process
> 
> Hi,
> 
> Anyone else facing the below jenkins failure when sending patches to
> gerrit?
> 
> [ERROR] Failed to execute goal
> org.codehaus.mojo:findbugs-maven-plugin:2.5.2:findbugs (default-cli) on
> project jboss-modules-maven-plugin: Execution default-cli of goal
> org.codehaus.mojo:findbugs-maven-plugin:2.5.2:findbugs failed: Timeout:
> killed the sub-process -> [Help 1]
> 
> http://jenkins.ovirt.org/job/ovirt_engine_find_bugs_gerrit/2650/
> 
> Thanks!
> 
> --
> Cheers
> Douglas
> ___
> Engine-devel mailing list
> Engine-devel@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/engine-devel
> 
___
Engine-devel mailing list
Engine-devel@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-devel