[devstack] Deploy issue on Ubuntu 16.04.

Guannan GN2 Sun sungn2 at lenovo.com
Wed Jul 10 02:20:22 UTC 2019


Hi team,


I meet some problem when deploying devstack(from https://github.com/openstack/devstack master branch) on Ubuntu 16.04. It seems something is wrong with placement-api error message as following:


curl -g -k --noproxy '*' -s -o /dev/null -w '%{http_code}%' http://10.240.24.138/placement

[[503 == 503]]

[ERROR] /opt/stack/devstack/lib/placement:156 placement-api did not start


However when I check its status using "systemctl status devstack at placement-api", it is active and running. I also change to "stein" branch and try to deploy again, but still meet the same problem. Does someone meet similar issue before or could someone help me to debug this issue? Below is my local.conf file. Thank you!


local.conf:
####################################################
[[local|localrc]]
# Credentials
ADMIN_PASSWORD=password
DATABASE_PASSWORD=password
RABBIT_PASSWORD=password
SERVICE_PASSWORD=password
SERVICE_TOKEN=password
SWIFT_HASH=password
SWIFT_TEMPURL_KEY=password
GIT_BASE=${GIT_BASE:-https://git.openstack.org}

# A clean install every time
RECLONE=yes

# Enable Ironic plugin
IRONIC_USING_PLUGIN=true
enable_plugin ironic git://github.com/openstack/ironic

# Enable Tempest
enable_service tempest

# Disable nova novnc service, ironic does not support it anyway.
disable_service n-novnc

# Enable Swift for the direct deploy interface.
enable_service s-proxy
enable_service s-object
enable_service s-container
enable_service s-account
enable_service placement-api
enable_service placement-client

# Disable Horizon
disable_service horizon

# Disable Cinder
disable_service cinder c-sch c-api c-vol

# Swift temp URL's are required for the direct deploy interface
SWIFT_ENABLE_TEMPURLS=True

# Tempest related options
BUILD_TIMEOUT=3000
IRONIC_CALLBACK_TIMEOUT=3000
POWER_TIMEOUT=600
SERVICE_TIMEOUT=600
TEMPEST_PLUGINS+=' /opt/stack/ironic-tempest-plugin'

# Ironic related options
IRONIC_IS_HARDWARE=true
VIRT_DRIVER=ironic
IRONIC_HW_NODE_CPU=1
IRONIC_HW_NODE_RAM=4096
IRONIC_HW_NODE_DISK=20
IRONIC_BAREMETAL_BASIC_OPS=True
DEFAULT_INSTANCE_TYPE=baremetal

# Enable additional hardware types, if needed.
IRONIC_ENABLED_HARDWARE_TYPES=ipmi,fake-hardware,xclarity
# Don't forget that many hardware types require enabling of additional
# interfaces, most often power and management:
IRONIC_ENABLED_MANAGEMENT_INTERFACES=ipmitool,fake,xclarity
IRONIC_ENABLED_POWER_INTERFACES=ipmitool,fake,xclarity
# The 'ipmi' hardware type's default deploy interface is 'iscsi'.
# This would change the default to 'direct':
#IRONIC_DEFAULT_DEPLOY_INTERFACE=direct

# Change this to alter the default driver for nodes created by devstack.
# This driver should be in the enabled list above.
IRONIC_DEPLOY_DRIVER=ipmi

# The parameters below represent the minimum possible values to create
# functional nodes.
#IRONIC_VM_SPECS_RAM=1280
#IRONIC_VM_SPECS_DISK=10

# Size of the ephemeral partition in GB. Use 0 for no ephemeral partition.
IRONIC_VM_EPHEMERAL_DISK=0

# By default, DevStack creates a 10.0.0.0/24 network for instances.
# If this overlaps with the hosts network, you may adjust with the
# following.
PUBLIC_NETWORK_GATEWAY=10.240.24.1
FLOATING_RANGE=10.240.24.0/24
FIXED_RANGE=10.0.0.0/24
HOST_IP=10.240.24.138
SERVICE_HOST=$HOST_IP
FIXED_NETWORK_SIZE=256

# Neutron options
Q_USE_PROVIDERNET_FOR_PUBLIC=True
PUBLIC_INTERFACE=ens9
OVS_PHYSICAL_BRIDGE=br-ens9
PUBLIC_BRIDGE=br-ens9
OVS_BRIDGE_MAPPINGS=public:br-ens9
ALLOCATION_POOL=start=10.0.0.30,end=10.0.0.100

# Log all output to files
LOGFILE=/opt/stack/devstack.log
LOGDIR=/opt/stack/logs
IRONIC_VM_LOG_DIR=/opt/stack/ironic-bm-logs
####################################################



Best Regards,

Guannan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-discuss/attachments/20190710/b5777ab8/attachment-0001.html>


More information about the openstack-discuss mailing list