Ask Your Question
0

nova instance failed to start.

asked 2011-05-09 03:47:50 -0600

chris-pwelsh gravatar image

Hi,

First of all pls, forgive me, I'm new and may be missing something simple. Some messages in the nova-compute.log seem curious.

ie. "libvirtError: internal error no supported architecture for os type 'hvm' " I also see an entries for qemu and kvm. I think I should be using kvm according to my nova.conf.

Any pointers very welcome.

Begin Verbose DUMP -----

Env:

Installed Ubuntu 11.04 and the nova package that comes with it. Also installed Glance and swift. kvm is also installed. Ubuntu is running as a VM om my Mac via VMWARE fusion. All services are running off this one server for now.

nova.conf:

--dhcpbridge=/usr/bin/nova-dhcpbridge --lock_path=/var/lock/nova --cc_host=172.16.20.111 --use_ipv6=false --ca_path=/var/lib/nova/CA --keys_path=/var/lib/nova/keys --networks_path=/var/lib/nova/networks --instances_path=/var/lib/nova/instances --images_path=/var/lib/nova/images --buckets_path=/var/lib/nova/buckets --libvirt_type=kvm --volume_group=nova-volumes --glance_host=172.16.20.111 --glance_port=9292 --image_service=nova.image.glance.GlanceImageService --vnc_console_proxy_url=http://172.16.20.111:6080 --vnc_enabled=True --vncproxy_host=172.16.20.111 --daemonize=1 --my_ip=172.16.20.111 --network_manager=nova.network.manager.FlatManager --fixed_range=172.16.20.0/25 --num_networks=1 --public_interface=eth0 --flat_injected=true --rabbit_host=172.16.20.111 --s3_host=172.16.20.111 --cc_host=172.16.20.111 --ec2_url=http://172.16.20.111:8773/services/Cloud --logdir=/var/log/nova --state_path=/var/lib/nova --verbose

glance.conf [DEFAULT] verbose = True debug = False [app:glance-api] paste.app_factory = glance.server:app_factory default_store = file bind_host = 0.0.0.0 bind_port = 9292 registry_host = 0.0.0.0 registry_port = 9191 filesystem_store_datadir=/var/lib/glance/images/ swift_store_auth_address = 127.0.0.1:8080/v1.0/ swift_store_user = chris swift_store_key = a86850deb2742ec3cb41518e26aa2d89 swift_store_container = glance swift_store_create_container_on_put = True [app:glance-registry] paste.app_factory = glance.registry.server:app_factory bind_host = 0.0.0.0 bind_port = 9191 sql_connection = sqlite:////var/lib/glance/glance.sqlite sql_idle_timeout = 3600

nova-manage service list nova-manage service list ubuntuServer nova-compute enabled :-) 2011-05-09 03:22:25.182752 ubuntuServer nova-scheduler enabled :-) 2011-05-09 03:22:25.498640 ubuntuServer nova-network enabled :-) 2011-05-09 03:22:25.287896 ubuntuServer nova-volume enabled :-) 2011-05-09 03:22:25.004466

sudo nova-manage vm list instance node type state launched image kernel ramdisk project user zone index i-00000001 ubuntuServer <nova.db.sqlalchemy.models.instancetypes object="" at="" 0x3183350=""> shutdown None 2 1 dev chris None 0
i-00000002 ubuntuServer <nova.db.sqlalchemy.models.instancetypes object="" at="" 0x3183350=""> shutdown None 2 1 dev chris None 0
i-00000003 ubuntuServer <nova.db.sqlalchemy.models.instancetypes object="" at="" 0x3183350=""> shutdown None 2 1 dev chris None 0
i-00000004 ubuntuServer <nova.db.sqlalchemy.models.instancetypes object="" at="" 0x3183350=""> shutdown None 2 1 dev chris None 0
i-00000005 ubuntuServer <nova.db.sqlalchemy.models.instancetypes object="" at="" 0x3183350=""> shutdown None 2 1 dev chris None 0
i-00000006 ubuntuServer <nova.db.sqlalchemy.models.instancetypes object="" at="" 0x3183350=""> shutdown None 2 1 dev chris None 0
i-00000007 ubuntuServer <nova.db.sqlalchemy.models.instancetypes object="" at="" 0x3183350=""> shutdown None 2 1 dev chris nova 0
i-00000008 ubuntuServer <nova.db ...






(more)

edit retag flag offensive close merge delete

5 answers

Sort by ยป oldest newest most voted
0

