lp:~ed-leafe/nova/xenstore-plugin
- Get this branch:
- bzr branch lp:~ed-leafe/nova/xenstore-plugin
Branch merges
- Josh Kearney (community): Approve
- Cory Wright (community): Approve
-
Diff: 644 lines (+410/-40)4 files modifiednova/virt/xenapi/vmops.py (+193/-21)
nova/virt/xenapi_conn.py (+18/-10)
plugins/xenserver/xenapi/etc/xapi.d/plugins/pluginlib_nova.py (+19/-9)
plugins/xenserver/xenapi/etc/xapi.d/plugins/xenstore.py (+180/-0)
Related bugs
Related blueprints
Branch information
Recent revisions
- 513. By Ed Leafe
-
Made the plugin output fully json-ified, so I could remove the exception handlers in vmops.py. Cleaned up some pep8 issues that weren't caught in earlier runs.
- 508. By Ed Leafe
-
Corrected the sloppy import in the xenstore plugin that was copied from other plugins.
- 505. By Rick Harris
-
This patch is beginning of XenServer snapshots in nova. It adds:
1. A snapshot() method to the compute API
2. Snapshot to the compute drivers(), stubs for libvirt and fake, and an implementation for xenapi_conn.
3. A `glance` XenServer plugin (modeled after the current `objectstore` plugin).To test functionally you will need to be running both the Glance API and the Glance Registry.
In order to use the cloudservers tool-chain (cloudservers command-line utility, openstack-api, etc), you will need create a project called 'openstack' or override FLAGS.default_
project. You can verify that snapshots work by using the cloudservers command-line utility to run:
cloudservers image-create <instance-id> <my snapshot name>The utility itself will generate an exception since we're not returning the appropriate metadata yet (that will be a future commit); however, you can confirm that the snapshot worked by checking the compute-service logs, and verifying the snapshot resides in the glance fs-store directory.
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:~hudson-openstack/nova/trunk