summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | | | | | | | | | | | | | | | | | | | | | | | | fix ajax console proxy for new create_consumer methodChris Behrens2011-08-291-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | | | | | | | | | | | | doc string cleanupChris Behrens2011-08-291-6/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | | | | | | | | | | | | created nova/tests/test_rpc_common.py which contains a rpc test base class ↵Chris Behrens2011-08-294-475/+211
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | so we can share tests between the rpc implementations
| * | | | | | | | | | | | | | | | | | | | | | | | | | | ditched rpc.create_consumer(conn) interface... instead you now do ↵Chris Behrens2011-08-298-79/+52
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | conn.create_consumer(..
| * | | | | | | | | | | | | | | | | | | | | | | | | | | merged trunkChris Behrens2011-08-2935-30/+4535
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | |_|_|_|_|_|_|_|_|_|_|_|_|/ / / / / / / / / / / / / | | |/| | | | | | | | | | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | | | | | | | | | | | | pep8 fixesChris Behrens2011-08-291-3/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | | | | | | | | | | | | remove unused rpc connections in test_cloud and test_adminapiChris Behrens2011-08-282-4/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | | | | | | | | | | | | carrot consumer thread fixChris Behrens2011-08-281-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | | | | | | | | | | | | add carrot/kombu tests... small thread fix for kombuChris Behrens2011-08-287-101/+481
| | | | | | | | | | | | | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | | | | | | | | | | | | fix nova/tests/test_test.pyChris Behrens2011-08-281-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | | | | | | | | | | | | fix nova-ajax-console-proxyChris Behrens2011-08-281-6/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | | | | | | | | | | | | fix test_rpc and kombu stuffChris Behrens2011-08-285-32/+79
| | | | | | | | | | | | | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | | | | | | | | | | | | start to rework some consumer stuffChris Behrens2011-08-282-70/+81
| | | | | | | | | | | | | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | | | | | | | | | | | | fix FALGS typoChris Behrens2011-08-271-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | | | | | | | | | | | | Default rabbit max_retries to foreverChris Behrens2011-08-274-28/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Modify carrot code to handle retry backoffs and obey max_retries = forever Fix some kombu issues from cut-n-paste Service should make sure to close the RPC connection
| * | | | | | | | | | | | | | | | | | | | | | | | | | | flag for kombu connection backoff on retriesChris Behrens2011-08-262-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | | | | | | | | | | | | more fixesChris Behrens2011-08-261-3/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | | | | | | | | | | | | more work done to restore original rpc interfaces.Chris Behrens2011-08-263-6/+306
| | | | | | | | | | | | | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | | | | | | | | | | | | start of kombu implementation, keeping the same RPC interfacesChris Behrens2011-08-263-13/+452
| | |_|_|_|_|_|_|_|_|_|_|_|/ / / / / / / / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | | | | | | | | | | | | | Disassociated previously associated floating ips when calling ↵Anthony Young2011-08-316-10/+150
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | |_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|/ / / / / / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | network_api.associate_floating_ip. Also guard against double-association in the network.manager.
| * | | | | | | | | | | | | | | | | | | | | | | | | | add explicit message for NoMoreFloatingIps exceptionAnthony Young2011-08-311-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | | | | | | | | | | | add test to verify 400 response when out of addressesAnthony Young2011-08-302-4/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | | | | | | | | | | | fix FloatingIpAlreadyInUse to use correct string pattern, convert ApiErrors ↵Anthony Young2011-08-303-2/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | to 400 responses
| * | | | | | | | | | | | | | | | | | | | | | | | | | disassociate floating ips before re-associating, and prevent re-association ↵Anthony Young2011-08-305-5/+96
| | |_|_|_|_|_|_|_|_|_|_|_|_|_|/ / / / / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | of already associated floating ips in manager
| | | | | | | | | | | | | | | | | * | | | | | | | | fix remaining testsVishvananda Ishaya2011-08-305-39/+40
| | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | * | | | | | | | | pep8, fix fakesVishvananda Ishaya2011-08-305-7/+11
| | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | * | | | | | | | | fix a bunch of direct usages of db in compute apiVishvananda Ishaya2011-08-301-25/+27
| | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | * | | | | | | | | make two functions instead of fast flag and add compute api commands instead ↵Vishvananda Ishaya2011-08-306-36/+62
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | of hitting db directly
| | | | | | | | | | | | | | | | | * | | | | | | | | merged trunkVishvananda Ishaya2011-08-3050-79/+5212
| | | | | | | | | | | | | | | | | |\ \ \ \ \ \ \ \ \ | | |_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|/ / / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | * | | | | | | | | use db layer for aggregationVishvananda Ishaya2011-08-264-109/+70
| | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | * | | | | | | | | merged trunkVishvananda Ishaya2011-08-26123-1488/+6751
| | | | | | | | | | | | | | | | | |\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | |_|_|/ / / / / / / / / | | | | | | | | | | | | | | |/| | | | | | | | | | |
| | | | | | | | | | | | | | | | | * | | | | | | | | remove extra spacesAnthony Young2011-08-221-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | * | | | | | | | | some readability fixes per ja feedbackAnthony Young2011-08-221-14/+15
| | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | * | | | | | | | | Simple usage extension for nova. Uses db to calculate tenant_usage for ↵Anthony Young2011-08-222-0/+457
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| | | | | | | | | | | | | | | | | | * | | | | | | | expect key_name attribute in 1.1Vishvananda Ishaya2011-08-311-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | * | | | | | | | change to use _get_key_name to retrieve the keyVishvananda Ishaya2011-08-311-11/+17
| | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | * | | | | | | | fix keypairs stubsVishvananda Ishaya2011-08-312-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | * | | | | | | | moved key_name per reviewVishvananda Ishaya2011-08-311-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | * | | | | | | | merged trunkVishvananda Ishaya2011-08-3142-79/+4595
| | | | | | | | | | | | | | | | | | |\ \ \ \ \ \ \ \ | |_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|/ / / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | | | | | | | | | | | | more logging info to help identify bad payloadsSandy Walsh2011-08-301-1/+2
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | | | | | | | | | | | | | | | more logging info to help identify bad payloadsSandy Walsh2011-08-291-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | | | | | | | | | | | | | Removed test_parallel_builds in the XenAPI tests due to it frequently ↵Brian Lamar2011-08-301-37/+0
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | |_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|/ / / / / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | hanging indefinitely.
| * | | | | | | | | | | | | | | | | | | | | | | | | | Fixes this bug by removing the test. The test has no asserts and seems to be ↵Brian Lamar2011-08-290-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | raising more problems than it could solve.
| * | | | | | | | | | | | | | | | | | | | | | | | | | Removed test_parallel_buildsBrian Lamar2011-08-291-37/+0
| | |_|_|/ / / / / / / / / / / / / / / / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | | | | | | | | | | | | Update RequestContext so that it correctly sets self.is_admin from the roles ↵Dan Prince2011-08-302-1/+34
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | |_|_|/ / / / / / / / / / / / / / / / / / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | array. Additionally add a bit of code to ignore case as well. Resolves issues when accessing admin API's w/ Keystone.
| * | | | | | | | | | | | | | | | | | | | | | | | | Update RequestContext so that it correctly sets self.is_admin from theDan Prince2011-08-292-1/+34
|/ / / / / / / / / / / / / / / / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | roles array. Additionally add a bit of code to ignore case as well. Resolves issues when accessing admin API's w/ Keystone.
| | | | | | | | | | | | | | | | | * | | | | | | | v1.0 of server create injects first users keypairJesse Andrews2011-08-263-3/+17
| | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | * | | | | | | | merge trunkJesse Andrews2011-08-26152-1780/+8369
| | | | | | | | | | | | | | | | | |\ \ \ \ \ \ \ \ | | | | |_|_|_|_|_|_|_|_|_|_|_|_|_|/ / / / / / / / | | | |/| | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | * | | | | | | | add key_name/data support to server stubJesse Andrews2011-08-181-3/+8
| | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | * | | | | | | | remove security groups, improve exception handling, add testsAnthony Young2011-08-183-10/+38
| | | | | | | | | | | | | | | | | | | | | | | | |