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

Rayees Namathponnan commented on CLOUDSTACK-5342:
-------------------------------------------------

Looks like in test case we are adding same network twice without adding 
previous one, please see the code

 389         # Adding network to vm for the first time
 390         self.addNetworkToVm(network, self.virtual_machine)
 391 
 392         # Trying to add same network to vm for the second time
 393         with self.assertRaises(Exception) as e:
 394             self.addNetworkToVm(network, self.virtual_machine)
 395 
 396         self.debug("Adding same network again failed with exception: %s" % 
e.exception)
 397 
 398         return

> Add NIC to virtual machine fails in KVM
> ---------------------------------------
>
>                 Key: CLOUDSTACK-5342
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-5342
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the 
> default.) 
>          Components: Network Controller
>    Affects Versions: 4.3.0
>         Environment: KVM advanced
>            Reporter: Gaurav Aradhye
>            Assignee: Marcus Sorensen
>            Priority: Blocker
>             Fix For: 4.3.0
>
>
> Add network to VM test cases fail in KVM with following error.
> Execute cmd: asyncquery failed, due to: {errorcode : 530, errortext : 
> u'Unable to add NIC to VM[User|VM-e9350ee5-bf2e-418c-91d6-1535dcb4d488]'}
> The same test cases execute successfully on XenServer. As per the feature 
> specification (see 
> https://cwiki.apache.org/confluence/display/CLOUDSTACK/Add+Remove+Networks+to+VMs),
>  "Add network to VM" feature should be supported on KVM too.



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)

Reply via email to