Commit Graph

213 Commits

Author SHA1 Message Date
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
Ewan Mellor a0498717e4 Bug #654034: nova-manage doesn't honour --verbose flag
Honour the --verbose flag by setting the logging level to DEBUG.
2010-10-03 13:17:20 +01:00
Ewan Mellor 4fa2258af9 Bug #654025: nova-manage project zip and nova-manage vpn list broken by change in DB semantics when networks are missing
Catch exception.NotFound when getting project VPN data.  This is in two places:
nova-manage as part of its vpn list command, and
auth.manager.AuthManager.get_credentials.

Also, document the behaviour of db.api.project_get_network.
2010-10-03 13:12:32 +01:00
Ewan Mellor 65e2bbc31a Bug #654023: nova-manage vpn commands broken, resulting in erroneous "Wrong number of arguments supplied" message
Add a context of None to the call to db.instance_get_all.  This is deprecated,
but it's what all the other calls in this file do, and it's better than
exploding, so it will do for now.
2010-10-03 12:41:07 +01:00
Vishvananda Ishaya 5e3da58648 Fix the deprecation warnings for passing no context.
Moved RequestContext out of nova.api, because it is used by everything

Context is passed through the queue.

Added some helper methods for converting to admin context.

Added a few more fields to request context.
2010-10-01 05:57:17 -07:00
Vishvananda Ishaya c9d2b8bcb3 Fixed flat network manager with network index gone.
Both managers use ips created through nova manage.

Use of project_get_network is minimized to make way for managers that
would prefer to use cluste or host based ips instead of project based ips.
2010-09-30 23:04:53 -07:00
Vishvananda Ishaya afb2923603 merged trunk 2010-09-30 20:35:09 -07:00
Todd Willey 724c15b658 Remove debuggish print statement. 2010-09-29 14:12:02 -04:00
Todd Willey d2a4901220 Merge Trunk 2010-09-28 23:23:41 -04:00
Vishvananda Ishaya 9b7fc3e305 Fixes reversed arguments in nova-manage project environment. 2010-09-29 03:23:09 +00:00
Vishvananda Ishaya 767db3693d Adds bpython support to nova-manage shell, because it is super sexy. 2010-09-29 01:58:14 +00:00
Devin Carlen e3102b6b9b Fixed tests 2010-09-28 18:43:36 -07:00
Devin Carlen 2327378a1e Removed str_id from FixedIp references 2010-09-28 18:38:19 -07:00