Commit Graph

4352 Commits

Author SHA1 Message Date
Justin Santa Barbara be54e37bbd Merged with trunk and fixed conflict. Sigh. 2011-03-07 15:30:58 -08:00
Justin Santa Barbara 8e0fd37ddf Converted tabs to spaces in bin/nova-api 2011-03-07 15:22:59 -08:00
Kevin L. Mitchell bb4e0c940f Inhibit inclusion of stack traces in the logs UNLESS --verbose has been specified. This should help keep the logs compact, helping admins find the messages they're interested in (e.g., "Can't connect to MySQL server on '127.0.0.1' (111)") without having to sort through the stack traces, while still allowing developers to see those traces at will. 2011-03-07 23:02:48 +00:00
Kevin L. Mitchell f5556c7f70 Addresses bugs 704985 and 705453 by:
1) Adding new nova-api flag --paste_config, the value of which is used in place of the hard-coded "nova-api.conf"

2) Defaulting the new --paste_config to "api-paste.ini"
2011-03-07 22:59:44 +00:00
Justin Santa Barbara ede8828372 A few formatting niceties 2011-03-07 14:42:36 -08:00
Justin Santa Barbara f65867673e Merge with trunk, resolve conflicts and refactor 2011-03-07 14:34:02 -08:00
Kevin L. Mitchell f72366f007 Create --paste_config flag defaulting to api-paste.ini and mv etc/nova-api.conf to match 2011-03-07 19:33:24 +00:00
Cerberus 421cab4312 Implementation for XenServer migrations. There are several places for optimization but I based the current implementation on the chance scheduler just to be safe. Beyond that, a few features are missing, such as ensuring the IP address is transferred along with the migrated instance. This will be added in a subsequent patch. Finally, everything is implemented through the Openstack API resize hooks, but actual resizing of the instance RAM and hard drive space is not yet implemented. 2011-03-07 18:30:36 +00:00
matt.dietz@rackspace.com 1767aaf05b Merge from trunk 2011-03-07 17:18:10 +00:00
matt.dietz@rackspace.com a775c4eee2 Merge prop changes and test fixes 2011-03-07 17:17:41 +00:00
Todd Willey 9610c61055 Fix renaming of instance fields using update_instance api method. 2011-03-05 23:44:24 +00:00
Todd Willey 831f398653 Fix renaming of instance fields using update_instance method. 2011-03-04 14:01:25 -05:00
Cerberus 4e98750e0a Merge from trunk 2011-03-04 11:20:28 -06:00
Cerberus 1d8914fc75 More fixes 2011-03-04 11:19:35 -06:00
Rick Harris 2280848e84 Use %s for instance-delete logging in case instance_id comes through as a string. 2011-03-04 06:54:52 +00:00
Cerberus 0e1a458166 Renaming my migration yet again 2011-03-03 13:18:37 -06:00
Cerberus 05ab132a80 Merge from trunk, conflict resolution and merge prop fixes 2011-03-03 13:13:15 -06:00
Rick Harris c363c2aaac Use %s in case instance_id came through as a string 2011-03-03 18:21:54 +00:00
Masanori Itoh 458bf9682d This fix changes a tag contained in the DescribeKeyPairs response from <keypairsSet> to <keySet> so that Amazon EC2 access libraries which does more strict syntax checking can work with Nova. 2011-03-03 17:10:15 +00:00
Masanori Itoh cb9d00f82c Merged to trunk rev 758. 2011-03-04 00:33:29 +09:00
Thierry Carrez 90e8072df4 Fix regression in the way libvirt_conn gets its instance_types 2011-03-03 15:31:36 +00:00
Masanori Itoh 26c217d1f1 Updated DescribeKeyPairs response tag checked in nova/tests/test_cloud.py 2011-03-04 00:30:19 +09:00
Thierry Carrez f7645bc2fb Fix regression in the way libvirt_conn gets its instance_types 2011-03-03 13:55:01 +01:00
Masanori Itoh f9cce74cad Updated Authors and .mailmap 2011-03-03 14:10:42 +09:00
Masanori Itoh 9bd08cb1d7 Merged to rev 757. 2011-03-03 13:54:12 +09:00
Ken Pepple 20ae9eb5c3 merges dynamic instance types blueprint (http://wiki.openstack.org/ConfigureInstanceTypesDynamically) and bundles blueprint (https://blueprints.launchpad.net/nova/+spec/flavors) 2011-03-03 02:04:51 +00:00
Ken Pepple dc8e308819 moved migration to 008 (sigh) 2011-03-02 17:54:04 -08:00
Ken Pepple de43ea935e merged trunk 2011-03-02 17:50:48 -08:00
Ken Pepple 74f2a7537e catching bare except: 2011-03-02 17:38:42 -08:00
Ken Pepple 507a13d8dc added logging to instance_types for DB errors per code review 2011-03-02 17:14:51 -08:00
Brian Lamar 11dde805f4 Very simple change checking for < 0 values in "limit" and "offset" GET parameters. If either are negative, raise a HTTPBadRequest exception. Relevant tests included. 2011-03-03 01:04:38 +00:00
Ken Pepple 45662001c4 requested style change 2011-03-02 16:59:38 -08:00
Ricardo Carrillo Cruz cee47d411c Fixes Bug #715424: nova-manage : create network crashes when subnet range provided is not enough , if the network range cannot fit the parameters passed, a ValueError is raised 2011-03-03 00:59:11 +00:00
Ken Pepple b39a3f099a adding new source docs 2011-03-02 16:57:56 -08:00
Ken Pepple 1abd891f65 corrected error message 2011-03-02 16:46:32 -08:00
Ken Pepple 28896fcfb4 changed _context 2011-03-02 16:37:02 -08:00
Ken Pepple 7305bc9a47 pep8 2011-03-02 16:35:53 -08:00
Ken Pepple 86aed7edae added in req.environ for context 2011-03-02 16:32:09 -08:00
Ken Pepple 22ec4e190c pep8 2011-03-02 16:12:36 -08:00
Ken Pepple 0bf74ef365 fixed _context typo 2011-03-02 16:12:22 -08:00
Ken Pepple 4243e8e2b4 coding style change per devcamcar review 2011-03-02 16:09:27 -08:00
Ken Pepple 092e26667b fixed coding style per devcamcar review notes 2011-03-02 16:07:05 -08:00
Ken Pepple 077a77a1ab removed create and delete method (and corresponding tests) from flavors.py 2011-03-02 15:49:51 -08:00
Josh Kearney 98e665f870 Provide the ability to rescue and unrescue a XenServer instance. 2011-03-02 23:37:31 +00:00
Josh Kearney ce5d90ebaf Enable IPv6 injection for XenServer instances. Added addressV6, netmaskV6 and gatewayV6 columns to the fixed_ips table via migration #007 as per NTT FlatManager IPv6 spec. 2011-03-02 23:34:43 +00:00
Josh Kearney e34e9dd982 Updated docstrings 2011-03-02 17:09:50 -06:00
Josh Kearney 67d9051551 Added IPv6 migrations 2011-03-02 16:20:54 -06:00
Cerberus 953fe68ce9 merge fixes 2011-03-02 15:46:50 -06:00
Josh Kearney 6d62f387e3 Inject IPv6 data into XenStore for instance 2011-03-02 15:42:21 -06:00
Cerberus 8707a7a28c Merge from trunk 2011-03-02 11:39:30 -06:00