cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Deepthi Machiraju (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CLOUDSTACK-8787) Network Update from Standalone VR offering to RVR offering is failing with Runtime Exception
Date Thu, 05 Nov 2015 10:26:28 GMT

    [ https://issues.apache.org/jira/browse/CLOUDSTACK-8787?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14991474#comment-14991474
] 

Deepthi Machiraju commented on CLOUDSTACK-8787:
-----------------------------------------------

Hi [~remibergsma] 

Following are the issues observed : 
- Update from Standalone offering to RVR works .
- When updating from RVR offering to Standalone offering the VR comes up , but it is observed
that Public address isnt applied to the VR ,
mysql> select * from domain_router where id=61\G;

                 id: 61
         element_id: 1
 public_mac_address: NULL
  public_ip_address: NULL
     public_netmask: NULL
      guest_netmask: NULL
   guest_ip_address: NULL
is_redundant_router: 0
           priority: NULL
    redundant_state: UNKNOWN
       stop_pending: 0
               role: VIRTUAL_ROUTER
   template_version: Cloudstack Release 4.7.0 Thu Sep 3 06:46:38 UTC 2015
    scripts_version: 6c4e199c19601966d85f16e635a61db9

             vpc_id: NULL
       update_state: NULL
1 row in set (0.00 sec)

ERROR:
No query specified

mysql>

- Tried Restarting the Network , Following is the exception observed :

2015-11-05 10:22:20,460 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (API-Job-Executor-100:ctx-1865ce7b
job-439) (logid:d49a00a8) Executing AsyncJobVO {id:439, userId: 2, accountId: 2, instanceType:
None, instanceId: null, cmd: org.apache.cloudstack.api.command.user.network.RestartNetworkCmd,
cmdInfo: {"id":"53a4b01a-69ca-44dd-a9a3-e1f5844c8af7","response":"json","cleanup":"false","ctxDetails":"{\"interface
com.cloud.network.Network\":\"53a4b01a-69ca-44dd-a9a3-e1f5844c8af7\"}","cmdEventType":"NETWORK.RESTART","ctxUserId":"2","httpmethod":"GET","_":"1446718968648","uuid":"53a4b01a-69ca-44dd-a9a3-e1f5844c8af7","ctxAccountId":"2","ctxStartEventId":"472"},
cmdVersion: 0, status: IN_PROGRESS, processStatus: 0, resultCode: 0, result: null, initMsid:
38442783480616, completeMsid: null, lastUpdated: null, lastPolled: null, created: null}
2015-11-05 10:22:20,461 DEBUG [c.c.a.ApiServlet] (catalina-exec-12:ctx-2a7bd960 ctx-1ea2ff6d)
(logid:c48527ad) ===END===  10.252.192.72 -- GET  command=restartNetwork&id=53a4b01a-69ca-44dd-a9a3-e1f5844c8af7&cleanup=false&response=json&_=1446718968648
2015-11-05 10:22:20,481 DEBUG [o.a.c.e.o.NetworkOrchestrator] (API-Job-Executor-100:ctx-1865ce7b
job-439 ctx-07b20cc8) (logid:d49a00a8) Restarting network 204...
2015-11-05 10:22:20,481 DEBUG [o.a.c.e.o.NetworkOrchestrator] (API-Job-Executor-100:ctx-1865ce7b
job-439 ctx-07b20cc8) (logid:d49a00a8) Skip the shutting down of network id=204
2015-11-05 10:22:20,481 DEBUG [o.a.c.e.o.NetworkOrchestrator] (API-Job-Executor-100:ctx-1865ce7b
job-439 ctx-07b20cc8) (logid:d49a00a8) Implementing the network Ntwk[204|Guest|22] elements
and resources as a part of network restart
2015-11-05 10:22:20,486 DEBUG [o.a.c.e.o.NetworkOrchestrator] (API-Job-Executor-100:ctx-1865ce7b
job-439 ctx-07b20cc8) (logid:d49a00a8) Asking VirtualRouter to implemenet Ntwk[204|Guest|22]
2015-11-05 10:22:20,493 ERROR [o.c.n.r.d.RouterDeploymentDefinition] (API-Job-Executor-100:ctx-1865ce7b
job-439 ctx-07b20cc8) (logid:d49a00a8) Didn't support redundant virtual router without public
network!
2015-11-05 10:22:20,525 WARN  [o.a.c.e.o.NetworkOrchestrator] (API-Job-Executor-100:ctx-1865ce7b
job-439 ctx-07b20cc8) (logid:d49a00a8) Failed to implement network Ntwk[204|Guest|22] elements
and resources as a part of network restart due to
com.cloud.exception.ResourceUnavailableException: Resource [DataCenter:1] is unreachable:
Can't find all necessary running routers!
        at com.cloud.network.element.VirtualRouterElement.implement(VirtualRouterElement.java:228)
        at org.apache.cloudstack.engine.orchestration.NetworkOrchestrator.implementNetworkElementsAndResources(NetworkOrchestrator.java:1114)
        at org.apache.cloudstack.engine.orchestration.NetworkOrchestrator.restartNetwork(NetworkOrchestrator.java:2603)
        at com.cloud.network.NetworkServiceImpl.restartNetwork(NetworkServiceImpl.java:1903)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:601)
        at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
        at org.apache.cloudstack.network.contrail.management.EventUtils$EventInterceptor.invoke(EventUtils.java:106)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:161)
        at com.cloud.event.ActionEventInterceptor.invoke(ActionEventInterceptor.java:51)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:161)
        at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:91)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
        at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
        at $Proxy161.restartNetwork(Unknown Source)
        at org.apache.cloudstack.api.command.user.network.RestartNetworkCmd.execute(RestartNetworkCmd.java:95)
        at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:150)
        at com.cloud.api.ApiAsyncJobDispatcher.runJob(ApiAsyncJobDispatcher.java:108)
        at org.apache.cloudstack.framework.jobs.impl.AsyncJobManagerImpl$5.runInContext(AsyncJobManagerImpl.java:558)
        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:505)
        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:1110)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
        at java.lang.Thread.run(Thread.java:722)