answered 2011-05-11 16:16:58 -0600

vishvananda gravatar image

Sure, you probably need to up your instances quota and your cores quota with nova-manage project quota (You could also just delete everything from the instances table or delete and recreate the database)

Vish

On May 10, 2011, at 6:05 PM, Chris Welsh wrote:

Question #156680 on OpenStack Compute (nova) changed: https://answers.launchpad.net/nova/+q...

Chris Welsh posted a new comment: Hi Vish,

Just wondering if you had any pointers?

Chris


You received this question notification because you are a member of Nova Core, which is an answer contact for OpenStack Compute (nova).

edit flag offensive delete link more
0

answered 2011-05-09 06:14:10 -0600

vishvananda gravatar image

does your computer support hardware virtualization? It may be turned off in the bios because it doesn't look like libvirt can find it.

If it doesn't support hardware virt, you can use --libvirt_type=qemu

Vish

On May 8, 2011, at 8:50 PM, Chris Welsh wrote:

New question #156680 on OpenStack Compute (nova): https://answers.launchpad.net/nova/+q...

Hi,

First of all pls, forgive me, I'm new and may be missing something simple. Some messages in the nova-compute.log seem curious.

ie. "libvirtError: internal error no supported architecture for os type 'hvm' " I also see an entries for qemu and kvm. I think I should be using kvm according to my nova.conf.

Any pointers very welcome.

Begin Verbose DUMP -----

Env:

Installed Ubuntu 11.04 and the nova package that comes with it. Also installed Glance and swift. kvm is also installed. Ubuntu is running as a VM om my Mac via VMWARE fusion. All services are running off this one server for now.

nova.conf:

--dhcpbridge=/usr/bin/nova-dhcpbridge --lock_path=/var/lock/nova --cc_host=172.16.20.111 --use_ipv6=false --ca_path=/var/lib/nova/CA --keys_path=/var/lib/nova/keys --networks_path=/var/lib/nova/networks --instances_path=/var/lib/nova/instances --images_path=/var/lib/nova/images --buckets_path=/var/lib/nova/buckets --libvirt_type=kvm --volume_group=nova-volumes --glance_host=172.16.20.111 --glance_port=9292 --image_service=nova.image.glance.GlanceImageService --vnc_console_proxy_url=http://172.16.20.111:6080 --vnc_enabled=True --vncproxy_host=172.16.20.111 --daemonize=1 --my_ip=172.16.20.111 --network_manager=nova.network.manager.FlatManager --fixed_range=172.16.20.0/25 --num_networks=1 --public_interface=eth0 --flat_injected=true --rabbit_host=172.16.20.111 --s3_host=172.16.20.111 --cc_host=172.16.20.111 --ec2_url=http://172.16.20.111:8773/services/Cloud --logdir=/var/log/nova --state_path=/var/lib/nova --verbose

glance.conf [DEFAULT] verbose = True debug = False [app:glance-api] paste.app_factory = glance.server:app_factory default_store = file bind_host = 0.0.0.0 bind_port = 9292 registry_host = 0.0.0.0 registry_port = 9191 filesystem_store_datadir=/var/lib/glance/images/ swift_store_auth_address = 127.0.0.1:8080/v1.0/ swift_store_user = chris swift_store_key = a86850deb2742ec3cb41518e26aa2d89 swift_store_container = glance swift_store_create_container_on_put = True [app:glance-registry] paste.app_factory = glance.registry.server:app_factory bind_host = 0.0.0.0 bind_port = 9191 sql_connection = sqlite:////var/lib/glance/glance.sqlite sql_idle_timeout = 3600

nova-manage service list nova-manage service list ubuntuServer nova-compute enabled :-) 2011-05-09 03:22:25.182752 ubuntuServer nova-scheduler enabled :-) 2011-05-09 03:22:25.498640 ubuntuServer nova-network enabled :-) 2011-05-09 03:22:25.287896 ubuntuServer nova-volume enabled :-) 2011-05-09 03:22:25.004466

sudo nova-manage vm list instance node type state launched image kernel ramdisk project user zone index i-00000001 ubuntuServer <nova.db.sqlalchemy.models.instancetypes object="" at="" 0x3183350=""> shutdown None 2 1 dev chris None 0
i-00000002 ubuntuServer <nova.db.sqlalchemy.models.instancetypes object="" at="" 0x3183350=""> shutdown None 2 1 dev chris None 0
i-00000003 ubuntuServer <nova.db.sqlalchemy.models.instancetypes object="" at="" 0x3183350=""> shutdown None 2 1 dev chris None 0
i-00000004 ubuntuServer <nova.db.sqlalchemy.models.instancetypes object="" at="" 0x3183350=""> shutdown None 2 1 dev ...


