master is broken

2017-02-27 Thread Rajani Karuturi
FYI,

master is broken due to a merge conflict.

I created PR https://github.com/apache/cloudstack/pull/1977 to
fix the same.

Will merge it ASAP.

~ Rajani

http://cloudplatform.accelerite.com/

Re: Master is broken?

2014-03-14 Thread Antonio Fornié Casarrubios
ApiDispatcher#dispatchAbout the previous questions, I think checkUuid()
 should be executed in any case. Actually this part was added recently,
before that there was already the return to avoid getting to the
cmd.execute(). So I think when the checkUuid was added it should have been
added for any case, and not only for the case when it's not enqueued and
returns. Can anybody confirm?



2014-03-14 17:33 GMT+01:00 Antonio Fornié Casarrubios <
antonio.for...@gmail.com>:

> Hi Talluri.
> I am trying to know what causes the issue you describe. Just to make sure
> I understand you, why do you think this issue is related with this change?
> Anybody knows anything else about it?
> Thanks. Cheers
> Antonio
>
>
> 2014-03-14 14:17 GMT+01:00 Srikanteswararao Talluri <
> srikanteswararao.tall...@citrix.com>:
>
> I am seeing another issue on master.
>> Filed a bug for this
>> https://issues.apache.org/jira/browse/CLOUDSTACK-6239
>>
>> Thanks,
>> ~Talluri
>>
>> On 14/03/14 3:50 pm, "Daan Hoogland"  wrote:
>>
>> >On Fri, Mar 14, 2014 at 11:08 AM, Antonio Fornié Casarrubios
>> > wrote:
>> >> antonio.fornie
>> >
>> >
>> >is in
>> >
>> >--
>> >Daan
>>
>>
>


Re: Master is broken?

2014-03-14 Thread Antonio Fornié Casarrubios
Hi Talluri.
I am trying to know what causes the issue you describe. Just to make sure I
understand you, why do you think this issue is related with this change?
Anybody knows anything else about it?
Thanks. Cheers
Antonio


2014-03-14 14:17 GMT+01:00 Srikanteswararao Talluri <
srikanteswararao.tall...@citrix.com>:

> I am seeing another issue on master.
> Filed a bug for this
> https://issues.apache.org/jira/browse/CLOUDSTACK-6239
>
> Thanks,
> ~Talluri
>
> On 14/03/14 3:50 pm, "Daan Hoogland"  wrote:
>
> >On Fri, Mar 14, 2014 at 11:08 AM, Antonio Fornié Casarrubios
> > wrote:
> >> antonio.fornie
> >
> >
> >is in
> >
> >--
> >Daan
>
>


Re: Master is broken?

2014-03-14 Thread Srikanteswararao Talluri
I am seeing another issue on master.
Filed a bug for this
https://issues.apache.org/jira/browse/CLOUDSTACK-6239

Thanks,
~Talluri

On 14/03/14 3:50 pm, "Daan Hoogland"  wrote:

>On Fri, Mar 14, 2014 at 11:08 AM, Antonio Fornié Casarrubios
> wrote:
>> antonio.fornie
>
>
>is in
>
>-- 
>Daan



Re: Master is broken?

2014-03-14 Thread Daan Hoogland
On Fri, Mar 14, 2014 at 11:08 AM, Antonio Fornié Casarrubios
 wrote:
> antonio.fornie


is in

-- 
Daan


Re: Master is broken?

2014-03-14 Thread Antonio Fornié Casarrubios
I do have for Antonio Fornie antonio.for...@gmail.com


2014-03-14 11:02 GMT+01:00 Daan Hoogland :

> If you have an account on the wiki, I can add some rights to it (or
> any pmc member could)
>
> On Fri, Mar 14, 2014 at 10:47 AM, Antonio Fornié Casarrubios
>  wrote:
> > The params are converted to lowercase, the problem is the processed
> params
> > are available only inside the dispatch chain, so later when the rest of
> the
> > method ApiDispatcher#dispatch tries to get the param, in the map where it
> > was looking up it was still with Camel Case name. I think the proper way
> to
> > do this is to include the rest of the ApiDispatcher#dispatch method in
> the
> > chain: another worker the receives the modified params (lowercase).
> >
> >
> > Actually this worker should call a Cmd method that would do one thing or
> > another depending on the Cmd type. This way we avoid having all this:
> >
> >if (cmd instanceof BaseAsyncCmd) {
> > // 30 lines to be moved to BaseAsyncCmd
> > }
> >
> > if (cmd instanceof BaseAsyncCustomIdCmd) {
> > ((BaseAsyncCustomIdCmd)cmd).checkUuid();
> > } else if (cmd instanceof BaseCustomIdCmd) {
> > ((BaseCustomIdCmd)cmd).checkUuid();
> > }
> >
> >
> > And one last thing. At some point in these 30 lines, it returns if two
> ifs
> > are satisfied. I understand the return if meant to avoid calling
> > cmd.execute(); in the last line. Is that right? My concern is that the
> > return is also avoiding the code that calls  ...cmd).checkUuid() . Is
> this
> > correct? Shouldn't we checkUuid even if we are not going to execute?
> >
> >
> >
> > Sorry for the problems and thanks for fixing it so fast.
> >
> >
> >
> > By the way, how can I get rights to add this information to the
> Cloudstack
> > wiki? Just to explain the dispatching info and how the Dispatch Chain
> works.
> > I would also include some info about format of incoming parameters (like
> > Maps)
> >
> > Thanks. Cheers
> > Antonio
> >
> >
> >
> > 2014-03-14 9:50 GMT+01:00 Antonio Fornié Casarrubios
> > :
> >
> >> Sorry, I see what the problem is. I've been looking for other possible
> >> side effects. But this should only affect anything in ApiDispatcher
> after
> >> standardDispatchChain.dispatch(new DispatchTask(cmd, params));
> >> because the params used are not the same object processed in the
> >> dispatchChain. I'm going to change this properly, test it and upload it.
> >>
> >> Sorry again and thanks for the change.
> >>
> >> Antonio
> >>
> >>
> >> 2014-03-14 0:55 GMT+01:00 Min Chen :
> >>
> >>> Fixed with commit d3fd66e9f555616530e483d1eacf2525556bf14e on master.
> >>>
> >>> Thanks
> >>> -min
> >>>
> >>> On 3/13/14 4:34 PM, "Min Chen"  wrote:
> >>>
> >>> >Yes, that is problem. Parameter name is changed to lowercase, which
> will
> >>> >not be able to retrieve parameters from API job.
> >>> >
> >>> >Thanks
> >>> >-min
> >>> >
> >>> >On 3/13/14 4:31 PM, "Daan Hoogland"  wrote:
> >>> >
> >>> >>It's half passed midnight here so you won't get an answer soon from
> >>> >>this side of the ocean.
> >>> >>
> >>> >>The line
> >>> >>at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:89)
> >>> >> is from juli last year. So I doubt if Antonio knows about it. How
> >>> >>does it involve the dispatcher refactoring?
> >>> >>
> >>> >>I noticed that the parameter name that is fetched is lowercase where
> >>> >>it used to be camelcase. Does this matter?
> >>> >>
> >>> >>On Fri, Mar 14, 2014 at 12:14 AM, Alena Prokharchyk
> >>> >> wrote:
> >>> >>> Min is about to submit a change as a part of her checkin. Antonio,
> >>> >>> its
> >>> >>>due
> >>> >>> to Long/long auto boxing caused by your api validation stuff. Can
> you
> >>> >>> please check other places that could get potentially affected?
> >>> >>>
> >>> >>> Thanks,
> >>> >>> Alena.
> >>> >>>
> >>> >>> On 3/13/14, 4:10 PM, "Kelven Yang"  wrote:
> >>> >>>
> >>> Anyone encounter this problem on master?
> >>> 
> >>> WARN  [c.c.a.d.ParamGenericValidationWorker]
> >>> (163545706@qtp-538020828-6:ctx-afe77737 ctx-06c20804) Received
> >>>  unknown
> >>> parameters for command listRegions. Unknown parameters : listall
> >>> WARN  [c.c.a.d.ParamGenericValidationWorker]
> >>> (1770041501@qtp-538020828-3:ctx-1342c426 ctx-07426dab) Received
> >>>  unknown
> >>> parameters for command listZones. Unknown parameters : listall
> >>> WARN  [c.c.a.d.ParamGenericValidationWorker]
> >>> (1770041501@qtp-538020828-3:ctx-372e085d ctx-b4145c82) Received
> >>>  unknown
> >>> parameters for command listPods. Unknown parameters : listall
> >>> WARN  [c.c.a.d.ParamGenericValidationWorker]
> >>> (1770041501@qtp-538020828-3:ctx-4debfd84 ctx-2bc17638) Received
> >>>  unknown
> >>> parameters for command listClusters. Unknown parameters : listall
> >>> WARN  [c.c.a.d.ParamGenericValidationWorker]
> >>> (1770041501@qtp-538020828-3:ctx-d859137c ctx-796427ce) Received
> >>>  

