havana | Nova instance launch error [closed]

asked 2013-11-19 08:04:36 -0600

Mridhul gravatar image

I’ve installed OS Havana on my servers and while trying to launch an instance it fails immediately and shows the instance state as ERROR

My setup is

MySQL/QPIDD/Horizon/Nova controller/Glance running on a single server (8GB RAM/4vCPU) and Nova compute on a different server(32GB RAM/8CPU)

/var/log/nova/compute.log has the following error trace while I create an instance : http://paste.openstack.org/show/53590/

Whenever I trigger a launch request it fails and this is the status of my server

[root@nova-node1 ~]# nova list +--------------------------------------+----------------+--------+------------+-------------+----------+ | ID | Name | Status | Task State | Power State | Networks | +--------------------------------------+----------------+--------+------------+-------------+----------+ | 88fa9e4f-ddf2-4f81-9afd-25c0160aa320 | Centos-Minimal | ERROR | None | NOSTATE | | +--------------------------------------+----------------+--------+------------+-------------+----------+ [root@nova-node1 ~]# nova show 88fa9e4f-ddf2-4f81-9afd-25c0160aa320 +--------------------------------------+-----------------------------------------------------------------------------------------------+ | Property | Value | +--------------------------------------+-----------------------------------------------------------------------------------------------+ | status | ERROR | | updated | 2013-11-19T12:41:20Z | | OS-EXT-STS:task_state | None | | OS-EXT-SRV-ATTR:host | None | | key_name | mykey | | image | CirrOS-test (dd08e2cd-b513-4837-a5db-b441cc17d697) | | hostId | | | OS-EXT-STS:vm_state | error | | OS-EXT-SRV-ATTR:instance_name | instance-00000009 | | OS-SRV-USG:launched_at | None | | OS-EXT-SRV-ATTR:hypervisor_hostname | None | | flavor | Micro (6b3827d7-ebc4-4992-a44b-557ea2fd9b19) | | id | 88fa9e4f-ddf2-4f81-9afd-25c0160aa320 | | security_groups | [{u'name': u'default'}] | | OS-SRV-USG:terminated_at | None | | user_id | 959a0bb9cad246e1b1dd9a4028fb0a13 | | name | Centos-Minimal | | created | 2013-11-19T12:41:20Z | | tenant_id | 09bcee79738d421582c8ac938cb13636 | | OS-DCF:diskConfig | MANUAL | | metadata | {} | | os-extended-volumes:volumes_attached | [] | | accessIPv4 | | | accessIPv6 | | | fault | {u'message': u'No valid host was found. ', u'code': 500, u'created': u'2013-11-19T12:41:20Z'} | | OS-EXT-STS:power_state | 0 | | OS-EXT-AZ:availability_zone | nova | | config_drive | | +--------------------------------------+-----------------------------------------------------------------------------------------------+

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by dheeru
close date 2013-11-20 07:31:09.211202

1 answer

Sort by » oldest newest most voted
0

answered 2013-11-19 22:46:30 -0600

dheeru gravatar image

What is the output of nova host-list ? Can you check whether each compute node is reachable from controller and vice-versa ? Did you make proper /etc/hosts entry ?

edit flag offensive delete link more

Comments

1

1. Error was exception.ComputeHostNotFound(host=compute_id) 2. command nova host-list should not return the second compute host. 3. It means that either compute host is down or compute service is not running on the second box. 4. IN this case compute service was not running on the second compute box.

dheeru gravatar imagedheeru ( 2013-11-20 03:34:45 -0600 )edit

Hi, I am also facing the same problem. my controller can reach the compute node and vice-versa and my /etc/hosts entry is alright. the output of nova host-list is: nova host-list +------------+-------------+----------+ | host_name | service | zone | +------------+-------------+----------+ | controller | cert | internal | | controller | consoleauth | internal | | controller | scheduler | internal | | controller | conductor | internal | | compute | compute | nova | +------------+-------------+----------+ Please help me out.

Mith gravatar imageMith ( 2014-02-09 04:43:14 -0600 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2013-11-19 08:04:36 -0600

Seen: 1,667 times

Last updated: Nov 19 '13