neutron_openvswitch_agent container restarting
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kolla |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Neutron openvswitch agent constantly restarting.
Docker image:
1c6b90d1b835 kolla/ubuntu-
Docker logs:
INFO:__
INFO:__
INFO:__main__:Kolla config strategy set to: COPY_ALWAYS
INFO:__
INFO:__
INFO:__
INFO:__
INFO:__
INFO:__
INFO:__
INFO:__
INFO:__
INFO:__
INFO:__
INFO:__
INFO:__
INFO:__
INFO:__
Running command: 'neutron-
Guru meditation now registers SIGUSR1 and SIGUSR2 by default for backward compatibility. SIGUSR1 will no longer be registered in a future release, so please use SIGUSR2 to generate reports.
Traceback (most recent call last):
File "/var/lib/
self.
File "/var/lib/
result = function(*args, **kwargs)
File "/var/lib/
raise e
SystemExit: 1
ml2_conf.ini:
root@kolla:
[ml2]
type_drivers = flat,vlan,vxlan
tenant_
mechanism_drivers = openvswitch,
extension_drivers = port_security
[ml2_type_vlan]
network_vlan_ranges =
[ml2_type_flat]
flat_networks = physnet1
[ml2_type_vxlan]
vni_ranges = 1:1000
vxlan_group = 239.1.1.1
[securitygroup]
firewall_driver = neutron.
[agent]
tunnel_types = vxlan
l2_population = true
arp_responder = true
[ovs]
bridge_mappings = physnet1:
datapath_type = netdev
ovsdb_connection = tcp:127.0.0.1:6640
local_ip = 192.168.5.228
globals.yml:
root@kolla:
---
# You can use this file to override _any_ variable throughout Kolla.
# Additional options can be found in the
# 'kolla-
# commented parameters are shown here, To override the default value uncomment
# the parameter and change its value.
###############
# Kolla options
###############
# Valid options are [ COPY_ONCE, COPY_ALWAYS ]
#config_strategy: "COPY_ALWAYS"
# Valid options are ['centos', 'debian', 'oraclelinux', 'rhel', 'ubuntu']
kolla_base_distro: "ubuntu"
# Valid options are [ binary, source ]
kolla_install_type: "source"
# Valid option is Docker repository tag
openstack_release: "pike"
# Location of configuration overrides
#node_custom_
# This should be a VIP, an unused IP on your network that will float between
# the hosts running keepalived for high-availability. If you want to run an
# All-In-One without haproxy and keepalived, you can set enable_haproxy to no
# in "OpenStack options" section, and set this value to the IP of your
# 'network_interface' as set in the Networking section below.
kolla_internal_
# This is the DNS name that maps to the kolla_internal_
# default it is the same as kolla_internal_
#kolla_
# This should be a VIP, an unused IP on your network that will float between
# the hosts running keepalived for high-availability. It defaults to the
# kolla_internal_
# share the same address. Specify a kolla_external_
# internal and external requests between two VIPs.
#kolla_
# The Public address used to communicate with OpenStack as set in the public_url
# for the endpoints that will be created. This DNS name should map to
# kolla_external_
#kolla_
################
# Docker options
################
# Below is an example of a private repository with authentication. Note the
# Docker registry password can also be set in the passwords.yml file.
#docker_registry: "172.16.0.10:4000"
#docker_namespace: "companyname"
#docker_
#docker_
###################
# Messaging options
###################
# Below is an example of an separate backend that provides brokerless
# messaging for oslo.messaging RPC communications
#om_rpc_transport: "amqp"
#om_rpc_user: "{{ qdrouterd_user }}"
#om_rpc_password: "{{ qdrouterd_password }}"
#om_rpc_port: "{{ qdrouterd_port }}"
#om_rpc_group: "qdrouterd"
#######
# Neutron - Networking Options
#######
# This interface is what all your api services will be bound to by default.
# Additionally, all vxlan/tunnel and storage network traffic will go over this
# interface by default. This interface must contain an IPv4 address.
# It is possible for hosts to have non-matching names of interfaces - these can
# be set in an inventory file per host or per group or stored separately, see
# http://
# Yet another way to workaround the naming problem is to create a bond for the
# interface on all hosts and give the bond name here. Similar strategy can be
# followed for other types of interfaces.
network_interface: "enp2s0f1"
# These can be adjusted for even more customization. The default is the same as
# the 'network_
#kolla_
#api_interface: "{{ network_interface }}"
#storage_interface: "{{ network_interface }}"
#cluster_interface: "{{ network_interface }}"
#tunnel_interface: "{{ network_interface }}"
#tunnel_interface: "dpdk_bridge"
#dns_interface: "{{ network_interface }}"
# This is the raw interface given to neutron as its external network port. Even
# though an IP address can exist on this interface, it will be unusable in most
# configurations. It is recommended this interface not be configured with any IP
# addresses for that reason.
neutron_
# Valid options are [ openvswitch, linuxbridge, vmware_nsxv, vmware_dvs, opendaylight ]
#neutron_
neutron_
#######
# keepalived options
#######
# Arbitrary unique number from 0..255
#keepalived_
#############
# TLS options
#############
# To provide encryption and authentication on the kolla_external_
# TLS can be enabled. When TLS is enabled, certificates must be provided to
# allow clients to perform authentication.
#kolla_
#kolla_
##############
# OpenDaylight
##############
#enable_
#enable_
###################
# OpenStack options
###################
# Use these options to set the various log levels across all OpenStack projects
# Valid options are [ True, False ]
#openstack_
# Valid options are [ none, novnc, spice, rdp ]
nova_console: "novnc"
# OpenStack services can be enabled or disabled with these options
#enable_aodh: "no"
#enable_barbican: "no"
#enable_blazar: "no"
#enable_ceilometer: "no"
#enable_
#enable_ceph: "yes"
#enable_ceph_mds: "no"
#enable_ceph_rgw: "no"
#enable_ceph_nfs: "no"
#enable_chrony: "no"
#enable_cinder: "yes"
#enable_
#enable_
#enable_
#enable_
#enable_
#enable_
#enable_cloudkitty: "no"
#enable_collectd: "no"
#enable_congress: "no"
#enable_designate: "no"
#enable_
#enable_etcd: "no"
#enable_fluentd: "yes"
#enable_freezer: "no"
#enable_gnocchi: "no"
#enable_grafana: "no"
#enable_haproxy: "yes"
enable_heat: "yes"
enable_horizon: "yes"
#enable_
#enable_
#enable_
#enable_
#enable_
#enable_
#enable_
#enable_
#enable_
#enable_
#enable_
#enable_
#enable_
#enable_
#enable_
#enable_
#enable_
#enable_
#enable_hyperv: "no"
#enable_influxdb: "no"
#enable_ironic: "no"
#enable_
#enable_karbor: "no"
#enable_kuryr: "no"
#enable_magnum: "no"
#enable_manila: "no"
#enable_
#enable_
#enable_
#enable_
#enable_mistral: "no"
#enable_mongodb: "no"
#enable_murano: "no"
#enable_multipathd: "no"
#enable_
#enable_
#enable_
#enable_
#enable_
#enable_
#enable_
#enable_
#enable_
#enable_nova_fake: "no"
#enable_
#enable_octavia: "no"
#enable_
enable_openvswitch: "yes"
ovs_datapath: "netdev"
enable_ovs_dpdk: "yes"
enable_
#enable_osprofiler: "no"
#enable_panko: "no"
#enable_qdrouterd: "no"
#enable_rally: "no"
#enable_redis: "no"
#enable_sahara: "no"
#enable_
#enable_senlin: "no"
#enable_skydive: "no"
#enable_solum: "no"
#enable_swift: "no"
#enable_telegraf: "no"
#enable_tacker: "no"
#enable_tempest: "no"
#enable_trove: "no"
#enable_vitrage: "no"
#enable_vmtp: "no"
#enable_watcher: "no"
#enable_zun: "no"
##############
# Ceph options
##############
# Ceph can be setup with a caching to improve performance. To use the cache you
# must provide separate disks than those for the OSDs
#ceph_enable_cache: "no"
# Set to no if using external Ceph without cephx.
#external_
# Ceph is not able to determine the size of a cache pool automatically,
# so the configuration on the absolute size is required here, otherwise the flush/evict will not work.
#ceph_target_
#ceph_target_
# Valid options are [ forward, none, writeback ]
#ceph_cache_mode: "writeback"
# A requirement for using the erasure-coded pools is you must setup a cache tier
# Valid options are [ erasure, replicated ]
#ceph_pool_type: "replicated"
# Integrate ceph rados object gateway with openstack keystone
#enable_
# Set the pgs and pgps for pool
#ceph_pool_pg_num: 128
#ceph_pool_pgp_num: 128
#######
# Keystone - Identity Options
#######
# Valid options are [ uuid, fernet ]
#keystone_
# Interval to rotate fernet keys by (in seconds). Must be an interval of
# 60(1 min), 120(2 min), 180(3 min), 240(4 min), 300(5 min), 360(6 min),
# 600(10 min), 720(12 min), 900(15 min), 1200(20 min), 1800(30 min),
# 3600(1 hour), 7200(2 hour), 10800(3 hour), 14400(4 hour), 21600(6 hour),
# 28800(8 hour), 43200(12 hour), 86400(1 day), 604800(1 week).
#fernet_
#######
# Glance - Image Options
#######
# Configure image backend.
#glance_
#glance_
#glance_
#glance_
##################
# Barbican options
##################
# Valid options are [ simple_crypto, p11_crypto ]
#barbican_
#barbican_
################
## Panko options
################
# Valid options are [ mongodb, mysql ]
#panko_
#################
# Gnocchi options
#################
# Valid options are [ file, ceph ]
#gnocchi_
#######
# Cinder - Block Storage Options
#######
# Enable / disable Cinder backends
#cinder_
#cinder_
#cinder_
# Valid options are [ nfs, swift, ceph ]
#cinder_
#cinder_
#cinder_
###################
# Designate options
###################
# Valid options are [ bind9 ]
#designate_backend: "bind9"
#designate_
#######
# Nova - Compute Options
#######
#nova_backend_ceph: "{{ enable_ceph }}"
# Valid options are [ qemu, kvm, vmware, xenapi ]
#nova_compute_
# The number of fake driver per compute node
#num_nova_
#################
# Hyper-V options
#################
# Hyper-V can be used as hypervisor
#hyperv_username: "user"
#hyperv_password: "password"
#vswitch_name: "vswitch"
# URL from which Nova Hyper-V MSI is downloaded
#nova_msi_url: "https:/
#######
# Horizon - Dashboard Options
#######
#horizon_
#######
# Ironic options
#######
#ironic_
#######
# Manila - Shared File Systems Options
#######
# HNAS backend configuration
#hnas_ip:
#hnas_user:
#hnas_password:
#hnas_evs_id:
#hnas_evs_ip:
#hnas_file_
#######
# Swift - Object Storage Options
#######
# Swift expects block devices to be available for storage. Two types of storage
# are supported: 1 - storage device with a special partition name and filesystem
# label, 2 - unpartitioned disk with a filesystem. The label of this filesystem
# is used to detect the disk which Swift will be using.
# Swift support two matching modes, valid options are [ prefix, strict ]
#swift_
# This parameter defines matching pattern: if "strict" mode was selected,
# for swift_devices_
# the special swift partition for example: "KOLLA_SWIFT_DATA", if "prefix" mode was
# selected then swift_devices_name should specify a pattern which would match to
# filesystems' labels prepared for swift.
#swift_
#######
# Tempest - The OpenStack Integration Test Suite
#######
# following value must be set when enable tempest
tempest_image_id:
tempest_
tempest_
tempest_
# tempest_
# tempest_
#######
# VMware - OpenStack VMware support
#######
#vmware_
#vmware_
#vmware_
#vmware_
#vmware_
#vmware_
#######
# XenAPI - Support XenAPI for XenServer
#######
# XenAPI driver use HIMN(Host Internal Management Network)
# to communicate with XenServer host.
#xenserver_himn_ip:
#xenserver_
#xenserver_
Changed in kolla: | |
status: | New → Fix Released |
I had the same issue with kolla/centos- binary- neutron- openvswitch- agent:pike. I am also using multinode deployment with default parameters in global.yml (except for the network ips) and openstack_release: "pike".