2015-11-05 10:22:20,526 WARN  [c.c.n.NetworkServiceImpl] (API-Job-Executor-100:ctx-1865ce7b
job-439 ctx-07b20cc8) (logid:d49a00a8) Network id=204 failed to restart.
2015-11-05 10:22:20,545 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (API-Job-Executor-100:ctx-1865ce7b
job-439) (logid:d49a00a8) Complete async job-439, jobStatus: FAILED, resultCode: 530, result:
org.apache.cloudstack.api.response.ExceptionResponse/null/{"uuidList":[],"errorcode":530,"errortext":"Failed
to restart network"}
2015-11-05 10:22:20,546 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (API-Job-Executor-100:ctx-1865ce7b
job-439) (logid:d49a00a8) Publish async job-439 complete on message bus




> Network Update from Standalone VR offering to RVR offering is failing with Runtime Exception
> --------------------------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-8787
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8787
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>    Affects Versions: 4.6.0
>            Reporter: Deepthi Machiraju
>             Fix For: 4.6.0
>
>         Attachments: management-server.zip, mysqlcloud.dmp
>
>
> - Deploy a network with Standalone offering ID .
> - Navigate to Network and update the offering from Standalone -> RVR.
> Expected Result :
> Network Update should be sucessful
> Observation:
> Network update is failing with the following below exception : " failed to update network
637b4d16-a2ef-464c-a805-2375774a5730due to Failed to implement network (with specified id)
elements and resources as a part of network update "
> 015-08-31 10:59:13,044 DEBUG [c.c.v.VmWorkJobDispatcher] (Work-Job-Executor-87:ctx-d2e23154
job-141/job-144) Done with run of VM work job: com.cloud.vm.VmWorkStart for VM 33, job origin:
141
> 2015-08-31 10:59:13,044 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (Work-Job-Executor-87:ctx-d2e23154
job-141/job-144) Done executing com.cloud.vm.VmWorkStart for job-144
> 2015-08-31 10:59:13,049 WARN  [c.c.n.NetworkServiceImpl] (API-Job-Executor-47:ctx-14794ea0
job-141 ctx-70358d9a) Failed to implement network Ntwk[206|Guest|18] elements and resources
as a part of network update due to
> com.cloud.exception.ResourceUnavailableException: Resource [DataCenter:1] is unreachable:
Can't find all necessary running routers!
>         at com.cloud.network.element.VirtualRouterElement.implement(VirtualRouterElement.java:227)
>         at org.apache.cloudstack.engine.orchestration.NetworkOrchestrator.implementNetworkElementsAndResources(NetworkOrchestrator.java:1113)
>         at com.cloud.network.NetworkServiceImpl.updateGuestNetwork(NetworkServiceImpl.java:2354)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>         at java.lang.reflect.Method.invoke(Method.java:601)
>         at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)
>         at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
>         at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
>         at org.apache.cloudstack.network.contrail.management.EventUtils$EventInterceptor.invoke(EventUtils.java:106)
>         at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:161)
>         at com.cloud.event.ActionEventInterceptor.invoke(ActionEventInterceptor.java:51)
>         at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:161)
>         at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:91)
>         at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
>         at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
>         at $Proxy161.updateGuestNetwork(Unknown Source)
>         at org.apache.cloudstack.api.command.admin.network.UpdateNetworkCmdByAdmin.execute(UpdateNetworkCmdByAdmin.java:51)
>         at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:141)
>         at com.cloud.api.ApiAsyncJobDispatcher.runJob(ApiAsyncJobDispatcher.java:108)
>         at org.apache.cloudstack.framework.jobs.impl.AsyncJobManagerImpl$5.runInContext(AsyncJobManagerImpl.java:537)
>         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:494)
>         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:1110)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
>         at java.lang.Thread.run(Thread.java:722)
> 2015-08-31 10:59:13,051 INFO  [o.a.c.f.j.i.AsyncJobMonitor] (Work-Job-Executor-87:ctx-d2e23154
job-141/job-144) Remove job-144 from job monitoring
> 2015-08-31 10:59:13,056 ERROR [c.c.a.ApiAsyncJobDispatcher] (API-Job-Executor-47:ctx-14794ea0
job-141) Unexpected exception while executing org.apache.cloudstack.api.command.admin.network.UpdateNetworkCmdByAdmin
> com.cloud.utils.exception.CloudRuntimeException: failed to update network 637b4d16-a2ef-464c-a805-2375774a5730due
to Failed to implement network (with specified id) elements and resources as a part of network
update
>         at com.cloud.network.NetworkServiceImpl.updateGuestNetwork(NetworkServiceImpl.java:2384)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>         at java.lang.reflect.Method.invoke(Method.java:601)
>         at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)
>         at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
>         at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
>         at org.apache.cloudstack.network.contrail.management.EventUtils$EventInterceptor.invoke(EventUtils.java:106)
>         at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:161)
>         at com.cloud.event.ActionEventInterceptor.invoke(ActionEventInterceptor.java:51)
>         at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:161)
>         at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:91)
>         at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
>         at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
>         at $Proxy161.updateGuestNetwork(Unknown Source)
>         at org.apache.cloudstack.api.command.admin.network.UpdateNetworkCmdByAdmin.execute(UpdateNetworkCmdByAdmin.java:51)
>         at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:141)
>         at com.cloud.api.ApiAsyncJobDispatcher.runJob(ApiAsyncJobDispatcher.java:108)
>         at org.apache.cloudstack.framework.jobs.impl.AsyncJobManagerImpl$5.runInContext(AsyncJobManagerImpl.java:537)
>         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:494)
>         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:1110)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
>         at java.lang.Thread.run(Thread.java:722)
> 2015-08-31 10:59:13,057 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (API-Job-Executor-47:ctx-14794ea0
job-141) Complete async job-141, jobStatus: FAILED, resultCode: 530, result: org.apache.cloudstack.api.response.ExceptionResponse/null/{"uuidList":[],"errorcode":530,"errortext":"failed
to update network 637b4d16-a2ef-464c-a805-2375774a5730due to Failed to implement network (with
specified id) elements and resources as a part of network update"}
> 2015-08-31 10:59:13,058 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (API-Job-Executor-47:ctx-14794ea0
job-141) Publish async job-141 complete on message bus
> 2015-08-31 10:59:13,058 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (API-Job-Executor-47:ctx-14794ea0
job-141) Wake up jobs related to job-141
> 2015-08-31 10:59:13,058 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (API-Job-Executor-47:ctx-14794ea0
job-141) Update db status for job-141
> 2015-08-31 10:59:13,059 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (API-Job-Executor-47:ctx-14794ea0
job-141) Wake up jobs joined with job-141 and disjoin all subjobs created from job- 141
> 2015-08-31 10:59:13,062 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (API-Job-Executor-47:ctx-14794ea0
job-141) Done executing org.apache.cloudstack.api.command.admin.network.UpdateNetworkCmdByAdmin
for job-141
> 2015-08-31 10:59:13,062 INFO  [o.a.c.f.j.i.AsyncJobMonitor] (API-Job-Executor-47:ctx-14794ea0
job-141) Remove job-141 from job monitoring
> Attached MS logs and DB dump.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message