[Kimchi-devel] [PATCH v3 0/5] Improve VM CPU update code

Aline Manera alinefm at linux.vnet.ibm.com
Wed Sep 16 20:43:58 UTC 2015


The tests are failing with this patch set:

======================================================================
FAIL: test_edit_vm (test_rest.HttpsRestTests)
----------------------------------------------------------------------
Traceback (most recent call last):
   File "test_rest.py", line 157, in test_edit_vm
     self.assertEquals(200, resp.status)
AssertionError: 200 != 500

======================================================================
FAIL: test_vm_storage_devices (test_rest.HttpsRestTests)
----------------------------------------------------------------------
Traceback (most recent call last):
   File "test_rest.py", line 671, in test_vm_storage_devices
     urlparse.urlparse(cd_info['path']).path)
AssertionError: 
u'/fedora/releases/21/Live/x86_64/Fedora-Live-KDE-x86_64-21-5.iso' != 
u'/tmp/existent.iso'
- /fedora/releases/21/Live/x86_64/Fedora-Live-KDE-x86_64-21-5.iso
+ /tmp/existent.iso


On 16/09/2015 15:51, Jose Ricardo Ziviani wrote:
> v3:
>   - included commit "Hot add/remove CPUs on PPC"
>
> v2:
>   - patch rebased
>
> This patchset refactors part of the code related to updating VM CPUs.
>
> I am aware of two tests which are failing with this patchset. They'll be worked
> on before the final version.
>
> Crístian Deives (4):
>    Use locks to prevent concurrent updates to VMs
>    Update VCPU by using libvirt function
>    Set max VCPU count to the max supported value
>    Check if the VM update params are valid for the current state
>
> Crístian Viana (1):
>    Hot add/remove CPUs on PPC
>
>   src/kimchi/i18n.py      |   5 +++
>   src/kimchi/mockmodel.py |  48 ++++++++--------------
>   src/kimchi/model/vms.py | 106 ++++++++++++++++++++++++++++++++++++++++++++----
>   tests/test_rest.py      |   3 +-
>   4 files changed, 122 insertions(+), 40 deletions(-)
>




More information about the Kimchi-devel mailing list