Commit Graph

732 Commits

Author SHA1 Message Date
Michael Gundlach f87fb14dcb See description of change... what's the difference between that message and this message again? 2010-08-17 17:33:50 +00:00
Michael Gundlach e8be36d7a7 Move eventlet-using class out of endpoint/__init__.py into its own submodule, so that twisted-related code using endpoint.[other stuff] wouldn't run eventlet and make unit tests throw crazy errors about eventlet 0.9.10 not playing nicely with twisted. 2010-08-17 13:23:20 -04:00
Michael Gundlach f92851ba8f Remove duplicate definition of flag 2010-08-17 13:03:38 -04:00
Michael Gundlach 8828722004 The file that I create automates this step in http://wiki.openstack.org/InstallationNova20100729 :
# is there an easier way to do this? automation? Relative paths?
echo "/path/to/bzr/branch" > /path/to/bzr/branch/.nova-venv/lib/python2.6/site-packages/nova.pth
2010-08-17 15:38:31 +00:00
Michael Gundlach 9878a6b8b4 Simpler installation, and, can run install_venv from anywhere instead of just from checkout root 2010-08-17 11:03:15 -04:00
andy de6576d289 Fixes quite a few style issues across the entire nova codebase bringing it much closer to the guide described in HACKING. 2010-08-17 11:53:30 +00:00
Vishvananda Ishaya b07a85167f Fixes issues with allocation and deallocation of fixed and elastic addresses. 2010-08-16 19:03:50 +00:00
Ewan Mellor adcde1a3d8 Added documentation for the nova.virt connection interface, a note about the need to chmod the objectstore script, and a reference for the XenAPI module. 2010-08-16 18:18:16 +00:00
Michael Gundlach f78a8936b1 All controller actions receive a 'req' parameter containing the webob Request. 2010-08-16 13:22:41 -04:00
Ewan Mellor 627356d9db improve compatibility with ec2 clients 2010-08-16 17:13:28 +00:00
Michael Gundlach 5c4a806c85 PEP8 and name corrections 2010-08-16 10:57:42 -04:00
andy d508418214 rather comprehensive style fixes 2010-08-16 14:16:21 +02:00
Soren Hansen c395dd793d Add new libvirt_type option "uml" for user-mode-linux.. This switches the libvirt URI to uml:///system and uses a different template for the libvirt xml. 2010-08-16 08:43:31 +00:00
Vishvananda Ishaya 1d2351f7bf Catches and logs exceptions for rpc calls and raises a RemoteError exception on the caller side. 2010-08-14 23:37:51 +00:00
Joel Moore joelbm24@gmail.com 2dc2c9dc71 Removes requirement of internet connectivity to run api server. 2010-08-14 22:42:49 +00:00
Joel Moore joelbm24@gmail.com 25f97fbe3a Fixed path to keys directory. 2010-08-14 22:28:05 +00:00
Ewan Mellor b50107ec73 Update cloud_unittest to match renamed internal function. 2010-08-14 23:23:03 +01:00
Vishvananda Ishaya 0a7121efbe Removes the workaround for syslog-ng of removing newlines. 2010-08-14 22:17:53 +00:00
Vishvananda Ishaya cecfc6a60d Fixes bug lp:616312 by reversing the order of args in nova-manage when it calls AuthManager.get_credentials. 2010-08-14 22:03:38 +00:00
Vishvananda Ishaya 517e887a80 merged trunk 2010-08-14 15:01:42 -07:00
Vishvananda Ishaya 24644fb298 Sets a hostname for instances that properly resolves and cleans up network classes 2010-08-14 21:52:51 +00:00
Vishvananda Ishaya 7f5c505028 merged fix-hostname and fixed conflict 2010-08-14 14:38:00 -07:00
Devin Carlen 39b592cbb3 Implemented admin client / admin api for fetching user roles. 2010-08-14 21:19:32 +00:00
Vishvananda Ishaya 8d6a1256ae Improves pep8 compliance and pylint score in network code. 2010-08-14 21:13:44 +00:00
Ewan Mellor a947cc3ee5 Bug #617776: DescribeImagesResponse contains type element, when it should be called imageType
Make the objectstore respond with the field 'imageType' as well as 'type'.
The former is the correct one, according to the EC2 API specification for
the DescribeImages response.  The latter is for compatibility with euca2ools
and other clients.
2010-08-14 20:42:23 +00:00
Ewan Mellor b323a5fc6d Bug 617913: RunInstances response doesn't meet EC2 specification
Fix the RunInstances response to match the EC2 specification.  This involved moving
the instance details from
<RunInstancesResponse><reservationSet><item><instancesSet><item> to
<RunInstancesResponse><instancesSet><item>.
2010-08-14 19:04:19 +01:00
Ewan Mellor b7ffb210f0 Bug #617776: DescribeImagesResponse contains type element, when it should be called imageType
Make the objectstore respond with the field 'imageType' as well as 'type'.
The former is the correct one, according to the EC2 API specification for
the DescribeImages response.  The latter is for compatibility with euca2ools
and other clients.
2010-08-14 11:46:10 +01:00
Soren Hansen 7bbf2f7f9f Add a few unit tests for libvirt_conn. 2010-08-13 23:46:44 +02:00
Soren Hansen 49a2098163 Move interfaces template into virt/, too. 2010-08-13 23:45:26 +02:00
Soren Hansen 2dd3188279 Refactor LibvirtConnection a little bit for easier testing. 2010-08-13 23:45:05 +02:00
Soren Hansen 8aa4d9c2f9 Remove extra "uml" from os.type. 2010-08-13 23:44:14 +02:00
Vishvananda Ishaya d744a5e7bd Fixes out of order arguments in get_credentials 2010-08-13 14:09:30 -07:00
Vishvananda Ishaya 8bdc9ec6f9 pep8 and pylint cleanup 2010-08-13 12:51:38 -07:00
Michael Gundlach bfb906cb02 Support JSON and XML in Serializer 2010-08-13 11:09:27 -04:00
Ewan Mellor 4c39eca0c9 Added note regarding dependency upon XenAPI.py. 2010-08-13 14:33:07 +01:00
Ewan Mellor ea2805d372 Added documentation to the nova.virt interface. 2010-08-13 11:51:33 +01:00
Soren Hansen 087980a052 Merge with trunk 2010-08-13 11:16:24 +02:00
Vishvananda Ishaya a679cab031 make rpc.call propogate exception info. Includes tests 2010-08-12 21:27:53 -07:00
Michael Gundlach 4391b7362e Undo the changes to cloud.py that somehow diverged from trunk 2010-08-12 18:41:31 -04:00
Michael Gundlach 39d12bf518 Mergeprop cleanup 2010-08-12 18:36:56 -04:00
Michael Gundlach 11c47dd12a Mergeprop cleanup 2010-08-12 18:36:46 -04:00
Michael Gundlach b998da0c46 Make WSGI routing support routing to WSGI apps or to controller+action
Support the beginnings of serialization format detection (aka did the request ask for JSON or XML)
2010-08-12 15:19:33 -07:00
Soren Hansen 6eba59be8e Make --libvirt_type=uml do the right thing: Sets the correct libvirt URI and use a special template for the XML. 2010-08-12 23:41:32 +02:00
Vishvananda Ishaya a96b4c1470 renamed missed reference to Address 2010-08-12 14:18:59 -07:00
Vishvananda Ishaya 63c2fd9d4f die classmethod 2010-08-12 13:43:14 -07:00
Vishvananda Ishaya eeda6e0970 merged fix-dhcpbridge 2010-08-12 13:37:28 -07:00
Vishvananda Ishaya ef48a727d1 remove class method 2010-08-12 13:36:10 -07:00
Vishvananda Ishaya 773390a4da typo allocated should be relased 2010-08-12 13:33:22 -07:00
Vishvananda Ishaya 8d4dd0924b rename address stuff to avoid name collision and make the .all() iterator work again 2010-08-12 12:44:23 -07:00
Vishvananda Ishaya e14d70d7be keep track of leasing state so we can delete ips that didn't ever get leased 2010-08-12 12:12:38 -07:00