lp:~tpatil/nova/bug838466
- Get this branch:
- bzr branch lp:~tpatil/nova/bug838466
Branch merges
- Christopher MacGown (community): Approve
- Vish Ishaya (community): Approve
-
Diff: 48 lines (+17/-4)2 files modifiednova/compute/api.py (+4/-4)
nova/tests/test_compute.py (+13/-0)
Related bugs
Bug #838466: unnecessarily instance record is created in db | Medium | Fix Released |
Related blueprints
Branch information
Recent revisions
- 1518. By Tushar Patil
-
Added unit tests to check instance record is not inserted in db when security groups passed to the instances are not existing
- 1516. By Vish Ishaya
-
Simple usage extension for nova. Uses db to calculate tenant_usage for specified time periods.
Methods:
* index: return a list of tenant_usages, with option of incuding detailed server_usage
* show: returns a specific tenant_usage objecttenant_usage object:
* tenant_usage.total_ memory_ mb_usage: sum of memory_mb * hours for all instances in tenant for this period
* tenant_usage.total_ local_gb_ usage: sum of local_gb * hours for all instances in tenant for this period
* tenant_usage.total_ vcpus_usage: sum of vcpus * hours for all instances in tenant for this period
* tenant_usage.total_ hours: sum of all instance hours for this period
* tenant_usage.server_ usages: A detailed list of server_usages, which describe the usage of a specific server For larger instances db tables, indexes on instance.
launched_ at and instance. terminated_ at should significantly help performance. - 1514. By Brian Lamar
-
Fixed and improved the way instance "states" are set. Instead of relying on solely the power_state of a VM, there are now explicitly defined VM states and VM task states which respectively define the current state of the VM and the task which is currently being performed by the VM.
- 1513. By Chris Behrens
-
Implements lp:798876 which is 'switch carrot to kombu'. Leaves carrot as the default for now... decision will be made later to switch the default to kombu after further testing. There's a lot of code duplication between carrot and kombu, but I left it that way in preparation for ripping carrot out later and to keep minimal changes to carrot.
This also fixes bug: lp:794627 (re-establish connections to carrot when it restarts), but only fixes it in kombu.
This also fixes bug: lp:803168 (msg-id response queues being left around), but also only fixes it in kombu.See those bugs for comments.
- 1512. By Anthony Young
-
Disassociated previously associated floating ips when calling network_
api.associate_ floating_ ip. Also guard against double-association in the network.manager. - 1510. By Brian Lamar
-
Removed test_parallel_
builds in the XenAPI tests due to it frequently hanging indefinitely. - 1509. By Dan Prince
-
Update RequestContext so that it correctly sets self.is_admin from the roles array. Additionally add a bit of code to ignore case as well.
Resolves issues when accessing admin API's w/ Keystone.
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:~hudson-openstack/nova/trunk