Ask Your Question
0

fail to use devstack to install tacker

asked 2019-09-12 09:32:12 -0500

edward gravatar image

platform:ubuntu 18.04 step:

git clone https://opendev.org/openstack-dev/devstack (https://opendev.org/openstack-dev/dev...) -b stable/rocky

stack@ubuntu:~/devstack$ cat local.conf

[[local|localrc]]

#

Customize the following HOST_IP based on your installation

#

HOST_IP=127.0.0.1

ADMIN_PASSWORD=devstack MYSQL_PASSWORD=devstack RABBIT_PASSWORD=devstack SERVICE_PASSWORD=$ADMIN_PASSWORD SERVICE_TOKEN=devstack

#

Customize the following section based on your installation

#

Pip

PIP_USE_MIRRORS=False USE_GET_PIP=1

OFFLINE=False

RECLONE=True

Logging

LOGFILE=$DEST/logs/stack.sh.log VERBOSE=True ENABLE_DEBUG_LOG_LEVEL=True ENABLE_VERBOSE_LOG_LEVEL=True

Neutron ML2 with OpenVSwitch

Q_PLUGIN=ml2 Q_AGENT=openvswitch

Disable security groups

Q_USE_SECGROUP=False LIBVIRT_FIREWALL_DRIVER=nova.virt.firewall.NoopFirewallDriver

Enable heat, networking-sfc, barbican and mistral

enable_plugin heat https://opendev.org/openstack/heat stable/rocky enable_plugin networking-sfc https://opendev.org/openstack/networking-sfc (https://opendev.org/openstack/network...) stable/rocky enable_plugin barbican https://opendev.org/openstack/barbican stable/rocky enable_plugin mistral https://opendev.org/openstack/mistral stable/rocky

Ceilometer

CEILOMETER_PIPELINE_INTERVAL=300

enable_plugin ceilometer https://opendev.org/openstack/ceilometer stable/rocky enable_plugin aodh https://opendev.org/openstack/aodh stable/rocky

Blazar

enable_plugin blazar https://github.com/openstack/blazar.git stable/rocky

Tacker

enable_plugin tacker https://opendev.org/openstack/tacker stable/rocky

enable_service n-novnc enable_service n-cauth

disable_service tempest

Enable kuryr-kubernetes, docker, octavia

KUBERNETES_VIM=True enable_plugin kuryr-kubernetes https://opendev.org/openstack/kuryr-kubernetes (https://opendev.org/openstack/kuryr-k...) stable/rocky enable_plugin octavia https://opendev.org/openstack/octavia stable/rocky enable_plugin devstack-plugin-container https://opendev.org/openstack/devstack-plugin-container (https://opendev.org/openstack/devstac...) stable/rocky

KURYR_K8S_CLUSTER_IP_RANGE="10.0.0.0/24"

[[post-config|/etc/neutron/dhcp_agent.ini]] [DEFAULT] enable_isolated_metadata = True

[[post-config|$OCTAVIA_CONF]] [controller_worker] amp_active_retries=9999

stack@ubuntu:~/devstack$ ./stack.sh

... 0 static files copied to '/opt/stack/horizon/static', 1930 unmodified. INFO:keyring.backend:Loading Windows (alt) INFO:keyring.backend:Loading pyfs INFO:keyring.backend:Loading multi INFO:keyring.backend:Loading Google INFO:keyring.backend:Loading Gnome INFO:keyring.backend:Loading keyczar INFO:keyring.backend:Loading file Found 'compress' tags in: /opt/stack/horizon/openstack_dashboard/templates/horizon/_scripts.html /opt/stack/horizon/openstack_dashboard/templates/horizon/_conf.html /opt/stack/horizon/openstack_dashboard/templates/_stylesheets.html /opt/stack/horizon/openstack_dashboard/templates/serial_console.html Compressing... done Compressed 7 block(s) from 4 template(s) for 2 context(s). Deleting networks Creating networks Assign ip address to BR_MGMT BadRequestException: 400: Client Error for url: http://127.0.0.1:9696/v2.0/subnetpools, Invalid input for operation: A default subnetpool for this IP family has already been set. Only one default may exist per IP family. Error on exit nova-compute: no process found

how to fix it ?

edit retag flag offensive close merge delete

1 answer

Sort by » oldest newest most voted
0

answered 2019-09-13 06:29:12 -0500

AndyW gravatar image

can give you my local.conf for Tacker using devstack Rocky (installed on single node Ubuntu 16.04 VM) (comments excluded)

[[local|localrc]]
ADMIN_PASSWORD=password
DATABASE_PASSWORD=password
RABBIT_PASSWORD=password
SERVICE_PASSWORD=$ADMIN_PASSWORD






HOST_IP=192.168.122.67
SERVICE_HOST=192.168.122.67

Q_USE_SECGROUP=True
FLOATING_RANGE=192.168.122.224/27
IPV4_ADDRS_SAFE_TO_USE="10.0.0.0/22"
PUBLIC_INTERFACE=ens3

Q_USE_PROVIDERNET_FOR_PUBLIC=True
OVS_PHYSICAL_BRIDGE=br-ex
PUBLIC_BRIDGE=br-ex
OVS_BRIDGE_MAPPINGS=public:br-ex

enable_plugin heat https://git.openstack.org/openstack/heat stable/rocky
enable_plugin heat-dashboard https://git.openstack.org/openstack/heat-dashboard stable/rocky
enable_plugin networking-sfc git://git.openstack.org/openstack/networking-sfc stable/rocky
enable_plugin barbican https://git.openstack.org/openstack/barbican stable/rocky
enable_plugin mistral https://git.openstack.org/openstack/mistral stable/rocky

enable_plugin tacker https://git.openstack.org/openstack/tacker stable/rocky 

enable_plugin neutron-lbaas https://git.openstack.org/openstack/neutron-lbaas stable/rocky
enable_plugin octavia https://git.openstack.org/openstack/octavia stable/rocky

CEILOMETER_BACKEND=gnocchi
CEILOMETER_PIPELINE_INTERVAL=60
enable_plugin ceilometer https://git.openstack.org/openstack/ceilometer stable/rocky
enable_service gnocchi-api,gnocchi-metricd
enable_service gnocchi-grafana
GNOCCHI_ARCHIVE_POLICY=medium
enable_plugin aodh https://git.openstack.org/openstack/aodh stable/rocky

enable_service n-novnc

LIBVIRT_TYPE=kvm

disable_service tempest



LOGFILE=/opt/stack/logs/stack.sh.log

LOGDAYS=7

LOG_COLOR=True





enable_service s-proxy s-object s-container s-account

SWIFT_HASH=66a3d6b56c1f479c8b4e70ab5c2000f5

SWIFT_REPLICAS=1

SWIFT_DATA_DIR=$DEST/data/swift
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: 2019-09-12 09:32:12 -0500

Seen: 13 times

Last updated: Sep 13