Re: Master is broken?

2014-03-14 Thread Daan Hoogland
If you have an account on the wiki, I can add some rights to it (or
any pmc member could)

On Fri, Mar 14, 2014 at 10:47 AM, Antonio Fornié Casarrubios
 wrote:
> The params are converted to lowercase, the problem is the processed params
> are available only inside the dispatch chain, so later when the rest of the
> method ApiDispatcher#dispatch tries to get the param, in the map where it
> was looking up it was still with Camel Case name. I think the proper way to
> do this is to include the rest of the ApiDispatcher#dispatch method in the
> chain: another worker the receives the modified params (lowercase).
>
>
> Actually this worker should call a Cmd method that would do one thing or
> another depending on the Cmd type. This way we avoid having all this:
>
>if (cmd instanceof BaseAsyncCmd) {
> // 30 lines to be moved to BaseAsyncCmd
> }
>
> if (cmd instanceof BaseAsyncCustomIdCmd) {
> ((BaseAsyncCustomIdCmd)cmd).checkUuid();
> } else if (cmd instanceof BaseCustomIdCmd) {
> ((BaseCustomIdCmd)cmd).checkUuid();
> }
>
>
> And one last thing. At some point in these 30 lines, it returns if two ifs
> are satisfied. I understand the return if meant to avoid calling
> cmd.execute(); in the last line. Is that right? My concern is that the
> return is also avoiding the code that calls  ...cmd).checkUuid() . Is this
> correct? Shouldn't we checkUuid even if we are not going to execute?
>
>
>
> Sorry for the problems and thanks for fixing it so fast.
>
>
>
> By the way, how can I get rights to add this information to the Cloudstack
> wiki? Just to explain the dispatching info and how the Dispatch Chain works.
> I would also include some info about format of incoming parameters (like
> Maps)
>
> Thanks. Cheers
> Antonio
>
>
>
> 2014-03-14 9:50 GMT+01:00 Antonio Fornié Casarrubios
> :
>
>> Sorry, I see what the problem is. I've been looking for other possible
>> side effects. But this should only affect anything in ApiDispatcher after
>> standardDispatchChain.dispatch(new DispatchTask(cmd, params));
>> because the params used are not the same object processed in the
>> dispatchChain. I'm going to change this properly, test it and upload it.
>>
>> Sorry again and thanks for the change.
>>
>> Antonio
>>
>>
>> 2014-03-14 0:55 GMT+01:00 Min Chen :
>>
>>> Fixed with commit d3fd66e9f555616530e483d1eacf2525556bf14e on master.
>>>
>>> Thanks
>>> -min
>>>
>>> On 3/13/14 4:34 PM, "Min Chen"  wrote:
>>>
>>> >Yes, that is problem. Parameter name is changed to lowercase, which will
>>> >not be able to retrieve parameters from API job.
>>> >
>>> >Thanks
>>> >-min
>>> >
>>> >On 3/13/14 4:31 PM, "Daan Hoogland"  wrote:
>>> >
>>> >>It's half passed midnight here so you won't get an answer soon from
>>> >>this side of the ocean.
>>> >>
>>> >>The line
>>> >>at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:89)
>>> >> is from juli last year. So I doubt if Antonio knows about it. How
>>> >>does it involve the dispatcher refactoring?
>>> >>
>>> >>I noticed that the parameter name that is fetched is lowercase where
>>> >>it used to be camelcase. Does this matter?
>>> >>
>>> >>On Fri, Mar 14, 2014 at 12:14 AM, Alena Prokharchyk
>>> >> wrote:
>>> >>> Min is about to submit a change as a part of her checkin. Antonio,
>>> >>> its
>>> >>>due
>>> >>> to Long/long auto boxing caused by your api validation stuff. Can you
>>> >>> please check other places that could get potentially affected?
>>> >>>
>>> >>> Thanks,
>>> >>> Alena.
>>> >>>
>>> >>> On 3/13/14, 4:10 PM, "Kelven Yang"  wrote:
>>> >>>
>>> Anyone encounter this problem on master?
>>> 
>>> WARN  [c.c.a.d.ParamGenericValidationWorker]
>>> (163545706@qtp-538020828-6:ctx-afe77737 ctx-06c20804) Received
>>>  unknown
>>> parameters for command listRegions. Unknown parameters : listall
>>> WARN  [c.c.a.d.ParamGenericValidationWorker]
>>> (1770041501@qtp-538020828-3:ctx-1342c426 ctx-07426dab) Received
>>>  unknown
>>> parameters for command listZones. Unknown parameters : listall
>>> WARN  [c.c.a.d.ParamGenericValidationWorker]
>>> (1770041501@qtp-538020828-3:ctx-372e085d ctx-b4145c82) Received
>>>  unknown
>>> parameters for command listPods. Unknown parameters : listall
>>> WARN  [c.c.a.d.ParamGenericValidationWorker]
>>> (1770041501@qtp-538020828-3:ctx-4debfd84 ctx-2bc17638) Received
>>>  unknown
>>> parameters for command listClusters. Unknown parameters : listall
>>> WARN  [c.c.a.d.ParamGenericValidationWorker]
>>> (1770041501@qtp-538020828-3:ctx-d859137c ctx-796427ce) Received
>>>  unknown
>>> parameters for command listHosts. Unknown parameters : listall
>>> WARN  [c.c.a.d.ParamGenericValidationWorker]
>>> (1770041501@qtp-538020828-3:ctx-28a609f4 ctx-928c994c) Received
>>>  unknown
>>> parameters for command listStoragePools. Unknown parameters : listall
>>> WARN  [c.c.a.d.ParamGenericValidationWorker]
>>> (1770041501

Re: Master is broken?

2014-03-14 Thread Antonio Fornié Casarrubios
The params are converted to lowercase, the problem is the processed params
are available only inside the dispatch chain, so later when the rest of the
method ApiDispatcher#dispatch tries to get the param, in the map where it
was looking up it was still with Camel Case name. I think the proper way to
do this is to include the rest of the ApiDispatcher#dispatch method in the
chain: another worker the receives the modified params (lowercase).


Actually this worker should call a Cmd method that would do one thing or
another depending on the Cmd type. This way we avoid having all this:

   if (cmd instanceof BaseAsyncCmd) {
// 30 lines to be moved to BaseAsyncCmd
}

if (cmd instanceof BaseAsyncCustomIdCmd) {
((BaseAsyncCustomIdCmd)cmd).checkUuid();
} else if (cmd instanceof BaseCustomIdCmd) {
((BaseCustomIdCmd)cmd).checkUuid();
}


And one last thing. At some point in these 30 lines, it returns if two ifs
are satisfied. I understand the return if meant to avoid calling
cmd.execute(); in the last line. Is that right? My concern is that the
return is also avoiding the code that calls  ...cmd).checkUuid() . Is this
correct? Shouldn't we checkUuid even if we are not going to execute?



