summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | | | | | | | | | | Add SKIP_WRITE_GIT_CHANGELOG to setup.py.Dan Prince2012-07-131-17/+25
| |/ / / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Sync with latest setup.py from openstack-common which adds options to SKIP_WRITE_GIT_CHANGELOG and SKIP_GENERATE_AUTHORS. If you set SKIP_WRITE_GIT_CHANGELOG in your environment it will speed up sdist creation by 10-20 seconds which also helps make tox run faster (because it runs sdist). Change-Id: I5da708d2e9547d5e554cf49ecfcf39591de6a4e5
* | | | | | | | | | | | | Merge "only mount guest image once when injecting files"Jenkins2012-07-133-44/+24
|\ \ \ \ \ \ \ \ \ \ \ \ \ | |_|/ / / / / / / / / / / |/| | | | | | | | | | | |
| * | | | | | | | | | | | only mount guest image once when injecting filesPádraig Brady2012-07-113-44/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously we could incur the costly guest mount operation twice, if injecting files with any of net, ssh keys, password, metadata. Instead now inject files in the same operation. Also cleanup the internal injection functions a little by removing the unused 'execute' parameter. Partly mitigates the impact of bug 1013689. Change-Id: Ib66d327e745593cf1e5897470750d609b2a58980
* | | | | | | | | | | | | Merge "When over quota for floating ips, return HTTPRequestEntityTooLarge."Jenkins2012-07-132-2/+3
|\ \ \ \ \ \ \ \ \ \ \ \ \ | |_|/ / / / / / / / / / / |/| | | | | | | | | | | |
| * | | | | | | | | | | | When over quota for floating ips, return HTTPRequestEntityTooLarge.Andrew Bogott2012-07-122-2/+3
| | |_|_|/ / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously we were returning a generic Internal Server Error which seems dumb. Fixes bug 1021721. Change-Id: Ia30b8de22bcc00d159bb4894ab4dc5f4870c346b
* | | | | | | | | | | | Merge "ensure libguestfs mounts are cleaned up"Jenkins2012-07-131-3/+13
|\ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | ensure libguestfs mounts are cleaned upPádraig Brady2012-07-121-3/+13
| | |_|_|_|_|/ / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Make a few attempts to umount the libguestfs mounts, in case other processes are accessing the mounts (like udev etc.) If we still can't umount after 5 attempts (with average delay of about 1s between each), then initiate a lazy umount so that the mounts might be automatically cleaned up at some stage. We wait a further 10s after initiating the lazy umount, before raising an exception. Addresses the original issue in bug 1013689 Change-Id: Ib5ede9f705c833825a19308c140f99c5bf3a776f
* | | | | | | | | | | | Merge "Fix typo in docstring"Jenkins2012-07-131-1/+1
|\ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | Fix typo in docstringPhil Day2012-07-131-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | _send_instance_update_notification: compute.instance.exists -> compute.instance.update Change-Id: Idecfc19e7cfe14e0368fbf78090c68eab3859ee3
* | | | | | | | | | | | | Merge "Propagate setup.py change from common."Jenkins2012-07-131-7/+15
|\ \ \ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / / / |/| | | | | | | | | | | |
| * | | | | | | | | | | | Propagate setup.py change from common.Andrew Bogott2012-07-081-7/+15
| |/ / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This pulls in the following patch: commit 8a967b16dc2ffd60bc19bee09f45e665ddcc9a81 Author: Monty Taylor <mordred@inaugust.com> Date: Mon Jul 2 17:19:06 2012 -0400 Fix up openstack-common build. Ironically enough, even though the code to manage this is in openstack-common, openstack-common wasn't using it. This patch fixes doc generation, as well as setuptools-git integration and versioning. Change-Id: Ibb2041b131c67aba963e2dd81dcdfd105e1f9b33
* | | | | | | | | | | | Merge "Convert remaining network API casts to calls"Jenkins2012-07-131-5/+5
|\ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | Convert remaining network API casts to callsPhil Day2012-07-121-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix for Bug 1021340 During compute/terminate_instance networking is de-allocated by a call to network/api/deallocate_for_instance(), which is implemented as an rpc.cast to the network manager. This in turn will eventually call network/manager/deallocate_fixed_ip(), which in turn call the compute API to trigger a security group refresh, which will get the instance from the database However because original call to the network manager is a cast there is a chance that the compute manager will delete the instance record in the DB before the compute API (in the network manager) tries to retrieve the instance. At this point the security group refresh fails (leaving rules in place which are a security risk when the IP is reused), and potentially stopping otheraspects of the network deallocation from completing. Changing this from rpc.call to rpc.cast will fix this issue. Aside from this specific use of a cast there are 4 other casts in the network API: add_fixed_ip_to_instance remove_fixed_ip_from_instance add_network_to_project release_floating_ip and to avoid other timing issues these will also be converted to calls. Change-Id: I5cdcc628293d3e7cf165c5ffe4883f138783f73f
* | | | | | | | | | | | | Merge "Adds snapshot_attached_here contextmanager."Jenkins2012-07-134-80/+89
|\ \ \ \ \ \ \ \ \ \ \ \ \ | | |_|_|_|/ / / / / / / / | |/| | | | | | | | | | |
| * | | | | | | | | | | | Adds snapshot_attached_here contextmanager.Rick Harris2012-07-124-80/+89
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch does three things: * Moves more code into vm_utils to better match our separation of concerns. * Reduces complexity of the vmops._destroy method. * Adds snapshot_attached_here contextmanager to make the snapshotting code a bit cleaner. Change-Id: I544dc2ba203519d32a5ecce4a87157b5c4a55076
* | | | | | | | | | | | | Merge "Remove deprecated auth from GlanceImageService"Jenkins2012-07-133-45/+1
|\ \ \ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / / / |/| | | | | | | | | | | |
| * | | | | | | | | | | | Remove deprecated auth from GlanceImageServiceBrian Waldon2012-07-113-45/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Drop the code block specific to deprecated auth in image deletion code * Remove reference to deprecated auth in the auth_strategy config option help text * Related to bp remove-deprecated-auth Change-Id: Id0f4f287d33d01d54642fbc544ada9b7ef1b83ec
* | | | | | | | | | | | | Merge "Use the dict syntax instead of attribute to access db objects"Jenkins2012-07-121-10/+10
|\ \ \ \ \ \ \ \ \ \ \ \ \ | | |_|_|_|_|_|_|_|_|_|_|/ | |/| | | | | | | | | | |
| * | | | | | | | | | | | Use the dict syntax instead of attribute to access db objectsYun Mao2012-07-121-10/+10
| | |_|_|/ / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | To make the code style consistent, use instance["attr"] instead of instance.attr in the code. Change-Id: I766c714cb86d3b67ff9787bc50e5e20e37c9b574
* | | | | | | | | | | | Merge "Floating_ip create /31,32 shouldn't silent error"Jenkins2012-07-122-1/+42
|\ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | Floating_ip create /31,32 shouldn't silent errorJohn Tran2012-07-122-1/+42
| | |_|_|_|_|_|_|/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes bug 1017682 the netaddr.IPNetwork.iter_hosts method doesn't return any IPs when /32 or /31 and should throw an exception instead of silent error Change-Id: Id8875b6016a4dbb40b29d2f7687e6c35491e0129
* | | | | | | | | | | | Merge "Making docs pretty!"Jenkins2012-07-127-222/+330
|\ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | Making docs pretty!jakedahn2012-07-117-222/+330
| | |_|_|_|/ / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Before: http://stsh.me/2Qv * After: http://stsh.me/2Qw Change-Id: I4609e66820cd49b7443d18b9e0decf638da42581
* | | | | | | | | | | | Merge "When deleting an instance, avoid freakout if iscsi device is gone"Jenkins2012-07-121-3/+5
|\ \ \ \ \ \ \ \ \ \ \ \ | |_|_|/ / / / / / / / / |/| | | | | | | | | | |
| * | | | | | | | | | | When deleting an instance, avoid freakout if iscsi device is goneDan Smith2012-07-101-3/+5
| | |_|_|_|_|_|/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It's fairly easy to get into a state where an instance is not running, the iscsi infrastructure has been torn down, and the instance cannot be deleted because the iscsi device cannot be successfully removed. This patch ignores the associated return value for that scenario and marches forward in the teardown process. Fixes bug 1022520 Change-Id: Ib28790892eebe341ac10a92250cf872605fefe9b
* | | | | | | | | | | Merge "Adds bootlocking to the xenserver suspend and resume"Jenkins2012-07-121-0/+2
|\ \ \ \ \ \ \ \ \ \ \ | |_|_|/ / / / / / / / |/| | | | | | | | | |
| * | | | | | | | | | Adds bootlocking to the xenserver suspend and resumeMatt Dietz2012-07-121-0/+2
| | |_|_|/ / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bootlock prevents an instance from being resumed accidentally if the dom0 were rebooted or a whole slew of other possible interactions. We'd prefer to keep suspended instances suspended. Change-Id: I82fb734b79270aa87cd3bb08797885d5fda11f6b
* | | | | | | | | | Merge "Fix .mailmap to generate unique AUTHORS list."Jenkins2012-07-121-34/+67
|\ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / |/| | | | | | | | |
| * | | | | | | | | Fix .mailmap to generate unique AUTHORS list.Bhuvan Arumugam2012-07-111-34/+67
| | |_|/ / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As per 3456b667c38aa1d439482b9c95838aba6d3d6c5c, Monty merged code to generate AUTHORS file. With this fix, git log honors .mailmap specification, irrespective of name/email combination used for commit and generate unique entries in AUTHORS file. * .mailmap Handle all full name/email combination to ensure following command return unique records. $ git log --format="%aN <%aE>" Change-Id: I44f1db1a991fd312ab37455b44985281ed1d392f
* | | | | | | | | Merge "Don't block instance delete on missing block device volume"Jenkins2012-07-121-0/+3
|\ \ \ \ \ \ \ \ \
| * | | | | | | | | Don't block instance delete on missing block device volumeDan Smith2012-07-101-0/+3
| | |_|_|_|/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It's easy to create an undeletable instance by specifying an invalid volume id in the block device mapping. The instance errors, but subsequent delete fails because the volume is missing. We already ignore the DiskNotFound case during delete, so this adds a case for VolumeNotFound. Change-Id: Ibc516ee4452d088cddf10bbeb315697ce900e5c5
* | | | | | | | | Merge "Imports base64 to fix xen file injection"Jenkins2012-07-121-0/+1
|\ \ \ \ \ \ \ \ \
| * | | | | | | | | Imports base64 to fix xen file injectionGabe Westmaas2012-07-111-0/+1
| | |/ / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adds base64 to agent.py as its required for file injection to work. Fixes bug 1023698 Change-Id: I231b6f5e031106471aeff38769e8fc79dcd45b45
* | | | | | | | | Merge "Adds diagnostics command for the libvirt driver."Jenkins2012-07-124-1/+479
|\ \ \ \ \ \ \ \ \ | |_|_|_|_|_|_|/ / |/| | | | | | | |
| * | | | | | | | Adds diagnostics command for the libvirt driver.Leander Bessa Beernaert2012-07-104-1/+479
| | |/ / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This code provides an implementation of the get_diagnostics API for the libvirt driver. This API is invoked by the 'nova diagnostic' command. There is no existing formal specification for what data items to expose from the 'get_diagnostics' API, so the XenAPI driver is used as an informal guide. The Xen implementation currently produces the following output: +----------------+-----------------+ | Property | Value | +----------------+-----------------+ | cpu0 | 4.3627 | | memory | 1171088064.0000 | | memory_target | 1171088064.0000 | | vbd_xvda_read | 0.0 | | vbd_xvda_write | 0.0 | | vif_0_rx | 3223.6870 | | vif_0_tx | 0.0 | | vif_1_rx | 104.4955 | | vif_1_tx | 0.0 | +----------------+-----------------+ The new libvirt implementation will return a similar set of stats for guest CPUs, memory, disks and network interfaces, resulting in the following output: +------------------+------------+ | Property | Value | +------------------+------------+ | cpu0_time | 2870000000 | | memory | 524288 | | vda_errors | -1 | | vda_read | 262144 | | vda_read_req | 112 | | vda_write | 5606400 | | vda_write_req | 376 | | vnet0_rx | 63343 | | vnet0_rx_drop | 0 | | vnet0_rx_errors | 0 | | vnet0_rx_packets | 431 | | vnet0_tx | 4905 | | vnet0_tx_drop | 0 | | vnet0_tx_errors | 0 | | vnet0_tx_packets | 45 | +------------------+------------+ The implementation has only been tested with the libvirt KVM driver. In a future a formal specification for the required data format should be written and all virt drivers made to comply. Finally, the fakelibvirt driver has been updated in order to support the methods required by the get_diagnostics method. For those interested, below is the formula to extract the CPU usage based on the CPU time. I've added it here for reference since it's not used at the moment and it took quite a while to locate it in the libvirt documentation. usage = 100 * (current_cpu_time - last_cpu_time) / (measurement_interval * (10 ** 9)) Fixes bug 986200. Change-Id: I92da392f43d0840ed31cfd88f54570ea5830bb4a
* | | | | | | | Remove deprecated auth-related db codeBrian Waldon2012-07-117-446/+358
| |/ / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Remove user_*, auth_token_* and project_* db api functions (except project_get_networks) * Remove User, Project, AuthToken, UserProjectRoleAssociation, UserRoleAssociation, and UserProjectAssociation db models * Add two migrations: * 109 removes the project_id fkey from dns_domains * 110 drops tables that correspond to the deleted models * Related to bp remove-deprecated-auth Change-Id: Iaacae0e5c0050e94b92e16ab5d8129eadb56c5a7
* | | | | | | Merge "allows setting accessIPvs to null via update call"Jenkins2012-07-112-2/+60
|\ \ \ \ \ \ \ | |_|_|/ / / / |/| | | | | |
| * | | | | | allows setting accessIPvs to null via update callNikhil Komawar2012-07-112-2/+60
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fixes bug 1022700 Change-Id: I4b37508ebec1ea23d8dfd91c41ecbd96b2d701bc
* | | | | | | Merge "Refactors more snapshot code into vm_utils."Jenkins2012-07-113-30/+25
|\ \ \ \ \ \ \ | |/ / / / / / |/| | | | | |
| * | | | | | Refactors more snapshot code into vm_utils.Rick Harris2012-07-113-30/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Simplifies vmops a bit while moving logic into vmutils where it better matches how we've seperated concerns. Change-Id: Ic6d7559903d0f809f4c90577f4a8c4a0857cae90
* | | | | | | Merge "Re-add nova.virt.driver import to xenapi driver"Jenkins2012-07-111-0/+1
|\ \ \ \ \ \ \
| * | | | | | | Re-add nova.virt.driver import to xenapi driverJohannes Erdfelt2012-07-111-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A recent commit 5dd9e6150c0bebaef53e23fff7e55a17ef694537 removed the import when it was still used. Re-add the import back so the driver works again. Change-Id: I1487a1a171c0d35c2f6752b08620f745ba1df385
* | | | | | | | Merge "Distinguish over-quota for volume size and number."Jenkins2012-07-113-4/+58
|\ \ \ \ \ \ \ \ | |/ / / / / / / |/| | | | | | |
| * | | | | | | Distinguish over-quota for volume size and number.Eoghan Glynn2012-07-043-4/+58
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes LP 1020634 Ensure that exceeding the allowed number of volumes is not mis-represented in log messages and exception handling as excessive space usage. Change-Id: I71ec995c77bc447bfc9221084b057bd8d69a4513
* | | | | | | | Merge "Clarifying which vm_utils functions are private."Jenkins2012-07-113-53/+53
|\ \ \ \ \ \ \ \ | | |/ / / / / / | |/| | | | / / | |_|_|_|_|/ / |/| | | | | |
| * | | | | | Clarifying which vm_utils functions are private.Rick Harris2012-07-113-53/+53
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This clarification should aid in future refactorings by giving a hint of which methods are not referenced outside of the file (except for test stubs). Change-Id: I574b2caa25d54969a1627fa69f101b2480152b08
* | | | | | | Merge "Adds network labels to the fixed ips in usages"Jenkins2012-07-112-4/+17
|\ \ \ \ \ \ \
| * | | | | | | Adds network labels to the fixed ips in usagesMatt Dietz2012-07-112-4/+17
| | |_|_|_|/ / | |/| | | | | | | | | | | | | | | | | | | Change-Id: Ib5990a7f5d7869c862ec3dd3299772e421574ae6
* | | | | | | Merge "Refactor instance_usage_audit. Add audit tasklog."Jenkins2012-07-1114-95/+634
|\ \ \ \ \ \ \ | |/ / / / / / |/| | | | | |
| * | | | | | Refactor instance_usage_audit. Add audit tasklog.Monsyne Dragon2012-07-1014-95/+634
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The instance usage audit cronjob that generates periodic compute.instance.exists notifications is not particularly scalable. It is run on one server and takes longer as the number of instances grows. This change moves the generation of those events to a periodic task in the compute manager. It also adds an api extension that can be used by administrators to check for errors generating these events. Change-Id: I856d3d0c73c34e570112f1345d306308ef20a9ae