summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | | | | | | | Fix bad test cases in smoketest.Hengqing Hu2012-01-101-11/+15
|/ / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes bug #912650. Fixes the following test cases in smoketests/test_netadmin.py:SecurityGroupTests: 'test_004_can_access_metadata_over_public_ip' 'test_005_validate_metadata' 'test_999_tearDown' Change-Id: Iefa8034a364e13243d06200e8af1840df896baf3
* | | | | | | | | Merge "Adds simple policy engine support"Jenkins2012-01-106-0/+436
|\ \ \ \ \ \ \ \ \ | |_|_|_|_|_|/ / / |/| | | | | | | |
| * | | | | | | | Adds simple policy engine supportVishvananda Ishaya2012-01-096-0/+436
| |/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * First step of blueprint interim-nova-authz-service * Common policy engine that can be used by other projects * Nova specific policy engine that uses common policy * Policy file can be generated by external tool (dashboard) * Ultimately, policies will be requested from a service Change-Id: Icaf934037e790bde6ce2346746ce38b11134423b
* / / / / / / / Bug 885267: Fix GET /servers during instance deleteDean Troyer2012-01-091-3/+10
|/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There is a period during an instance delete when GET /servers will fail occasionally. The race condition is during GET /servers between the initial get_all() and when the extended_status extension re-retrieves individual servers via compute.api.routing_get(). We log a warning and remove the offending server from the list as it no longer exists. Change-Id: Id75723a21c0d6dc20f446560847e5b8522ec3262
* | | | | | | Refactors utils.load_cached_fileVishvananda Ishaya2012-01-092-14/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * adds a boolean return representing whether file was reloaded * ensures file is actually closed by using a context manager Change-Id: I4d998c34caa6dde65aaf780c188778477b7f6753
* | | | | | | Serialization, deserialization, and response code decorators.Kevin L. Mitchell2012-01-0961-1980/+2277
| |/ / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Sets up decorators for linking serializers, deserializers, and response codes directly to implementation methods, rather than using parallel object methods. In addition, methods are now able to return an instance of a ResponseObject class, binding alternative serializers; this is particularly useful for actions, as it enables the action processing method to return different objects for different actual actions. Change-Id: I8815590f29a935216dc766ce720ded638ebca0d0
* | | | | | Merge "preload cache table and keep it up to date"Jenkins2012-01-0610-42/+447
|\ \ \ \ \ \
| * | | | | | preload cache table and keep it up to dateTrey Morris2012-01-0510-42/+447
| |/ / / / / | | | | | | | | | | | | | | | | | | Change-Id: Ic27c45f209610a5d369cfb9f09bcabd4264cd2b9
* | | / / / Workaround bug 852095 without importing moxVishvananda Ishaya2012-01-061-5/+6
| |_|/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | * Fixes bug 912828 Change-Id: Iade4b0aca1d1f28ce46ed25d0b97c08d152554bd
* | | | | Bug #912858: test_authors_up_to_date does not deal with capitalized names ↵Armando Migliaccio2012-01-062-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | properly ensure we are not fooled by capitalized names, by turning emails and names into lower cases before the matching. Change-Id: Idbb8535174c0f1451ad6fd0628f35508f0f1e466
* | | | | Adds workaround check for mox in to_primitiveVishvananda Ishaya2012-01-061-0/+7
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | * Works around bug 852095 * Can be removed if a consistent mox 5.4 is released Change-Id: I3e57b60886a94c5e7a337b73716759c9a6838e04
* | | | Ensure tests are python 2.6 compatible.Brian Lamar2012-01-051-4/+8
| | | | | | | | | | | | | | | | Change-Id: I1c6b7a0847586a694b5af21ed6c4a942f3aab209
* | | | Merge "Return 409s instead of 500s when deleting certain instances."Jenkins2012-01-052-0/+38
|\ \ \ \
| * | | | Return 409s instead of 500s when deleting certain instances.Brian Lamar2012-01-052-0/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes bug 911879 Change-Id: Ib2ae875ec2d1eeea21d15a756b96c27047b12bee
* | | | | Merge "Remove small unneeded code from impl_kombu"Jenkins2012-01-051-3/+0
|\ \ \ \ \ | |/ / / / |/| | | |
| * | | | Remove small unneeded code from impl_kombuChris Behrens2012-01-041-3/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If a publish fails, we reconnect to rabbit. In this case, we try to declare the publisher exchange... and loop around and do the same thing again after grabbing a new class instance. This removes the extra code. Change-Id: I99089ccfb93bb860d5221c267f35a16c1faf3707
* | | | | Merge "Update HACKING.rst."Jenkins2012-01-051-4/+1
|\ \ \ \ \
| * | | | | Update HACKING.rst.Kevin L. Mitchell2012-01-051-4/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Removes the requirement for a trailing blank line in multiline docstrings, just before the closing '"""'. This blank line is not needed anymore, as the editors it was recommended for no longer have the problem that this blank line was working around. Change-Id: I4e532231f1d99e9f5048cbfcc791a4328fb1e8f5
* | | | | | Tell users what is about to be installed via sudoDaniel P. Berrange2012-01-052-0/+3
|/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Rather than just giving users the sudo password prompt immediately, actually tell them what is about to be installed, so they know whether it is reasonable to be entering their password. Change-Id: Ic0c1de812be119384753895531a008075b13494e Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
* / / / / Fix LP912092Jason Kölker2012-01-041-5/+5
|/ / / / | | | | | | | | | | | | | | | | | | | | self.address is reserved in nose. It should not be overridden with a string. Change-Id: I02f79781baebac339ec9f15c7ce7e318b5aaa50f
* | | | Merge "Set VLAN MTU size when creating the vlan interface."Jenkins2012-01-041-0/+7
|\ \ \ \
| * | | | Set VLAN MTU size when creating the vlan interface.Todd Willey2012-01-041-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When empty (the default) nova will not set any MTU parameters. You can specify a number as in --network_device_mtu=9000 to enable jumbo frames, for example. Updates: * change flag name * set mtu in ovs driver * empty string means don't fiddle with the interface mtu * Use None instead of '' for flag default Change-Id: Ib4bccf7f96a836af18b4ea7e164b26f3c9104482
* | | | | Merge "Remove install_requires processing."Jenkins2012-01-041-8/+0
|\ \ \ \ \
| * | | | | Remove install_requires processing.Monty Taylor2012-01-041-8/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Loading install_requires with the contents of pip-requires isn't getting us any real beneift and is causing issues. a) It can conflict with installing nova into an environment where deps have been installed from packages (devstack) b) It breaks the ability to use -e git urls in pip-requires which we want to start using for python-novaclient and python-keystoneclient c) It causes spurious network traffic when we're trying to test things. At the same time, since we are not expecting anyone to install nova from setup.py for production, the normal benefit of the feature is not needed. Change-Id: I402f975c652dc1c2b54b0c362b8abbb6886f8844
* | | | | | Add missing space between XML attributesJohannes Erdfelt2012-01-041-1/+1
| |_|_|_|/ |/| | | | | | | | | | | | | | Change-Id: I57be65a6d858acfea64ca4de74bfc0375ef00d1d
* | | | | Merge "Fix except format to match HACKING"Jenkins2012-01-041-1/+1
|\ \ \ \ \
| * | | | | Fix except format to match HACKINGJoe Gordon2012-01-041-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Iecfcde15db9f1d4fa2f6bb6f1c40253440b9e758
* | | | | | Merge "Fix typo in nova/rootwrap/compute.py. Fixes LP: #911880"Jenkins2012-01-041-3/+3
|\ \ \ \ \ \ | |/ / / / / |/| | | | |
| * | | | | Fix typo in nova/rootwrap/compute.py. Fixes LP: #911880Chuck Short2012-01-041-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I675c768a0d6ad3d289a888b44e52a8f9789f4a7e Signed-off-by: Chuck Short <chuck.short@canonical.com>
* | | | | | Merge "Add instance_name field to console detail command which will give the ↵Jenkins2012-01-042-1/+3
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | caller the necessary information to actually connect."
| * | | | | | Add instance_name field to console detail commandSandy Walsh2012-01-042-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | which will give the caller the necessary information to actually connect. Change-Id: Id4774afb28e4d8595ea118867b97c61e5e73b9a5
* | | | | | | Merge "Fix spelling of variable"Jenkins2012-01-041-2/+2
|\ \ \ \ \ \ \ | |_|_|_|/ / / |/| | | | | |
| * | | | | | Fix spelling of variableJohannes Erdfelt2012-01-041-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It appears the intent was disk_requirement_gb instead of _bg Change-Id: Ibea2afd9f7489e9fefe02ecd1cdb735a1221e222
* | | | | | | Merge "Support local target for Solaris, use 'safe' command-line processing"Jenkins2012-01-041-48/+99
|\ \ \ \ \ \ \ | |_|/ / / / / |/| | | | | |
| * | | | | | Support local target for Solaris, use 'safe' command-line processingJustin Santa Barbara2011-12-261-48/+99
| | |_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Solaris volumes were created over SSH; we could also be running the volume service locally, in which case we don't want to use SSH, but should call utils.execute instead. Split commands appropriately. Change-Id: I79dd0bdf527baf73a167ff210285a0ab65d0de4b
* | | | | | Merge "Call mkfs with the correct order of arguments"Jenkins2012-01-041-1/+1
|\ \ \ \ \ \ | |_|/ / / / |/| | | | |
| * | | | | Call mkfs with the correct order of argumentsJohannes Erdfelt2012-01-041-1/+1
| | |/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | nova.virt.libvirt.utils:mkfs() takes fstype and partition arguments, but _create_swap() calls it with the order reversed Change-Id: Ib963425d71ce84889760f919d3b435a3d7d17eb0
* | | | | Merge "Send event notifications for suspend and resume."Jenkins2012-01-041-0/+8
|\ \ \ \ \ | |_|_|/ / |/| | | |
| * | | | Send event notifications for suspend and resume.Josh Kearney2012-01-041-0/+8
| | | | | | | | | | | | | | | | | | | | Change-Id: I27b009f33d6d276ba2d30b6c7ca5da9fe5552d54
* | | | | Merge "Make quantum_use_dhcp falsifiable"Jenkins2012-01-041-1/+1
|\ \ \ \ \
| * | | | | Make quantum_use_dhcp falsifiableAaron Lee2012-01-041-1/+1
| | |/ / / | |/| | | | | | | | | | | | | Change-Id: I2832cb7c9c8b245c674a1807e0e5a17f68cdb0d5
* | | | | Merge "Fixing name not defined"Jenkins2012-01-041-1/+1
|\ \ \ \ \ | |_|/ / / |/| | | |
| * | | | Fixing name not definedAaron Lee2012-01-041-1/+1
| |/ / / | | | | | | | | | | | | Change-Id: I1ee587c9f239ef0d627bc22ab3846b0c5c46b0d1
* / / / Fix bug 901899François Charlier2012-01-041-0/+2
|/ / / | | | | | | | | | | | | | | | | | | If project_id is given when a network is created, it has to be saved in the database. Change-Id: I59a05f55202484cfe7910e159d80cd4b5f51dffa
* | | PEP8 type comparison cleanuplzyeval2012-01-0419-38/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes bug #910295 The None, True, and False values are singletons. All variable *comparisons* to singletons should use 'is' or 'is not'. All variable *evaluations* to boolean should use 'if' or 'if not'. "== None", "== True", "== False", and "!= None" comparisons in sqlalchemy's where(), or_(), filter(), and_(), and select() functions should not be changed. Incorrect comparisons or evaluations in comments were not changed. Change-Id: I087f0883bf115b5fe714ccfda86a794b9b2a87f7
* | | Add cloudpipe/vpn api to openstack api contrib.Todd Willey2012-01-033-0/+421
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | blueprint cloudpipe-extension Updates: 2011-12-19 #1: * Remove unused imports * return uuid as the instance_id * change state with bad config to "invalid" * whitespace cleanup * change top-level key on index to "cloudpipes" 2011-12-22 #1: * add serializer * change post body to be cloudpipe/project_id * change admin api method 2011-12-23 #1: * Change extension namespace 2011-12-23 #2: * Fix failing extension test 2011-12-23 #3: * Add xtoddx@gmail.com to .mailmap 2011-12-27 #1: * pep-8 2012-01-02 #1: * fix test stubs to not cause later test failures 2012-01-03 #1: * fix test self.app to not traverse middlewares * don't use not in for a single item list Change-Id: I5710f8cea710fa09e5405c30d565144a7c10e112
* | | Merge "Every string does not need to be internationalized"Jenkins2012-01-031-9/+9
|\ \ \
| * | | Every string does not need to be internationalizedJohannes Erdfelt2012-01-031-9/+9
| | | | | | | | | | | | | | | | Change-Id: I56ed4ec4e932ad705b554913fd6318bc16176653
* | | | Merge "Adds running_deleted_instance_reaper task."Jenkins2012-01-032-0/+101
|\ \ \ \ | |/ / / |/| | |
| * | | Adds running_deleted_instance_reaper task.Rick Harris2012-01-032-0/+101
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | This adds a periodic task to cleanup erroneously running instances. The impetus of the patch was a XenServer specific issue bug #911366, where deleted instances would remain running on the host machine. The patch however is hypervisor agnostic and is generally useful as a housekeeping task to make sure these 'zombied' instances are detected. Change-Id: Iddc6a88920a537a3a115f8b9bc0039ec0e24a194