nova/nova/tests/unit/virt/vmwareapi
Feng Xi Yan f593d90f7d <VMWare> Allocate free bus for new SCSI controller
There are at most 16 virtual disks that can be attached onto a SCSI
controller, while if the limitation is reached, error occurs
with message "VMwareDriverException: Invalid configuration for
device '0'".

The reason is that when the controller's quota is used up, a new
controller will be created automatically, but the newly-created
one will try to use bus number 0, which is already used my existing
controller.

This change will allocate a new free bus number for the newly-created
controller.

Co-Authored-By: Qiaowei Ren <qiaowei.ren@intel.com>

Closes bug: #1522232

Change-Id: I2ced1358e682cda979d1d5bddb6359253699280b
(cherry picked from commit b36da5dd03)
2016-04-10 23:24:19 +00:00
..
__init__.py move all tests to nova/tests/unit 2014-11-12 15:31:08 -05:00
fake.py <VMWare> Allocate free bus for new SCSI controller 2016-04-10 23:24:19 +00:00
ovf.xml VMware: Enable spawn from OVA image 2015-02-09 11:43:07 +02:00
stubs.py Drop explicit suds dependency 2015-05-22 23:40:14 -07:00
test_configdrive.py VMware: pass network info to config drive. 2015-08-30 03:41:42 -07:00
test_driver_api.py VMware: create method for getting datacenter from datastore 2015-09-15 00:15:19 -07:00
test_ds_util.py VMware: Replace get_dynamic_property with get_object_property 2015-09-12 10:31:41 +03:00
test_ds_util_datastore_selection.py Fix order of arguments in assertEqual 2015-09-09 05:23:07 -07:00
test_imagecache.py VMware: create method for getting datacenter from datastore 2015-09-15 00:15:19 -07:00
test_images.py VMware: Handle image size correctly for OVA and streamOptimized images 2016-02-09 18:28:44 +01:00
test_io_util.py move all tests to nova/tests/unit 2014-11-12 15:31:08 -05:00
test_network_util.py VMware: Replace get_dynamic_property with get_object_property 2015-09-12 10:31:41 +03:00
test_read_write_util.py Fix import order 2015-05-05 03:34:21 -07:00
test_vif.py VMware: Replace get_dynamic_property with get_object_property 2015-09-12 10:31:41 +03:00
test_vim_util.py VMware: Replace get_dynamic_properties with get_object_properties_dict 2015-09-12 10:31:48 +03:00
test_vm_util.py <VMWare> Allocate free bus for new SCSI controller 2016-04-10 23:24:19 +00:00
test_vmops.py VMware: Handle image size correctly for OVA and streamOptimized images 2016-02-09 18:28:44 +01:00
test_volumeops.py VMware: Replace get_dynamic_property with get_object_property 2015-09-12 10:31:41 +03:00