You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by GitBox <gi...@apache.org> on 2018/05/09 11:55:15 UTC

[GitHub] rhtyd commented on issue #2540: problem adding new shared network NIC to VM "A NIC with this MAC address exits for network:"

rhtyd commented on issue #2540: problem adding new shared network NIC to VM "A NIC with this MAC address exits for network:"
URL: https://github.com/apache/cloudstack/issues/2540#issuecomment-387714577
 
 
   I was able to reproduce this using mentioned steps:
   ```
   2018-05-09 11:54:34,243 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (API-Job-Executor-4:ctx-93641744 job-151) (logid:01cf6a76) Executing AsyncJobVO {id:151, userId: 2, accountId: 2, instanceType: None, instanceId: null, cmd: org.apache.cloudstack.api.command.admin.vm.AddNicToVMCmdByAdmin, cmdInfo: {"virtualmachineid":"5be800c6-c06a-4944-97be-0b2339cf9fff","response":"json","ctxUserId":"2","httpmethod":"GET","networkid":"cafc6944-64fe-488a-bf2c-916ed89090b3","ctxStartEventId":"349","ctxDetails":"{\"interface com.cloud.vm.VirtualMachine\":\"5be800c6-c06a-4944-97be-0b2339cf9fff\",\"interface com.cloud.network.Network\":\"cafc6944-64fe-488a-bf2c-916ed89090b3\"}","ctxAccountId":"2","cmdEventType":"NIC.CREATE","_":"1525866874211"}, cmdVersion: 0, status: IN_PROGRESS, processStatus: 0, resultCode: 0, result: null, initMsid: 5071960016, completeMsid: null, lastUpdated: null, lastPolled: null, created: null}
   2018-05-09 11:54:34,244 DEBUG [c.c.a.ApiServlet] (qtp1096283470-12:ctx-89cce544 ctx-21b232ff) (logid:05f9e858) ===END===  192.168.1.108 -- GET  command=addNicToVirtualMachine&response=json&virtualmachineid=5be800c6-c06a-4944-97be-0b2339cf9fff&networkid=cafc6944-64fe-488a-bf2c-916ed89090b3&_=1525866874211
   2018-05-09 11:54:34,300 ERROR [c.c.a.ApiAsyncJobDispatcher] (API-Job-Executor-4:ctx-93641744 job-151) (logid:01cf6a76) Unexpected exception while executing org.apache.cloudstack.api.command.admin.vm.AddNicToVMCmdByAdmin
   com.cloud.utils.exception.CloudRuntimeException: A NIC with this MAC address exists for network: cafc6944-64fe-488a-bf2c-916ed89090b3
   	at com.cloud.vm.UserVmManagerImpl.addNicToVirtualMachine(UserVmManagerImpl.java:1204)
   	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
   	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   	at java.lang.reflect.Method.invoke(Method.java:498)
   
   ```

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services