lp:~tpatil/nova/bug838466

Created by Tushar Patil and last modified
Get this branch:
bzr branch lp:~tpatil/nova/bug838466
Only Tushar Patil can upload to this branch. If you are Tushar Patil please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Tushar Patil
Project:
OpenStack Compute (nova)
Status:
Merged

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

1517. By Tushar Patil

Fix for LP Bug #838466

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 object

tenant_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.

1515. By Tushar Patil

Validates that user-data is b64 encoded.

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.

1511. By Sandy Walsh

more logging info to help identify bad payloads

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
This branch contains Public information 
Everyone can see this information.

Subscribers