2c75ad02c5a025e2262cd3cd6c9ab42cd34b585c
3361 Commits
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
|
Soren Hansen
|
2c75ad02c5 | Exclude vcsversion.py from pep8 check. It's not compliant, but out of our control. | ||
| 97d9b426f8 |
Fixes for bugs:
* Bug #704422: nova-direct-api: AttributeError: 'module' object has no attribute 'ComputeAPI' * Bug #704424: bin/stack: AttributeError: port * Bug #704447: bin/stack: urllib2.HTTPError when issuing reflection request |
|||
|
Soren Hansen
|
c25a105ead | Return non-zero if either unit tests or pep8 fails. | ||
|
Soren Hansen
|
6e803acaf4 | Eagerly load fixed_ip.network in instance_get_by_id. | ||
|
Soren Hansen
|
43a9cbf855 | Add Rob Kost to Authors. | ||
|
Soren Hansen
|
96a7787874 | Return non-zero if either unit tests or pep8 fails. | ||
|
Kost
|
ff9ec3576c | Add paste and paste.deploy installation to nova.sh, needed for api server. | ||
|
Vishvananda Ishaya
|
1b6a78910a | Fixes **params unpacking to ensure all kwargs are strings for compatibility with python 2.6.1 | ||
|
Vishvananda Ishaya
|
beff00fbe9 | make sure params have no unicode keys | ||
|
Soren Hansen
|
f28b7aa6fc |
Refactor run_tests.sh to allow us to run an extra command after the tests.
Run pep8 after unit tests in run_tests.sh. Fix setup.py to be PEP-8 compliant. |
||
|
Soren Hansen
|
8d82852060 | Eagerly load instance's fixed_ip.network attribute. | ||
|
Soren Hansen
|
50ec058cc7 |
Refactor run_tests.sh to allow us to run an extra command after the tests.
Run pep8 after unit tests in run_tests.sh. Fix setup.py to be PEP-8 compliant. |
||
|
Soren Hansen
|
7d7fbf5dfd |
Add an apply_instance_filter method to NWFilter driver.
Adjust unit tests for both firewall drivers to actually exercise these code paths. |
||
|
Soren Hansen
|
c79e72b2a1 | PEP-8 fixes | ||
|
Vishvananda Ishaya
|
604be356a0 | Replace an old use of ec2_id with id in describe_addresses. | ||
|
Vishvananda Ishaya
|
ec5e44eb7b | replace old ec2_id with proper id in describe_addresses | ||
|
Andy Smith
|
4eed55b46c |
Allows moving from the Austin-style db to the Bexar-style.
Prevents the db from being created automatically when services run. Adds nova-manage db sync and nova manage db version to bring the db up-to-date and to check the current version. Must be run with the same privileges as the services who will access the database (or you need to chmod the db afterwards if sqlite) |
||
|
Andy Smith
|
7f352a7233 | move db sync into nosetests package-level fixtures so that the existing nosetests attempt in hudson will pass | ||
|
Andy Smith
|
e2f11223e7 | add two more columns, set string lengths) | ||
|
Soren Hansen
|
3b874805e2 | Enable the use_ipv6 flag in unit tests by default. | ||
|
Andy Smith
|
ac447a687d | merge from upstream and fix small issues | ||
|
Soren Hansen
|
87cca15270 | Enable the use_ipv6 flag in unit tests by default. | ||
|
Soren Hansen
|
b6ad755dcb |
Add an apply_instance_filter method to NWFilter driver.
Adjust unit tests for both firewall drivers to actually exercise these code paths. |
||
|
Vishvananda Ishaya
|
b9c96efe7e | This disables ipv6 by default. Most use cases will not need it on and it makes dependencies more complex. | ||
|
Andy Smith
|
943af386a9 |
The live_migration branch ( https://code.launchpad.net/~nttdata/nova/live-migration/+merge/44940 ) was not ready to be merged.
Outstanding issues: - many style violations, especially in docstrings (leading spaces, extra newlines) - no test coverage - unusual defaults in the database columns (-1?) - unusual naming "phy_resource" The database changes in particular should preclude the original from being merged until they are correct, and for a patch of this scope some tests are really necessary for the new functionality. The patch needs further review and should not be rushed in for bexar as it commits us to a variety of data model decisions that require more input. |
||
|
Andy Smith
|
453436bdbd | merge from upstream to fix conflict | ||
|
Vishvananda Ishaya
|
7e6e3c3895 | disable ipv6 by default | ||
|
Ewan Mellor
|
5b496ed35c |
Implement support for streaming images from Glance when using the XenAPI virtualization backend, as per the bexar-xenapi-support-for-glance blueprint.
Images may be streamed raw, or will be streamed into the right place to allow room for an MBR and partition table, if using non-raw images. PV vs HVM detection now occurs on the image, immediately after it has been streamed. External kernel / ramdisk are also supported in this mode. Unit test changes include a partial Glance simulator, which is stubbed in place of glance.client.Client. This allows us to pass through the VM spawn path with either glance or objectstore backends enabled; the unit tests now cover both. A dependency upon glance has been added to pip-requires, in order to pull the Glance client code into the venv. This includes minor fixes to nova.image.glance. This code is expected to be heavily reworked anyway with the image-service-use-glance-clients work. |
||
|
Vishvananda Ishaya
|
6421a47cc7 |
Works around the app-armor problem of requiring disks with backing files to be named appropriately by changing the name of our extra disks.
disk is fine, as is disk.local and disk.rescue. |
||
|
Vishvananda Ishaya
|
6bef91e9fe | fix test to respect xml changes | ||
|
Vishvananda Ishaya
|
ef9b60f4b8 | merged trunk | ||
|
Todd Willey
|
ea1674cf33 | Add refresh_security_group_* methods to nova/virt/fake.py, as FakeConnection is the reference for documentation and method signatures that should be implemented by virt connection drivers. | ||
|
Kost
|
1862fe5ecd | added paste pastedeploy to nova.sh | ||
|
Andy Smith
|
18773e2aa5 | authors needed for test | ||
|
Todd Willey
|
be8b74ff02 | Merge trunk. | ||
|
Andy Smith
|
d91229f7a3 | revert live_migration branch | ||
|
Vishvananda Ishaya
|
4577c11923 | This removes the need for the custom udev rule for iscsi devices. It instead attaches the device based on /dev/disk/by-path/ which should make the setup of nova-volume a little easier. | ||
|
Kei Masumoto
|
3fa93adb20 |
Risk of Regression: This patch don’t modify existing functionlities, but I have added some.
1. nova.db.service.sqlalchemy.model.Serivce (adding a column to database) 2. nova.service ( nova-compute needes to insert information defined by 1 above) So, db migration is necessary for existing user, but just adding columns. |
||
|
Kei Masumoto
|
1dc38833c7 | fixed pep8 error | ||
|
Kei Masumoto
|
6c7d7aa264 | remove blank from Authors | ||
|
Kei Masumoto
|
4780df11fc | .mailmap rewrite | ||
|
Kei Masumoto
|
e56376d2fc | .mailmap updated | ||
|
Kei Masumoto
|
f935cf4c6e | previous commit breaks volume.driver. fix it.. | ||
|
Kei Masumoto
|
8c92638f89 | merged to trunk rev572 | ||
|
Kei Masumoto
|
a0779f5df2 | fixed based on reviewer's comment | ||
| 2f4e7b732d | Docstrings aren't guaranteed to exist, so split() can't automatically be called on a method without first checking for the method docstring's existence. Fixes Bug #704447 | |||
| 785c5df3d1 | Removes circular import issues from bin/stack and replaces utils.loads with json.loads. Fixes Bug#704424 | |||
| c9610db6c4 | ComputeAPI -> compute.API in bin/nova-direct-api. Fixes LP#704422 | |||
|
Todd Willey
|
11a10dc9a2 | pep8 | ||
|
Todd Willey
|
4243440af1 | I might have gone overboard with documenting _members. |