Sorry for the problems and thanks for fixing it so fast.



By the way, how can I get rights to add this information to the Cloudstack
wiki? Just to explain the dispatching info and how the Dispatch Chain
works. I would also include some info about format of incoming parameters
(like Maps)

Thanks. Cheers
Antonio



2014-03-14 9:50 GMT+01:00 Antonio Fornié Casarrubios <
antonio.for...@gmail.com>:

> Sorry, I see what the problem is. I've been looking for other possible
> side effects. But this should only affect anything in ApiDispatcher after
> standardDispatchChain.dispatch(new DispatchTask(cmd, params));
> because the params used are not the same object processed in the
> dispatchChain. I'm going to change this properly, test it and upload it.
>
> Sorry again and thanks for the change.
>
> Antonio
>
>
> 2014-03-14 0:55 GMT+01:00 Min Chen :
>
> Fixed with commit d3fd66e9f555616530e483d1eacf2525556bf14e on master.
>>
>> Thanks
>> -min
>>
>> On 3/13/14 4:34 PM, "Min Chen"  wrote:
>>
>> >Yes, that is problem. Parameter name is changed to lowercase, which will
>> >not be able to retrieve parameters from API job.
>> >
>> >Thanks
>> >-min
>> >
>> >On 3/13/14 4:31 PM, "Daan Hoogland"  wrote:
>> >
>> >>It's half passed midnight here so you won't get an answer soon from
>> >>this side of the ocean.
>> >>
>> >>The line
>> >>at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:89)
>> >> is from juli last year. So I doubt if Antonio knows about it. How
>> >>does it involve the dispatcher refactoring?
>> >>
>> >>I noticed that the parameter name that is fetched is lowercase where
>> >>it used to be camelcase. Does this matter?
>> >>
>> >>On Fri, Mar 14, 2014 at 12:14 AM, Alena Prokharchyk
>> >> wrote:
>> >>> Min is about to submit a change as a part of her checkin. Antonio, its
>> >>>due
>> >>> to Long/long auto boxing caused by your api validation stuff. Can you
>> >>> please check other places that could get potentially affected?
>> >>>
>> >>> Thanks,
>> >>> Alena.
>> >>>
>> >>> On 3/13/14, 4:10 PM, "Kelven Yang"  wrote:
>> >>>
>> Anyone encounter this problem on master?
>> 
>> WARN  [c.c.a.d.ParamGenericValidationWorker]
>> (163545706@qtp-538020828-6:ctx-afe77737 ctx-06c20804) Received
>> unknown
>> parameters for command listRegions. Unknown parameters : listall
>> WARN  [c.c.a.d.ParamGenericValidationWorker]
>> (1770041501@qtp-538020828-3:ctx-1342c426 ctx-07426dab) Received
>> unknown
>> parameters for command listZones. Unknown parameters : listall
>> WARN  [c.c.a.d.ParamGenericValidationWorker]
>> (1770041501@qtp-538020828-3:ctx-372e085d ctx-b4145c82) Received
>> unknown
>> parameters for command listPods. Unknown parameters : listall
>> WARN  [c.c.a.d.ParamGenericValidationWorker]
>> (1770041501@qtp-538020828-3:ctx-4debfd84 ctx-2bc17638) Received
>> unknown
>> parameters for command listClusters. Unknown parameters : listall
>> WARN  [c.c.a.d.ParamGenericValidationWorker]
>> (1770041501@qtp-538020828-3:ctx-d859137c ctx-796427ce) Received
>> unknown
>> parameters for command listHosts. Unknown parameters : listall
>> WARN  [c.c.a.d.ParamGenericValidationWorker]
>> (1770041501@qtp-538020828-3:ctx-28a609f4 ctx-928c994c) Received
>> unknown
>> parameters for command listStoragePools. Unknown parameters : listall
>> WARN  [c.c.a.d.ParamGenericValidationWorker]
>> (1770041501@qtp-538020828-3:ctx-2b402632 ctx-e9d04c3c) Received
>> unknown
>> parameters for command listImageStores. Unknown parameters : listall
>> type
>> WARN  [c.c.a.d.ParamGenericValidationWorker]
>> (1770041501@qtp-538020828-3:ctx-b5b48d9b ctx-3fea144f) Received
>> unknown
>> parameters for command listSystemVm

Re: Master is broken?

2014-03-14 Thread Antonio Fornié Casarrubios
Sorry, I see what the problem is. I've been looking for other possible side
effects. But this should only affect anything in ApiDispatcher after
standardDispatchChain.dispatch(new DispatchTask(cmd, params));
because the params used are not the same object processed in the
dispatchChain. I'm going to change this properly, test it and upload it.

Sorry again and thanks for the change.

Antonio


2014-03-14 0:55 GMT+01:00 Min Chen :

