Re: API or cloudmonkey CLI call fails sometimes.

2013-07-13 Thread WXR
I've reinstalled my cloudstack for some other test purposes and can't get the 
issue now.If the same issue arises again in future I will post the logs.

Thank you all the same.




-- Original --
From:  Rohit Yadavbhais...@apache.org;
Date:  Sat, Jul 13, 2013 02:44 AM
To:  Sebastien Goasguenrun...@gmail.com; WXR1485739...@qq.com; 
Cc:  usersusers@cloudstack.apache.org; 
Subject:  Re: API or cloudmonkey CLI call fails sometimes.



On Thu, Jul 11, 2013 at 4:45 AM, Sebastien Goasguen run...@gmail.comwrote:


 On Jul 10, 2013, at 8:42 AM, WXR 1485739...@qq.com wrote:

  Intermittent network issue can not cause authentication fail,and some
 other function fails,I think.

 Then we need more info to help.
 CloudMonkey always works for me

 I am copying Rohit who wrote cloudmonkey.


Hi WXR, I'm not sure what the issue is, intermittent network issue will
cause timeout and now I'm not sure if such an exception is handled
correctly for some case. Looks time some timing based issue, if something
is working for sometime and fails other times, probably you've a clustered
mgmt setup, or lb or some out of the ordinary setup? Can you provide some
logs, your conf file details etc.? This can surely help us find the issue.
Meanwhile check that you've the latest version from pypi or from master.

My $dayjob does not permit me to work on opensource full time, so I'll be
only able to get back to you during weekends and in my free time, but I'll
try to reply.

Cheers.



 
 
 
 
  -- Original --
  From:  Sebastien Goasguenrun...@gmail.com;
  Date:  Wed, Jul 10, 2013 08:20 PM
  To:  usersusers@cloudstack.apache.org;
 
  Subject:  Re: API or cloudmonkey CLI call fails sometimes.
 
 
 
 
  On Jul 8, 2013, at 8:44 PM, WXR 1485739...@qq.com wrote:
 
  Sometimes when I use the an api call or cloudmonkey command,cloudstack
 will return a false value(authentication fails,can not deploy vm,can not
 create volume,can not attach volume,etc),but sometimes the same api or cli
 call succeeds.
 
  Does anyone know how to avoid it?
 
  Maybe it's an intermittent network issue ?
 
  .



Re: API or cloudmonkey CLI call fails sometimes.

2013-07-12 Thread Rohit Yadav
On Thu, Jul 11, 2013 at 4:45 AM, Sebastien Goasguen run...@gmail.comwrote:


 On Jul 10, 2013, at 8:42 AM, WXR 1485739...@qq.com wrote:

  Intermittent network issue can not cause authentication fail,and some
 other function fails,I think.

 Then we need more info to help.
 CloudMonkey always works for me

 I am copying Rohit who wrote cloudmonkey.


Hi WXR, I'm not sure what the issue is, intermittent network issue will
cause timeout and now I'm not sure if such an exception is handled
correctly for some case. Looks time some timing based issue, if something
is working for sometime and fails other times, probably you've a clustered
mgmt setup, or lb or some out of the ordinary setup? Can you provide some
logs, your conf file details etc.? This can surely help us find the issue.
Meanwhile check that you've the latest version from pypi or from master.

My $dayjob does not permit me to work on opensource full time, so I'll be
only able to get back to you during weekends and in my free time, but I'll
try to reply.

Cheers.



 
 
 
 
  -- Original --
  From:  Sebastien Goasguenrun...@gmail.com;
  Date:  Wed, Jul 10, 2013 08:20 PM
  To:  usersusers@cloudstack.apache.org;
 
  Subject:  Re: API or cloudmonkey CLI call fails sometimes.
 
 
 
 
  On Jul 8, 2013, at 8:44 PM, WXR 1485739...@qq.com wrote:
 
  Sometimes when I use the an api call or cloudmonkey command,cloudstack
 will return a false value(authentication fails,can not deploy vm,can not
 create volume,can not attach volume,etc),but sometimes the same api or cli
 call succeeds.
 
  Does anyone know how to avoid it?
 
  Maybe it's an intermittent network issue ?
 
  .




Re: API or cloudmonkey CLI call fails sometimes.

2013-07-10 Thread Sebastien Goasguen

On Jul 8, 2013, at 8:44 PM, WXR 1485739...@qq.com wrote:

 Sometimes when I use the an api call or cloudmonkey command,cloudstack will 
 return a false value(authentication fails,can not deploy vm,can not create 
 volume,can not attach volume,etc),but sometimes the same api or cli call 
 succeeds.
 
 Does anyone know how to avoid it?

Maybe it's an intermittent network issue ?



Re: API or cloudmonkey CLI call fails sometimes.

2013-07-10 Thread Sebastien Goasguen

On Jul 10, 2013, at 8:42 AM, WXR 1485739...@qq.com wrote:

 Intermittent network issue can not cause authentication fail,and some other 
 function fails,I think.

Then we need more info to help. 
CloudMonkey always works for me

I am copying Rohit who wrote cloudmonkey.

 
 
 
 
 -- Original --
 From:  Sebastien Goasguenrun...@gmail.com;
 Date:  Wed, Jul 10, 2013 08:20 PM
 To:  usersusers@cloudstack.apache.org; 
 
 Subject:  Re: API or cloudmonkey CLI call fails sometimes.
 
 
 
 
 On Jul 8, 2013, at 8:44 PM, WXR 1485739...@qq.com wrote:
 
 Sometimes when I use the an api call or cloudmonkey command,cloudstack will 
 return a false value(authentication fails,can not deploy vm,can not create 
 volume,can not attach volume,etc),but sometimes the same api or cli call 
 succeeds.
 
 Does anyone know how to avoid it?
 
 Maybe it's an intermittent network issue ?
 
 .