[ https://issues.apache.org/jira/browse/CLOUDSTACK-5076?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Wei Zhou closed CLOUDSTACK-5076. -------------------------------- > (Upgrade) reboot VM failed after bridge name change > --------------------------------------------------- > > Key: CLOUDSTACK-5076 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-5076 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the > default.) > Affects Versions: 4.2.0 > Reporter: Wei Zhou > Assignee: Wei Zhou > Priority: Critical > Fix For: 4.2.1, 4.3.0 > > > After fix the migration issue (CLOUDSTACK-4405), the bridge name changed from > cloudVirBr* to breth*-*. > This cause an Libvirt Exception when we want to reboot the VMs. The vms will > change to Stopped state after the failure. > agent.log > 2013-11-07 13:39:15,637 WARN [kvm.resource.LibvirtComputingResource] > (agentRequest-Handler-1:null) Failed to create vm > org.libvirt.LibvirtException: Cannot get interface MTU on 'cloudVirBr108': No > such device > at org.libvirt.ErrorHandler.processError(Unknown Source) > at org.libvirt.Connect.processError(Unknown Source) > at org.libvirt.Connect.domainCreateXML(Unknown Source) > at > com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.startVM(LibvirtComputingResource.java:1159) > at > com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.rebootVM(LibvirtComputingResource.java:4441) > at > com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.execute(LibvirtComputingResource.java:3177) > at > com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.executeRequest(LibvirtComputingResource.java:1193) > at com.cloud.agent.Agent.processRequest(Agent.java:525) > at com.cloud.agent.Agent$AgentRequestHandler.doTask(Agent.java:852) > at com.cloud.utils.nio.Task.run(Task.java:83) > at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146) > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) > at java.lang.Thread.run(Thread.java:679) > management-server.log > 2013-11-07 13:30:44,642 DEBUG [agent.transport.Request] > (Job-Executor-8:job-52 = [ edb83cb9-0fd5-4ef4-b94d-e3b1328da153 ]) Seq > 2-1940521013: Sending { Cmd , MgmtId: 345051517871, via: 2, Ver: v1, Flags: > 100111, > [{"com.cloud.agent.api.RebootCommand":{"vmName":"i-3-5-VM","wait":0}}] } > 2013-11-07 13:30:46,924 DEBUG [agent.transport.Request] > (AgentManager-Handler-1:null) Seq 2-1940521013: Processing: { Ans: , MgmtId: > 345051517871, via: 2, Ver: v1, Flags: 110, > [{"com.cloud.agent.api.RebootAnswer":{"result":false,"details":"Cannot get > interface MTU on 'cloudVirBr108': No such device","wait":0}}] } > 2013-11-07 13:30:46,925 DEBUG [agent.manager.AgentAttache] > (AgentManager-Handler-1:null) Seq 2-1940521013: No more commands found > 2013-11-07 13:30:46,925 DEBUG [agent.transport.Request] > (Job-Executor-8:job-52 = [ edb83cb9-0fd5-4ef4-b94d-e3b1328da153 ]) Seq > 2-1940521013: Received: { Ans: , MgmtId: 345051517871, via: 2, Ver: v1, > Flags: 110, { RebootAnswer } } > 2013-11-07 13:30:46,925 INFO [cloud.vm.VirtualMachineManagerImpl] > (Job-Executor-8:job-52 = [ edb83cb9-0fd5-4ef4-b94d-e3b1328da153 ]) Unable to > reboot VM VM[User|i-3-5-VM] on Host[-2-Routing] due to Cannot get interface > MTU on 'cloudVirBr108': No such device > 2013-11-07 13:30:46,933 DEBUG [cloud.async.AsyncJobManagerImpl] > (Job-Executor-8:job-52 = [ edb83cb9-0fd5-4ef4-b94d-e3b1328da153 ]) Complete > async job-52 = [ edb83cb9-0fd5-4ef4-b94d-e3b1328da153 ], jobStatus: 2, > resultCode: 530, result: Error Code: 530 Error text: Failed to reboot vm > instance > 2013-11-07 13:30:47,497 DEBUG [cloud.api.ApiServlet] (catalina-exec-1:null) > ===START=== 10.4.27.126 -- GET > command=queryAsyncJobResult&jobId=edb83cb9-0fd5-4ef4-b94d-e3b1328da153&response=json&sessionkey=jnt7NMN9fLkjpIcVKKeNJvMk%2Fjk%3D&_=1383827956139 > 2013-11-07 13:30:47,510 DEBUG [cloud.async.AsyncJobManagerImpl] > (catalina-exec-1:null) Async job-52 = [ edb83cb9-0fd5-4ef4-b94d-e3b1328da153 > ] completed -- This message was sent by Atlassian JIRA (v6.1#6144)