Ask Your Question
1

nova-compute is not coming up in OpenStack DevStack

asked 2015-01-08 06:47:37 -0500

exergy gravatar image

updated 2015-01-08 09:47:08 -0500

9lives gravatar image

nova-compute is not coming up in OpenStack Devstack All in One Node Install. While nova services are enable in stackrc

local.conf is also fine. Dashboard is coming up with all the services but compute host is not showing up.It is a physical machine (Ubuntu 12.04 Server), IP address is fixed. etc/hosts has correct entry. Also I have updated and upgraded before running ./stack.sh

nova-compute service is missing shows the below output.

hadoop@hadoop:~/devstack$ nova-manage service list
2015-01-08 16:30:34.264 DEBUG nova.servicegroup.api [-] ServiceGroup driver defined as an instance of db from (pid=23283) __new__ /opt/stack/nova/nova/servicegroup/api.py:65
2015-01-08 16:30:34.266 DEBUG oslo.db.api [req-504b55a2-50bc-4284-b36f-0c6961ac0936 None None] Loading backend 'sqlalchemy' from 'nova.db.sqlalchemy.api' from (pid=23283) _load_backend /usr/local/lib/python2.7/dist-packages/oslo/db/api.py:182
2015-01-08 16:30:34.501 DEBUG oslo.db.sqlalchemy.session [req-504b55a2-50bc-4284-b36f-0c6961ac0936 None None] MySQL server mode set to STRICT_TRANS_TABLES,STRICT_ALL_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,TRADITIONAL,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION from (pid=23283) _check_effective_sql_mode /usr/local/lib/python2.7/dist-packages/oslo/db/sqlalchemy/session.py:509
Binary           Host                                 Zone             Status     State Updated_At
nova-conductor   hadoop                               internal         enabled    :-)   2015-01-08 11:00:34
nova-cert        hadoop                               internal         enabled    :-)   2015-01-08 11:00:27
nova-network     hadoop                               internal         enabled    :-)   2015-01-08 11:00:30
nova-scheduler   hadoop                               internal         enabled    :-)   2015-01-08 11:00:33
nova-consoleauth hadoop                               internal         enabled    :-)   2015-01-08 11:00:29
hadoop@hadoop:~/devstack$

Unable to figure out on what am I missing, please help!

local.conf looks like below

hadoop@hadoop:~/devstack$ cat local.conf
# Sample ``local.conf`` for user-configurable variables in ``stack.sh``

# NOTE: Copy this file to the root ``devstack`` directory for it to
# work properly.

# ``local.conf`` is a user-maintained setings file that is sourced from ``stackrc``.
# This gives it the ability to override any variables set in ``stackrc``.
# Also, most of the settings in ``stack.sh`` are written to only be set if no
# value has already been set; this lets ``local.conf`` effectively override the
# default values.

# This is a collection of some of the settings we have found to be useful
# in our DevStack development environments. Additional settings are described
# in http://devstack.org/local.conf.html
# These should be considered as samples and are unsupported DevStack code.

# The ``localrc`` section replaces the old ``localrc`` configuration file.
# Note that if ``localrc`` is present it will be used in favor of this section.
[[local|localrc]]

# Minimal Contents
# ----------------

# While ``stack.sh`` is happy to run without ``localrc``, devlife is better when
# there are a few minimal variables set:

# If the ``SERVICE_TOKEN`` and ``*_PASSWORD`` variables are not set
# here you will be prompted to enter values for them by ``stack.sh``
# and they will be added to ``local.conf``.

FLOATING_RANGE=10.20.1.0/24
FIXED_RANGE=10.20.1.0/24
FIXED_NETWORK_SIZE=256
FLAT_INTERFACE=eth0

#SERVICE_TOKEN=password
ADMIN_PASSWORD=password
MYSQL_PASSWORD=password
RABBIT_PASSWORD=password
SERVICE_PASSWORD=$ADMIN_PASSWORD


# ``HOST_IP`` should be set manually for best results if the NIC configuration
# of the host is unusual, i ...
(more)
edit retag flag offensive close merge delete

Comments

There is no error visible in what you posted. Check your logs and edit the question to add more details.

smaffulli gravatar imagesmaffulli ( 2015-01-09 18:51:05 -0500 )edit

@smaffulli I did not find any error into the logs. Re-installed Ubuntu 14.04 and everything is working fine.

exergy gravatar imageexergy ( 2015-01-14 02:47:31 -0500 )edit

1 answer

Sort by ยป oldest newest most voted
1

answered 2015-01-14 02:48:57 -0500

exergy gravatar image

Re-installed Ubuntu 14.04 and everything is working fine!

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: 2015-01-08 06:47:37 -0500

Seen: 1,124 times

Last updated: Jan 14 '15