summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | | | | | | | | | Fix typo in docstringJohannes Erdfelt2011-11-071-1/+1
|/ / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I0bc998d134f9c5fed23380f6b24650700f6cede5
* | / / / / / / / / / Merge "Fix to a documentation generation script."Jenkins2011-11-051-1/+1
|\| | | | | | | | | | | |/ / / / / / / / / |/| | | | | | | | |
| * | | | | | | | | Fix to a documentation generation script.Lorin Hochstein2011-10-271-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Filenames no longer have two dots in them source/api/nova..adminclient.rst -> source/api/nova.adminclient.rst Fixes bug 882889 Change-Id: I71132962fb934e35efbe956b25e68982a5a34ad1
* | | | | | | | | | Merge "Set nova-manage to executable Fixes LP885778"Jenkins2011-11-041-0/+0
|\ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | Set nova-manage to executableJason Kölker2011-11-031-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes LP885778 Change-Id: I0d78d91e4e93183848aa287007caa7027a751e65
* | | | | | | | | | | Merge "Log the exception when we get one."Jenkins2011-11-041-1/+2
|\ \ \ \ \ \ \ \ \ \ \ | |_|_|/ / / / / / / / |/| | | | | | | | | |
| * | | | | | | | | | Log the exception when we get one.Ewan Mellor2011-11-011-1/+2
| | |_|_|_|_|_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Iee478c8f300b608dd153e3400bd17866f52543c5
* | | | | | | | | | Allows non-admin users to use simple schedulerVishvananda Ishaya2011-11-032-7/+28
| |_|_|_|_|/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes bug 885955 Change-Id: I88be04cbc55e272162328a33656fc5d6e1831c32
* | | | | | | | | Merge "Don't update database before resize"Jenkins2011-11-042-0/+2
|\ \ \ \ \ \ \ \ \
| * | | | | | | | | Don't update database before resizeGabe Westmaas2011-11-032-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes bug lp885815 by ensuring the scheduler doesn't update the database with destination host. Compute manager now updates upon completion of resize. Change-Id: I3f9ac664c8807e8523802e2485d316a731190764
* | | | | | | | | | Merge "fix bug 816630"Jenkins2011-11-032-1/+12
|\ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | fix bug 816630Joe Gordon2011-11-032-1/+12
| |/ / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Off by one error fixed With test case Change-Id: I5060c0a59949d69d6f859a01e7cf5fa8e0227d8a
* | | | | | | | | | Merge "Gracefully handle Xen resize failure"Jenkins2011-11-034-5/+56
|\ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | Gracefully handle Xen resize failureBrian Waldon2011-11-034-5/+56
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes bug 885723 Change-Id: I8cd04a88f809f49141dc6aa5be7217811e0141e3
* | | | | | | | | | | Merge "Fixing immediate delete after boot on Libvirt"Jenkins2011-11-032-12/+24
|\ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / |/| | | | | | | | | |
| * | | | | | | | | | Fixing immediate delete after boot on LibvirtBrian Waldon2011-11-032-12/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Addresses bug 884858 Change-Id: Ice05193fce7963dd9742b072cdb4b11882032abe
* | | | | | | | | | | Merge "Adds documentation for Xen Storage Manager"Jenkins2011-11-032-0/+89
|\ \ \ \ \ \ \ \ \ \ \ | |_|/ / / / / / / / / |/| | | | | | | | | |
| * | | | | | | | | | Adds documentation for Xen Storage ManagerRenuka Apte2011-11-012-0/+89
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes bug 882212. Change-Id: Ic57e2b13aad3a7e73017ee49fe32740eb579da50
* | | | | | | | | | | Merge "Log original dropped exception when a new exception occurs"Jenkins2011-11-034-10/+18
|\ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | Log original dropped exception when a new exception occursJohannes Erdfelt2011-10-314-10/+18
| | |_|_|_|_|_|/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If a exception is caught while processing a previous exception, make sure to log it so it doesn't silently get discarded Change-Id: Ic887db9c2592229970737daf5dd9732b2258877b
* | | | | | | | | | | Merge "exception.KeypairNotFound usage correction"Jenkins2011-11-031-1/+1
|\ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | exception.KeypairNotFound usage correctionBrian Waldon2011-11-031-1/+1
| | |_|/ / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes bug 885462 Change-Id: I9f0df87a37395853e052b8300af777607ecbc5de
* | | | | | | | | | | Merge "Bug #884534: nova-ajax-console-proxy crashes on shutdown"Jenkins2011-11-031-1/+1
|\ \ \ \ \ \ \ \ \ \ \ | |_|_|_|_|/ / / / / / |/| | | | | | | | | |
| * | | | | | | | | | Bug #884534: nova-ajax-console-proxy crashes on shutdownEwan Mellor2011-10-311-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Close the correct connection, when shutting down. self is not defined in this context. Change-Id: I0dc84a1c7de468a381f5765ccba589acbc8173dd
* | | | | | | | | | | Merge "Enable admin access to EC2 API server"Jenkins2011-11-034-1/+23
|\ \ \ \ \ \ \ \ \ \ \ | |_|/ / / / / / / / / |/| | | | | | | | | |
| * | | | | | | | | | Enable admin access to EC2 API serverAhmad Hassan2011-10-074-1/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a flag which allows you to enable or disable EC2 admin api through nova flag. Is is similar to allow_admin_api for OS API. Fixes bug 869908. Change-Id: I0c786f7cd5f5c3470edc23f0b9b84e5dff1714e2
* | | | | | | | | | | Merge "Moves a-zone scheduling into simple scheduler"Jenkins2011-11-033-164/+93
|\ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | Moves a-zone scheduling into simple schedulerVishvananda Ishaya2011-10-203-164/+93
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * removes zone scheduler * adds logic to simple scheduler to handle availability zones * adds tests to verify availability zone is respected Change-Id: I69fd0d411d2e1b64914b073ae7a967a188f09d48
* | | | | | | | | | | | Merge "Speed up tests yet another 45 seconds"Jenkins2011-11-031-584/+436
|\ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | Speed up tests yet another 45 secondsJohannes Erdfelt2011-11-021-584/+436
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This changes the security groups extension tests to use the Controllers directly, bypassing the slow wsgi setup process. This is part 2 of this patch and contains the majority of the changes. The code required more changes than the other test suite speedups because of how the previous code was written and as a result, the diff is kind of long. As a bonus, there is a net removal of almost 150 lines. Change-Id: I7893cf16092ce58860607fd4ab2df10550fe3270
* | | | | | | | | | | | | Merge "Bug 884863: nova logs everything to syslog twice"Jenkins2011-11-031-2/+3
|\ \ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | | Bug 884863: nova logs everything to syslog twiceEwan Mellor2011-11-011-2/+3
| | |_|_|_|_|_|/ / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix double-registration of the syslog handler. NovaRootLogger.setup_from_flags is called twice from log.setup() -- once through NovaRootLogger.__init__ and once through reset(). setup_from_flags wasn't idempotent, so this resulted in the syslog handler being registered twice. Rather than fix the twisty-turny maze that is setup(), I've opted to make setup_from_flags idempotent in this regard, by always unregistering the syslog handler before doing anything else. Change-Id: I59ad61751e1a19d2cbb73dc1deea9c708d4c5032
* | | | | | | | | | | | | Merge "Xen Storage Manager Volume Driver"Jenkins2011-11-0314-138/+1188
|\ \ \ \ \ \ \ \ \ \ \ \ \ | | |_|_|_|_|_|/ / / / / / | |/| | | | | | | | | | |
| * | | | | | | | | | | | Xen Storage Manager Volume Driverrenukaapte2011-11-0114-138/+1188
| | |_|_|_|_|_|_|_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For details, please read the full specification here: http://wiki.openstack.org/xenapi-sm-volume-driver Change-Id: I17028a491d8ddee465bfa920907fe3bcaa911869
* | | | | | | | | | | | Add local storage of context for loggingVishvananda Ishaya2011-11-023-0/+44
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * adds nova/local.py:store for storing greenthread local data * saves a weak reference to the last context object created * uses the last context object if it exists for logging * Fixes bug 879582 Cc: stable-maintainers Change-Id: Ic373556ce197f2e8e7d23c807a65b12111db96eb
* | | | | | | | | | | | Reserve memory/disk for dom0/host OSChris Behrens2011-11-023-9/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Only when scheduling with distributed scheduler for now. Adds flags: flags.DEFINE_integer('reserved_host_disk_mb', 0, 'Amount of disk in MB to reserve for host/dom0') flags.DEFINE_integer('reserved_host_memory_mb', 512, 'Amount of memory in MB to reserve for host/dom0') Change-Id: Ib9b8a4deca241db399a8541ab21697ab08e29dd6
* | | | | | | | | | | | Merge "Use fat32 for Windows, linux-swap for Linux swap partitions."Jenkins2011-11-021-1/+7
|\ \ \ \ \ \ \ \ \ \ \ \ | |_|_|/ / / / / / / / / |/| | | | | | | | | | |
| * | | | | | | | | | | Use fat32 for Windows, linux-swap for Linux swap partitions.Josh Kearney2011-11-011-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I06d7c67290ffb5ba957306306c2838355c36946f
* | | | | | | | | | | | Merge "Updated rst docs to include threading model."Jenkins2011-11-022-0/+18
|\ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | Updated rst docs to include threading model.Lorin Hochstein2011-11-022-0/+18
| | |/ / / / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Id12cd6584dfd22fe32097cfddf0247c0cc115ac0
* | | | | | | | | | | | Merge "APIs should not wait on scheduler for builds in single zone deployment"Jenkins2011-11-027-40/+38
|\ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | APIs should not wait on scheduler for builds in single zone deploymentChris Behrens2011-11-027-40/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes bug 885349 We can short circuit waiting on the scheduler if we're in a single zone deployment and only building 1 instance. This patch checks for that case and creates the instance DB entry directly in the API (in compute/api) without the call to the scheduler. Change-Id: I98b27156167f057d11fbc56a9ff99d4e2ec423d3
* | | | | | | | | | | | | Merge changes Ib2849f64,I54e61637Jenkins2011-11-022-119/+35
|\ \ \ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * changes: Drop extra XML tests and remove _json suffix from names Fix empty group_id to be considered invalid
| * | | | | | | | | | | | Drop extra XML tests and remove _json suffix from namesJohannes Erdfelt2011-11-011-117/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is the first step in moving this part of the test suite to using Controllers directly, bypassing wsgi. After these patches get merged, tests should end up getting sped up by about 45 seconds. This is the first in a set of smaller merges that should hopefully make the original 1200 line patch easier to review. Change-Id: Ib2849f64220bf2efa333cd739bafdd241348a4a4
| * | | | | | | | | | | | Fix empty group_id to be considered invalidJohannes Erdfelt2011-11-012-2/+2
| | |_|/ / / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | And fix the test suite to actually try an empty group id correctly Change-Id: I54e61637b9b230d352e35b9b7964ab10c4eb9a25
* | | | | | | | | | | | Merge "Too much information is returned from POST /servers"Jenkins2011-11-026-55/+21
|\ \ \ \ \ \ \ \ \ \ \ \ | |_|/ / / / / / / / / / |/| | | | | | | | | | |
| * | | | | | | | | | | Too much information is returned from POST /serversBrian Lamar2011-10-316-55/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently we're returning a lot of information in the POST /servers response. This isn't according to spec and is misleading to other projects that might try and implement the OpenStack API specification. The example on docs.openstack.com for the v1.1 API says: "Note that when creating a server only the server ID, its links, and the admin password are guaranteed to be returned in the request. Additional attributes may be retrieved by performing subsequent GETs on the server." We're returning too much right now and this patch addresses that. Further patches should be submitted to refactor the 'view builder' concept as using keyword arguments like this patch does is not ideal and I recognize that. (Patch Set 2) Merged with master + conflict fix (Patch Set 3) Reverted non-nova-standard superclass call Change-Id: If246e51dbf84f1db3d2905694235692ab027859d
* | | | | | | | | | | | Merge "Fix KeyError when passed unknown format of time"Jenkins2011-11-011-1/+1
|\ \ \ \ \ \ \ \ \ \ \ \ | |_|/ / / / / / / / / / |/| | | | | | | | | | |
| * | | | | | | | | | | Fix KeyError when passed unknown format of timeJohannes Erdfelt2011-11-011-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes bug 883253 ISO_FORMATS should be iso_formats Change-Id: I3cd122176b72c84570d6b24315526540f8f860b9
* | | | | | | | | | | | Merge changes I15dd5a5e,I0641f2c4Jenkins2011-11-016-90/+140
|\ \ \ \ \ \ \ \ \ \ \ \ | |_|_|/ / / / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * changes: Support server uuids with security groups Support using server uuids when accessing consoles.