Instance failed to spawn: VirtualInterfaceCreateException: Virtual Interface creation failed
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
New
|
Undecided
|
Unassigned |
Bug Description
Hi all,
I have a nova or neutron problem.
Sometimes instance creation fails due to follwing error. But sometime it works without a flaw.
2019-01-08 17:50:26.431 16532 ERROR nova.compute.
2019-01-08 17:50:26.431 16532 ERROR nova.compute.
2019-01-08 17:50:26.431 16532 ERROR nova.compute.
2019-01-08 17:50:26.431 16532 ERROR nova.compute.
2019-01-08 17:50:26.431 16532 ERROR nova.compute.
2019-01-08 17:50:26.431 16532 ERROR nova.compute.
2019-01-08 17:50:26.431 16532 ERROR nova.compute.
2019-01-08 17:50:26.431 16532 ERROR nova.compute.
2019-01-08 17:50:26.431 16532 ERROR nova.compute.
2019-01-08 17:50:26.431 16532 ERROR nova.compute.
2019-01-08 17:50:26.444 16532 ERROR nova.compute.
I am running on openstack rocky. I am seeing these type of errors after the addition of new public ip subnet into the provider network. is this error related to neutron or nova or both or rabbitmq ?
I have been following the official openstack doc. My conf file is
[DEFAULT]
allow_resize_
log_dir = /var/log/nova
lock_path = /var/lock/nova
state_path = /var/lib/nova
transport_url =
my_ip = 10.20.1.5
use_neutron = true
firewall_driver = nova.virt.
compute_monitors = cpu.virt_
notify_
[api]
auth_strategy = keystone
[api_database]
[barbican]
[cache]
[cells]
enable = False
[cinder]
[compute]
[conductor]
[console]
[consoleauth]
[cors]
[database]
#connection = sqlite:
[devices]
[ephemeral_
[filter_scheduler]
[glance]
api_servers = http://
[guestfs]
[healthcheck]
[hyperv]
[ironic]
[key_manager]
[keystone]
[keystone_
auth_url = http://
memcached_servers = 10.20.1.1:11211
auth_type = password
project_domain_name = default
user_domain_name = default
project_name = service
username = nova
password =
[libvirt]
snapshot_
virt_type = qemu
inject_password = false
inject_partition = -2
live_migration_uri = qemu+tcp:
live_migration_
hw_disk_discard = unmap
images_type = rbd
images_rbd_pool = ephemeral-volumes
images_
disk_cachemodes
rbd_user = cinder
rbd_secret_uuid = ec2bfdd8-
[matchmaker_redis]
[metrics]
[mks]
[neutron]
service_
metadata_
url = http://
auth_url = http://
auth_type = password
project_domain_name = default
user_domain_name = default
region_name = se-sto1
project_name = service
username = neutron
password = Laew8aeG
service_
metadata_
[notifications]
[osapi_v21]
[oslo_concurrency]
lock_path = /var/lib/nova/tmp
[oslo_messaging
[oslo_messaging
[oslo_messaging
topics=
driver=messagingv2
transport_url =
[oslo_messaging
[oslo_messaging
[oslo_middleware]
[oslo_policy]
[pci]
[placement]
os_region_name = se-sto1
project_domain_name = Default
project_name = service
auth_type = password
user_domain_name = Default
auth_url =
username =
password =
[powervm]
[quota]
[rdp]
[remote_debug]
[scheduler]
[serial_console]
[service_user]
[spice]
[upgrade_levels]
[vault]
[vendordata_
[vmware]
[vnc]
enabled = True
server_listen = 0.0.0.0
server_
novncproxy_base_url =
[workarounds]
[wsgi]
[xenserver]
[xvp]
tags: | added: neutron |
It's not clear what's failing. It might be useful to log the exception stacktrace here:
https:/ /github. com/openstack/ nova/blob/ stable/ rocky/nova/ virt/libvirt/ driver. py#L5628
Or do you have more info in the logs?