Openstack Error Launching Instance
Contents |
06:49:44 -0500 kemra102 105 ●8 ●10 ●16 updated 2013-11-22 openstack instance status error 10:40:46 -0500 dheeru 2718 ●13 ●31 ●40 When trying to openstack instance error state create a nova instance I get no error but after running nova list it nova list status error shows in an ERROR status: +--------------------------------------+---------------+--------+------------+-------------+----------+ | ID | Name | Status | Task State | Power State | Networks | +--------------------------------------+---------------+--------+------------+-------------+----------+ | openstack server list status error f5c25384-5bae-47ed-93e5-6e4cdd55c4a9 | myfirstserver | ERROR | None | NOSTATE | | +--------------------------------------+---------------+--------+------------+-------------+----------+ The only errors I can find logged are in /var/log/glance/api.log: 2013-11-20 12:39:33.633 11918 INFO urllib3.connectionpool [-] Starting new HTTP connection (1): 192.168.3.16 2013-11-20 12:39:34.639 11918 WARNING keystoneclient.middleware.auth_token [-] Unable to find authentication token in headers 2013-11-20
No Valid Host Was Found. There Are Not Enough Hosts Available. Openstack
12:39:34.639 11918 INFO keystoneclient.middleware.auth_token [-] Invalid user token - rejecting request I have checked the keystone details in all the relevant places but can see nothing amiss. Edited to provide requested info: keystone token-get returns a token as expected, no errors. keystone user-list: +----------------------------------+--------+---------+----------------+ | id | name | enabled | email | +----------------------------------+--------+---------+----------------+ | 5fc621f9f24941febb883f78d2d350ec | admin | True | root@localhost | | f13b1b93cf6f41faaafb0d4be453109a | cinder | True | root@localhost | | b2d3f462387442cfaaad51490d4146f4 | glance | True | root@localhost | | ed506136092e48ceacc3137e1c63f38d | nova | True | root@localhost | +----------------------------------+--------+---------+----------------+ keystone tenant-list: +----------------------------------+---------+---------+ | id | name | enabled | +----------------------------------+---------+---------+ | c22af115b6a84dc78b1ae19385c6cd23 | admin | True | | 15b85349d46a4bddb48cac7c64bce97d | service | True | +----------------------------------+---------+---------+ keystone role-list: +----------------------------------+----------+ | id | name | +----------------------------------+----------+ | 9fe2ff9ee4384b1894a90878d3e92bab | _member_ | | 9764c960e12e4cfea424ba2c808d763e | admin | +----------------------------------+----------+ glance image-list: +--------------------------------------+-----------------+-------------+-----------
-0500 Aditi Sharma 41 ●2 ●4 ●4 Hi, I installed openstack using Devstack environment. But now i am not able to launch an instance.
Message No Valid Host Was Found There Are Not Enough Hosts Available Code 500
When i do so no availability zones are available plus it gives openstack no valid host was found an error without any description when i launch it. I am not able to view any openstack services nova reset-state logs (nova, neutron etc.). In stack.sh.logs also i am not able to view anything. Is there any error?? I am not able to understand anything. Please help me what i https://ask.openstack.org/en/question/7324/new-instance-gets-always-into-error-status/ am doing wrong.. I checked in var/log/syslog but i found nothing. Also tell me about local.conf, currently i am using localrc. Will it be sufficient? or should i use some local.conf by putting stackrc and localrc files together in it??? Please help. edit retag flag offensive close merge delete add a comment 3 answers Sort by » oldest newest most voted https://ask.openstack.org/en/question/29439/devstack-not-able-to-launch-an-instance/ 1 answered 2014-05-12 03:28:54 -0500 SGPJ 10616 ●59 ●114 ●152 https://in.linkedin.co... updated 2014-05-12 05:47:17 -0500 You need to have availability zones to launch VMs. A quick check, see whether nova compute (n-cpu) is running by clicking on "system info" of Admin panel. If you are using ubutu, follow this bug link. Thanks. edit flag offensive delete link more CommentsI am not able to find log files of nova. I checked in /var/log and there are no nova, neutron folders. Where are the logs available if i install during devstack? In "system info" of Admin Panel, i can see all services are enabled(nova-compute, nova-computev3, neutron-network and others). All network agents are also up and running. Please note that i did not have any errors during installation of devstack. It is only the instance creation which is encountering the problem.Aditi Sharma( 2014-05-12 04:08:15 -0500 )editIf n-cpu is running, are you sure that there are no availability zones are available?SGPJ( 2014-05-12 05:46:37 -0500 )edityup.. its running but there are no availability zones.Aditi Sharma( 2014-05-12 05:49:38 -0500 )editadd a comment 1 answered 2014-05-13
JayG 31 ●4 ●5 ●9 I have installed icehouse openstack on ubuntu 14.04 server. I have https://ask.openstack.org/en/question/31328/how-to-troubleshoot-instance-generating-status-error/ create 3 seperate nodes. one for controller running keystone, image service, nova controller service and neutron controller service with dashboard service. Second for compute and third http://stackoverflow.com/questions/20493046/openstack-error-when-launching-an-instance for network node. I have done all the possible troubleshooting with the help of already available online help and blogs and checked all the available logs, but status error not getting any clue. Whenever I create a instance its status always reflects as ERROR. I am trying to create instance from command line and dashboard but facing same issue. kindly help. all the nodes are able to communicate with each other with ip and hostname. controller has one management interface while compute no valid host node and network node has additional interface for instance tunnel which are accessible from both the nodes. kindly help to troubleshoot the issue. edit retag flag offensive close merge delete CommentsPost /var/log/nova/nova-compute.log from Compute Node ( for IceHouse) and /var/log/nova/compute.log on Compute Node (for Havana).dbaxps( 2014-06-04 10:35:15 -0500 )editI don't hav this log file on my compute node, i can see only nova-manage.log on my compute nodeJayG( 2014-06-05 03:04:02 -0500 )editOK. Can you find anywhere on your system /var/log/nova/*compute.logdbaxps( 2014-06-05 03:58:41 -0500 )editbut still i am not getting its consoleJayG( 2014-06-05 06:12:03 -0500 )editwhile accessing through url it is showing loading only.JayG( 2014-06-05 06:17:16 -0500 )editadd a comment see more comments 1 answer Sort by » oldest newest most voted 1 answered 2014-06-05 06:01:13 -0500 JayG 31 ●4 ●5 ●9 thanks a lot, because of your clue i found the error. I found the log file under /var/log/upstart/nova-compute.log the error was with the code which was typo
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 6.2 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up OpenStack error when launching an instance up vote 0 down vote favorite I am having a consistent Error: Failed to launch instance-id": Please try again later [Error: Timeout while waiting on RPC response -topic: "network", RPC method: "get_instance_nw_info" info: ""] every time I am launching an instance in Openstack. I've tried it both using the OpenStack dashboard and via terminal (nova). Using the terminal, here's the command I ran: nova boot --flavor "2" --image "b26c9acf-06c0-4ff8-b1c7-aca3052485c8" --num-instances "2" --security-groups "default" --meta description="test" test When I check the list of instances, here's the output: +--------------------------------------+-------------------------------------------+--- -----+------------+-------------+----------+ | ID | Name | Status | Task State | Power State | Networks | +--------------------------------------+-------------------------------------------+--- -----+------------+-------------+----------+ | a0477666-b810-4c73-94e6-2a66576bccac | test-a0477666-b810-4c73-94e6-2a66576bccac | ERROR | None | NOSTATE | | | c5822a6f-4270-4718-95c4-9f28fea8de82 | test-c5822a6f-4270-4718-95c4-9f28fea8de82 | ERROR | None | NOSTATE | | Here's a snapshot of the error I am encountering: Am I missing a configuration entry (i.e. using dashboard) or sub-command (i.e. in using nova via terminal) during launching? Any feedback is greatly appreciated. Thanks in advance! openstack devstack share|improve this question asked Dec 10 '13 at 11:18