| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| |\ \ \ \ \
| |_|_|_|/
|/| | | | |
|
| | | | | |
| | | | |
| | | | |
| | | | | |
Change-Id: I0f458b4dd8996e1fe9fc22f48edd36493515980e
|
| |\ \ \ \ \
| | | | | |
| | | | | |
| | | | | | |
server returns an error"
|
| | |/ / / /
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
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
|
| |\ \ \ \ \
| |_|_|_|/
|/| | | |
| | | | | |
server action has been performed"
|
| | |/ / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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
|
| |\ \ \ \ |
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
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
|
| |\ \ \ \ \ |
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Related to blueprint internal-uuids.
Change-Id: I84735c177592b669591d4409ce35138bf7a3c796
|
| |/ / / / /
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
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
|
| |\ \ \ \ \
| |_|/ / /
|/| | | | |
|
| | |/ / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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
|
| |\ \ \ \ |
|
| | | |/ /
| |/| |
| | | |
| | | |
| | | |
| | | | |
Related to blueprint internal-uuids.
Change-Id: I9e2861a463cdf42c8abcc7a408699fdcfdc62ea2
|
| |\ \ \ \
| |_|/ /
|/| | | |
|
| | |/ /
| | |
| | |
| | |
| | |
| | | |
Make sure we set the correct interface id
Change-Id: I427284182cc0a5a456b43b777faba0a74f3816e7
|
| |\ \ \
| | | |
| | | |
| | | | |
instance uuids instead of instance ids. Blueprint internal-uuids"
|
| | |/ /
| | |
| | |
| | |
| | |
| | |
| | | |
uuids instead of instance ids.
Blueprint internal-uuids
Change-Id: I4c06df9a7148f5223b2925272201c1bc67e4811d
|
| |\ \ \ |
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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
|
| | |/ /
|/| |
| | |
| | | |
Change-Id: Id0b3c69ab15aed094410730fbbe1f01df7db97aa
|
| |\ \ \ |
|
| | |/ /
| | |
| | |
| | |
| | |
| | | |
Fix bug 893840
Change-Id: Ibdb5fe364f3ce086ee198d90f3593f3852fe2c97
|
| |\ \ \
| |/ /
|/| | |
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | | |
Minor cleanup with unused variables and instance integer id's poisoning logging.
Relates to blueprint internal-uuids
Change-Id: Idd95997d0bb34ab2f5f21917bf7db2178b468079
|
| |\ \ \ |
|
| | | |/
| |/|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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
|
| | |/
|/|
| |
| |
| |
| |
| | |
instance uuid instead of instance id.
blueprint internal-uuids
Change-Id: I34c21f601c84dac5b76253395ed58fec0df73229
|
| |\ \ |
|
| | |/
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
| |/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |\ |
|
| | |
| |
| |
| |
| |
| | |
This reverts commit 8a0370e4cf4b2004df63588c7a2daf5e676df43e.
Change-Id: I8522eb0e84b7e811020dedc083f8e3c8478e0f8c
|
| |\ \ |
|
| | |/
| |
| |
| |
| |
| | |
Fixes bug #893456
Change-Id: Ifd54cfd42420e0717e57a36f85a55e92ef3abee8
|
| |\ \
| |/
|/| |
|
| | |
| |
| |
| |
| |
| | |
IndexError: pop index out of range on replace_uuid_with_id
Change-Id: I2f89bcc1675315c800e0d34bc09a268293a23caf
|
| |\ \ |
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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
|
| |\ \ \ |
|
| | | |/
| |/|
| | |
| | |
| | |
| | |
| | | |
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 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
|
| |\ \ |
|
| | | |
| | |
| | |
| | | |
Change-Id: I17791a78c2008e1bdc41f4f658200808ee72629c
|
| |\ \ \
| |/ /
|/| | |
|
| | |/
| |
| |
| |
| |
| | |
different CA path definitions
Change-Id: I55bb9df1b4b4a0095c4d62215847b730976028ee
|
| |\ \ |
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | | |
- 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
|