devstack 安装tacker失败

asked 2019-09-11 19:25:58 -0500

edward gravatar image

环境ubuntu18.04 stack@ubuntu:~/devstack$ git status On branch stable/rocky Your branch is up to date with 'origin/stable/rocky'.

devstack local.conf 为 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.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

debug后得知出错发生在stack.sh中的这步 merge_config_group $TOP_DIR/local.conf post-extra

如何解决? 如果我要用devstack安装tracker,如果安装?devstack用何版本, config文件内容应该为啥?

edit retag flag offensive close merge delete

Comments

I suggest that you post your question in the Chinese language version of ask.openstack.org.

Bernd Bausch gravatar imageBernd Bausch ( 2019-09-11 21:25:09 -0500 )edit