Ok, I figured out my problem. My nova.conf BEFORE: virt_mkfs="default=mkfs.ext4 -L %(fs_label)s -F %(target)s" virt_mkfs="windows=mkfs.ntfs --force --fast --label %(fs_label)s %(target)s"
This is from the docs, but it's not right. Removing the citation marks made it work as expected: virt_mkfs=default=mkfs.ext4 -L %(fs_label)s -F %(target)s virt_mkfs=windows=mkfs.ntfs --force --fast --label %(fs_label)s %(target)s On Fri, Nov 2, 2012 at 8:41 AM, Erik Lindblad <[email protected]>wrote: > Not sure if it helps bumping my own email, but here's a launchpad question > as well. Still haven't been able to solve this, it's keeping us from > transitioning our windows tests from eucalyptus. > > https://answers.launchpad.net/nova/+question/212734 > > --Erik > > > On Mon, Oct 29, 2012 at 1:20 PM, Erik Lindblad <[email protected]>wrote: > >> Hi! >> >> I'm running a nova cloud (essex) with both linux and windows >> instances. I want the windows images to boot with an ephemeral >> pre-formatted ntfs drive. >> >> I've tried setting: >> virt_mkfs="windows=mkfs.ntfs --force --fast --label %(fs_label)s >> %(target)s" >> >> in nova.conf and I've also set the os_type metadata on the windows >> image, but nova still uses ext4: >> 2012-10-29 12:41:24 DEBUG nova.utils >> [req-33b476e7-6412-4caa-ba51-839c36ab35b0 >> ec731931e03544d89e46468a3a268d9b 526fedd9083647fbbbc167261f10ecfc] >> Running cmd (subprocess): mkfs.ext4 -L ephemeral0 -F >> /var/lib/nova/instances/_base/ephemeral_0_20_windows from (pid=10597) >> execute /usr/lib/python2.7/dist-packages/nova/utils.py:219 >> >> Cheers, >> Erik >> > >
_______________________________________________ Mailing list: https://launchpad.net/~openstack Post to : [email protected] Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp

