Jake Dahn
cfa2303fcb
adding other emails to mailmap
2011-08-09 14:45:31 -07:00
Jake Dahn
c95954ca1a
adding myself to authors
2011-08-09 14:17:56 -07:00
Jake Dahn
c600b2cf36
adding forgotten import for logging
2011-08-08 12:10:14 -07:00
Jake Dahn
fe7f229c8a
moving try/except block, and changing syntax of except statement
2011-08-05 16:20:53 -07:00
Jake Dahn
ccea6c91b2
adding logging to exception in delete method
2011-08-05 15:28:10 -07:00
Jake Dahn
09772f5bf3
If ip is deallocated from project, but attached to a fixed ip, it is now detached
2011-08-05 14:37:44 -07:00
Brian Waldon
429b42f9fd
Glance Image Service now understands how to use glance client to paginate through images.
2011-08-05 19:58:01 +00:00
Josh Kearney
d6c6059abe
Allow actions queries by UUID and PEP8 fixes.
2011-08-05 19:47:52 +00:00
Josh Kearney
f03c926a7d
Allow actions queries by UUID and PEP8 fixes.
2011-08-05 14:28:22 -05:00
Brian Waldon
a3e618bdc6
fixing filters get
2011-08-05 15:02:18 -04:00
Brian Waldon
681d3e2bfa
re-enabling sort_key/sort_dir and fixing filters line
2011-08-05 14:15:53 -04:00
Adam Gandelman
7bdc430d33
Make sure mapping['dns'] is formatted correctly before injecting via template into images.
...
mapping['dns'] is retrieved from the network manager via info['dns'], which is a list constructed of multiple DNS servers.
Fixes LP Bug #821203
2011-08-05 18:14:26 +00:00
Soren Hansen
c07e9ebf83
Add a generic image service test and run it against the fake image service.
2011-08-05 18:07:43 +00:00
Justin Shepherd
c6b84e785a
Implemented @test.skip_unless and @test.skip_if functionality in nova/test.py.
...
Added nova/tests/test_skip_examples.py which contains example skip case usages.
2011-08-05 17:32:46 +00:00
Gabe Westmaas
6d24d3dc37
Updates v1.1 servers/id/action requests to comply with the 1.1 spec
2011-08-05 16:52:43 +00:00
Gabe Westmaas
1491530850
Moving from assertDictEqual to assertDictMatch
2011-08-05 16:22:21 +00:00
Gabe Westmaas
5d6e0a15d7
merging trunk
2011-08-05 16:13:59 +00:00
Gabe Westmaas
c26ac97855
merging trunk
2011-08-05 16:13:44 +00:00
Dan Prince
a8447412b4
Add exception logging for instance IDs in the __public_instance_is_accessible smoke test function. This should help troubleshoot an intermittent failure.
2011-08-05 16:07:45 +00:00
Brian Waldon
d76046a76f
adding --fixes
2011-08-05 12:00:13 -04:00
Brian Waldon
9602a558b6
glance image service pagination
2011-08-05 11:59:14 -04:00
Dan Prince
336efaf814
Add exception logging for instance IDs in the __public_instance_is_accessible
...
smoke test function. This should help troubleshoot an intermittent failure.
2011-08-05 11:17:05 -04:00
Matt Dietz
56ec8f040b
Fixes lp821144
...
Revert resize broken because an incorrect number of parameters and a bad call at the virt layer
2011-08-05 14:07:48 +00:00
Soren Hansen
070d832dad
Make disk_format and container_format optional for libvirt's snapshot implementation.
2011-08-05 15:38:25 +02:00
Soren Hansen
1e366d9de1
pep8
2011-08-05 15:37:36 +02:00
Soren Hansen
9742ff588d
Add generic image service tests.
2011-08-05 14:54:56 +02:00
Justin Shepherd
13fb04effa
fixed pep8 issue
2011-08-04 23:01:22 -05:00
Justin Shepherd
625330bbc7
utilized functools.wraps
2011-08-04 22:59:36 -05:00
John Tran
502801bfff
For nova-manage network create cmd, added warning when size of subnet(s) being created are larger than FLAG.network_size, in attempt to alleviate confusion. For example, currently when 'nova-manage network create foo 192.168.0.0/16', the result is that it creates a 192.168.0.0/24 instead without any indication to why
2011-08-05 02:27:36 +00:00
Matthew Hooker
0b275cd9d7
Remove instances of the "diaper pattern"
...
Anywhere "except:" occurs, I tried to replace it with an explicit except on
known error types. If none were known, Except was used.
In the process I've been able to unearth a few evasive bugs and clean up some
adjacent code.
2011-08-05 02:22:13 +00:00
Rick Harris
e4011ea5c6
Read response to reset the connection state-machine for the next request/response cycle.
2011-08-05 02:02:31 +00:00
Gabe Westmaas
637dfc0f44
Added explanations to exceptions and cleaned up reboot types
2011-08-05 01:55:53 +00:00
Gabe Westmaas
02bf32d40c
Merge from trunk
2011-08-05 01:29:39 +00:00
Adam Gandelman
d470f82ea0
Properly format mapping['dns'] before handing off to template for injection (Fixes LP Bug #821203 )
2011-08-04 17:43:37 -07:00
Rick Harris
66916be1ad
Read response to reset HTTPConnection state machine
2011-08-05 00:12:19 +00:00
Matt Dietz
5fe92058d0
Revert migration now finishes
2011-08-04 22:18:52 +00:00
Dan Prince
0fea610a69
The OSAPI v1.0 image create POST request should store the instance_id as a Glance property.
2011-08-04 21:39:37 +00:00
Chris Behrens
790d035953
There was a recent change to how we should flip FLAGS in tests, but not all tests were fixed. This covers the rest of them. I also added a method to test.UnitTest so that FLAGS.verbose can be set. This removes the need for flags to be imported from a lot of tests.
...
Another side effect is that it fixes a bug in host_test_filter.py where there was a tearDown method in the class that didn't call its parent. Ie, test.TestCase.tearDown() was not being called. host_test_filter.py's tearDown has been removed as a part of this cleanup, so the parent will be called now.
This happens to fix an unrelated pep8 issue in trunk, as well, so that my tests pass cleanly.
2011-08-04 21:32:56 +00:00
Matt Dietz
77a1a63c30
Bad method call
2011-08-04 21:26:21 +00:00
Matt Dietz
dae356ad06
Forgot the instance_id parameter in the finish call
2011-08-04 21:18:55 +00:00
Josh Kearney
b38b29f672
Fixed rescue/unrescue since the swap changes landed in trunk. Minor refactoring (renaming callback to _callback since it's not used here).
2011-08-04 21:04:21 +00:00
Dan Prince
a546f5e488
Updates to the XenServer glance plugin so that it obtains the set of
...
existing headers and sends them along with the request to PUT a
snapshotted image into glance.
2011-08-04 20:57:49 +00:00
Mandell Degerness
848b10a7fb
This updates nova-ajax-console-proxy to correctly use the new syntax introduced last week by Zed Shaw <zedshaw@zedshaw.com>.
...
rpc.Connection -> rpc.create_connection
rpc.TopicAdapterConsumer -> rpc.create_consumer
2011-08-04 20:52:34 +00:00
Alex Meade
5b463f5d14
Added missing tests for server actions
...
Updated reboot to verify the reboot type is HARD or SOFT
Fixed case of having an empty flavorref on resize
2011-08-04 16:38:55 -04:00
Josh Kearney
475963efea
Added more informative docstring.
2011-08-04 15:31:18 -05:00
Alex Meade
0f515d6d31
Added XML serialization for server actions
2011-08-04 16:26:31 -04:00
Josh Kearney
eca23b1ad1
Removed debugging code.
2011-08-04 15:22:36 -05:00
Alex Meade
9ce80fc74b
Updated create image server action to respect 1.1
2011-08-04 16:20:37 -04:00
matt.dietz@rackspace.com
6cb5d4d7fd
Fixes lp819397
...
migrations/resize no longer go through the full create process, but instead are merely powered on.
2011-08-04 20:19:22 +00:00
Josh Kearney
b8d4004e9d
Fixed rescue unit tests.
2011-08-04 15:16:42 -05:00