On 12/04/2014 12:04 PM, Cole Robinson wrote:
On 12/02/2014 04:35 AM, Anatoly Belikov wrote:
---
  tests/xmlparse-xml/change-disk-in.xml  |  8 +++++++
  tests/xmlparse-xml/change-disk-out.xml |  8 +++++++
  tests/xmlparse.py                      |  9 ++++++++
  virtinst/cli.py                        | 28 ++++++++++++++++++++----
  virtinst/devicedisk.py                 | 23 +++++++++++---------
  virtinst/diskbackend.py                | 39
+++++++++++++++++++++++++++-------
  virtinst/storage.py                    | 14 +++++++++---
  7 files changed, 104 insertions(+), 25 deletions(-)


Thanks for updating the patch. A few comments:

- There's still spurious whitespace changes (added/removing blank lines,
changing indentation of unaltered code)

- Supporting a single disk hostname isn't sufficient, at least ceph/rbd can
handle multiple host names

- The libxml usage means we are doing something wrong: we should be using
StoragePool's parsing capabilities.

- The change should be split further: one patch handling the source protocol,
source name, and host name additions, the another patch handling the
gluster:// URI parsing magic

- tests/clitest.py should be extended as well

That said, I just finished setting up a gluster and ceph server for testing,
so I'm working on this now. I'll likely massage this patch and commit the
protocol/name/hostname bit with proper attribution, and build on it from
there. I'll respond here when there's more to test


Most of the hard work is done upstream now. What's available:
- --disk $URL should just work
- --disk source_protocol=$PROTO,source_host_name=$HOSTNAME,... etc should work
- virt-manager createpool/createvol wizards should work

Bits I'm still working on:
- Fix network volume selection in virt-manager storagebrowser work
- rbd/sheepdog volume creation with --disk
- Documentation

Related stuff that I'm not planning on doing right now:
- Any ceph auth handling
- Multi <host> support in devicedisk
- Multi <host> support in createpool wizard UI

- Cole

_______________________________________________
virt-tools-list mailing list
virt-tools-list@redhat.com
https://www.redhat.com/mailman/listinfo/virt-tools-list

Reply via email to