(more)
edit flag offensive delete link more
0

answered 2011-05-09 06:58:36 -0600

chris-pwelsh gravatar image

Hi Vish,

Thanks for the quick response I have now added that setting to the nova.conf and rebooted. New error now.

"InstanceLimitExceeded: Instance quota exceeded"

Have increased the number to 32 and rebooted but same problem. I am guessing this has something to do with needing to clean up the other failed instances from previous attempts as seen below in red? Just a poor guess though?

Any thoughts?

BTW: This is what I did to try increase the quota.

  • sudo nova-manage project quota dev chris_key 100
  • in nova.conf, I set num_networks=32 (it was set to 1)

Chris

On Mon, May 9, 2011 at 4:15 PM, Vish Ishaya < question156680@answers.launchpad.net > wrote:

Your question #156680 on OpenStack Compute (nova) changed: https://answers.launchpad.net/nova/+question/156680 (https://answers.launchpad.net/nova/+q...)

Status: Open => Answered

Vish Ishaya proposed the following answer: does your computer support hardware virtualization? It may be turned off in the bios because it doesn't look like libvirt can find it.

If it doesn't support hardware virt, you can use --libvirt_type=qemu

Vish

On May 8, 2011, at 8:50 PM, Chris Welsh wrote:

New question #156680 on OpenStack Compute (nova): https://answers.launchpad.net/nova/+question/156680 (https://answers.launchpad.net/nova/+q...)

Hi,

First of all pls, forgive me, I'm new and may be missing something simple. Some messages in the nova-compute.log seem curious.

ie. "libvirtError: internal error no supported architecture for os type 'hvm' " I also see an entries for qemu and kvm. I think I should be using kvm according to my nova.conf.

Any pointers very welcome.

Begin Verbose DUMP -----

Env:

Installed Ubuntu 11.04 and the nova package that comes with it. Also installed Glance and swift. kvm is also installed. Ubuntu is running as a VM om my Mac via VMWARE fusion. All services are running off this one server for now.

nova.conf:

--dhcpbridge=/usr/bin/nova-dhcpbridge --lock_path=/var/lock/nova --cc_host=172.16.20.111 --use_ipv6=false --ca_path=/var/lib/nova/CA --keys_path=/var/lib/nova/keys --networks_path=/var/lib/nova/networks --instances_path=/var/lib/nova/instances --images_path=/var/lib/nova/images --buckets_path=/var/lib/nova/buckets --libvirt_type=kvm --volume_group=nova-volumes --glance_host=172.16.20.111 --glance_port=9292 --image_service=nova.image.glance.GlanceImageService --vnc_console_proxy_url=http://172.16.20.111:6080 --vnc_enabled=True --vncproxy_host=172.16.20.111 --daemonize=1 --my_ip=172.16.20.111 --network_manager=nova.network.manager.FlatManager --fixed_range=172.16.20.0/25 --num_networks=1 --public_interface=eth0 --flat_injected=true --rabbit_host=172.16.20.111 --s3_host=172.16.20.111 --cc_host=172.16.20.111 --ec2_url=http://172.16.20.111:8773/services/Cloud --logdir=/var/log/nova --state_path=/var/lib/nova --verbose

glance.conf [DEFAULT] verbose = True debug = False [app:glance-api] paste.app_factory = glance.server:app_factory default_store = file bind_host = 0.0.0.0 bind_port = 9292 registry_host = 0.0.0.0 registry_port = 9191 filesystem_store_datadir=/var/lib/glance/images/ swift_store_auth_address = 127.0.0.1:8080/v1.0/ swift_store_user = chris ...

(more)
edit flag offensive delete link more
0

answered 2011-05-11 01:05:18 -0600

chris-pwelsh gravatar image

Hi Vish,

Just wondering if you had any pointers?

Chris

edit flag offensive delete link more
0

answered 2011-05-18 01:31:41 -0600

chris-pwelsh gravatar image

Hi Vish,

You were correct, no VT support. I have since reinstalled onto a real server with VT support and this solved the issue.

Chris

ps. The network setup eats my brain. I may fire off some questions in another ticket soon. Can you please close this ticket?

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2011-05-09 03:47:50 -0600

Seen: 129 times

Last updated: May 18 '11