cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Prashanth Manthena <prashanth.manth...@nuagenetworks.net>
Subject Re: ACS master: Failing to dedicate a vlan range to an account
Date Tue, 07 Mar 2017 16:43:39 GMT
Hi all,

The above issue is due to the created physical network not having a
VLAN/VNI range configured.

Not a bug.


On Mon, Mar 6, 2017 at 3:31 PM, Prashanth Manthena <
prashanth.manthena@nuagenetworks.net> wrote:

> Hi all,
>
> I am seeing the following issue while trying to dedicate a vlan range to
> an account:
>
> (local) 🐵 > dedicate guestvlanrange account=admin
> domainid=efd478ff-0145-11e7-ba73-faaca6101800 vlanrange=100-300
> physicalnetworkid=7c658a8b-6e24-4a2d-ad58-75f318815dfa
> Error 530: Index: 0, Size: 0
> cserrorcode = 9999
> errorcode = 530
> errortext = Index: 0, Size: 0
> uuidList:
>
>
> Here is the exception in the logs:
>
> 2017-03-06 06:23:46,476 ERROR [c.c.a.ApiServer]
> (catalina-exec-8:ctx-4703c806 ctx-672b4276 ctx-ee68b9c9) (logid:2af07a55)
> unhandled exception executing api command: [Ljava.lang.String;@752957ea
> java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
>         at java.util.ArrayList.rangeCheck(ArrayList.java:653)
>         at java.util.ArrayList.get(ArrayList.java:429)
>         at com.cloud.network.NetworkServiceImpl.dedicateGuestVlanRange(
> NetworkServiceImpl.java:3222)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce
> ssorImpl.java:62)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe
> thodAccessorImpl.java:43)
>         at java.lang.reflect.Method.invoke(Method.java:497)
>         at org.springframework.aop.support.AopUtils.invokeJoinpointUsin
> gReflection(AopUtils.java:333)
>         at org.springframework.aop.framework.ReflectiveMethodInvocation
> .invokeJoinpoint(ReflectiveMethodInvocation.java:190)
>         at org.springframework.aop.framework.ReflectiveMethodInvocation
> .proceed(ReflectiveMethodInvocation.java:157)
>         at org.apache.cloudstack.network.contrail.management.EventUtils
> $EventInterceptor.invoke(EventUtils.java:107)
>         at org.springframework.aop.framework.ReflectiveMethodInvocation
> .proceed(ReflectiveMethodInvocation.java:168)
>         at com.cloud.event.ActionEventInterceptor.invoke(ActionEventInt
> erceptor.java:51)
>         at org.springframework.aop.framework.ReflectiveMethodInvocation
> .proceed(ReflectiveMethodInvocation.java:168)
>         at org.springframework.aop.interceptor.ExposeInvocationIntercep
> tor.invoke(ExposeInvocationInterceptor.java:92)
>         at org.springframework.aop.framework.ReflectiveMethodInvocation
> .proceed(ReflectiveMethodInvocation.java:179)
>         at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(
> JdkDynamicAopProxy.java:213)
>         at com.sun.proxy.$Proxy171.dedicateGuestVlanRange(Unknown Source)
>         at org.apache.cloudstack.api.command.admin.network.DedicateGues
> tVlanRangeCmd.execute(DedicateGuestVlanRangeCmd.java:113)
>         at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:150)
>         at com.cloud.api.ApiServer.queueCommand(ApiServer.java:709)
>         at com.cloud.api.ApiServer.handleRequest(ApiServer.java:533)
>         at com.cloud.api.ApiServlet.processRequestInContext(ApiServlet.
> java:299)
>         at com.cloud.api.ApiServlet$1.run(ApiServlet.java:129)
>         at org.apache.cloudstack.managed.context.impl.DefaultManagedCon
> text$1.call(DefaultManagedContext.java:56)
>         at org.apache.cloudstack.managed.context.impl.DefaultManagedCon
> text.callWithContext(DefaultManagedContext.java:103)
>         at org.apache.cloudstack.managed.context.impl.DefaultManagedCon
> text.runWithContext(DefaultManagedContext.java:53)
>         at com.cloud.api.ApiServlet.processRequest(ApiServlet.java:126)
>         at com.cloud.api.ApiServlet.doGet(ApiServlet.java:88)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:620)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
>         at org.apache.catalina.core.ApplicationFilterChain.internalDoFi
> lter(ApplicationFilterChain.java:303)
>         at org.apache.catalina.core.ApplicationFilterChain.doFilter(App
> licationFilterChain.java:208)
>         at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilte
> r.java:52)
>         at org.apache.catalina.core.ApplicationFilterChain.internalDoFi
> lter(ApplicationFilterChain.java:241)
>         at org.apache.catalina.core.ApplicationFilterChain.doFilter(App
> licationFilterChain.java:208)
>         at org.apache.catalina.core.StandardWrapperValve.invoke(Standar
> dWrapperValve.java:220)
>         at org.apache.catalina.core.StandardContextValve.invoke(Standar
> dContextValve.java:122)
>         at org.apache.catalina.authenticator.AuthenticatorBase.invoke(A
> uthenticatorBase.java:501)
>         at org.apache.catalina.core.StandardHostValve.invoke(StandardHo
> stValve.java:171)
>         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorRepo
> rtValve.java:102)
>         at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogVa
> lve.java:950)
>         at org.apache.catalina.core.StandardEngineValve.invoke(Standard
> EngineValve.java:116)
>         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAd
> apter.java:408)
>         at org.apache.coyote.http11.AbstractHttp11Processor.process(Abs
> tractHttp11Processor.java:1040)
>         at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler
> .process(AbstractProtocol.java:607)
>         at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(
> JIoEndpoint.java:314)
>         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPool
> Executor.java:1142)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoo
> lExecutor.java:617)
> at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.
> run(TaskThread.java:61)
>         at java.lang.Thread.run(Thread.java:745)
> 2017-03-06 06:23:46,478 DEBUG [c.c.a.ApiServlet]
> (catalina-exec-8:ctx-4703c806 ctx-672b4276 ctx-ee68b9c9) (logid:2af07a55)
> ===END===  10.30.37.9 -- GET  physicalnetworkid=7c658a8b-6e
> 24-4a2d-ad58-75f318815dfa&account=admin&domainid=efd478ff-
> 0145-11e7-ba73-faaca6101800&expires=2017-03-06T14%3A33%
> 3A46%2B0000&signatureversion=3&signature=uVlO9UiJyEL0N0qKmW
> y4f%2B%2FWksA%3D&apiKey=StjgrAiYEguhhZwogkx4SggkPhImhdxgSrDb
> fUZhLjL4As6bm4Xec8GC7WKFWuZXJmTAIl9zx_Qeh767T_yfpQ&command=d
> edicateGuestVlanRange&vlanrange=100-300&response=json
>
>
> Is anyone else seeing this issue with latest master ?
>
> With regards,
> Prashanth
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message