summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | | Merge "Fix Bug #891718"Jenkins2011-11-282-2/+8
|\ \ \ \ \ | |_|_|_|/ |/| | | |
| * | | | Fix Bug #891718Likitha Shetty2011-11-282-2/+8
| | | | | | | | | | | | | | | | | | | | Change-Id: I0f458b4dd8996e1fe9fc22f48edd36493515980e
* | | | | Merge "Bug #897054: stack crashes with AttributeError on e.reason if the ↵Jenkins2011-11-281-3/+3
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | server returns an error"
| * | | | | Bug #897054: stack crashes with AttributeError on e.reason if the server ↵Ewan Mellor2011-11-271-3/+3
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | returns an error Swap the URLError and HTTPError exception handlers. HTTPError is a subclass of URLError, so the HTTPError handler wasn't being reached. Change-Id: Iec86d2b345dbd37858af888bbd54a74884025eda
* | | | | Merge "Bug #897091: "nova actions" fails with HTTP 400 / TypeError if a ↵Jenkins2011-11-282-5/+36
|\ \ \ \ \ | |_|_|_|/ |/| | | | | | | | | server action has been performed"
| * | | | Bug #897091: "nova actions" fails with HTTP 400 / TypeError if a server ↵Ewan Mellor2011-11-272-5/+36
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | action has been performed Fix code in Controller.action that was overwriting the definition of the actions method with a dictionary. This meant that 'nova actions' would fail if 'nova reboot' had previously been called. Added two tests, one for the actions call in general, and one for this failure mode specifically. Change-Id: I695bb5c4dcfba96a5aba54125a8f3163e1a6a193
* | | | Merge "New docs: unit tests, Launchpad, Gerrit, Jenkins"Jenkins2011-11-287-11/+282
|\ \ \ \
| * | | | New docs: unit tests, Launchpad, Gerrit, JenkinsLorin Hochstein2011-11-267-11/+282
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Documented how to run unit tests Added docs about what's on Launchpad Added docs on Gerrit with pointers to wiki. Added docs on Jenkins: how to access, what it does Clarified that running unit tests doesn't mean you can fully run OpenStack. Change-Id: I33fa9d2f271631a1a9aceaa5d4fd465198bf51d4
* | | | | Merge "Use instance uuids for consoles and diagnostics."Jenkins2011-11-284-40/+42
|\ \ \ \ \
| * | | | | Use instance uuids for consoles and diagnostics.Mark Washenberger2011-11-284-40/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Related to blueprint internal-uuids. Change-Id: I84735c177592b669591d4409ce35138bf7a3c796
* | | | | | Fixes bug 888649Ollie Leahy2011-11-283-1/+30
|/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change exception.VolumeIsBusy to derive from NovaException instead of Error, so that an 'unexpected keyword' exception is not thrown when the exception is raised with keyword parameters. Add unit test to confirm that the 'unexpected keyword' exception is not thrown when the exception is raised by nova.volume.driver.VolumeDriver Responded to reviewer observations, fix pep8 errors in tset_volume.py, added email address to Authors file. Change-Id: I15464cb0cf72a2c71f430e4c8c5c2b27cd4e2ef9
* | | | | Merge "Refactor a few things inside the xenapi unit tests."Jenkins2011-11-282-40/+55
|\ \ \ \ \ | |_|/ / / |/| | | |
| * | | | Refactor a few things inside the xenapi unit tests.Ewan Mellor2011-11-262-40/+55
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There were a couple of places where basically the same code was being used to create a simulated VDI record -- these have been brought together into _make_fake_vdi. fake_fetch_image was stubbing out parse_xmlrpc_value, which looks like it was a workaround for the fact that the task result wasn't being populated properly. I've fixed the latter, and removed the former. This moved the JSON handling into xenapi.fake. There were a couple of implementations of host_call_plugin, which contained a lot of duplicated code. In particular, they both made a simulated VDI record, even when the plugin function being called didn't require that. I have brought the two implementations together into fake.SessionBase, with overrides in the subclasses for those things that are specific to a given test. I have also made the baseclass strict about flagging unsimulated plugin calls, and added explicit handling for agent.version, and a couple of methods from glance and migration. Change-Id: Idc3a872870ae15165747a04ecd1b48e889bd90fd
* | | | Merge "rescue/unrescue in compute manager to use uuids"Jenkins2011-11-283-28/+57
|\ \ \ \
| * | | | rescue/unrescue in compute manager to use uuidsAlex Meade2011-11-233-28/+57
| | |/ / | |/| | | | | | | | | | | | | | | | | | Related to blueprint internal-uuids. Change-Id: I9e2861a463cdf42c8abcc7a408699fdcfdc62ea2
* | | | Merge "Fix for bug 894431"Jenkins2011-11-281-1/+1
|\ \ \ \ | |_|/ / |/| | |
| * | | Fix for bug 894431Brad Hall2011-11-241-1/+1
| |/ / | | | | | | | | | | | | | | | Make sure we set the correct interface id Change-Id: I427284182cc0a5a456b43b777faba0a74f3816e7
* | | Merge "Updating set_admin_password in compute.api and compute.manager to use ↵Jenkins2011-11-253-8/+12
|\ \ \ | | | | | | | | | | | | instance uuids instead of instance ids. Blueprint internal-uuids"
| * | | Updating set_admin_password in compute.api and compute.manager to use instanceNaveed Massjouni2011-11-233-8/+12
| |/ / | | | | | | | | | | | | | | | | | | uuids instead of instance ids. Blueprint internal-uuids Change-Id: I4c06df9a7148f5223b2925272201c1bc67e4811d
* | | Merge "Updated development environment docs."Jenkins2011-11-251-46/+86
|\ \ \
| * | | Updated development environment docs.Lorin Hochstein2011-11-221-46/+86
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | General editing of the page on how to set up a development environment, including: - Documented which packages you need to install on Fedora-based systems in order to run a development environment. - Documented prereqs for setting up on Mac OS X - Reorganized some sections - Word wrapped text to 78 columns - Removed steps to install pep8/pylint, this is now done automatically. - MacOSX -> Mac OS X Also, some minor edits: Change-Id: I6f6181b3f3332fec93bc55897c7b9bdc50926908
* | | | Fix trivial fourth quote in docstring.Ewan Mellor2011-11-241-1/+1
| |/ / |/| | | | | | | | Change-Id: Id0b3c69ab15aed094410730fbbe1f01df7db97aa
* | | Merge "Call df with -k instead of -B1"Jenkins2011-11-231-4/+7
|\ \ \
| * | | Call df with -k instead of -B1Lorin Hochstein2011-11-221-4/+7
| |/ / | | | | | | | | | | | | | | | Fix bug 893840 Change-Id: Ibdb5fe364f3ce086ee198d90f3593f3852fe2c97
* | | Merge "Clean up compute api"Jenkins2011-11-231-27/+20
|\ \ \ | |/ / |/| |
| * | Clean up compute apiAlex Meade2011-11-221-27/+20
| | | | | | | | | | | | | | | | | | | | | Minor cleanup with unused variables and instance integer id's poisoning logging. Relates to blueprint internal-uuids Change-Id: Idd95997d0bb34ab2f5f21917bf7db2178b468079
* | | Merge "Use XMLDictSerializer for resource extensions."Jenkins2011-11-221-2/+5
|\ \ \
| * | | Use XMLDictSerializer for resource extensions.Kevin L. Mitchell2011-11-221-2/+5
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Patches around bug 852141 by using the XMLDictSerializer instead of the ExtensionsXMLSerializer for XML serialization of resource extensions. This will allow XML to be emitted, but does not correct the underlying problem: many existing resource extensions do not have defined XML serializers. (Additionally, existing serializers, including ExtensionsXMLSerializer, should be converted to templates.) Change-Id: If0fb0603920d04834368ed654f2a71d3e5300f7f
* | | Make fakelibvirt python2.6 compatibleSoren Hansen2011-11-221-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | Fix bug #893757. In Python 2.6 xml.etree.ElementTree.fromstring raises xml.parsers.expat.ExpatError instead of xml.etree.ElementTree.ParseError when faced with invalid xml. Adjust accordingly. Change-Id: I1e4ae532e001618bded2b60e554915e5d6f7e038
* | | Updating attach/detach in compute.api and compute.manager to useNaveed Massjouni2011-11-223-41/+65
| |/ |/| | | | | | | | | | | instance uuid instead of instance id. blueprint internal-uuids Change-Id: I34c21f601c84dac5b76253395ed58fec0df73229
* | Merge "Change compute API.update() to take object+params"Jenkins2011-11-223-28/+29
|\ \
| * | Change compute API.update() to take object+paramsBrian Lamar2011-11-223-28/+29
| |/ | | | | | | | | | | | | | | | | Update the nova.compute:API.update() takes an object id. Now it takes an instance object to help increase flexibility in the future. blueprint internal-uuids Change-Id: Icc37720af1656d03ea5265544815c340f4e6aff9
* / Extend test_virt_driver to also test libvirt driver.Soren Hansen2011-11-229-287/+1912
|/ | | | | | | | | | | | | | | | | | | To support this, I've added a fake libvirt implementation. It's supposed to expose an API and behaviour identical to that of libvirt itself except without actually running any VM's or setting up any firewall or anything, but still responding correctly when asked for a domain's XML, a list of defined domains, running domains, etc. I've also split out everything from libvirt.connection that is potentially destructive or otherwise undesirable to run during testing, and moved it to a new nova.virt.libvirt.utils. I added tests for those things separately as well as stub version of it for testing. I hope eventually to make it similar to fakelibvirt in style (e.g. keep track of files created and deleted and attempts to open a file that it doesn't know about, you'll get proper exceptions with proper errnos set and whatnot). Change-Id: Id90b260933e3443b4ffb3b29e4bc0cbc82c19ba6
* Merge "Revert "Fixes bug 757033""Jenkins2011-11-221-2/+4
|\
| * Revert "Fixes bug 757033"Vishvananda Ishaya2011-11-211-2/+4
| | | | | | | | | | | | This reverts commit 8a0370e4cf4b2004df63588c7a2daf5e676df43e. Change-Id: I8522eb0e84b7e811020dedc083f8e3c8478e0f8c
* | Merge "poll_rebooting_instances passes an instance now."Jenkins2011-11-221-1/+1
|\ \
| * | poll_rebooting_instances passes an instance now.Rick Harris2011-11-221-1/+1
| |/ | | | | | | | | | | Fixes bug #893456 Change-Id: Ifd54cfd42420e0717e57a36f85a55e92ef3abee8
* | Merge "Fixes bug 886263."Jenkins2011-11-221-1/+1
|\ \ | |/ |/|
| * Fixes bug 886263.Nachi Ueno2011-11-181-1/+1
| | | | | | | | | | | | IndexError: pop index out of range on replace_uuid_with_id Change-Id: I2f89bcc1675315c800e0d34bc09a268293a23caf
* | Merge "Put instances in ERROR state when scheduler fails."Jenkins2011-11-212-1/+32
|\ \
| * | Put instances in ERROR state when scheduler fails.Kevin L. Mitchell2011-11-212-1/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When the scheduler's selected driver method raises an exception, such as NoValidHost, any affected instance must be placed into the ERROR state. This is done by catching exceptions raised in _schedule() and, if 'instance_id' is present in kwargs, moving the identified instance to the ERROR state. This fixes bug 886289. Change-Id: I5c73549e073493701b86658569823b9bc161291d
* | | Merge "snapshot/backup in compute manager to use uuids"Jenkins2011-11-215-34/+40
|\ \ \
| * | | snapshot/backup in compute manager to use uuidsAlex Meade2011-11-185-34/+40
| | |/ | |/| | | | | | | | | | | | | | | | Related to blueprint internal-uuids. Changes shapshot in the computer manager to expect uuids instead of ids. Also updates some compute api fakes. Change-Id: I525754ea065c7df9dfe1d093e4c94c02bebf4c02
* | | Converted README to RST format.Lorin Hochstein2011-11-201-8/+6
| |/ |/| | | | | | | | | | | | | | | | | Converted the README to reStructuredText so that it will be automatically formatted when viewed on github. Removed reference to nova-pep8 Jenkins job since it doesn't seem to exist anymore. Change-Id: Id56ae53753e43852dcb9126bb989f9c0a8f223da
* | Merge "Workaround xenstore race conditions"Jenkins2011-11-181-7/+13
|\ \
| * | Workaround xenstore race conditionsMark Washenberger2011-11-181-7/+13
| | | | | | | | | | | | Change-Id: I17791a78c2008e1bdc41f4f658200808ee72629c
* | | Merge "Fixes bug 757033"Jenkins2011-11-181-4/+2
|\ \ \ | |/ / |/| |
| * | Fixes bug 757033Joe Gordon2011-11-171-4/+2
| |/ | | | | | | | | | | different CA path definitions Change-Id: I55bb9df1b4b4a0095c4d62215847b730976028ee
* | Merge "Converting tests to use v2"Jenkins2011-11-1838-628/+594
|\ \
| * | Converting tests to use v2Brian Waldon2011-11-1738-628/+594
| | | | | | | | | | | | | | | | | | | | | - Convert all OpenStack API tests to use v1.1 instead of v2 - Keeps v1.1 as an alternate endpoint, but it is functionally equivalent to v2 Change-Id: I9b6796dc4507c3d5c1432266daa5b5f1dcf540c3