> Fixed with commit d3fd66e9f555616530e483d1eacf2525556bf14e on master.
>
> Thanks
> -min
>
> On 3/13/14 4:34 PM, "Min Chen"  wrote:
>
> >Yes, that is problem. Parameter name is changed to lowercase, which will
> >not be able to retrieve parameters from API job.
> >
> >Thanks
> >-min
> >
> >On 3/13/14 4:31 PM, "Daan Hoogland"  wrote:
> >
> >>It's half passed midnight here so you won't get an answer soon from
> >>this side of the ocean.
> >>
> >>The line
> >>at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:89)
> >> is from juli last year. So I doubt if Antonio knows about it. How
> >>does it involve the dispatcher refactoring?
> >>
> >>I noticed that the parameter name that is fetched is lowercase where
> >>it used to be camelcase. Does this matter?
> >>
> >>On Fri, Mar 14, 2014 at 12:14 AM, Alena Prokharchyk
> >> wrote:
> >>> Min is about to submit a change as a part of her checkin. Antonio, its
> >>>due
> >>> to Long/long auto boxing caused by your api validation stuff. Can you
> >>> please check other places that could get potentially affected?
> >>>
> >>> Thanks,
> >>> Alena.
> >>>
> >>> On 3/13/14, 4:10 PM, "Kelven Yang"  wrote:
> >>>
> Anyone encounter this problem on master?
> 
> WARN  [c.c.a.d.ParamGenericValidationWorker]
> (163545706@qtp-538020828-6:ctx-afe77737 ctx-06c20804) Received unknown
> parameters for command listRegions. Unknown parameters : listall
> WARN  [c.c.a.d.ParamGenericValidationWorker]
> (1770041501@qtp-538020828-3:ctx-1342c426 ctx-07426dab) Received
> unknown
> parameters for command listZones. Unknown parameters : listall
> WARN  [c.c.a.d.ParamGenericValidationWorker]
> (1770041501@qtp-538020828-3:ctx-372e085d ctx-b4145c82) Received
> unknown
> parameters for command listPods. Unknown parameters : listall
> WARN  [c.c.a.d.ParamGenericValidationWorker]
> (1770041501@qtp-538020828-3:ctx-4debfd84 ctx-2bc17638) Received
> unknown
> parameters for command listClusters. Unknown parameters : listall
> WARN  [c.c.a.d.ParamGenericValidationWorker]
> (1770041501@qtp-538020828-3:ctx-d859137c ctx-796427ce) Received
> unknown
> parameters for command listHosts. Unknown parameters : listall
> WARN  [c.c.a.d.ParamGenericValidationWorker]
> (1770041501@qtp-538020828-3:ctx-28a609f4 ctx-928c994c) Received
> unknown
> parameters for command listStoragePools. Unknown parameters : listall
> WARN  [c.c.a.d.ParamGenericValidationWorker]
> (1770041501@qtp-538020828-3:ctx-2b402632 ctx-e9d04c3c) Received
> unknown
> parameters for command listImageStores. Unknown parameters : listall
> type
> WARN  [c.c.a.d.ParamGenericValidationWorker]
> (1770041501@qtp-538020828-3:ctx-b5b48d9b ctx-3fea144f) Received
> unknown
> parameters for command listSystemVms. Unknown parameters : listall
> WARN  [c.c.a.d.ParamGenericValidationWorker]
> (1770041501@qtp-538020828-3:ctx-77ae4d94 ctx-c39b828f) Received
> unknown
> parameters for command listHypervisors. Unknown parameters : listall
> WARN  [c.c.a.d.ParamGenericValidationWorker]
> (1770041501@qtp-538020828-3:ctx-8eb4acce ctx-f63fefa4) Received
> unknown
> parameters for command listDomains. Unknown parameters : viewall
> INFO  [o.a.c.f.j.i.AsyncJobMonitor] (API-Job-Executor-1:Job-3) Add
> job-3
> into job monitoring
> ERROR [c.c.a.ApiAsyncJobDispatcher] (API-Job-Executor-1:Job-3)
> Unexpected
> exception while executing
> org.apache.cloudstack.api.command.admin.network.CreatePhysicalNetworkCm
> d
> java.lang.NumberFormatException: null
> at java.lang.Long.parseLong(Long.java:404)
> at java.lang.Long.valueOf(Long.java:540)
> at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:89)
> at
> com.cloud.api.ApiAsyncJobDispatcher.runJob(ApiAsyncJobDispatcher.java:1
> 0
> 0)
> at
> org.apache.cloudstack.framework.jobs.impl.AsyncJobManagerImpl$5.runInCo
> n
> te
> xt(AsyncJobManagerImpl.java:491)
> at
> org.apache.cloudstack.managed.context.ManagedContextRunnable$1.run(Mana
> g
> ed
> ContextRunnable.java:49)
> at
> org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call
> (
> De
> faultManagedContext.java:56)
> at
> org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWi
> t
> hC
> ontext(DefaultManagedContext.java:103)
> at
> org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWit
> h
> Co
> nt

Re: Master is broken?

2014-03-13 Thread Min Chen
Fixed with commit d3fd66e9f555616530e483d1eacf2525556bf14e on master.

Thanks
-min

On 3/13/14 4:34 PM, "Min Chen"  wrote:

>Yes, that is problem. Parameter name is changed to lowercase, which will
>not be able to retrieve parameters from API job.
>
>Thanks
>-min
>
>On 3/13/14 4:31 PM, "Daan Hoogland"  wrote:
>
>>It's half passed midnight here so you won't get an answer soon from
>>this side of the ocean.
>>
>>The line
>>at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:89)
>> is from juli last year. So I doubt if Antonio knows about it. How
>>does it involve the dispatcher refactoring?
>>
>>I noticed that the parameter name that is fetched is lowercase where
>>it used to be camelcase. Does this matter?
>>
>>On Fri, Mar 14, 2014 at 12:14 AM, Alena Prokharchyk
>> wrote:
>>> Min is about to submit a change as a part of her checkin. Antonio, its
>>>due
>>> to Long/long auto boxing caused by your api validation stuff. Can you
>>> please check other places that could get potentially affected?
>>>
>>> Thanks,
>>> Alena.
>>>
>>> On 3/13/14, 4:10 PM, "Kelven Yang"  wrote:
>>>
Anyone encounter this problem on master?

