diff options
| author | Aaron Lee <aaron.lee@rackspace.com> | 2011-09-22 17:07:27 -0500 |
|---|---|---|
| committer | Aaron Lee <aaron.lee@rackspace.com> | 2011-09-29 11:08:35 -0500 |
| commit | 2dd0445dd60e5f0e845c49adbfb81acbebfc3ea8 (patch) | |
| tree | de33426d3579f9e3ab342c91be7fda48b7ec6cdf /nova/tests | |
| parent | ef22c0054ccb846dd7e81ba35f7e9c2b533d5ff7 (diff) | |
bug lp845714
Kind of fixes it, this calls resize on the instance. The space will be
available, but the partition won't be resized to use this space.
Running fdisk -l will show the additional space(after a discussion here
I was told this solution was best for the moment).
Adding myself to Authors
Change-Id: Ice9b12b64b266bd291e7c689114b1172e317e144
Diffstat (limited to 'nova/tests')
| -rw-r--r-- | nova/tests/test_xenapi.py | 3 | ||||
| -rw-r--r-- | nova/tests/xenapi/stubs.py | 3 |
2 files changed, 3 insertions, 3 deletions
diff --git a/nova/tests/test_xenapi.py b/nova/tests/test_xenapi.py index ec0104783..225d51aba 100644 --- a/nova/tests/test_xenapi.py +++ b/nova/tests/test_xenapi.py @@ -82,6 +82,7 @@ class XenAPIVolumeTestCase(test.TestCase): 'image_ref': 1, 'kernel_id': 2, 'ramdisk_id': 3, + 'local_gb': 20, 'instance_type_id': '3', # m1.large 'os_type': 'linux', 'architecture': 'x86-64'} @@ -375,6 +376,7 @@ class XenAPIVMTestCase(test.TestCase): 'image_ref': image_ref, 'kernel_id': kernel_id, 'ramdisk_id': ramdisk_id, + 'local_gb': 20, 'instance_type_id': instance_type_id, 'os_type': os_type, 'hostname': hostname, @@ -651,6 +653,7 @@ class XenAPIVMTestCase(test.TestCase): 'image_ref': 1, 'kernel_id': 2, 'ramdisk_id': 3, + 'local_gb': 20, 'instance_type_id': '3', # m1.large 'os_type': 'linux', 'architecture': 'x86-64'} diff --git a/nova/tests/xenapi/stubs.py b/nova/tests/xenapi/stubs.py index 3b3d494ba..f44d96d20 100644 --- a/nova/tests/xenapi/stubs.py +++ b/nova/tests/xenapi/stubs.py @@ -282,9 +282,6 @@ class FakeSessionForMigrationTests(fake.SessionBase): def VDI_get_by_uuid(self, *args): return 'hurr' - def VDI_resize_online(self, *args): - pass - def VM_start(self, _1, ref, _2, _3): vm = fake.get_record('VM', ref) if vm['power_state'] != 'Halted': |
