[
https://issues.apache.org/jira/browse/CLOUDSTACK-10107?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16218073#comment-16218073
]
ASF subversion and git services commented on CLOUDSTACK-10107:
--------------------------------------------------------------
Commit bd953d811f35e26d91455c7531756037ce8bd494 in cloudstack's branch
refs/heads/master from [~bhaisaab]
[ https://gitbox.apache.org/repos/asf?p=cloudstack.git;h=bd953d8 ]
CLOUDSTACK-10107: For VMware VMs add devices without unit number (#2288)
When VMs are deployed or nics are plugged, using a static unit number
may cause device configuration errors. This fixes a previous limitation
that more than 7 nics/networks could not be added to a VM.
Per the API docs, `unitNumber` need not be set:
https://www.vmware.com/support/developer/converter-sdk/conv55_apireference/vim.vm.device.VirtualDevice.html
Signed-off-by: Rohit Yadav <[email protected]>
> VMware VM fails to start if it has more than 7 nics
> ---------------------------------------------------
>
> Key: CLOUDSTACK-10107
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-10107
> Project: CloudStack
> Issue Type: Bug
> Security Level: Public(Anyone can view this level - this is the
> default.)
> Reporter: Rohit Yadav
> Assignee: Rohit Yadav
> Fix For: Future, 4.11.0.0
>
>
> The maximum number of NICs that a vSphere based virtual machine is 10 virtual
> NICs. However a
> CloudStack created Instance cannot start if there are greater than 7 NICs
> attached. More that 7 NICs can be
> attached via CloudStack if the VM is already running it is only the start
> process that fails if more than 7 NICs
> have been attached.
> If a VM has greater that 7 NICs a management server log message similar to
> the following is created:
> StartCommand failed due to Exception: java.lang.RuntimeException
> Message: Invalid configuration for device '10'.
> java.lang.RuntimeException: Invalid configuration for device '10'.
> The vpxd.log on the vCenter shows:
> ‐‐> Result:
> ‐‐> (vim.fault.InvalidDeviceSpec) {
> ‐‐> faultCause = (vmodl.MethodFault) null,
> ‐‐> faultMessage = <unset>,
> ‐‐> property = "unitNumber",
> ‐‐> deviceIndex = 10
> ‐‐> msg = "Invalid configuration for device '10'."
> ‐‐> }
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)