Ask Your Question
0

fail to launch instances

asked 2011-01-31 06:58:26 -0500

wayne-walls gravatar image

I can flavor-list, I can image-list, but when I try to boot an instance it's kick out a 500 error on me.

###

OS: Ubuntu 10.04 on XenServer 5.6, all plug-ins installed Nova installed from packages Glance installed from packages

###

root@xbuntu01:~/openstack/images/glance# cloudservers flavor-list +----+-----------+-------+------+ | ID | Name | RAM | Disk | +----+-----------+-------+------+ | 1 | m1.tiny | 512 | 0 | | 2 | m1.small | 2048 | 20 | | 3 | m1.medium | 4096 | 40 | | 4 | m1.large | 8192 | 80 | | 5 | m1.xlarge | 16384 | 160 | +----+-----------+-------+------+ root@xbuntu01:~/openstack/images/glance# cloudservers image-list Matched GET /images/detail DEBUG:routes.middleware:Matched GET /images/detail Route path: 'images/detail', defaults: {'action': u'detail', 'controller': <glance.server.controller object="" at="" 0x26fa910="">} DEBUG:routes.middleware:Route path: 'images/detail', defaults: {'action': u'detail', 'controller': <glance.server.controller object="" at="" 0x26fa910="">} Match dict: {'action': u'detail', 'controller': <glance.server.controller object="" at="" 0x26fa910="">} DEBUG:routes.middleware:Match dict: {'action': u'detail', 'controller': <glance.server.controller object="" at="" 0x26fa910="">} Matched GET /images/detail DEBUG:routes.middleware:Matched GET /images/detail Route path: 'images/detail', defaults: {'action': u'detail', 'controller': <glance.registry.server.imagecontroller object="" at="" 0x2006850="">} DEBUG:routes.middleware:Route path: 'images/detail', defaults: {'action': u'detail', 'controller': <glance.registry.server.imagecontroller object="" at="" 0x2006850="">} Match dict: {'action': u'detail', 'controller': <glance.registry.server.imagecontroller object="" at="" 0x2006850="">} DEBUG:routes.middleware:Match dict: {'action': u'detail', 'controller': <glance.registry.server.imagecontroller object="" at="" 0x2006850="">} 184.106.73.76 - - [31/Jan/2011 00:55:24] "GET /images/detail HTTP/1.1" 200 1024 0.011890 +----+---------+--------+ | ID | Name | Status | +----+---------+--------+ | 1 | ramdisk | active | | 2 | kernel | active | | 3 | machine | active | +----+---------+--------+ root@xbuntu01:~/openstack/images/glance# 127.0.0.1 - - [31/Jan/2011 00:55:24] "GET /images/detail HTTP/1.1" 200 1024 0.026510

root@xbuntu01:~/openstack/images/glance# cloudservers boot --flavor=2 --image=3 TEST Traceback (most recent call last): File "/usr/local/bin/cloudservers", line 9, in <module> load_entry_point('python-cloudservers==1.2', 'console_scripts', 'cloudservers')() File "/usr/local/lib/python2.6/dist-packages/python_cloudservers-1.2-py2.6.egg/cloudservers/shell.py", line 551, in main CloudserversShell().main(sys.argv[1:]) File "/usr/local/lib/python2.6/dist-packages/python_cloudservers-1.2-py2.6.egg/cloudservers/shell.py", line 144, in main args.func(args) File "/usr/local/lib/python2.6/dist-packages/python_cloudservers-1.2-py2.6.egg/cloudservers/shell.py", line 284, in do_boot metadata, files) File "/usr/local/lib/python2.6/dist-packages/python_cloudservers-1.2-py2.6.egg/cloudservers/servers.py", line 222, in create return self._create("/servers", body, "server") File "/usr/local/lib/python2.6/dist-packages/python_cloudservers-1.2-py2.6.egg/cloudservers/base.py", line 34, in _create resp, body = self.api.client.post(url, body=body) File "/usr/local/lib/python2.6/dist-packages/python_cloudservers-1.2-py2.6.egg/cloudservers/client.py", line 86, in post return self._cs_request(url, 'POST', *kwargs) File "/usr/local/lib/python2.6/dist-packages/python_cloudservers-1.2-py2.6.egg/cloudservers/client.py", line 70, in _cs_request *kwargs) File "/usr/local/lib/python2.6/dist-packages/python_cloudservers-1.2-py2.6.egg/cloudservers/client.py", line 56, in request raise exceptions.from_response(resp ... (more)

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2011-02-05 03:44:30 -0500

antonym gravatar image

I ran into this as well, but found I had skipped a step. Make sure that euca2ools is installed and that you've added the keypair:

euca-add-keypair nova_key > nova_key.priv

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-01-31 06:58:26 -0500

Seen: 16 times

Last updated: Feb 05 '11