Okay so I have been having a nightmare trying to get Windows Images to boot up. I have followed all possible combinations I have come across on how to make a Windows Image for OpenStack with virtio drivers and I have been coming up with no luck. I feel like there is not enough documentation anywhere because everyone tells you how to make it but not how to get it up. I have errored out everytime I try to boot up from nova-boot or horizon. I have tried to make custom flavors for Windows Images with ephemeral disks but still nothing. But After going through my logs, I have narrowed it down to something to do with disk spaces and maybe missing flags in my nova.conf file as of right now this is what I have....
The lines that stand out the most to me are these two
2013-02-13 11:27:56 1841 TRACE nova.compute.manager [instance: 93703b1d-c381-4a0d-8df4-d2142f30612e] IOError: [Errno 28] No space left on device
2013-02-13 11:29:28 1841 DEBUG nova.compute.resource_tracker [-] Hypervisor: free ram (MB): 62820 _report_hypervisor_resource_view /usr/lib/python2.7/dist-packages/nova/compute/resource_tracker.py:470
2013-02-13 11:29:28 1841 DEBUG nova.compute.resource_tracker [-] Hypervisor: free disk (GB): 2 _report_hypervisor_resource_view /usr/lib/python2.7/dist-packages/nova/compute/resource_tracker.py:471
2013-02-13 11:29:28 1841 DEBUG nova.compute.resource_tracker [-] Hypervisor: free VCPUs: 8 _report_hypervisor_resource_view /usr/lib/python2.7/dist-packages/nova/compute/resource_tracker.py:476
2013-02-13 11:29:28 1841 AUDIT nova.compute.resource_tracker [-] Free ram (MB): 58813
2013-02-13 11:29:28 1841 AUDIT nova.compute.resource_tracker [-] Free disk (GB): -31
2013-02-13 11:29:28 1841 AUDIT nova.compute.resource_tracker [-] Free VCPUS: 5
2013-02-13 11:29:28 1841 INFO nova.compute.resource_tracker [-] Compute_service record updated for computenode2
The rest is below
Nova.conf
--------------------------------------------------------------------------------------------------------
[DEFAULT]
logdir=/var/log/nova
state_path=/var/lib/nova
lock_path=/run/lock/nova
verbose=True
api_paste_config=/etc/nova/api-paste.ini
scheduler_driver=nova.scheduler.simple.SimpleScheduler
s3_host=172.16.1.20
ec2_host=172.16.1.20
ec2_dmz_host=172.16.1.20
rabbit_host=172.16.1.20
cc_host=172.16.1.20
metadata_host=172.16.1.22
metadata_listen=0.0.0.0
nova_url=http://172.16.1.20:8774/v1.1/
sql_connection=mysql://nova:openstack@172.16.1.20/nova
ec2_url=http://172.16.1.20:8773/services/Cloud
root_helper=sudo nova-rootwrap /etc/nova/rootwrap.conf
# Auth
use_deprecated_auth=false
auth_strategy=keystone
keystone_ec2_url=http://172.16.1.20:5000/v2.0/ec2tokens
# Imaging service
glance_api_servers=172.16.1.20:9292
image_service=nova.image.glance.GlanceImageService
# Vnc configuration
novnc_enabled=true
novncproxy_base_url=http://172.16.1.20:6080/vnc_auto.html
novncproxy_port=6080
vncserver_proxyclient_address=172.16.1.22
vncserver_listen=0.0.0.0
# NETWORK
network_manager=nova.network.manager.FlatDHCPManager
force_dhcp_release=True
dhcpbridge=/usr/bin/nova-dhcpbridge
dhcpbridge_flagfile=/etc/nova/nova.conf
firewall_driver=nova.virt.libvirt.firewall.IptablesFirewallDriver
# Change my_ip to match each host
my_ip=172.16.1.22
public_interface=br100
vlan_interface=eth0
flat_network_bridge=br100
flat_interface=eth0
multi_host=True
#Note the different pool, this will be used for instance range
fixed_range=192.168.1.0/24
# Compute #
compute_driver=libvirt.LibvirtDriver
# Cinder #
volume_api_class=nova.volume.cinder.API
osapi_volume_listen_port=5900
-------------------------------------------------------------------------------------------------------------------------------------------------------
Error log in Compute for Booting WINDOWS IMAGE
<uuid>93703b1d-c381-4a0d-8df4-d2142f30612e</uuid>
<name>instance-00000016</name>
<memory>2072576</memory>
<vcpu>2</vcpu>
<os>
<type>hvm</type>
<boot dev="hd"/>
</os>
<features>
<acpi/>
</features>
<clock offset="utc">
<timer name="pit" tickpolicy="delay"/>
<timer name="rtc" tickpolicy="catchup"/>
</clock>
<cpu mode="host-model" match="exact"/>
<devices>
<disk type="file" device="disk">
<driver name="qemu" type="qcow2" cache="none"/>
<source file="/var/lib/nova/instances/instance-00000016/disk"/>
<target bus="virtio" dev="vda"/>
</disk>
<disk type="file" device="disk">
<driver name="qemu" type="qcow2" cache="none"/>
<source file="/var/lib/nova/instances/instance-00000016/disk.local"/>
<target bus="virtio" dev="vdb"/>
</disk>
<interface type="bridge">
<mac address="fa:16:3e:19:a5:78"/>
<source bridge="br100"/>
<filterref filter="nova-instance-instance-00000016-fa163e19a578">
<parameter name="IP" value="192.168.1.4"/>
<parameter name="DHCPSERVER" value="192.168.1.2"/>
<parameter name="PROJNET" value="192.168.1.0"/>
<parameter name="PROJMASK" value="255.255.255.0"/>
</filterref>
</interface>
<serial type="file">
<source path="/var/lib/nova/instances/instance-00000016/console.log"/>
</serial>
<serial type="pty"/>
<input type="tablet" bus="usb"/>
<graphics type="vnc" autoport="yes" keymap="en-us" listen="0.0.0.0"/>
</devices>
</domain>
2013-02-13 11:27:35 DEBUG nova.virt.libvirt.driver [req-33828f90-b7fb-4964-95f3-e82dbaf97a06 58d7fc4e97e24f3bb8311932897776fd df7547e90b88426d8b97dd2c7f05759b] block_device_list [] _volume_in_mapping /usr/lib/python2.7/dist-packages/nov$
2013-02-13 11:27:35 DEBUG nova.utils [req-33828f90-b7fb-4964-95f3-e82dbaf97a06 58d7fc4e97e24f3bb8311932897776fd df7547e90b88426d8b97dd2c7f05759b] Got semaphore "89fbd43c4965766c125cce75a1c84d6271b7d4e7" for method "call_if_not_exists"..$
2013-02-13 11:27:35 DEBUG nova.utils [req-33828f90-b7fb-4964-95f3-e82dbaf97a06 58d7fc4e97e24f3bb8311932897776fd df7547e90b88426d8b97dd2c7f05759b] Attempting to grab file lock "89fbd43c4965766c125cce75a1c84d6271b7d4e7" for method "call_i$
2013-02-13 11:27:35 DEBUG nova.utils [req-33828f90-b7fb-4964-95f3-e82dbaf97a06 58d7fc4e97e24f3bb8311932897776fd df7547e90b88426d8b97dd2c7f05759b] Got file lock "89fbd43c4965766c125cce75a1c84d6271b7d4e7" for method "call_if_not_exists"..$
2013-02-13 11:27:56 ERROR nova.compute.manager [req-33828f90-b7fb-4964-95f3-e82dbaf97a06 58d7fc4e97e24f3bb8311932897776fd df7547e90b88426d8b97dd2c7f05759b] [instance: 93703b1d-c381-4a0d-8df4-d2142f30612e] Instance failed to spawn
2013-02-13 11:27:56 1841 TRACE nova.compute.manager [instance: 93703b1d-c381-4a0d-8df4-d2142f30612e] Traceback (most recent call last):
2013-02-13 11:27:56 1841 TRACE nova.compute.manager [instance: 93703b1d-c381-4a0d-8df4-d2142f30612e] File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 747, in _spawn
2013-02-13 11:27:56 1841 TRACE nova.compute.manager [instance: 93703b1d-c381-4a0d-8df4-d2142f30612e] block_device_info)
2013-02-13 11:27:56 1841 TRACE nova.compute.manager [instance: 93703b1d-c381-4a0d-8df4-d2142f30612e] File "/usr/lib/python2.7/dist-packages/nova/exception.py", line 117, in wrapped
2013-02-13 11:27:56 1841 TRACE nova.compute.manager [instance: 93703b1d-c381-4a0d-8df4-d2142f30612e] temp_level, payload)
2013-02-13 11:27:56 1841 TRACE nova.compute.manager [instance: 93703b1d-c381-4a0d-8df4-d2142f30612e] File "/usr/lib/python2.7/contextlib.py", line 24, in __exit__
2013-02-13 11:27:56 1841 TRACE nova.compute.manager [instance: 93703b1d-c381-4a0d-8df4-d2142f30612e] self.gen.next()
2013-02-13 11:27:56 1841 TRACE nova.compute.manager [instance: 93703b1d-c381-4a0d-8df4-d2142f30612e] File "/usr/lib/python2.7/dist-packages/nova/exception.py", line 92, in wrapped
2013-02-13 11:27:56 1841 TRACE nova.compute.manager [instance: 93703b1d-c381-4a0d-8df4-d2142f30612e] return f(*args, **kw)
2013-02-13 11:27:56 1841 TRACE nova.compute.manager [instance: 93703b1d-c381-4a0d-8df4-d2142f30612e] File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 1090, in spawn
2013-02-13 11:27:56 1841 TRACE nova.compute.manager [instance: 93703b1d-c381-4a0d-8df4-d2142f30612e] admin_pass=admin_password)
2013-02-13 11:27:56 1841 TRACE nova.compute.manager [instance: 93703b1d-c381-4a0d-8df4-d2142f30612e] File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 1356, in _create_image
2013-02-13 11:27:56 1841 TRACE nova.compute.manager [instance: 93703b1d-c381-4a0d-8df4-d2142f30612e] project_id=instance['project_id'])
2013-02-13 11:27:56 1841 TRACE nova.compute.manager [instance: 93703b1d-c381-4a0d-8df4-d2142f30612e] File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/imagebackend.py", line 126, in cache
2013-02-13 11:27:56 1841 TRACE nova.compute.manager [instance: 93703b1d-c381-4a0d-8df4-d2142f30612e] *args, **kwargs)
2013-02-13 11:27:56 1841 TRACE nova.compute.manager [instance: 93703b1d-c381-4a0d-8df4-d2142f30612e] File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/imagebackend.py", line 173, in create_image
2013-02-13 11:27:56 1841 TRACE nova.compute.manager [instance: 93703b1d-c381-4a0d-8df4-d2142f30612e] prepare_template(target=base, *args, **kwargs)
2013-02-13 11:27:56 1841 TRACE nova.compute.manager [instance: 93703b1d-c381-4a0d-8df4-d2142f30612e] File "/usr/lib/python2.7/dist-packages/nova/utils.py", line 752, in inner
2013-02-13 11:27:56 1841 TRACE nova.compute.manager [instance: 93703b1d-c381-4a0d-8df4-d2142f30612e] retval = f(*args, **kwargs)
2013-02-13 11:27:56 1841 TRACE nova.compute.manager [instance: 93703b1d-c381-4a0d-8df4-d2142f30612e] File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/imagebackend.py", line 117, in call_if_not_exists
2013-02-13 11:27:56 1841 TRACE nova.compute.manager [instance: 93703b1d-c381-4a0d-8df4-d2142f30612e] fetch_func(target=target, *args, **kwargs)
2013-02-13 11:27:56 1841 TRACE nova.compute.manager [instance: 93703b1d-c381-4a0d-8df4-d2142f30612e] File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/utils.py", line 440, in fetch_image
2013-02-13 11:27:56 1841 TRACE nova.compute.manager [instance: 93703b1d-c381-4a0d-8df4-d2142f30612e] images.fetch_to_raw(context, image_id, target, user_id, project_id)
2013-02-13 11:27:56 1841 TRACE nova.compute.manager [instance: 93703b1d-c381-4a0d-8df4-d2142f30612e] File "/usr/lib/python2.7/dist-packages/nova/virt/images.py", line 77, in fetch_to_raw
2013-02-13 11:27:56 1841 TRACE nova.compute.manager [instance: 93703b1d-c381-4a0d-8df4-d2142f30612e] fetch(context, image_href, path_tmp, user_id, project_id)
2013-02-13 11:27:56 1841 TRACE nova.compute.manager [instance: 93703b1d-c381-4a0d-8df4-d2142f30612e] File "/usr/lib/python2.7/dist-packages/nova/virt/images.py", line 72, in fetch
2013-02-13 11:27:56 1841 TRACE nova.compute.manager [instance: 93703b1d-c381-4a0d-8df4-d2142f30612e] image_service.download(context, image_id, image_file)
2013-02-13 11:27:56 1841 TRACE nova.compute.manager [instance: 93703b1d-c381-4a0d-8df4-d2142f30612e] File "/usr/lib/python2.7/dist-packages/nova/image/glance.py", line 225, in download
2013-02-13 11:27:56 1841 TRACE nova.compute.manager [instance: 93703b1d-c381-4a0d-8df4-d2142f30612e] data.write(chunk)
2013-02-13 11:27:56 1841 TRACE nova.compute.manager [instance: 93703b1d-c381-4a0d-8df4-d2142f30612e] IOError: [Errno 28] No space left on device
2013-02-13 11:27:56 1841 TRACE nova.compute.manager [instance: 93703b1d-c381-4a0d-8df4-d2142f30612e]
2013-02-13 11:27:56 DEBUG nova.utils [req-33828f90-b7fb-4964-95f3-e82dbaf97a06 58d7fc4e97e24f3bb8311932897776fd df7547e90b88426d8b97dd2c7f05759b] Got semaphore "compute_resources" for method "abort_resource_claim"... inner /usr/lib/pyth$
2013-02-13 11:27:56 INFO nova.compute.resource_tracker [req-33828f90-b7fb-4964-95f3-e82dbaf97a06 58d7fc4e97e24f3bb8311932897776fd df7547e90b88426d8b97dd2c7f05759b] Aborting claim: [Claim 93703b1d-c381-4a0d-8df4-d2142f30612e: 2024 MB mem$
2013-02-13 11:27:57 DEBUG nova.compute.manager [req-33828f90-b7fb-4964-95f3-e82dbaf97a06 58d7fc4e97e24f3bb8311932897776fd df7547e90b88426d8b97dd2c7f05759b] [instance: 93703b1d-c381-4a0d-8df4-d2142f30612e] Deallocating network for instan$
2013-02-13 11:27:57 1841 DEBUG nova.openstack.common.rpc.amqp [-] Making asynchronous call on network ... multicall /usr/lib/python2.7/dist-packages/nova/openstack/common/rpc/amqp.py:352
2013-02-13 11:27:57 1841 DEBUG nova.openstack.common.rpc.amqp [-] MSG_ID is 7aea6cd57d5146558b1fe1b08050c5d2 multicall /usr/lib/python2.7/dist-packages/nova/openstack/common/rpc/amqp.py:355
2013-02-13 11:27:57 DEBUG nova.compute.manager [req-33828f90-b7fb-4964-95f3-e82dbaf97a06 58d7fc4e97e24f3bb8311932897776fd df7547e90b88426d8b97dd2c7f05759b] [instance: 93703b1d-c381-4a0d-8df4-d2142f30612e] Retry info not present, will no$
2013-02-13 11:27:57 DEBUG nova.utils [req-33828f90-b7fb-4964-95f3-e82dbaf97a06 58d7fc4e97e24f3bb8311932897776fd df7547e90b88426d8b97dd2c7f05759b] Got semaphore "compute_resources" for method "update_usage"... inner /usr/lib/python2.7/di$
2013-02-13 11:27:57 DEBUG nova.utils [req-33828f90-b7fb-4964-95f3-e82dbaf97a06 58d7fc4e97e24f3bb8311932897776fd df7547e90b88426d8b97dd2c7f05759b] Got semaphore "compute_resources" for method "update_usage"... inner /usr/lib/python2.7/di$
2013-02-13 11:27:57 1841 ERROR nova.openstack.common.rpc.amqp [-] Exception during message handling
2013-02-13 11:27:57 1841 TRACE nova.openstack.common.rpc.amqp Traceback (most recent call last):
2013-02-13 11:27:57 1841 TRACE nova.openstack.common.rpc.amqp File "/usr/lib/python2.7/dist-packages/nova/openstack/common/rpc/amqp.py", line 276, in _process_data
2013-02-13 11:27:57 1841 TRACE nova.openstack.common.rpc.amqp rval = self.proxy.dispatch(ctxt, version, method, **args)
2013-02-13 11:27:57 1841 TRACE nova.openstack.common.rpc.amqp File "/usr/lib/python2.7/dist-packages/nova/openstack/common/rpc/dispatcher.py", line 145, in dispatch
2013-02-13 11:27:57 1841 TRACE nova.openstack.common.rpc.amqp return getattr(proxyobj, method)(ctxt, **kwargs)
2013-02-13 11:27:57 1841 TRACE nova.openstack.common.rpc.amqp File "/usr/lib/python2.7/dist-packages/nova/exception.py", line 117, in wrapped
2013-02-13 11:27:57 1841 TRACE nova.openstack.common.rpc.amqp temp_level, payload)
2013-02-13 11:27:57 1841 TRACE nova.openstack.common.rpc.amqp File "/usr/lib/python2.7/contextlib.py", line 24, in __exit__
2013-02-13 11:27:57 1841 TRACE nova.openstack.common.rpc.amqp self.gen.next()
2013-02-13 11:27:57 1841 TRACE nova.openstack.common.rpc.amqp File "/usr/lib/python2.7/dist-packages/nova/exception.py", line 92, in wrapped
2013-02-13 11:27:57 1841 TRACE nova.openstack.common.rpc.amqp return f(*args, **kw)
2013-02-13 11:27:57 1841 TRACE nova.openstack.common.rpc.amqp File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 175, in decorated_function
2013-02-13 11:27:57 1841 TRACE nova.openstack.common.rpc.amqp pass
2013-02-13 11:27:57 1841 TRACE nova.openstack.common.rpc.amqp File "/usr/lib/python2.7/contextlib.py", line 24, in __exit__
2013-02-13 11:27:57 1841 TRACE nova.openstack.common.rpc.amqp self.gen.next()
2013-02-13 11:27:57 1841 TRACE nova.openstack.common.rpc.amqp File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 161, in decorated_function
2013-02-13 11:27:57 1841 TRACE nova.openstack.common.rpc.amqp return function(self, context, *args, **kwargs)
2013-02-13 11:27:57 1841 TRACE nova.openstack.common.rpc.amqp File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 196, in decorated_function
2013-02-13 11:27:57 1841 TRACE nova.openstack.common.rpc.amqp kwargs['instance']['uuid'], e, sys.exc_info())
2013-02-13 11:27:57 1841 TRACE nova.openstack.common.rpc.amqp File "/usr/lib/python2.7/contextlib.py", line 24, in __exit__