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

ASF GitHub Bot commented on CLOUDSTACK-8610:
--------------------------------------------

GitHub user likitha opened a pull request:

    https://github.com/apache/cloudstack/pull/554

    CLOUDSTACK-8610. Unable to attach 7th Disk to Windows Server 2012 R2 …

    …instance.
    
    During disk attach, while trying to obtain the controller key for SCSI 
controller, look for device with the generic SCSI controller type i.e. 
VirtualSCSIController.
    
    While trying to obtain the SCSI id to attach a disk to, CS should ignore 
the reserved SCSI id 7. But this is not being honored in case of VMs with SCSI 
controller of type 'VirtualLsiLogicSASController'. And so in case of Windows 
2012 R2 VMs, CS chooses to attach the 7th disk on the reserved SCSI id and this 
fails on vCenter.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/likitha/cloudstack CLOUDSTACK-8610

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/cloudstack/pull/554.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 #554
    
----
commit cbfcf7cccf75c54decdcfa0c1185c42cb69d0a7a
Author: Likitha Shetty <likitha.she...@citrix.com>
Date:   2015-06-01T08:53:56Z

    CLOUDSTACK-8610. Unable to attach 7th Disk to Windows Server 2012 R2 
instance.
    During disk attach, while trying to obtain the controller key for SCSI 
controller, look for device with the generic SCSI controller type i.e. 
VirtualSCSIController.

----


> [VMWARE] Unable to attach 7th Disk to a Windows server 2012R2 instance
> ----------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-8610
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8610
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the 
> default.) 
>            Reporter: Likitha Shetty
>            Assignee: Likitha Shetty
>             Fix For: 4.6.0
>
>
> +Steps to reproduce+
> 1. Set global config vmware.root.disk.controller to 'osdefault'.
> 2. Deploy a VM and attach 6 disks to the VM.
> 3. Try to attach a 7th disk to the VM.
> Step 3 will fail with the below error
> {noformat}
> 2015-06-22 11:03:22,673 ERROR [c.c.s.r.VmwareStorageProcessor] 
> (DirectAgent-636:ctx-8e72c2d9 s1p-z1-esxic-001.es.local, job-9286/job-9287, 
> cmd: AttachCommand) (logid:6372e940) Failed to attach volume: Failed to add 
> disk scsi0:7. 
> java.lang.RuntimeException: Failed to add disk scsi0:7. 
> at 
> com.cloud.hypervisor.vmware.util.VmwareClient.waitForTask(VmwareClient.java:336)
>  
> at 
> com.cloud.hypervisor.vmware.mo.VirtualMachineMO.attachDisk(VirtualMachineMO.java:1206)
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to