summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | | | Remove unused flags.Help*FlagMark McLoughlin2012-01-255-31/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These don't do anything anymore since we just rely on optparse's --help behaviour. Change-Id: I7c74456a06fe924503dcfbcfa4da9fc5c26b8ab0
* | | | | | | Merge "Return 403 instead of 401 when policies reject"Jenkins2012-01-252-2/+2
|\ \ \ \ \ \ \ | |_|_|_|_|_|/ |/| | | | | |
| * | | | | | Return 403 instead of 401 when policies rejectBrian Waldon2012-01-252-2/+2
| | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes bug 921744 Change-Id: Ib4b6405dffa3ee2e8ef2b8a7710124f97f0fdf43
* / | | | | Fixing rebuilds on libvirt.Naveed Massjouni2012-01-251-1/+1
|/ / / / / | | | | | | | | | | | | | | | | | | | | bug: 867627 Change-Id: I663fd4004a2198c15d576de33b5aa35188a6e74a
* | / / / Merge "Convert vmwareapi code to UNIX style line endings"Jenkins2012-01-2513-3212/+3212
|\| | | | | |/ / / |/| | |
| * | | Convert vmwareapi code to UNIX style line endingsMark McLoughlin2012-01-2513-3212/+3212
| | | | | | | | | | | | | | | | | | | | | | | | It's the only code in the codebase using evil CRLF line endings. Change-Id: I8b1a2b12a5707fbd4d32588c081599beaa34aca5
* | | | Merge "Blueprint xenapi-provider-firewall and Bug #915403."Jenkins2012-01-2515-76/+263
|\ \ \ \
| * | | | Blueprint xenapi-provider-firewall and Bug #915403.Deepak Garg2012-01-2415-76/+263
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1. Provides dom0 IPtables driver to implement the Provider firewall rules. 2. Existing libvirt code has been refactored to reduce the amount of duplicated code to a minimum 3. The three provider apis in ec2/admin.py file are now fixed the following way: a. remove_external_address_block returned 'OK' on removing blocks which didn't exist. This is now fixed. b. block_external_addresses raised exception earlier on duplicate network blocks. Now the exception is logged and failed status message is returned. c. all the three provider apis now logs for invalid and improper inputs and return uniform (a dictionary ) and proper status messages for all cases. 4. appropriate unit tests added to cover the same Change-Id: I27d83186f850423a6268947aed0c9a349d8f8d65
* | | | | Merge "blueprint host-aggregates: maintenance operations to host OSAPI exts"Jenkins2012-01-253-3/+49
|\ \ \ \ \ | |_|/ / / |/| | | |
| * | | | blueprint host-aggregates: maintenance operations to host OSAPI extsJohn Garbutt2012-01-233-3/+49
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit introduces sub for a host maintenance_mode option into the osapi. It is required for the host aggregates work. This is part of a series of commits that have started with change: https://review.openstack.org/#change,3035 Change-Id: Ib462ef9ad6b641bf1083cc176dfba6645020ccec
* | | | | Merge "Adds extension for retrieving certificates"Jenkins2012-01-255-0/+192
|\ \ \ \ \ | |_|/ / / |/| | | |
| * | | | Adds extension for retrieving certificatesVishvananda Ishaya2012-01-245-0/+192
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Makes euca-upload/euca-register work again * Provides means for novarc to be generated * Fixes bug 903345 * Implements blueprint x509-cert-crud Change-Id: I0b2a42fe5436243da6925ba199936b49458d6f8c
* | | | | Add os-start/os-stop server actions to OSAPITomoe Sugihara2012-01-254-0/+152
|/ / / / | | | | | | | | | | | | | | | | | | | | Implements blueprint start-stop-methods-support-in-os-servers-xapi Change-Id: I7aa241ffdd2ec3a7c9800411268f4adc47960be8
* | | | Merge "Create nova cert worker for x509 support"Jenkins2012-01-2513-113/+271
|\ \ \ \
| * | | | Create nova cert worker for x509 supportVishvananda Ishaya2012-01-2413-113/+271
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Adds new worker for cert management * Makes decrypt use an rpc to the worker * Moves CA filesystem creation out of cloud.setup * Moves test for X509 into crypto * Adds test for encrypting and decrypting using cert * Cleans up extra code in cloudpipe * Fixes bug 918563 * Prepares for a future patch that will fix bug 903345 Change-Id: I4693c50c8f432706f97395af39e736f49d60e719
* | | | | Merge "bug 917397"Jenkins2012-01-242-0/+47
|\ \ \ \ \ | |/ / / / |/| | | |
| * | | | bug 917397Dave Lapsley2012-01-202-0/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add configuration sanity to QuantumManager. Logs error message if a parameter not used by QuantumManager's create_networks() method is passed into it. Change-Id: I1d6daa7f77590a61b542122ada33ed1c188df19f
* | | | | Merge "Remove unused nova/api/mapper.py"Jenkins2012-01-241-73/+0
|\ \ \ \ \
| * | | | | Remove unused nova/api/mapper.pyMark McLoughlin2012-01-241-73/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Introduced recently by 60ff2e, but seems totally unused. Change-Id: Iefe0168b6bc189ec83efbd69f0be22946696d408
* | | | | | Merge "usage: Fix time filtering"Jenkins2012-01-241-16/+16
|\ \ \ \ \ \
| * | | | | | usage: Fix time filteringCole Robinson2012-01-241-16/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Querying for resource usage within a given time range seems to have a logic flaw: it will only report instances that have run the entire length of the specified range. AIUI What we really want is any instance that spent any time consuming resources at any point in the specified range. Fix the logic to implement this. v2: Update function comments as well Change-Id: I4fa567982457e5f447ec33cf3d96457f50d71d86
* | | | | | | Merge "Bug #916312: nova-manage network modify --network flag is inconsistent."Jenkins2012-01-242-1/+18
|\ \ \ \ \ \ \
| * | | | | | | Bug #916312: nova-manage network modify --network flag is inconsistent.Ewan Mellor2012-01-242-1/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change nova-manage network modify --network to --fixed_range, to match nova-manage network delete. Also document both. Change-Id: I3c03a33e9e3576393252d771eb4ce3353a7f2eaa
* | | | | | | | Merge "Handle error in associate floating IP (bug 845507)"Jenkins2012-01-245-7/+46
|\ \ \ \ \ \ \ \
| * | | | | | | | Handle error in associate floating IP (bug 845507)Dean Troyer2012-01-235-7/+46
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Raise NoFloatingIpInterface when associate floating IP has an interface that doesn't exist. * Return 500 Internal server Error, indicate only that associate action failed Change-Id: I6b032f7554795de64bce8e669d20269210c62e33
* | | | | | | | | Merge "Change the logic for deleting a record dns_domains."Jenkins2012-01-241-3/+3
|\ \ \ \ \ \ \ \ \
| * | | | | | | | | Change the logic for deleting a record dns_domains.Andrew Bogott2012-01-211-3/+3
| | |_|_|_|/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since keys are just the domain name, we need to be able to reuse them. That means we have to do a real record deletion to free up namespace rather than just mark the records as deleted. For blueprint public-and-private-dns. Change-Id: If47e961cf2cb977d297b506bd397f1a438499f18
* | | | | | | | | Merge "Add nova.exception.InvalidRPCConnectionReuse."Jenkins2012-01-241-0/+4
|\ \ \ \ \ \ \ \ \
| * | | | | | | | | Add nova.exception.InvalidRPCConnectionReuse.Russell Bryant2012-01-241-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | nova.rpc.common.ConnectionContext makes use of an exception that was not defined. This patch adds it. Change-Id: Ibfbd2fc56dbcc36c8f271d5bc8c6e1db04ce8c93
* | | | | | | | | | Merge "Add support for Qpid to nova.rpc."Jenkins2012-01-246-295/+1147
|\| | | | | | | | | | |_|_|/ / / / / / |/| | | | | | | |
| * | | | | | | | Add support for Qpid to nova.rpc.Russell Bryant2012-01-246-295/+1147
| | |_|_|/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Implements blueprint apache-qpid-rpc. This patch adds a new implementation of the nova.rpc API that uses Qpid as the messaging backend. We first considered trying to add Qpid support to kombu, but the kombu API did not map very well to Qpid, which is based on a newer version of AMQP. It was easier to just map the nova rpc API to Qpid. For more information about how to use Qpid with Nova, see this wiki page: http://wiki.openstack.org/QpidSupport The structure of impl_qpid is largely based on impl_kombu, but adapted to use the Qpid APIs as necessary. This patch also factors out some of the code shared with impl_kombu into nova.rpc.common to try to cut down on duplicated code. The unit tests were written from scratch instead of taking advantage of the common rpc unit tests. The common unit tests only work if qpidd is running, but they do pass if enabled. The unit tests for impl_qpid instead use mox to mock out the Qpid objects and ensure the right operations happen on them when the rpc API is exercised. This patch was a joint effort between myself and William Henry, which is why he was added to the Authors file in this patch. Change-Id: Ibacaa956e016ef96f014443074e2a4622e31f090
* | | | | | | | Merge "Explicitly encode string to utf8 before passing to ldap."Jenkins2012-01-241-7/+23
|\ \ \ \ \ \ \ \ | |/ / / / / / / |/| | | | | | |
| * | | | | | | Explicitly encode string to utf8 before passing to ldap.Andrew Bogott2012-01-241-7/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Python-ldap sometimes behaves poorly when receiving unicode strings. For blueprint public-and-private-dns. Change-Id: If61c3b5bb9198e3870fb48974fa4a8fc072bb1bb
* | | | | | | | Merge "Imported Translations from Launchpad"OpenStack Jenkins2012-01-242-609/+627
|\ \ \ \ \ \ \ \
| * | | | | | | | Imported Translations from LaunchpadOpenStack Jenkins2012-01-202-609/+627
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I6cc540e666abcb319acb5a0d653a7ef35ed401b1
* | | | | | | | | Merge "Add an API extension for creating+deleting flavors"Jenkins2012-01-246-7/+239
|\ \ \ \ \ \ \ \ \ | | |_|_|_|/ / / / | |/| | | | | | |
| * | | | | | | | Add an API extension for creating+deleting flavorsCole Robinson2012-01-246-7/+239
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This extension is a step towards deprecating openstackx for horizon. Most of the extension code is based on the equivalent in openstackx. v2: s/lifecycle/manage/ for all bits Address Pádraig style issues Drop purge API option Adjust now inaccurate comment in DB api Make extension admin_only Extend existing /flavors namespace rather than os-flavor-lifecycle Only allow API access from admin user v3: Some pep8 fixes v4: Adjust to root_gb, ephemeral_gb changes Drop admin_only (it's on the way out AIUI) Change-Id: I3fdfccdd8e7337e1759f5875c3b15fa9954371ef
* | | | | | | | | Merge "Remove admin_only ext attr in favor of authz"Jenkins2012-01-2451-233/+326
|\ \ \ \ \ \ \ \ \
| * | | | | | | | | Remove admin_only ext attr in favor of authzBrian Waldon2012-01-2451-233/+326
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Working on blueprint separate-nova-adminapi. This removes the admin_only extension attribute and the allow_admin_api flag. The approach we're going for now is to load all extensions, but to set an admin-only rule in our policy file for those extensions that should be limited to just admin users. Now that all of our admin api code has been moved to extensions, in order to prevent admin api code from being loaded, simply remove it from the extension list. Change-Id: Ic574e06af44922ba764013b769077fc5099fd1a2
* | | | | | | | | | Merge "extensions: Allow registering actions for create + delete"Jenkins2012-01-243-4/+41
|\ \ \ \ \ \ \ \ \ \ | | |/ / / / / / / / | |/| | | | | | | / | |_|_|_|_|_|_|_|/ |/| | | | | | | |
| * | | | | | | | extensions: Allow registering actions for create + deleteCole Robinson2012-01-243-4/+41
| |/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This allows an extension to add new actions for create and delete operations to an existing collection. Currently when extending an existing collection (API namespace), an extension can register brand new 'actions', and extend any preexisting API functionality, but unfortunately create and delete are special cases that don't fall under the 'actions' classification, meaning the infrastructure can't handle them unless extending an existing impl. Stubbing out the create/delete methods in the original resource with the equiv of a NotImplementedError doesn't work, since 'extend'ing requires the original implementation to exit correctly. Whitelist 'create' and 'delete' and handle them appropriately. v2: Add myself to Authors Update wsgi.action docs Add a test case v3: Actually update Authors Change-Id: I550ae93c5e200f18644042ac81656bc76dbe8955
* | | | | | | | Merge "Abstract out _exact_match_filter()"Jenkins2012-01-241-40/+48
|\ \ \ \ \ \ \ \ | |_|_|/ / / / / |/| | | | | | |
| * | | | | | | Abstract out _exact_match_filter()Kevin L. Mitchell2012-01-241-40/+48
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In the interests of improving DRY in the sqlalchemy db backend API, abstract out _exact_match_filter(). Change-Id: Ic381a071005dced6989e9e9696930fd85b6d5d46
* | | | | | | | Make a bunch of dcs into single-entry lists.Andrew Bogott2012-01-241-4/+4
| |/ / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I was seeing dcs where ['e','v','e','r','y'] character was a list item, so clearly ldap is going to interpret this field as a list whether it is one or not. For blueprint public-and-private-dns. Change-Id: I9f383b322e85d99783f9ce93bdfc4e0d3d94e2ed
* | | | | | | Merge "Tweak api-paste.ini to prepare for a devstack change"Jenkins2012-01-241-1/+1
|\ \ \ \ \ \ \ | |/ / / / / / |/| | | | | |
| * | | | | | Tweak api-paste.ini to prepare for a devstack changeDean Troyer2012-01-241-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a follow-on to https://review.openstack.org/3135 that changes the Keystone middleware. Devstack's https://review.openstack.org/3333 requires this change to work properly. Change-Id: If439cd5c27be2026b9c1db1747acb01b893a60b4
* | | | | | | Merge "Adds a bandwidth filter DB call."Jenkins2012-01-242-0/+45
|\ \ \ \ \ \ \
| * | | | | | | Adds a bandwidth filter DB call.Josh Kearney2012-01-242-0/+45
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I7721bae1af900c215552f547e125c2b1e60b271e
* | | | | | | | Merge "KVM and XEN Disk Management Parity"Jenkins2012-01-2443-192/+807
|\ \ \ \ \ \ \ \ | |/ / / / / / / |/| | | | | | |
| * | | | | | | KVM and XEN Disk Management ParityJohannes Erdfelt2012-01-2443-192/+807
| |/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Implements blueprint disk-configuration-parity This change splits local_gb into root_gb and ephemeral_gb. libvirt interpreted local_gb as what ephemeral_gb is now, whereas XenAPI interpreted local_gb as what root_gb is now. Change-Id: I496600991bac1e990326d4ded1607fee08209d68