Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

TypeError: spawn() got multiple values for keyword argument 'network_info'

I have openstack rocky installed on VM (Ubuntu 16.06) having 10GB of RAM and 4 CPU cores. I have installed openstack using devstack. Following is my local.conf file...( I am enabling swift, heat, solum and zun)

[[local|localrc]]
# Set the Host IP address and passwords
HOST_IP=192.168.33.10
ADMIN_PASSWORD=secret
MYSQL_PASSWORD=$ADMIN_PASSWORD
RABBIT_PASSWORD=$ADMIN_PASSWORD
SERVICE_PASSWORD=$ADMIN_PASSWORD
SERVICE_TOKEN=$ADMIN_PASSWORD
# Set the Database type
DATABASE_TYPE=mysql

# Enable multi-host
#MULTI_HOST=1

# Do not keep logfile > 1 days to conserve disk
LOGDAYS=1

# Set the installation and log directories
DEST=/opt/stack
LOGDIR=$DEST/logs
LOGFILE=$LOGDIR/devstack.log

# By default devstack installs OpenStack server components from git.openstack.org
# Set OpenStack Release for services
KEYSTONE_BRANCH=stable/rocky
NOVA_BRANCH=stable/rocky
NEUTRON_BRANCH=stable/rocky
CINDER_BRANCH=stable/rocky
GLANCE_BRANCH=stable/rocky
HORIZON_BRANCH=stable/rocky
HEAT_BRANCH=stable/rocky
SWIFT_BRANCH=stable/rocky
SOLUM_BRANCH=stable/rocky
ZUN_BRANCH=stable/rocky

DEFAULT_IMAGE_NAME=Fedora-Cloud-Base-29-1.2.x86_64

# Disable Nova Network and enable Neutron Services
disable_service n-net
enable_service q-svc
enable_service q-agt
enable_service q-dhcp
enable_service q-l3
enable_service q-meta
enable_service neutron

# All Core OpenStack services are enabled by default
# No additional service enabling is required
# Keystone is run under Apache with mod_wsgi by default

# Set the Cinder Volume Group and optionally the volume backing file size
VOLUME_GROUP_NAME="stack-volumes"
VOLUME_NAME_PREFIX="volume-"
# DevStack by default will setup a 10Gb loop-mounted file for the Volume
# You can change the size of the file by uncommenting the below setting
# VOLUME_BACKING_FILE_SIZE=5125M

# Enable the Heat Orchestration service plugin
enable_plugin heat https://git.openstack.org/openstack/heat stable/rocky

# Register a fedora image that we can use to launch a VM or a Heat Stack
#IMAGE_URL_SITE="http://download.fedoraproject.org"
#IMAGE_URL_PATH="/pub/fedora/linux/releases/25/CloudImages/x86_64/images/"
#IMAGE_URL_FILE="Fedora-Cloud-Base-25-1.3.x86_64.qcow2"
#IMAGE_URLS+=","$IMAGE_URL_SITE$IMAGE_URL_PATH$IMAGE_URL_FILE
IMAGE_URLS+=",https://download.fedoraproject.org/pub/fedora/linux/releases/29/Cloud/x86_64/images/Fedora-Cloud-Base-29-1.2.x86_64.qcow2"

# Enable Swift Object Store Service without any replication
enable_service s-proxy s-object s-container s-account
SWIFT_HASH=66a3d6b56c1f479c8b4e70ab5c2000f5
SWIFT_REPLICAS=1
SWIFT_DATA_DIR=$DEST/data/swift

# Disable Tempest Validation and Testing
disable_service tempest

# Set ML2 as the Neutron Plugin
Q_PLUGIN=ml2
# Enable Neutron Security Groups
Q_USE_SECGROUP=True
# Set OpenvSwitch as the ML2 Mechanism Driver
Q_ML2_PLUGIN_MECHANISM_DRIVERS=openvswitch
Q_ML2_TENANT_NETWORK_TYPE=vxlan

#solum
enable_plugin solum git://git.openstack.org/openstack/solum stable/rocky

enable_service solum-api
enable_service solum-conductor
enable_service solum-deployer
enable_service solum-worker
# DOCKER_REGISTRY_IMAGE=registry:0.6.9
VIRT_DRIVER=docker
SOLUM_IMAGE_FORMAT=docker
SOLUM_INSTALL_CEDARISH=False
SOLUM_INSTALL_DOCKERFILE=False

