Commit Graph

225 Commits

Author SHA1 Message Date
Todd Willey 40de3b9ffb Uses paste.deploy to make application running configurable. This includes the ability to swap out middlewares, define new endpoints, and generally move away from having code to build wsgi routers and middleware chains into a configurable, extensible method for running wsgi servers. 2011-01-03 19:54:39 +00:00
Todd Willey 5b0450d5a1 Clean up how we determine IP to bind to. 2010-12-30 01:19:38 -05:00
Todd Willey 903b053f7e i18n 2010-12-29 17:15:50 -05:00
Todd Willey 66a074cc74 Pep-8 cleanup. 2010-12-29 17:08:42 -05:00
Todd Willey f22e555324 Merge trunk. 2010-12-28 15:11:41 -05:00
Todd Willey ca5c95726b Merge trunk. 2010-12-27 19:10:26 -05:00
Eric Day 5324961f55 Merged trunk and resolved conflicts. 2010-12-23 10:31:46 -08:00
Armando Migliaccio 2467828805 merge trunk, fixed unittests, added i18n strings, cleanups etc etc. 2010-12-23 03:35:41 +00:00
Armando Migliaccio 497734c734 first merge after i18n 2010-12-23 02:09:50 +00:00
Todd Willey 729468d0be Burnin support by specifying a specific host via availability_zone for running
instances and volumes on.
2010-12-21 19:20:28 -05:00
Todd Willey c364724a0d Use paste.deploy for running the api server. 2010-12-21 01:41:28 -05:00
Eric Day b1d4579404 Fixed network test (thanks Vish!) and fixed run_tests.sh. 2010-12-16 17:29:26 -08:00
Vishvananda Ishaya 26ebccc8d9 merged trunk, fixed conflicts and tests 2010-12-16 22:52:08 +00:00
termie e306d236e3 pep8 fixes for bin 2010-12-16 12:45:06 -08:00
termie 40dd925070 merged from upstream 2010-12-15 11:02:33 -08:00
termie a2a8406b5d updates per review 2010-12-14 16:05:39 -08:00
jaypipes@gmail.com 797e3f8a1c For some reason, I forgot to commit the other endpoints... 2010-12-14 18:22:03 -05:00
jaypipes@gmail.com a6645d8a43 Initial i18n commit for endpoints. All endpoints must install
gettext, which injects the _ function into the builtins.
2010-12-11 15:10:24 -05:00
Andy Smith 4d06429290 add back utils.default_flagflie 2010-12-09 16:45:51 -08:00
Andy Smith a1640f3528 formatting and naming cleanup 2010-12-09 16:05:13 -08:00
Andy Smith b3f5aba0c4 remove service and rename service_eventlet to service 2010-12-09 15:25:14 -08:00
Andy Smith 00f329d479 make nova binaries use eventlet 2010-12-09 14:36:23 -08:00
Andy Smith 0324b6609f merged upstream changes 2010-12-08 12:59:22 -08:00
Soren Hansen 1e050bb4a8 Add a helpful error message to nova-manage in case of NoMoreNetworks.
This is one of the most common problems people have, and the solution
is not currently easily discoverable. This should address that.
2010-12-02 15:18:45 +01:00
Michael Gundlach 6e6b5325bf Removed a blank line. 2010-12-01 11:43:20 -06:00
Michael Gundlach 11dddd7ca4 Move default_flagfile() call to where it will be parsed in time to load the flagfile 2010-12-01 10:44:51 -06:00
Vishvananda Ishaya 6d472828a0 merged trunk 2010-11-29 21:19:31 +00:00
Vishvananda Ishaya f74094cd30 don't error on edge case where vpn has been launched but fails to get a network 2010-11-24 21:40:41 +00:00
Vishvananda Ishaya a7a24e2ac5 add vpn ping and optimize vpn list 2010-11-23 21:48:32 +00:00
Soren Hansen 9819273851 Unify the location of the default flagfile.
Not all workers called utils.default_flagfile, and nova-manage
explicitly said to use the one in /etc/nova/nova-manage.conf.

This made development awkward since everything but nova-manage would use
defaults for everything, but nova-manage would use whatever config was
in /etc/nova/nova-manage.conf which was likely put there by a package of
some sort.
2010-11-23 11:45:56 +01:00
Vishvananda Ishaya e59e7e9c3a remove extra line and ref. to LOG that doesn't exist 2010-11-17 02:33:09 +00:00
Vishvananda Ishaya f127d85d77 Per-project vpns, certificates, and revocation 2010-11-06 00:02:36 +00:00
Eric Day 60c82177da Fix for bug#613264, allowing hosts to be specified for nova-api and objectstore listeners. 2010-11-03 12:38:15 -07:00
Eric Day 2e2dce7ebf Added support for OpenStack and EC2 APIs to run on different ports. 2010-11-02 11:28:14 -07:00
Andy Smith 2337fab097 part way through porting the codebase off of twisted
this provides a very basic eventlet-based service replacement for the
twistd-based services, a replacement for task.LoopingCall

also adds nova-combined with the goal of running a single service when
doing local testing and dev
2010-10-25 03:45:19 +09:00
Eric Day e012a2b737 PEP8 and pylint cleanup. There should be no functional changes here, just style changes to get violations down. 2010-10-21 11:49:51 -07:00
Vishvananda Ishaya 8e10a0ee1b update leases on old leases as well 2010-10-18 12:46:32 -07:00
Vishvananda Ishaya 54b5c7161b Adds a simple nova-manage command called scrub to deallocate the network and remove security groups for a projeect. 2010-10-16 19:48:57 +00:00
Vishvananda Ishaya cbdba97b59 Fixes deprecated use of context in nova-manage network create. 2010-10-15 22:13:44 +00:00
Soren Hansen d4d8a53003 Fix some unit tests:
* One is a race due to the polling nature of rpc in eventlet based unit tests.
 * The other is a more real problem. It was caused by datastore.py being removed. It wasn't caught earlier because the .pyc file was still around on the tarmac box.
2010-10-15 20:23:59 +00:00
Soren Hansen 203628e74a Perform a redisectomy on bin/nova-dhcpbridge. 2010-10-15 21:46:29 +02:00
Vishvananda Ishaya 6e7067f435 use context for create_networks 2010-10-15 10:08:49 -07:00
Vishvananda Ishaya 951f4f2f8b get flags for nova-manage and fix a couple more deprecations 2010-10-14 16:44:58 -07:00
Vishvananda Ishaya 0b0d55c6cb call stuff project_id instead of project 2010-10-14 00:43:19 -07:00
Vishvananda Ishaya af9910d935 fix context in bin files 2010-10-13 23:44:04 -07:00
Vishvananda Ishaya af2639ae4c add scrub command to clean up networks and sec groups 2010-10-13 23:38:15 -07:00
Vishvananda Ishaya 3f438d0c25 merged trunk 2010-10-13 21:42:10 -07:00
Vishvananda Ishaya dbbdebbcd1 merged trunk 2010-10-12 19:00:34 -07:00
Ewan Mellor 70b8321347 Catch exception.NotFound when getting project VPN data. 2010-10-12 14:23:24 +00:00
Ewan Mellor 3301a3de3d Add a context of None to the call to db.instance_get_all. 2010-10-04 18:14:33 +00:00