WARN  [c.c.a.d.ParamGenericValidationWorker]
(163545706@qtp-538020828-6:ctx-afe77737 ctx-06c20804) Received unknown
parameters for command listRegions. Unknown parameters : listall
WARN  [c.c.a.d.ParamGenericValidationWorker]
(1770041501@qtp-538020828-3:ctx-1342c426 ctx-07426dab) Received unknown
parameters for command listZones. Unknown parameters : listall
WARN  [c.c.a.d.ParamGenericValidationWorker]
(1770041501@qtp-538020828-3:ctx-372e085d ctx-b4145c82) Received unknown
parameters for command listPods. Unknown parameters : listall
WARN  [c.c.a.d.ParamGenericValidationWorker]
(1770041501@qtp-538020828-3:ctx-4debfd84 ctx-2bc17638) Received unknown
parameters for command listClusters. Unknown parameters : listall
WARN  [c.c.a.d.ParamGenericValidationWorker]
(1770041501@qtp-538020828-3:ctx-d859137c ctx-796427ce) Received unknown
parameters for command listHosts. Unknown parameters : listall
WARN  [c.c.a.d.ParamGenericValidationWorker]
(1770041501@qtp-538020828-3:ctx-28a609f4 ctx-928c994c) Received unknown
parameters for command listStoragePools. Unknown parameters : listall
WARN  [c.c.a.d.ParamGenericValidationWorker]
(1770041501@qtp-538020828-3:ctx-2b402632 ctx-e9d04c3c) Received unknown
parameters for command listImageStores. Unknown parameters : listall
type
WARN  [c.c.a.d.ParamGenericValidationWorker]
(1770041501@qtp-538020828-3:ctx-b5b48d9b ctx-3fea144f) Received unknown
parameters for command listSystemVms. Unknown parameters : listall
WARN  [c.c.a.d.ParamGenericValidationWorker]
(1770041501@qtp-538020828-3:ctx-77ae4d94 ctx-c39b828f) Received unknown
parameters for command listHypervisors. Unknown parameters : listall
WARN  [c.c.a.d.ParamGenericValidationWorker]
(1770041501@qtp-538020828-3:ctx-8eb4acce ctx-f63fefa4) Received unknown
parameters for command listDomains. Unknown parameters : viewall
INFO  [o.a.c.f.j.i.AsyncJobMonitor] (API-Job-Executor-1:Job-3) Add
job-3
into job monitoring
ERROR [c.c.a.ApiAsyncJobDispatcher] (API-Job-Executor-1:Job-3)
Unexpected
exception while executing
org.apache.cloudstack.api.command.admin.network.CreatePhysicalNetworkCm
d
java.lang.NumberFormatException: null
at java.lang.Long.parseLong(Long.java:404)
at java.lang.Long.valueOf(Long.java:540)
at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:89)
at
com.cloud.api.ApiAsyncJobDispatcher.runJob(ApiAsyncJobDispatcher.java:1
0
0)
at
org.apache.cloudstack.framework.jobs.impl.AsyncJobManagerImpl$5.runInCo
n
te
xt(AsyncJobManagerImpl.java:491)
at
org.apache.cloudstack.managed.context.ManagedContextRunnable$1.run(Mana
g
ed
ContextRunnable.java:49)
at
org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call
(
De
faultManagedContext.java:56)
at
org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWi
t
hC
ontext(DefaultManagedContext.java:103)
at
org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWit
h
Co
ntext(DefaultManagedContext.java:53)
at
org.apache.cloudstack.managed.context.ManagedContextRunnable.run(Manage
d
Co
ntextRunnable.java:46)
at
org.apache.cloudstack.framework.jobs.impl.AsyncJobManagerImpl$5.run(Asy
n
cJ
obManagerImpl.java:448)
at 
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.ja
v
a:
1145)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(Th

Re: Master is broken?

2014-03-13 Thread Min Chen
Yes, that is problem. Parameter name is changed to lowercase, which will
not be able to retrieve parameters from API job.

Thanks
-min

On 3/13/14 4:31 PM, "Daan Hoogland"  wrote:

>It's half passed midnight here so you won't get an answer soon from
>this side of the ocean.
>
>The line
>at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:89)
> is from juli last year. So I doubt if Antonio knows about it. How
>does it involve the dispatcher refactoring?
>
>I noticed that the parameter name that is fetched is lowercase where
>it used to be camelcase. Does this matter?
>
>On Fri, Mar 14, 2014 at 12:14 AM, Alena Prokharchyk
> wrote:
>> Min is about to submit a change as a part of her checkin. Antonio, its
>>due
>> to Long/long auto boxing caused by your api validation stuff. Can you
>> please check other places that could get potentially affected?
>>
>> Thanks,
>> Alena.
>>
>> On 3/13/14, 4:10 PM, "Kelven Yang"  wrote:
>>
>>>Anyone encounter this problem on master?
>>>
>>>WARN  [c.c.a.d.ParamGenericValidationWorker]
>>>(163545706@qtp-538020828-6:ctx-afe77737 ctx-06c20804) Received unknown
>>>parameters for command listRegions. Unknown parameters : listall
>>>WARN  [c.c.a.d.ParamGenericValidationWorker]
>>>(1770041501@qtp-538020828-3:ctx-1342c426 ctx-07426dab) Received unknown
>>>parameters for command listZones. Unknown parameters : listall
>>>WARN  [c.c.a.d.ParamGenericValidationWorker]
>>>(1770041501@qtp-538020828-3:ctx-372e085d ctx-b4145c82) Received unknown
>>>parameters for command listPods. Unknown parameters : listall
>>>WARN  [c.c.a.d.ParamGenericValidationWorker]
>>>(1770041501@qtp-538020828-3:ctx-4debfd84 ctx-2bc17638) Received unknown
>>>parameters for command listClusters. Unknown parameters : listall
>>>WARN  [c.c.a.d.ParamGenericValidationWorker]
>>>(1770041501@qtp-538020828-3:ctx-d859137c ctx-796427ce) Received unknown
>>>parameters for command listHosts. Unknown parameters : listall
>>>WARN  [c.c.a.d.ParamGenericValidationWorker]
>>>(1770041501@qtp-538020828-3:ctx-28a609f4 ctx-928c994c) Received unknown
>>>parameters for command listStoragePools. Unknown parameters : listall
>>>WARN  [c.c.a.d.ParamGenericValidationWorker]
>>>(1770041501@qtp-538020828-3:ctx-2b402632 ctx-e9d04c3c) Received unknown
>>>parameters for command listImageStores. Unknown parameters : listall
>>>type
>>>WARN  [c.c.a.d.ParamGenericValidationWorker]
>>>(1770041501@qtp-538020828-3:ctx-b5b48d9b ctx-3fea144f) Received unknown
>>>parameters for command listSystemVms. Unknown parameters : listall
>>>WARN  [c.c.a.d.ParamGenericValidationWorker]
>>>(1770041501@qtp-538020828-3:ctx-77ae4d94 ctx-c39b828f) Received unknown
>>>parameters for command listHypervisors. Unknown parameters : listall
>>>WARN  [c.c.a.d.ParamGenericValidationWorker]
>>>(1770041501@qtp-538020828-3:ctx-8eb4acce ctx-f63fefa4) Received unknown
>>>parameters for command listDomains. Unknown parameters : viewall
>>>INFO  [o.a.c.f.j.i.AsyncJobMonitor] (API-Job-Executor-1:Job-3) Add job-3
>>>into job monitoring
>>>ERROR [c.c.a.ApiAsyncJobDispatcher] (API-Job-Executor-1:Job-3)
>>>Unexpected
>>>exception while executing
>>>org.apache.cloudstack.api.command.admin.network.CreatePhysicalNetworkCmd
>>>java.lang.NumberFormatException: null
>>>at java.lang.Long.parseLong(Long.java:404)
>>>at java.lang.Long.valueOf(Long.java:540)
>>>at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:89)
>>>at
>>>com.cloud.api.ApiAsyncJobDispatcher.runJob(ApiAsyncJobDispatcher.java:10
>>>0)
>>>at
>>>org.apache.cloudstack.framework.jobs.impl.AsyncJobManagerImpl$5.runInCon
>>>te
>>>xt(AsyncJobManagerImpl.java:491)
>>>at
>>>org.apache.cloudstack.managed.context.ManagedContextRunnable$1.run(Manag
>>>ed
>>>ContextRunnable.java:49)
>>>at
>>>org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call(
>>>De
>>>faultManagedContext.java:56)
>>>at
>>>org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWit
>>>hC
>>>ontext(DefaultManagedContext.java:103)
>>>at
>>>org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWith
>>>Co
>>>ntext(DefaultManagedContext.java:53)
>>>at
>>>org.apache.cloudstack.managed.context.ManagedContextRunnable.run(Managed
>>>Co
>>>ntextRunnable.java:46)
>>>at
>>>org.apache.cloudstack.framework.jobs.impl.AsyncJobManagerImpl$5.run(Asyn
>>>cJ
>>>obManagerImpl.java:448)
>>>at 
>>>java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
>>>at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
>>>at java.util.concurrent.FutureTask.run(FutureTask.java:166)
>>>at
>>>java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.jav
>>>a:
>>>1145)
>>>at
>>>java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.ja
>>>va
>>>:615)
>>>at java.lang.Thread.run(Thread.java:724)
>>>INFO  [o.a.c.f.j.i.AsyncJobMonitor] (API-Job-Executor-1:Job-3) Remove
>>>job-3 from job monitoring
>>>
>>>Kelven
>>
>
>
>
>-- 
>Daan



