2c75ad02c5a025e2262cd3cd6c9ab42cd34b585c
Commit Graph

3361 Commits

This Branch
This Branch
All Branches
Author SHA1 Message Date
Soren Hansen
2c75ad02c5 Exclude vcsversion.py from pep8 check. It's not compliant, but out of our control. 2011年01月20日 01:23:57 +01:00
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
2011年01月19日 22:46:31 +00:00
Soren Hansen
c25a105ead Return non-zero if either unit tests or pep8 fails. 2011年01月19日 22:44:02 +00:00
Soren Hansen
6e803acaf4 Eagerly load fixed_ip.network in instance_get_by_id. 2011年01月19日 22:38:57 +00:00
Soren Hansen
43a9cbf855 Add Rob Kost to Authors. 2011年01月19日 23:32:08 +01:00
Soren Hansen
96a7787874 Return non-zero if either unit tests or pep8 fails. 2011年01月19日 23:15:20 +01:00
Kost
ff9ec3576c Add paste and paste.deploy installation to nova.sh, needed for api server. 2011年01月19日 20:34:14 +00:00
Vishvananda Ishaya
1b6a78910a Fixes **params unpacking to ensure all kwargs are strings for compatibility with python 2.6.1 2011年01月19日 19:59:19 +00:00
Vishvananda Ishaya
beff00fbe9 make sure params have no unicode keys 2011年01月19日 11:20:56 -08:00
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.
2011年01月19日 18:50:14 +00:00
Soren Hansen
8d82852060 Eagerly load instance's fixed_ip.network attribute. 2011年01月19日 17:03:09 +01:00
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.
2011年01月19日 10:50:54 +01:00
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.
2011年01月19日 09:39:22 +00:00
Soren Hansen
c79e72b2a1 PEP-8 fixes 2011年01月19日 10:11:55 +01:00
Vishvananda Ishaya
604be356a0 Replace an old use of ec2_id with id in describe_addresses. 2011年01月19日 02:58:48 +00:00
Vishvananda Ishaya
ec5e44eb7b replace old ec2_id with proper id in describe_addresses 2011年01月18日 18:27:08 -08:00
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)
2011年01月19日 01:39:41 +00:00
Andy Smith
7f352a7233 move db sync into nosetests package-level fixtures so that the existing nosetests attempt in hudson will pass 2011年01月18日 17:32:54 -08:00
Andy Smith
e2f11223e7 add two more columns, set string lengths) 2011年01月18日 15:59:02 -08:00
Soren Hansen
3b874805e2 Enable the use_ipv6 flag in unit tests by default. 2011年01月18日 23:58:58 +00:00
Andy Smith
ac447a687d merge from upstream and fix small issues 2011年01月18日 15:51:13 -08:00
Soren Hansen
87cca15270 Enable the use_ipv6 flag in unit tests by default. 2011年01月19日 00:39:24 +01:00
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.
2011年01月19日 00:31:51 +01:00
Vishvananda Ishaya
b9c96efe7e This disables ipv6 by default. Most use cases will not need it on and it makes dependencies more complex. 2011年01月18日 23:14:03 +00:00
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.
2011年01月18日 23:09:14 +00:00
Andy Smith
453436bdbd merge from upstream to fix conflict 2011年01月18日 14:55:03 -08:00
Vishvananda Ishaya
7e6e3c3895 disable ipv6 by default 2011年01月18日 14:07:03 -08:00
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.
2011年01月18日 21:19:10 +00:00
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.
2011年01月18日 20:59:11 +00:00
Vishvananda Ishaya
6bef91e9fe fix test to respect xml changes 2011年01月18日 12:42:20 -08:00
Vishvananda Ishaya
ef9b60f4b8 merged trunk 2011年01月18日 12:42:06 -08:00
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. 2011年01月18日 19:54:27 +00:00
Kost
1862fe5ecd added paste pastedeploy to nova.sh 2011年01月18日 14:41:32 -05:00
Andy Smith
18773e2aa5 authors needed for test 2011年01月18日 11:34:29 -08:00
Todd Willey
be8b74ff02 Merge trunk. 2011年01月18日 14:30:26 -05:00
Andy Smith
d91229f7a3 revert live_migration branch 2011年01月18日 11:01:16 -08:00
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. 2011年01月18日 18:59:12 +00:00
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.
2011年01月18日 16:39:26 +00:00
Kei Masumoto
1dc38833c7 fixed pep8 error 2011年01月20日 01:14:23 +09:00
Kei Masumoto
6c7d7aa264 remove blank from Authors 2011年01月19日 23:38:52 +09:00
Kei Masumoto
4780df11fc .mailmap rewrite 2011年01月19日 23:35:02 +09:00
Kei Masumoto
e56376d2fc .mailmap updated 2011年01月19日 22:18:30 +09:00
Kei Masumoto
f935cf4c6e previous commit breaks volume.driver. fix it.. 2011年01月19日 09:46:43 +09:00
Kei Masumoto
8c92638f89 merged to trunk rev572 2011年01月19日 08:50:47 +09:00
Kei Masumoto
a0779f5df2 fixed based on reviewer's comment 2011年01月19日 08:49:17 +09:00
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 2011年01月18日 10:25:40 -05:00
785c5df3d1 Removes circular import issues from bin/stack and replaces utils.loads with json.loads. Fixes Bug#704424 2011年01月18日 10:24:20 -05:00
c9610db6c4 ComputeAPI -> compute.API in bin/nova-direct-api. Fixes LP#704422 2011年01月18日 08:48:50 -05:00
Todd Willey
11a10dc9a2 pep8 2011年01月18日 02:05:07 -05:00
Todd Willey
4243440af1 I might have gone overboard with documenting _members. 2011年01月18日 02:03:52 -05:00