incubator-cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sangeetha Hariharan (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (CLOUDSTACK-1108) Ipv6 - Not able to restart Networks.
Date Fri, 01 Feb 2013 23:16:12 GMT

     [ https://issues.apache.org/jira/browse/CLOUDSTACK-1108?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Sangeetha Hariharan closed CLOUDSTACK-1108.
-------------------------------------------


Tested with latest build from networkrefactor branch.

We are able to restart networks successfully.

                
> Ipv6 - Not able to restart Networks.
> ------------------------------------
>
>                 Key: CLOUDSTACK-1108
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-1108
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: Management Server
>    Affects Versions: 4.1.0
>         Environment: Latest build from networkrefactor branch.
>            Reporter: Sangeetha Hariharan
>            Assignee: Sheng Yang
>             Fix For: 4.1.0
>
>
> Create a Ipv6 network.
> Deploy few Vms in this network.
> Restart this network with cleanup option. This fails.
> 2013-01-31 23:52:55,341 INFO  [cloud.api.ApiServer] (catalina-exec-13:null) (userId=2
accountId=2 sessionId=15E1EE3BB246B890356119483E4443A3) 10.217.252.59 -- GET command=restartNetwork&id=8bf309d8-8772-4542-a45c-a81dc57050e7&cleanup=true&response=json&sessionkey=2lbI7S08%2BJ57eJfiehe%2FFSPSL6o%3D&_=1359676422758
200 { "restartnetworkresponse" : {"jobid":"ad1e0ac5-a9bf-426d-b4c4-dd4cd3a221b8"} }
> 2013-01-31 23:53:00,437 INFO  [cloud.api.ApiServer] (catalina-exec-18:null) (userId=2
accountId=2 sessionId=15E1EE3BB246B890356119483E4443A3) 10.217.252.59 -- GET command=queryAsyncJobResult&jobId=ad1e0ac5-a9bf-426d-b4c4-dd4cd3a221b8&response=json&sessionkey=2lbI7S08%2BJ57eJfiehe%2FFSPSL6o%3D&_=1359676427958
200 { "queryasyncjobresultresponse" : {"accountid":"b0e2f19c-9829-4623-98e6-df32f0a8fc8e","userid":"9428ad84-9a9b-441c-b788-58ade8e73039","cmd":"com.cloud.api.commands.RestartNetworkCmd","jobstatus":2,"jobprocstatus":0,"jobresultcode":530,"jobresulttype":"object","jobresult":{"errorcode":530,"errortext":"Failed
to restart network"},"created":"2013-01-31T23:52:55-0800","jobid":"ad1e0ac5-a9bf-426d-b4c4-dd4cd3a221b8"}
}
> Following exception seen in management server logs:
> 2013-01-31 23:53:00,132 WARN  [cloud.network.NetworkManagerImpl] (Job-Executor-18:job-26)
Unable to complete shutdown of the network elements due to element: VirtualRouter
> java.lang.ClassCastException: java.lang.Long cannot be cast to java.lang.String
>         at com.cloud.utils.db.GenericDaoBase.prepareAttribute(GenericDaoBase.java:1397)
>         at com.cloud.utils.db.GenericDaoBase.expunge(GenericDaoBase.java:1104)
>         at com.cloud.utils.db.DatabaseCallback.intercept(DatabaseCallback.java:34)
>         at com.cloud.utils.db.GenericDaoBase.remove(GenericDaoBase.java:1663)
>         at com.cloud.utils.db.DatabaseCallback.intercept(DatabaseCallback.java:34)
>         at com.cloud.network.guru.DirectNetworkGuru.deallocate(DirectNetworkGuru.java:235)
>         at com.cloud.utils.db.DatabaseCallback.intercept(DatabaseCallback.java:34)
>         at com.cloud.network.NetworkManagerImpl.removeNic(NetworkManagerImpl.java:1838)
>         at com.cloud.network.NetworkManagerImpl.cleanupNics(NetworkManagerImpl.java:1822)
>         at com.cloud.vm.VirtualMachineManagerImpl.advanceExpunge(VirtualMachineManagerImpl.java:402)
>         at com.cloud.vm.VirtualMachineManagerImpl.expunge(VirtualMachineManagerImpl.java:356)
>         at com.cloud.network.router.VirtualNetworkApplianceManagerImpl.destroyRouter(VirtualNetworkApplianceManagerImpl.java:387)
>         at com.cloud.network.element.VirtualRouterElement.shutdown(VirtualRouterElement.java:625)
>         at com.cloud.network.NetworkManagerImpl.shutdownNetworkElementsAndResources(NetworkManagerImpl.java:2206)
>         at com.cloud.network.NetworkManagerImpl.restartNetwork(NetworkManagerImpl.java:2510)
>         at com.cloud.network.NetworkServiceImpl.restartNetwork(NetworkServiceImpl.java:1418)
>         at com.cloud.event.ActionEventCallback.intercept(ActionEventCallback.java:36)
>         at com.cloud.api.commands.RestartNetworkCmd.execute(RestartNetworkCmd.java:93)
>         at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:168)
>         at com.cloud.async.AsyncJobManagerImpl$1.run(AsyncJobManagerImpl.java:433)
>         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:679)
> 2013-01-31 23:53:00,133 DEBUG [cloud.network.NetworkManagerImpl] (Job-Executor-18:job-26)
Failed to shutdown the network elements and resources as a part of network restart: Setup

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message