Re: Master is broken?

2014-03-13 Thread Daan Hoogland
It's half passed midnight here so you won't get an answer soon from
this side of the ocean.

The line
at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:89)
 is from juli last year. So I doubt if Antonio knows about it. How
does it involve the dispatcher refactoring?

I noticed that the parameter name that is fetched is lowercase where
it used to be camelcase. Does this matter?

On Fri, Mar 14, 2014 at 12:14 AM, Alena Prokharchyk
 wrote:
> Min is about to submit a change as a part of her checkin. Antonio, its due
> to Long/long auto boxing caused by your api validation stuff. Can you
> please check other places that could get potentially affected?
>
> Thanks,
> Alena.
>
> On 3/13/14, 4:10 PM, "Kelven Yang"  wrote:
>
>>Anyone encounter this problem on master?
>>
>>WARN  [c.c.a.d.ParamGenericValidationWorker]
>>(163545706@qtp-538020828-6:ctx-afe77737 ctx-06c20804) Received unknown
>>parameters for command listRegions. Unknown parameters : listall
>>WARN  [c.c.a.d.ParamGenericValidationWorker]
>>(1770041501@qtp-538020828-3:ctx-1342c426 ctx-07426dab) Received unknown
>>parameters for command listZones. Unknown parameters : listall
>>WARN  [c.c.a.d.ParamGenericValidationWorker]
>>(1770041501@qtp-538020828-3:ctx-372e085d ctx-b4145c82) Received unknown
>>parameters for command listPods. Unknown parameters : listall
>>WARN  [c.c.a.d.ParamGenericValidationWorker]
>>(1770041501@qtp-538020828-3:ctx-4debfd84 ctx-2bc17638) Received unknown
>>parameters for command listClusters. Unknown parameters : listall
>>WARN  [c.c.a.d.ParamGenericValidationWorker]
>>(1770041501@qtp-538020828-3:ctx-d859137c ctx-796427ce) Received unknown
>>parameters for command listHosts. Unknown parameters : listall
>>WARN  [c.c.a.d.ParamGenericValidationWorker]
>>(1770041501@qtp-538020828-3:ctx-28a609f4 ctx-928c994c) Received unknown
>>parameters for command listStoragePools. Unknown parameters : listall
>>WARN  [c.c.a.d.ParamGenericValidationWorker]
>>(1770041501@qtp-538020828-3:ctx-2b402632 ctx-e9d04c3c) Received unknown
>>parameters for command listImageStores. Unknown parameters : listall type
>>WARN  [c.c.a.d.ParamGenericValidationWorker]
>>(1770041501@qtp-538020828-3:ctx-b5b48d9b ctx-3fea144f) Received unknown
>>parameters for command listSystemVms. Unknown parameters : listall
>>WARN  [c.c.a.d.ParamGenericValidationWorker]
>>(1770041501@qtp-538020828-3:ctx-77ae4d94 ctx-c39b828f) Received unknown
>>parameters for command listHypervisors. Unknown parameters : listall
>>WARN  [c.c.a.d.ParamGenericValidationWorker]
>>(1770041501@qtp-538020828-3:ctx-8eb4acce ctx-f63fefa4) Received unknown
>>parameters for command listDomains. Unknown parameters : viewall
>>INFO  [o.a.c.f.j.i.AsyncJobMonitor] (API-Job-Executor-1:Job-3) Add job-3
>>into job monitoring
>>ERROR [c.c.a.ApiAsyncJobDispatcher] (API-Job-Executor-1:Job-3) Unexpected
>>exception while executing
>>org.apache.cloudstack.api.command.admin.network.CreatePhysicalNetworkCmd
>>java.lang.NumberFormatException: null
>>at java.lang.Long.parseLong(Long.java:404)
>>at java.lang.Long.valueOf(Long.java:540)
>>at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:89)
>>at
>>com.cloud.api.ApiAsyncJobDispatcher.runJob(ApiAsyncJobDispatcher.java:100)
>>at
>>org.apache.cloudstack.framework.jobs.impl.AsyncJobManagerImpl$5.runInConte
>>xt(AsyncJobManagerImpl.java:491)
>>at
>>org.apache.cloudstack.managed.context.ManagedContextRunnable$1.run(Managed
>>ContextRunnable.java:49)
>>at
>>org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call(De
>>faultManagedContext.java:56)
>>at
>>org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWithC
>>ontext(DefaultManagedContext.java:103)
>>at
>>org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithCo
>>ntext(DefaultManagedContext.java:53)
>>at
>>org.apache.cloudstack.managed.context.ManagedContextRunnable.run(ManagedCo
>>ntextRunnable.java:46)
>>at
>>org.apache.cloudstack.framework.jobs.impl.AsyncJobManagerImpl$5.run(AsyncJ
>>obManagerImpl.java:448)
>>at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
>>at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
>>at java.util.concurrent.FutureTask.run(FutureTask.java:166)
>>at
>>java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:
>>1145)
>>at
>>java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java
>>:615)
>>at java.lang.Thread.run(Thread.java:724)
>>INFO  [o.a.c.f.j.i.AsyncJobMonitor] (API-Job-Executor-1:Job-3) Remove
>>job-3 from job monitoring
>>
>>Kelven
>



