[
https://issues.apache.org/jira/browse/CLOUDSTACK-8854?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14745188#comment-14745188
]
ASF GitHub Bot commented on CLOUDSTACK-8854:
--------------------------------------------
GitHub user sureshanaparti opened a pull request:
https://github.com/apache/cloudstack/pull/828
CLOUDSTACK-8854: Apple Mac OS/X VM get created without USB controller in
ESXi hypervisors
CLOUDSTACK-8854: Apple Mac OS/X VM get created without USB controller in
ESXi hypervisors
Problem Description: CloudStack doesn’t add a USB controller to the Apple
Mac OS X VMs created in ESXi hypervisors. But, vSphere Client, by default, adds
a USB Controller to the Mac OS VMs. Mac OS X machines require USB Controller
for USB mouse and keyboard access.
Root Cause: The Guest OS details are specified in the Virtual Machine
Configuration Spec for creating the VM (using the SDK API) in the EXSi
hypervisor. No USB Controller is added to the Virtual Machine Configuration
Spec. As the guest OS Identification details are specified in the VM
Configuration Spec, It is assumed that the Create VM SDK API would create the
defaults in the VM same as vSphere Client. But, as per the observation, USB
Controller is not added to the Guest OS - Mac OS VM created through the SDK API.
Resolution: When the Guest OS is Apple Mac OS, Add the USB Controller
(EHCI+UHCI - Mac supported) to the Virtual Machine Configuration Spec before
Creating or Starting the VM. For any existing Mac OS VMs, Stop and Start to add
the USB Controller. For new VMs with Mac OS, USB Controller is added
automatically.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/sureshanaparti/cloudstack CLOUDSTACK-8854
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/cloudstack/pull/828.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #828
----
commit f532ea728fadfa326706a9afd2a04a8118d0116f
Author: Suresh Kumar Anaparti <[email protected]>
Date: 2015-09-15T10:05:38Z
CLOUDSTACK-8854: Apple Mac OS/X VM get created without USB controller in
ESXi hypervisors
----
> Apple Mac OS/X VM get created without USB controller in ESXi hypervisors
> ------------------------------------------------------------------------
>
> Key: CLOUDSTACK-8854
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8854
> Project: CloudStack
> Issue Type: Bug
> Security Level: Public(Anyone can view this level - this is the
> default.)
> Components: VMware
> Reporter: Suresh Kumar Anaparti
> Assignee: Suresh Kumar Anaparti
> Fix For: 4.6.0
>
>
> ISSUE
> ==================
> Apple Mac OS/X VM get created without USB controller. For mouse/keyboard to
> function in CS Console window VM has to have USB controller. It seems CS
> doesn't use the same procedure as native vSphere client because natively when
> OS is specified as OS/X vSphere always adds USB controller to empty VM shell.
> EXPECTED BEHAVIOR
> ==================
> USB device added to VM when created on CS
> ACTUAL BEHAVIOR
> ==================
> No USB device added
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)