Sanjeev N created CLOUDSTACK-6795:
-------------------------------------

             Summary: [OVS]Faile to upgrade network from vlan isolation to 
network with ovs provider
                 Key: CLOUDSTACK-6795
                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6795
             Project: CloudStack
          Issue Type: Bug
      Security Level: Public (Anyone can view this level - this is the default.)
          Components: Management Server
    Affects Versions: 4.4.0
         Environment: Latest build from 4.4 with commit 
d130530bd3e1cd6d8249d5045e00e4e4e2201521
            Reporter: Sanjeev N
            Assignee: Murali Reddy
            Priority: Critical
             Fix For: 4.4.0
         Attachments: management-server.rar

[OVS]Faile to upgrade network from vlan isolation to network with ovs provider

Steps to reproduce:
==============
1.Bring up CS in advanced zone with xen cluster
2.Create physical network with GRE isolation
3.Create an isolated network offering with default offering 
"DefaultIsolatedNetworkOfferingWithSourceNatService" 
4.Deploy one vm using above network offering
5.Create another guest network with Virtual networking and OVS as the 
connectivity service provider
6.Stop the vm and upgrade network with above network offering

Result:
=====
Failed to upgrade network with the offering which has connectivity service and 
ovs as the provider

Observations:
==========
Following is the log snippet from MS log:
2014-05-28 07:27:28,419 DEBUG [c.c.a.t.Request] 
(API-Job-Executor-62:ctx-3460d0b7 job-119 ctx-672875b5) Seq 
4-1333065489701674831: Received:  { Ans: , MgmtId: 7332683579487, via: 4, Ver: 
v1, Flags: 10, { Answer } }
2014-05-28 07:27:28,429 INFO  [o.a.c.s.v.VolumeServiceImpl] 
(API-Job-Executor-62:ctx-3460d0b7 job-119 ctx-672875b5) Volume 26 is not 
referred anywhere, remove it from volumes table
2014-05-28 07:27:28,435 DEBUG [c.c.v.VirtualMachineManagerImpl] 
(API-Job-Executor-62:ctx-3460d0b7 job-119 ctx-672875b5) Expunged 
VM[DomainRouter|r-26-VM]
2014-05-28 07:27:28,458 DEBUG [c.c.c.ConsoleProxyManagerImpl] 
(consoleproxy-1:ctx-b2ec9be1) Zone 1 is ready to launch console proxy
2014-05-28 07:27:28,480 DEBUG [c.c.n.NetworkServiceImpl] 
(API-Job-Executor-62:ctx-3460d0b7 job-119 ctx-672875b5) Implementing the 
network Ntwk[f803e17f-b59b-4229-9e70-5bb4fcfc2570|Guest|15] elements and 
resources as a part of network update
2014-05-28 07:27:28,486 DEBUG [o.a.c.e.o.NetworkOrchestrator] 
(API-Job-Executor-62:ctx-3460d0b7 job-119 ctx-672875b5) Asking Ovs to 
implemenet Ntwk[f803e17f-b59b-4229-9e70-5bb4fcfc2570|Guest|15]
2014-05-28 07:27:28,486 DEBUG [c.c.n.e.OvsElement] 
(API-Job-Executor-62:ctx-3460d0b7 job-119 ctx-672875b5) entering OvsElement 
implement function for network vlan1 (state Implemented)
2014-05-28 07:27:28,486 DEBUG [c.c.n.e.OvsElement] 
(API-Job-Executor-62:ctx-3460d0b7 job-119 ctx-672875b5) Checking if OvsElement 
can handle service Connectivity on network vlan1
2014-05-28 07:27:28,487 WARN  [c.c.n.NetworkServiceImpl] 
(API-Job-Executor-62:ctx-3460d0b7 job-119 ctx-672875b5) Failed to implement 
network Ntwk[f803e17f-b59b-4229-9e70-5bb4fcfc2570|Guest|15] elements and 
resources as a part of network update due to
com.cloud.utils.exception.CloudRuntimeException: Failed to implement provider 
Ovs for network with specified id
        at 
org.apache.cloudstack.engine.orchestration.NetworkOrchestrator.implementNetworkElementsAndResources(NetworkOrchestrator.java:1081)
        at 
com.cloud.network.NetworkServiceImpl.updateGuestNetwork(NetworkServiceImpl.java:2303)
        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:606)
        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 com.sun.proxy.$Proxy154.updateGuestNetwork(Unknown Source)
        at 
org.apache.cloudstack.api.command.admin.network.UpdateNetworkCmdByAdmin.execute(UpdateNetworkCmdByAdmin.java:50)
        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:503)
        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:460)
        at 
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
        at java.util.concurrent.FutureTask.run(FutureTask.java:262)
        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:744)
2014-05-28 07:27:28,499 ERROR [c.c.a.ApiAsyncJobDispatcher] 
(API-Job-Executor-62:ctx-3460d0b7 job-119) Unexpected exception while executing 
org.apache.cloudstack.api.command.admin.network.UpdateNetworkCmdByAdmin
com.cloud.utils.exception.CloudRuntimeException: Failed to implement network 
(with specified id) elements and resources as a part of network update
        at 
com.cloud.network.NetworkServiceImpl.updateGuestNetwork(NetworkServiceImpl.java:2309)
        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:606)
        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 com.sun.proxy.$Proxy154.updateGuestNetwork(Unknown Source)
        at 
org.apache.cloudstack.api.command.admin.network.UpdateNetworkCmdByAdmin.execute(UpdateNetworkCmdByAdmin.java:50)
        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:503)
        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:460)
        at 
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
        at java.util.concurrent.FutureTask.run(FutureTask.java:262)
        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:744)
2014-05-28 07:27:28,501 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] 
(API-Job-Executor-62:ctx-3460d0b7 job-119) Complete async job-119, jobStatus: 
FAILED, resultCode: 530, result: 
org.apache.cloudstack.api.response.ExceptionResponse/null/{"uuidList":[],"errorcode":530,"errortext":"Failed
 to implement network (with specified id) elements and resources as a part of 
network update"}
2014-05-28 07:27:28,510 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] 
(API-Job-Executor-62:ctx-3460d0b7 job-119) Done executing 
org.apache.cloudstack.api.command.admin.network.UpdateNetworkCmdByAdmin for 
job-119
2014-05-28 07:27:28,514 INFO  [o.a.c.f.j.i.AsyncJobMonitor] 
(API-Job-Executor-62:ctx-3460d0b7 job-119) Remove job-119 from job monitoring





--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to