[Openstack-operators] Failed to create nova instances after successfully installed openstack using devstack singlenode local.conf(juno)
Irene Wu
iwu at solananetworks.com
Tue Oct 6 20:33:46 UTC 2015
Hi,
I was able to install a controller using devstack singlenode local.conf
(juno branch) in one VM(ubuntu14.04) and also installed a Lithium odl
and installed features : odl-base-all, odl-aaa-authn, odl-restconf,
odl-nsf-all, odl-mdsal-apidocs, odl-ovsdb-openstack odl-ovsdb-northbound
odl-dlux-core on other VM(ubuntu 14.04). But when I tried to create
instance in openstack dashboard GUI, I got error "“Error: No valid host
was found”. I googled this error but is still unable to resolve it.
devstack local.conf attached.
controller ip :192.168.20.100
odl ip : 192.168.20.110
Here is the output of nova-manage service list:
Binary Host Zone Status State Updated_At
nova-conductor sln-openstack internal enabled
:-) 2015-10-06 18:41:11
nova-cert sln-openstack internal enabled
:-) 2015-10-06 18:41:11
nova-scheduler sln-openstack internal enabled
:-) 2015-10-06 18:41:11
nova-compute sln-openstack nova enabled :-)
2015-10-06 18:41:10
nova-consoleauth sln-openstack internal enabled
:-) 2015-10-06 18:41:11
I was looking for the nova computer log, but there was no /var/log/nova/
directory created on the controller node ( the computer node is on the
same node with the controller node). Is there anything I missed?
Thanks,
Irene
-------------- next part --------------
[[local|localrc]]
GIT_BASE=https://github.com
#HOST_IP=192.168.56.101
#HOST_NAME=u14-osc-ctrl
HOST_IP=192.168.20.100
HOST_NAME=sln-openstack
SERVICE_HOST_NAME=$HOST_NAME
SERVICE_HOST=$HOST_IP
#MULTI_HOST=1
RECLONE=yes
#OFFLINE=true
#IMAGE_URLS+="http://launchpad.net/cirros/trunk/0.3.2/+download/cirros-0.3.2-x86_64-uec.tar.gz,http://berrange.fedorapeople.org/images/2012-02-29/f16-x86_64-openstack-sda.qcow2"
#IMAGE_URLS+="https://cloud-images.ubuntu.com/releases/14.04/release/ubuntu-14.04-server-cloudimg-arm64-disk1.img"
MYSQL_HOST=$SERVICE_HOST
RABBIT_HOST=$SERVICE_HOST
GLANCE_HOSTPORT=$SERVICE_HOST:9292
KEYSTONE_AUTH_HOST=$SERVICE_HOST
KEYSTONE_SERVICE_HOST=$SERVICE_HOST
ADMIN_PASSWORD=password
MYSQL_PASSWORD=$ADMIN_PASSWORD
RABBIT_PASSWORD=$ADMIN_PASSWORD
SERVICE_PASSWORD=$ADMIN_PASSWORD
SERVICE_TOKEN=$ADMIN_PASSWORD
BRANCH=stable/juno
GLANCE_BRANCH=$BRANCH
HORIZON_BRANCH=$BRANCH
KEYSTONE_BRANCH=$BRANCH
NOVA_BRANCH=$BRANCH
NEUTRON_BRANCH=$BRANCH
SWIFT_BRANCH=$BRANCH
##CLIFF_BRANCH=$BRANCH
##TEMPEST_BRANCH=$BRANCH
CINDER_BRANCH=$BRANCH
HEAT_BRANCH=$BRANCH
TROVE_BRANCH=$BRANCH
CEILOMETER_BRANCH=$BRANCH
SCREEN_LOGDIR=$DEST/logs/screen
LOGFILE=$DEST/logs/stack.sh.log
#LOG_COLOR=False
#FLOATING_RANGE=192.168.57.128/25
#PUBLIC_NETWORK_GATEWAY=192.168.56.1
#FLAT_INTERFACE=eth2
NEUTRON_CREATE_INITIAL_NETWORKS=False
Q_PLUGIN=ml2
Q_ML2_PLUGIN_MECHANISM_DRIVERS=opendaylight,logger
ENABLE_TENANT_TUNNELS=True
#Q_ML2_TENANT_NETWORK_TYPE=vxlan
VNCSERVER_PROXYCLIENT_ADDRESS=$HOST_IP
VNCSERVER_LISTEN=0.0.0.0
disable_service n-net
disable_service cinder
disable_service swift
#disable_service n-cpu
enable_service n-cpu
enable_service n-cond
enable_service q-svc
enable_service q-dhcp
enable_service q-l3
enable_service q-meta
enable_service tempest
#enable_service odl-server
#enable_service odl-compute
enable_service neutron
#ENABLED_SERVICES+=,neutron,quantum,q-svc,q-meta,odl-compute,n-cpu,q-dhcp,q-l3
#ENABLED_SERVICES+=,neutron,q-svc,n-novnc,n-cpu,nova,q-meta,odl-compute,odl-server
#ENABLED_SERVICES=neutron,nova,n-cpu,n-novnc,rabbit
#ODL_PROVIDER_MAPPINGS=physnet1:eth1
ODL_MGR_IP=192.168.20.110
#ODL_MGR_IP=127.0.0.1
#ODL_MGR_IP=192.168.56.1
#ODL_LOCAL_IP=192.168.56.101
#ODL_MGR_PORT=6640
[[post-config|/etc/neutron/plugins/ml2/ml2_conf.ini]]
[agent]
minimize_polling=True
[ml2_odl]
url=http://$ODL_MGR_IP:8181/controller/nb/v2/neutron
username=admin
password=admin
More information about the OpenStack-operators
mailing list