-- 
Daan


Re: Master is broken?

2014-03-13 Thread Kelven Yang
Thanks Min to look into it

Kelven

On 3/13/14, 4:14 PM, "Alena Prokharchyk" 
wrote:

>Min is about to submit a change as a part of her checkin. Antonio, its due
>to Long/long auto boxing caused by your api validation stuff. Can you
>please check other places that could get potentially affected?
>
>Thanks,
>Alena.
>
>On 3/13/14, 4:10 PM, "Kelven Yang"  wrote:
>
>>Anyone encounter this problem on master?
>>
>>WARN  [c.c.a.d.ParamGenericValidationWorker]
>>(163545706@qtp-538020828-6:ctx-afe77737 ctx-06c20804) Received unknown
>>parameters for command listRegions. Unknown parameters : listall
>>WARN  [c.c.a.d.ParamGenericValidationWorker]
>>(1770041501@qtp-538020828-3:ctx-1342c426 ctx-07426dab) Received unknown
>>parameters for command listZones. Unknown parameters : listall
>>WARN  [c.c.a.d.ParamGenericValidationWorker]
>>(1770041501@qtp-538020828-3:ctx-372e085d ctx-b4145c82) Received unknown
>>parameters for command listPods. Unknown parameters : listall
>>WARN  [c.c.a.d.ParamGenericValidationWorker]
>>(1770041501@qtp-538020828-3:ctx-4debfd84 ctx-2bc17638) Received unknown
>>parameters for command listClusters. Unknown parameters : listall
>>WARN  [c.c.a.d.ParamGenericValidationWorker]
>>(1770041501@qtp-538020828-3:ctx-d859137c ctx-796427ce) Received unknown
>>parameters for command listHosts. Unknown parameters : listall
>>WARN  [c.c.a.d.ParamGenericValidationWorker]
>>(1770041501@qtp-538020828-3:ctx-28a609f4 ctx-928c994c) Received unknown
>>parameters for command listStoragePools. Unknown parameters : listall
>>WARN  [c.c.a.d.ParamGenericValidationWorker]
>>(1770041501@qtp-538020828-3:ctx-2b402632 ctx-e9d04c3c) Received unknown
>>parameters for command listImageStores. Unknown parameters : listall type
>>WARN  [c.c.a.d.ParamGenericValidationWorker]
>>(1770041501@qtp-538020828-3:ctx-b5b48d9b ctx-3fea144f) Received unknown
>>parameters for command listSystemVms. Unknown parameters : listall
>>WARN  [c.c.a.d.ParamGenericValidationWorker]
>>(1770041501@qtp-538020828-3:ctx-77ae4d94 ctx-c39b828f) Received unknown
>>parameters for command listHypervisors. Unknown parameters : listall
>>WARN  [c.c.a.d.ParamGenericValidationWorker]
>>(1770041501@qtp-538020828-3:ctx-8eb4acce ctx-f63fefa4) Received unknown
>>parameters for command listDomains. Unknown parameters : viewall
>>INFO  [o.a.c.f.j.i.AsyncJobMonitor] (API-Job-Executor-1:Job-3) Add job-3
>>into job monitoring
>>ERROR [c.c.a.ApiAsyncJobDispatcher] (API-Job-Executor-1:Job-3) Unexpected
>>exception while executing
>>org.apache.cloudstack.api.command.admin.network.CreatePhysicalNetworkCmd
>>java.lang.NumberFormatException: null
>>at java.lang.Long.parseLong(Long.java:404)
>>at java.lang.Long.valueOf(Long.java:540)
>>at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:89)
>>at 
>>com.cloud.api.ApiAsyncJobDispatcher.runJob(ApiAsyncJobDispatcher.java:100
>>)
>>at 
>>org.apache.cloudstack.framework.jobs.impl.AsyncJobManagerImpl$5.runInCont
>>e
>>xt(AsyncJobManagerImpl.java:491)
>>at 
>>org.apache.cloudstack.managed.context.ManagedContextRunnable$1.run(Manage
>>d
>>ContextRunnable.java:49)
>>at 
>>org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call(D
>>e
>>faultManagedContext.java:56)
>>at 
>>org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWith
>>C
>>ontext(DefaultManagedContext.java:103)
>>at 
>>org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithC
>>o
>>ntext(DefaultManagedContext.java:53)
>>at 
>>org.apache.cloudstack.managed.context.ManagedContextRunnable.run(ManagedC
>>o
>>ntextRunnable.java:46)
>>at 
>>org.apache.cloudstack.framework.jobs.impl.AsyncJobManagerImpl$5.run(Async
>>J
>>obManagerImpl.java:448)
>>at 
>>java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
>>at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
>>at java.util.concurrent.FutureTask.run(FutureTask.java:166)
>>at 
>>java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java
>>:
>>1145)
>>at 
>>java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.jav
>>a
>>:615)
>>at java.lang.Thread.run(Thread.java:724)
>>INFO  [o.a.c.f.j.i.AsyncJobMonitor] (API-Job-Executor-1:Job-3) Remove
>>job-3 from job monitoring
>>
>>Kelven
>



Re: Master is broken?

2014-03-13 Thread Alena Prokharchyk
Min is about to submit a change as a part of her checkin. Antonio, its due
to Long/long auto boxing caused by your api validation stuff. Can you
please check other places that could get potentially affected?

Thanks,
Alena.

On 3/13/14, 4:10 PM, "Kelven Yang"  wrote:

