Commit Graph

139 Commits

Author SHA1 Message Date
Salvatore Orlando bc8f009f8a implemented clean-up logic when VM fails to spawn for xenapi back-end 2011-07-07 18:36:02 +00:00
Ed Leafe b02b1d7824 Updated the plugin to return the actual enabled status instead of just 'true' or 'false'
.
2011-07-05 14:36:52 +00:00
Ed Leafe 42dabbc86e Updated unit tests 2011-07-01 19:44:10 +00:00
Salvatore Orlando f09ca2b453 Merge trunk
Fixing docstrings
2011-07-01 19:06:18 +01:00
Naveed Massjouni 7b6ded922a Updating license to ASL 2.0 2011-06-27 12:10:47 -04:00
Naveed Massjouni 998b5ba2c7 Changed package name to openstack-xen-plugins per dprince's suggestion.
All the files in /etc/xapi.d/plugins must be executable.
Added dependency on parted.
Renamed build.sh to build-rpm.sh.
2011-06-27 12:04:44 -04:00
Naveed Massjouni 21cbac8334 Adding files for building an rpm for xenserver xenapi plugins. 2011-06-27 00:20:53 -04:00
Salvatore Orlando e67802fb86 Merge trunk
Addressing Sandy's comments
2011-06-23 15:00:59 +01:00
Johannes Erdfelt 00eae759e8 Result is already in JSON format from _wait_for_agent 2011-06-17 20:34:43 +00:00
Johannes Erdfelt edcb7399e3 Merge with trunk 2011-06-15 14:33:52 +00:00
Salvatore Orlando 1f717118f3 Merge trunk
Adapting code for removing dangling vdis and kernel/ramdisk files to latest changes
2011-06-14 15:44:51 +01:00
Salvatore Orlando 481c7be183 Merge trunk
Adapting code to changes in fetch_image
2011-06-13 16:25:54 +01:00
Dan Prince 73303a3465 Updated so that we use a 'tmp' subdirectory under the Xen SR when staging
migrations. Fixes an issue where you would get a 'File exists' error because
the directory under 'images' already existed (created via the rsync copy).
2011-06-11 22:12:59 -04:00
Johannes Erdfelt 1392d885e6 Add version and agentupdate commands 2011-06-09 20:10:02 +00:00
Dan Prince f521426039 Updated to use the '/v1/images' URL when uploading images to glance
in the Xen glance plugin. Fixes issue where snapshots failed to get uploaded.
2011-06-03 14:14:28 -04:00
Chris Behrens 9e22f51c80 put back the hidden assert check i accidentally removed from glance plugin 2011-05-26 20:01:09 +00:00
Chris Behrens 04785db717 fix image_path in glance plugin 2011-05-26 19:37:51 +00:00
Chris Behrens 899642030d Change the return from glance to be a list of dictionaries describing VDIs
Fix the rest of the code to account for this
Add a test for swap
2011-05-26 19:27:27 +00:00
Chris Behrens 42c209d90f fix tests, have glance plugin return json encoded string of vdi uuids 2011-05-23 16:51:28 -05:00
Chris Behrens 94766fac0f cleanup and fixes 2011-05-23 20:42:54 +00:00
Chris Behrens ffac2aa816 initial fudging in of swap disk 2011-05-23 14:38:37 -05:00
paul@openstack.org a615702773 fixing glance plugin bug and setting the plugin to use /v1 of the glance api 2011-05-20 16:45:19 -05:00
Josh Kearney 4d025ef1d2 Added missing xenhost plugin. 2011-05-18 11:27:39 -05:00
Josh Kearney 6425095be3 Review feedback 2011-05-06 15:41:36 -05:00
Josh Kearney 7860f72c91 Review feedback 2011-05-06 15:19:55 -05:00
Josh Kearney 311c774e11 Review feedback 2011-05-06 14:48:54 -05:00
Josh Kearney 791f8dc895 Set root password upon XenServer instance creation. 2011-05-06 13:47:47 -05:00
Josh Kearney 07113a8ff0 Incorprate johannes.erdfelt's patch 2011-04-06 13:27:43 -05:00
Salvatore Orlando e68174e419 Improved unit tests
Fixed docstring formatting

Merged with trunk
2011-04-06 14:28:05 +01:00
Chris Behrens b39a0eabd5 need to support python2.4, so can't use uuid module 2011-03-31 09:01:01 -07:00
Chris Behrens cf89dea62e localize NotImplementedError() 2011-03-30 13:38:10 -07:00
Chris Behrens 1e9cc02d3c Change '"%s" % e' to 'e'. 2011-03-30 13:36:03 -07:00
Chris Behrens a1992ba586 Add ed leafe's code for the inject_file agent plugin method that somehow got lost (fixes bug 741246).
Update TimeoutError string for i18n
2011-03-30 13:13:04 -07:00
Salvatore Orlando 381354baba addressed reviewers' concerns 2011-03-28 13:11:45 +01:00
Salvatore Orlando 8728108512 merge trunk 2011-03-24 11:06:17 +00:00
matt.dietz@rackspace.com f806165703 Resolved conflicts 2011-03-22 17:02:33 +00:00
Salvatore Orlando 24568d8f9a Merge trunk 2011-03-22 09:54:56 +00:00
Josh Kearney 8437d947a6 Better errors when virt driver isn't loaded 2011-03-18 15:34:50 -05:00
Cerberus a8c2af6cda merge 2011-03-17 15:30:35 -05:00
Salvatore Orlando 7deb9f5676 Improved exception handling 2011-03-17 18:42:18 +00:00
Monsyne Dragon a766b4111a added in network qos support for xenserver.
Pull qos settings from flavor, use when creating instance.
2011-03-17 02:20:18 +00:00
Cerberus d1469d1566 Some typos 2011-03-16 11:26:40 -05:00
Cerberus 9650e73db3 Plugin 2011-03-15 19:10:50 -05:00
Salvatore Orlando c6e75afbe6 Fixed bugs in bug fix (plugin call)
Checked for pep8 errors

Tested in several 'live' failure scenarios
2011-03-15 17:24:16 +00:00
Salvatore Orlando faaba758a3 Merge trunk (revno #795) 2011-03-14 09:56:37 +00:00
Salvatore Orlando b6ea59aa3b Merged with trunk
Updated exception handling according to spawn refactoring
2011-03-09 12:52:10 +00:00
Salvatore Orlando 748b310232 Fixed pep8 violation in glance plugin 2011-03-09 11:17:41 +00:00
Cory Wright 2554916265 merge trunk 2011-03-09 00:38:37 +00:00
Rick Harris dd2f001929 Use disk_format and container_format instead of image type 2011-03-08 22:14:25 +00:00
Salvatore Orlando 3d6e5d82e6 Removes VDIs from XenServer backend if spawn process fails before vm rec is created.
Fixed pep8 errors.
2011-03-08 18:20:20 +00:00