nova-compute is not coming up in OpenStack DevStack
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 ...
There is no error visible in what you posted. Check your logs and edit the question to add more details.
@smaffulli I did not find any error into the logs. Re-installed Ubuntu 14.04 and everything is working fine.