>Anyone encounter this problem on master?
>
>WARN  [c.c.a.d.ParamGenericValidationWorker]
>(163545706@qtp-538020828-6:ctx-afe77737 ctx-06c20804) Received unknown
>parameters for command listRegions. Unknown parameters : listall
>WARN  [c.c.a.d.ParamGenericValidationWorker]
>(1770041501@qtp-538020828-3:ctx-1342c426 ctx-07426dab) Received unknown
>parameters for command listZones. Unknown parameters : listall
>WARN  [c.c.a.d.ParamGenericValidationWorker]
>(1770041501@qtp-538020828-3:ctx-372e085d ctx-b4145c82) Received unknown
>parameters for command listPods. Unknown parameters : listall
>WARN  [c.c.a.d.ParamGenericValidationWorker]
>(1770041501@qtp-538020828-3:ctx-4debfd84 ctx-2bc17638) Received unknown
>parameters for command listClusters. Unknown parameters : listall
>WARN  [c.c.a.d.ParamGenericValidationWorker]
>(1770041501@qtp-538020828-3:ctx-d859137c ctx-796427ce) Received unknown
>parameters for command listHosts. Unknown parameters : listall
>WARN  [c.c.a.d.ParamGenericValidationWorker]
>(1770041501@qtp-538020828-3:ctx-28a609f4 ctx-928c994c) Received unknown
>parameters for command listStoragePools. Unknown parameters : listall
>WARN  [c.c.a.d.ParamGenericValidationWorker]
>(1770041501@qtp-538020828-3:ctx-2b402632 ctx-e9d04c3c) Received unknown
>parameters for command listImageStores. Unknown parameters : listall type
>WARN  [c.c.a.d.ParamGenericValidationWorker]
>(1770041501@qtp-538020828-3:ctx-b5b48d9b ctx-3fea144f) Received unknown
>parameters for command listSystemVms. Unknown parameters : listall
>WARN  [c.c.a.d.ParamGenericValidationWorker]
>(1770041501@qtp-538020828-3:ctx-77ae4d94 ctx-c39b828f) Received unknown
>parameters for command listHypervisors. Unknown parameters : listall
>WARN  [c.c.a.d.ParamGenericValidationWorker]
>(1770041501@qtp-538020828-3:ctx-8eb4acce ctx-f63fefa4) Received unknown
>parameters for command listDomains. Unknown parameters : viewall
>INFO  [o.a.c.f.j.i.AsyncJobMonitor] (API-Job-Executor-1:Job-3) Add job-3
>into job monitoring
>ERROR [c.c.a.ApiAsyncJobDispatcher] (API-Job-Executor-1:Job-3) Unexpected
>exception while executing
>org.apache.cloudstack.api.command.admin.network.CreatePhysicalNetworkCmd
>java.lang.NumberFormatException: null
>at java.lang.Long.parseLong(Long.java:404)
>at java.lang.Long.valueOf(Long.java:540)
>at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:89)
>at 
>com.cloud.api.ApiAsyncJobDispatcher.runJob(ApiAsyncJobDispatcher.java:100)
>at 
>org.apache.cloudstack.framework.jobs.impl.AsyncJobManagerImpl$5.runInConte
>xt(AsyncJobManagerImpl.java:491)
>at 
>org.apache.cloudstack.managed.context.ManagedContextRunnable$1.run(Managed
>ContextRunnable.java:49)
>at 
>org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call(De
>faultManagedContext.java:56)
>at 
>org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWithC
>ontext(DefaultManagedContext.java:103)
>at 
>org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithCo
>ntext(DefaultManagedContext.java:53)
>at 
>org.apache.cloudstack.managed.context.ManagedContextRunnable.run(ManagedCo
>ntextRunnable.java:46)
>at 
>org.apache.cloudstack.framework.jobs.impl.AsyncJobManagerImpl$5.run(AsyncJ
>obManagerImpl.java:448)
>at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
>at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
>at java.util.concurrent.FutureTask.run(FutureTask.java:166)
>at 
>java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:
>1145)
>at 
>java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java
>:615)
>at java.lang.Thread.run(Thread.java:724)
>INFO  [o.a.c.f.j.i.AsyncJobMonitor] (API-Job-Executor-1:Job-3) Remove
>job-3 from job monitoring
>
>Kelven



Master is broken?

2014-03-13 Thread Kelven Yang
Anyone encounter this problem on master?

WARN  [c.c.a.d.ParamGenericValidationWorker] 
(163545706@qtp-538020828-6:ctx-afe77737 ctx-06c20804) Received unknown 
parameters for command listRegions. Unknown parameters : listall
WARN  [c.c.a.d.ParamGenericValidationWorker] 
(1770041501@qtp-538020828-3:ctx-1342c426 ctx-07426dab) Received unknown 
parameters for command listZones. Unknown parameters : listall
WARN  [c.c.a.d.ParamGenericValidationWorker] 
(1770041501@qtp-538020828-3:ctx-372e085d ctx-b4145c82) Received unknown 
parameters for command listPods. Unknown parameters : listall
WARN  [c.c.a.d.ParamGenericValidationWorker] 
(1770041501@qtp-538020828-3:ctx-4debfd84 ctx-2bc17638) Received unknown 
parameters for command listClusters. Unknown parameters : listall
WARN  [c.c.a.d.ParamGenericValidationWorker] 
(1770041501@qtp-538020828-3:ctx-d859137c ctx-796427ce) Received unknown 
parameters for command listHosts. Unknown parameters : listall
WARN  [c.c.a.d.ParamGenericValidationWorker] 
(1770041501@qtp-538020828-3:ctx-28a609f4 ctx-928c994c) Received unknown 
parameters for command listStoragePools. Unknown parameters : listall
WARN  [c.c.a.d.ParamGenericValidationWorker] 
(1770041501@qtp-538020828-3:ctx-2b402632 ctx-e9d04c3c) Received unknown 
parameters for command listImageStores. Unknown parameters : listall type
WARN  [c.c.a.d.ParamGenericValidationWorker] 
(1770041501@qtp-538020828-3:ctx-b5b48d9b ctx-3fea144f) Received unknown 
parameters for command listSystemVms. Unknown parameters : listall
WARN  [c.c.a.d.ParamGenericValidationWorker] 
(1770041501@qtp-538020828-3:ctx-77ae4d94 ctx-c39b828f) Received unknown 
parameters for command listHypervisors. Unknown parameters : listall
WARN  [c.c.a.d.ParamGenericValidationWorker] 
(1770041501@qtp-538020828-3:ctx-8eb4acce ctx-f63fefa4) Received unknown 
parameters for command listDomains. Unknown parameters : viewall
INFO  [o.a.c.f.j.i.AsyncJobMonitor] (API-Job-Executor-1:Job-3) Add job-3 into 
job monitoring
ERROR [c.c.a.ApiAsyncJobDispatcher] (API-Job-Executor-1:Job-3) Unexpected 
exception while executing 
org.apache.cloudstack.api.command.admin.network.CreatePhysicalNetworkCmd
java.lang.NumberFormatException: null
at java.lang.Long.parseLong(Long.java:404)
at java.lang.Long.valueOf(Long.java:540)
at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:89)
at com.cloud.api.ApiAsyncJobDispatcher.runJob(ApiAsyncJobDispatcher.java:100)
at 
org.apache.cloudstack.framework.jobs.impl.AsyncJobManagerImpl$5.runInContext(AsyncJobManagerImpl.java:491)
at 
org.apache.cloudstack.managed.context.ManagedContextRunnable$1.run(ManagedContextRunnable.java:49)
at 
org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call(DefaultManagedContext.java:56)
at 
org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWithContext(DefaultManagedContext.java:103)
at 
org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithContext(DefaultManagedContext.java:53)
at 
org.apache.cloudstack.managed.context.ManagedContextRunnable.run(ManagedContextRunnable.java:46)
at 
org.apache.cloudstack.framework.jobs.impl.AsyncJobManagerImpl$5.run(AsyncJobManagerImpl.java:448)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:724)
INFO  [o.a.c.f.j.i.AsyncJobMonitor] (API-Job-Executor-1:Job-3) Remove job-3 
from job monitoring

Kelven