cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Venkata Siva Vijayendra Bhamidipati (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CLOUDSTACK-2890) [Automation] Failed to add second to VM in vmware environment; and test case TestDeployVM.test_01_nic failed
Date Wed, 12 Jun 2013 20:54:19 GMT

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

Venkata Siva Vijayendra Bhamidipati commented on CLOUDSTACK-2890:
-----------------------------------------------------------------

Hi Rayees,

I tried reproducing this in my setup and as expected, I see the following stack:


INFO  [vmware.resource.VmwareResource] (DirectAgent-110:10.223.74.132) vm_data command on
domain router 10.223.74.148 completed
INFO  [vmware.resource.VmwareResource] (DirectAgent-111:10.223.74.131) Executing resource
PlugNicCommand {"nic":{"deviceId":1,"networkRateMbps":200,"defaultNic":false,"uuid":"9e97276f-d80a-4d69-a465-da43788e3e41","ip":"10.1.1.211","netmask":"255.255.255.0","gateway":"10.1.1.1","mac":"02:00:7d:5b:00:01","dns1":"8.8.8.8","broadcastType":"Vlan","type":"Guest","broadcastUri":"vlan://2404","isolationUri":"vlan://2404","isSecurityGroupEnabled":false},"instanceName":"i-2-3-VM","vmType":"User","wait":0}
WARN  [cloud.vm.UserVmManagerImpl] (Job-Executor-14:job-14) Unable to plug nic for VM[User|gvm1]
due to:  due to: Unable to execute PlugNicCommand due to vmware tools is not installed or
not running, cannot add nic to vm i-2-3-VM
WARN  [cloud.vm.VirtualMachineManagerImpl] (Job-Executor-14:job-14) Failed to plug nic to
the vm VM[User|gvm1] in network Ntwk[205|Guest|8]
ERROR [cloud.async.AsyncJobManagerImpl] (Job-Executor-14:job-14) Unexpected exception while
executing org.apache.cloudstack.api.command.user.vm.AddNicToVMCmd
com.cloud.utils.exception.CloudRuntimeException: Unable to add NIC to VM[User|gvm1]
        at com.cloud.vm.UserVmManagerImpl.addNicToVirtualMachine(UserVmManagerImpl.java:916)
        at org.apache.cloudstack.api.command.user.vm.AddNicToVMCmd.execute(AddNicToVMCmd.java:109)
        at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:155)
        at com.cloud.async.AsyncJobManagerImpl$1.run(AsyncJobManagerImpl.java:437)
        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:1146)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
        at java.lang.Thread.run(Thread.java:679)
INFO  [vmware.resource.VmwareResource] (DirectAgent-19:10.223.74.131) Executing resource NetworkUsageCommand



This line here: 

WARN  [cloud.vm.UserVmManagerImpl] (Job-Executor-14:job-14) Unable to plug nic for VM[User|gvm1]
due to:  due to: Unable to execute PlugNicCommand due to vmware tools is not installed or
not running, cannot add nic to vm i-2-3-VM

sums up the failure. Like we discussed, we need vmware tools to be installed to support hot
nic plugging for VMs running on ESX. We have vmware tools installed on the system template
for ESX which is why we can support hot plugging of nics there for features like VPC.

Can you please try this experiment with a guest VM template for ESX that has the closed source
vmware tools (distributed by vmware) installed on it? My take is that it should work without
issues.

I will lower the priority of this bug from blocker to major. Please also modify the tests
as necessary.

Regards,
Vijay
                
> [Automation] Failed to add second to VM in vmware environment; and test case TestDeployVM.test_01_nic
failed 
> -------------------------------------------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-2890
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-2890
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: Network Controller
>    Affects Versions: 4.2.0
>         Environment: Master 
> Vmware
>            Reporter: Rayees Namathponnan
>            Assignee: Venkata Siva Vijayendra Bhamidipati
>            Priority: Blocker
>             Fix For: 4.2.0
>
>
> Test case TestDeployVM.test_01_nic failing in Vmware BVT run.
> Failed to add second nic to VM, with below error 
> 2013-06-07 00:05:57,490 DEBUG [cloud.network.NetworkModelImpl] (Job-Executor-56:job-895)
Service SecurityGroup is not supported in the network id=376
> 2013-06-07 00:05:57,500 DEBUG [cloud.network.NetworkManagerImpl] (Job-Executor-56:job-895)
Removed nic id=581
> 2013-06-07 00:05:57,502 DEBUG [cloud.network.NetworkManagerImpl] (Job-Executor-56:job-895)
Revoving nic secondary ip entry ...
> 2013-06-07 00:05:57,503 ERROR [cloud.async.AsyncJobManagerImpl] (Job-Executor-56:job-895)
Unexpected exception while executing org.apache.cloudstack.api.command.user.vm.AddNic
> ToVMCmd
> com.cloud.utils.exception.CloudRuntimeException: Unable to add NIC to VM[User|vm]
>         at com.cloud.vm.UserVmManagerImpl.addNicToVirtualMachine(UserVmManagerImpl.java:916)
>         at org.apache.cloudstack.api.command.user.vm.AddNicToVMCmd.execute(AddNicToVMCmd.java:109)
>         at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:155)
>         at com.cloud.async.AsyncJobManagerImpl$1.run(AsyncJobManagerImpl.java:437)
>         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:722)
> 2013-06-07 00:05:57,504 DEBUG [cloud.async.AsyncJobManagerImpl] (Job-Executor-56:job-895)
Complete async job-895, jobStatus: 2, resultCode: 530, result: Error Code: 530 Error text:
Unable to add NIC to VM[User|vm]
> 2013-06-07 00:05:57,538 DEBUG [cloud.async.AsyncJobManagerImpl] (Job-Executor-42:job-884)
Complete async job-884, jobStatus: 1, resultCode: 0, result: org.apache.cloudstack.api.response.UserVmResponse@606c1040

--
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