~bgh/nova/qmanager-trunk

Viewing all changes in revision 1564.

  • Committer: Tarmac
  • Author(s): Isaku Yamahata
  • Date: 2011-09-13 21:04:13 UTC
  • mfrom: (1548.1.3 my-metadata-fix-2)
  • Revision ID: tarmac-20110913210413-cs8zyl7xdwk16mhg
This patch teaches virt/libvirt how to format filesystem on ephemeral device depending on os_type so that the behaviour matches with EC2's.
Such behaviour isn't explicitly described in the documentation, but it is confirmed by checking realy EC2 instances.  This patch introduces options virt_mkfs as multistring.
Its format is --virt_mkfs=<os_type>=<mkfs command> When creating ephemeral device, format it according to the option depending on os_type.  This addresses the bugs,
https://bugs.launchpad.net/nova/+bug/827598
https://bugs.launchpad.net/nova/+bug/828357

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: