about windows server imags

asked 2011-08-30 02:45:03 -0600

ljvsss gravatar image

Sorry,my english is very bad.

my nova.conf

--dhcpbridge_flagfile=/etc/nova/nova.conf --dhcpbridge=/usr/bin/nova-dhcpbridge --logdir=/var/log/nova --state_path=/var/lib/nova --lock_path=/var/lock/nova --verbose=1 --s3_host=60.12.206.101 --rabbit_host=60.12.206.101 --cc_host=60.12.206.101 --ec2_url=http://60.12.206.101:8773/services/Cloud --fixed_range=10.0.0.0/24 --network_size=254 --FAKE_subdomain=ec2 --routing_source_ip=60.12.206.101 --sql_connection=mysql://nova:nova@192.168.1.2/nova --glance_host=60.12.206.101 --image_service=nova.image.glance.GlanceImageService --network_manager=nova.network.manager.FlatDHCPManager --flat_network_dhcp_start=10.0.0.2 --flat_interface=eth1 --public_interface=eth0 --flat_injected=false --my_ip=60.12.206.101 --network_host=60.12.206.101 --vnc_console_proxy_url=http://60.12.206.101:6080 --vnc_enabled=True --vncproxy_host=0.0.0.0 --vncproxy_host=http://60.12.206.101:6080

when i start an instance with imags that make by myself,froot@op1:/home/openstack# euca-describe-instances root@op1:/home/openstack# euca-describe-images IMAGE aki-00000008 bucket/maverick-server-uec-amd64-vmlinuz-virtual.manifest.xml available public i386 kernel
IMAGE ami-00000009 bucket/maverick-server-uec-amd64.img.manifest.xml available public i386 machine aki-00000008
IMAGE aki-0000000b guanfang/maverick-server-uec-amd64-vmlinuz-virtual.manifest.xml available public i386 kernel
IMAGE ami-0000000c guanfang/maverick-server-uec-amd64.img.manifest.xml available public i386 machine aki-0000000b
IMAGE ami-00000014 mybucket/server.img.manifest.xml available public x86_64 machine
IMAGE ami-00000015 mybucket/win03.img.manifest.xml available public x86_64 machine
IMAGE ami-00000017 mybucket/win08r2.img.manifest.xml available public x86_64 machine

root@op1:/home/openstack# euca-describe-instances RESERVATION r-uth5vc2f cloud default INSTANCE i-00000009 ami-00000002 10.0.0.4 10.0.0.4 running gamewave (cloud, op1) 0 m1.tiny 2011-08-29T05:08:14Z nova
RESERVATION r-eovboxsu cloud default INSTANCE i-00000014 ami-00000014 10.0.0.5 10.0.0.5 running gamewave (cloud, op2) 0 m1.medium 2011-08-30T01:11:29Z nova
RESERVATION r-484yzaeb cloud default INSTANCE i-0000001a ami-00000017 10.0.0.2 10.0.0.2 shutdown gamewave (cloud, op1) 0 m1.medium 2011-08-30T02:12:42Z nova

the instance that use centos imags(make by myself too) is ok,but the instance i-1a is filed to start.The image windows server 2003 and window server 2008 with the same error,can not start the instance.

here is some error in nova-compute.log

2011-08-30 10:14:57,546 ERROR nova.exception [-] 未捕获异常 (nova.exception): TRACE: Traceback (most recent call last): (nova.exception): TRACE: File "/usr/lib/pymodules/python2.7/nova/exception.py", line 120, in _wrap (nova.exception): TRACE: return f(args, *kw) (nova.exception): TRACE: File "/usr/lib/pymodules/python2.7/nova/virt/libvirt_conn.py", line 616, in spawn (nova.exception): TRACE: self._create_image(instance, xml, network_info) (nova.exception): TRACE: File "/usr/lib/pymodules/python2.7/nova/virt/libvirt_conn.py", line 945, in _create_image (nova.exception): TRACE: ' data into image %(img_id)s (%(e)s)') % locals()) (nova.exception): TRACE: UnicodeEncodeError: 'ascii' codec can't encode characters in position 0-8: ordinal not in range(128) (nova.exception): TRACE: 2011-08-30 10:14:57,548 ERROR nova.compute.manager [5-EDGRWJCT0-V4PURA68 gamewave cloud] Instance '26' failed to spawn. Is virtualization enabled in the BIOS ... (more)

edit retag flag offensive close merge delete

2 answers

Sort by » oldest newest most voted
0

answered 2011-08-31 03:08:23 -0600

heut2008 gravatar image

check if you have start libvirt-bin ,if not ,start it by start libvirt-bin.

edit flag offensive delete link more
0

answered 2011-09-03 05:44:59 -0600

ljvsss gravatar image

Thanks beyondmandela, that solved my question.

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2011-08-30 02:45:03 -0600

Seen: 35 times

Last updated: Sep 03 '11