[R4.0 ocata]Nova conf is not getting updated in single node
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Juniper Openstack | Status tracked in Trunk | |||||
R4.0 |
Fix Committed
|
Critical
|
Nitish Krishna Kaveri | |||
Trunk |
Fix Committed
|
Critical
|
Nitish Krishna Kaveri |
Bug Description
R4.0 ocata ubuntu16 singlenode
vm launch failing saying apiservers not found
File "/usr/lib/
2017-08-31 10:15:29.732 2332 ERROR nova.compute.
2017-08-31 10:15:29.732 2332 ERROR nova.compute.
2017-08-31 10:15:29.732 2332 ERROR nova.compute.
2017-08-31 10:15:29.732 2332 ERROR nova.compute.
2017-08-31 10:15:29.732 2332 ERROR nova.compute.
2017-08-31 10:15:29.732 2332 ERROR nova.compute.
2017-08-31 10:15:29.732 2332 ERROR nova.compute.
2017-08-31 10:15:29.732 2332 ERROR nova.compute.
2017-08-31 10:15:29.732 2332 ERROR nova.compute.
2017-08-31 10:15:29.732 2332 ERROR nova.compute.
2017-08-31 10:15:29.732 2332 ERROR nova.compute.
2017-08-31 10:15:29.732 2332 ERROR nova.compute.
2017-08-31 10:15:29.732 2332 ERROR nova.compute.
2017-08-31 10:15:29.732 2332 ERROR nova.compute.
2017-08-31 10:15:29.732 2332 ERROR nova.compute.
2017-08-31 10:15:29.732 2332 ERROR nova.compute.
/etc/nova/nova.conf missing the apiserver configuration
[glance]
# Configuration options for the Image service
#
# From nova.conf
#
#
# List of glance api servers endpoints available to nova.
#
# https is used for ssl-based glance api servers.
#
# Possible values:
#
# * A list of any fully qualified url of the form
# "scheme:
# (i.e. "http://
# (list value)
#api_servers=<None>
under conditions in the /etc/contrail/
etc/contrail/
export AUTH_PROTOCOL=http
export QUANTUM_
export ADMIN_TOKEN=
export CONTROLLER=
export AMQP_SERVER=
export HYPERVISOR=libvirt
export NOVA_PASSWORD=
export NEUTRON_
export SERVICE_
export KEYSTONE_
export KEYSTONE_
export REGION_
export QUANTUM=
export QUANTUM_PORT=9696
export COMPUTE=
export SELF_MGMT_
export CONTROLLER_
export INTERNAL_
export CONTRAIL_
export EXTERNAL_
export SRIOV_INTERFACES=
export SRIOV_PHYSNETS=
export DPDK_MODE=False
export DPDK_INTERFACE=
tags: | added: vrouter |
tags: | removed: vrouter |
tags: | added: sanity server-manager |
in /opt/contrail/ bin/compute- server- setup.sh we are not handling single node to setup glance api-servers.
The below code missing for single node
166 if [ $newton_or_above -eq 1 ]; then ://$CONTROLLER: 9292
167 openstack-config --del /etc/nova/nova.conf glance host
168 openstack-config --set /etc/nova/nova.conf glance api_servershttp