enable_plugin devstack-plugin-container https://git.openstack.org/openstack/devstack-plugin-container stable/rocky
enable_plugin zun https://git.openstack.org/openstack/zun stable/rocky
enable_plugin zun-tempest-plugin https://git.openstack.org/openstack/zun-tempest-plugin
enable_plugin kuryr-libnetwork https://git.openstack.org/openstack/kuryr-libnetwork stable/rocky
enable_plugin zun-ui https://git.openstack.org/openstack/zun-ui stable/rocky
KURYR_CAPABILITY_SCOPE=global
KURYR_ETCD_PORT=2379
KURYR_PROCESS_EXTERNAL_CONNECTIVITY=False
LIBS_FROM_GIT="python-zunclient"

IP_VERSION=4
SERVICE_IP_VERSION=4
FORCE=yes
RECLONE=yes

Now it gets successfully stacked, But when I try to launch any instance it gives me following error

Error: Failed to perform requested operation on instance "test", the instance has an error status: Please try again later [Error: Exceeded maximum number of retries. Exhausted all hosts available for retrying build failures for instance c2967f06-3ee9-42c8-b586-b7807275ec32.].

Now I checked nova's log then I get following error

Feb 11 10:15:25 controller nova-compute[14820]: ERROR nova.compute.manager [None req-503bdbee-2ab2-4fc4-9791-75e26c8b7b7b admin admin] [instance: c2967f06-3ee9-42c8-b586-b7807275ec32] Instance failed to spawn: TypeError: spawn() got multiple values for keyword argument 'network_info'
Feb 11 10:15:25 controller nova-compute[14820]: ERROR nova.compute.manager [instance: c2967f06-3ee9-42c8-b586-b7807275ec32] Traceback (most recent call last):
Feb 11 10:15:25 controller nova-compute[14820]: ERROR nova.compute.manager [instance: c2967f06-3ee9-42c8-b586-b7807275ec32]   File "/opt/stack/nova/nova/compute/manager.py", line 2368, in _build_resources
Feb 11 10:15:25 controller nova-compute[14820]: ERROR nova.compute.manager [instance: c2967f06-3ee9-42c8-b586-b7807275ec32]     yield resources
Feb 11 10:15:25 controller nova-compute[14820]: ERROR nova.compute.manager [instance: c2967f06-3ee9-42c8-b586-b7807275ec32]   File "/opt/stack/nova/nova/compute/manager.py", line 2132, in _build_and_run_instance
Feb 11 10:15:25 controller nova-compute[14820]: ERROR nova.compute.manager [instance: c2967f06-3ee9-42c8-b586-b7807275ec32]     block_device_info=block_device_info)
Feb 11 10:15:25 controller nova-compute[14820]: ERROR nova.compute.manager [instance: c2967f06-3ee9-42c8-b586-b7807275ec32] TypeError: spawn() got multiple values for keyword argument 'network_info'
Feb 11 10:15:25 controller nova-compute[14820]: ERROR nova.compute.manager [instance: c2967f06-3ee9-42c8-b586-b7807275ec32]
Feb 11 10:15:29 controller nova-conductor[13470]: ERROR nova.scheduler.utils [None req-503bdbee-2ab2-4fc4-9791-75e26c8b7b7b admin admin] [instance: c2967f06-3ee9-42c8-b586-b7807275ec32] Error from last host: controller (node controller): [u'Traceback (most recent call last):\n', u'  File "/opt/stack/nova/nova/compute/manager.py", line 1940, in _do_build_and_run_instance\n    filter_properties, request_spec)\n', u'  File "/opt/stack/nova/nova/compute/manager.py", line 2229, in _build_and_run_instance\n    instance_uuid=instance.uuid, reason=six.text_type(e))\n', u"RescheduledException: Build of instance c2967f06-3ee9-42c8-b586-b7807275ec32 was re-scheduled: spawn() got multiple values for keyword argument 'network_info'\n"]
Feb 11 10:15:29 controller nova-conductor[13470]: WARNING nova.scheduler.utils [None req-503bdbee-2ab2-4fc4-9791-75e26c8b7b7b admin admin] [instance: c2967f06-3ee9-42c8-b586-b7807275ec32] Setting instance to ERROR state.: MaxRetriesExceeded: Exceeded maximum number of retries. Exhausted all hosts available for retrying build failures for instance c2967f06-3ee9-42c8-b586-b7807275ec32.

What is solution to this problem...?