找回密码
 注册
查看: 3460|回复: 3

创建实例失败Instance failed to spawn: VirtualInterfaceCreateException: Virtual Interfa

[复制链接]

1

主题

0

回帖

12

积分

管理员

积分
12
QQ
发表于 2021-6-18 10:51:35 | 显示全部楼层 |阅读模式
2021-06-18 10:43:38.816 7 ERROR nova.compute.manager [req-90ed558f-bbeb-4bf7-b9cb-5bfe52b78eee 2d3de65e3f1f46df86c7789341ba4523 c19203827bb445d48baaa58a73a1f674 - default default] [insta% t/ Q6 U; V/ Y1 L9 p- O9 X
nce: 359b8cfb-7e2a-49e3-85b6-531453b8a9ce] Instance failed to spawn: VirtualInterfaceCreateException: Virtual Interface creation failed
9 }0 i0 R& g! w8 ^$ m9 j4 N+ f; H4 `
2021-06-18 10:43:38.816 7 ERROR nova.compute.manager [req-90ed558f-bbeb-4bf7-b9cb-5bfe52b78eee 2d3de65e3f1f46df86c7789341ba4523 c19203827bb445d48baaa58a73a1f674 - default default] [insta! D6 r6 i( Q2 N; I
nce: 359b8cfb-7e2a-49e3-85b6-531453b8a9ce] Instance failed to spawn: VirtualInterfaceCreateException: Virtual Interface creation failed1 l5 f$ r2 N7 o" ?/ D4 B
2021-06-18 10:43:38.816 7 ERROR nova.compute.manager [instance: 359b8cfb-7e2a-49e3-85b6-531453b8a9ce] Traceback (most recent call last):
+ d5 b# F  l$ t# m, R7 U+ X. Q2021-06-18 10:43:38.816 7 ERROR nova.compute.manager [instance: 359b8cfb-7e2a-49e3-85b6-531453b8a9ce]   File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 2274, in _bu3 f; B+ l* h5 x1 S: J
ild_resources5 G0 j0 i! l0 ]% `1 T5 \5 r
2021-06-18 10:43:38.816 7 ERROR nova.compute.manager [instance: 359b8cfb-7e2a-49e3-85b6-531453b8a9ce]     yield resources/ O6 Z, D1 L, {
2021-06-18 10:43:38.816 7 ERROR nova.compute.manager [instance: 359b8cfb-7e2a-49e3-85b6-531453b8a9ce]   File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 2054, in _bu
7 K# W6 R5 s  u" Z& `ild_and_run_instance- E8 J1 ~. T2 I! T& F- P* h
2021-06-18 10:43:38.816 7 ERROR nova.compute.manager [instance: 359b8cfb-7e2a-49e3-85b6-531453b8a9ce]     block_device_info=block_device_info)
5 I: u& g6 ~0 b5 e$ |2 }2021-06-18 10:43:38.816 7 ERROR nova.compute.manager [instance: 359b8cfb-7e2a-49e3-85b6-531453b8a9ce]   File "/usr/lib/python2.7/site-packages/nova/virt/libvirt/driver.py", line 3147, in# O: ~- f  x& G( ?
spawn
; Z; U9 L  @2 E! E2021-06-18 10:43:38.816 7 ERROR nova.compute.manager [instance: 359b8cfb-7e2a-49e3-85b6-531453b8a9ce]     destroy_disks_on_failure=True), h% j' o' j" @7 Y; G
2021-06-18 10:43:38.816 7 ERROR nova.compute.manager [instance: 359b8cfb-7e2a-49e3-85b6-531453b8a9ce]   File "/usr/lib/python2.7/site-packages/nova/virt/libvirt/driver.py", line 5659, in
2 O2 @+ X- J4 z0 U  R! A  w _create_domain_and_network2 s- j* l7 x4 [. O- R8 V- y
2021-06-18 10:43:38.816 7 ERROR nova.compute.manager [instance: 359b8cfb-7e2a-49e3-85b6-531453b8a9ce]     raise exception.VirtualInterfaceCreateException()
( j  D! g& q9 _0 [& ^4 V0 [3 \2021-06-18 10:43:38.816 7 ERROR nova.compute.manager [instance: 359b8cfb-7e2a-49e3-85b6-531453b8a9ce] VirtualInterfaceCreateException: Virtual Interface creation failed! y4 @* |  p1 o( Z9 ^- V" _* P9 ]
2021-06-18 10:43:38.816 7 ERROR nova.compute.manager [instance: 359b8cfb-7e2a-49e3-85b6-531453b8a9ce]
' `7 e, M4 D/ J/ `2021-06-18 10:43:38.818 7 INFO nova.compute.manager [req-90ed558f-bbeb-4bf7-b9cb-5bfe52b78eee 2d3de65e3f1f46df86c7789341ba4523 c19203827bb445d48baaa58a73a1f674 - default default] [instan
2 u; J5 N, e3 c4 Ace: 359b8cfb-7e2a-49e3-85b6-531453b8a9ce] Terminating instance
7 X3 L" F4 K9 A; q9 L  h& S. R2021-06-18 10:43:38.823 7 INFO nova.virt.libvirt.driver [-] [instance: 359b8cfb-7e2a-49e3-85b6-531453b8a9ce] Instance destroyed successfully.2 V0 J& }- `' ]/ S8 b& i! y1 S1 ]
2021-06-18 10:43:38.985 7 INFO os_vif [req-90ed558f-bbeb-4bf7-b9cb-5bfe52b78eee 2d3de65e3f1f46df86c7789341ba4523 c19203827bb445d48baaa58a73a1f674 - default default] Successfully unplugge
) E* U0 R5 o! J! H5 T$ Dd vif VIFBridge(active=False,address=fa:16:3e:3c:09:d3,bridge_name='qbrbda64ab4-4d',has_traffic_filtering=True,id=bda64ab4-4dd2-4ec8-b869-de295ac49835,network=Network(97c7f11e-2529-4a67-
% n- P( H  X* T7 o* U/ {1 w- ~95a0-2a79c2801404),plugin='ovs',port_profile=VIFPortProfileOpenVSwitch,preserve_on_delete=True,vif_name='tapbda64ab4-4d')
$ N# `6 p) L# @; B2021-06-18 10:43:39.633 7 INFO nova.virt.libvirt.driver [req-90ed558f-bbeb-4bf7-b9cb-5bfe52b78eee 2d3de65e3f1f46df86c7789341ba4523 c19203827bb445d48baaa58a73a1f674 - default default] [in
; }& u4 G, p, f$ x* X& Kstance: 359b8cfb-7e2a-49e3-85b6-531453b8a9ce] Deletion of /var/lib/nova/instances/359b8cfb-7e2a-49e3-85b6-531453b8a9ce_del complete/ P; B1 t. s9 m9 k8 U+ V
2021-06-18 10:43:39.784 7 INFO nova.compute.manager [req-90ed558f-bbeb-4bf7-b9cb-5bfe52b78eee 2d3de65e3f1f46df86c7789341ba4523 c19203827bb445d48baaa58a73a1f674 - default default] [instan( k2 A' \7 f, l$ J/ Q5 P) z
ce: 359b8cfb-7e2a-49e3-85b6-531453b8a9ce] Took 0.96 seconds to destroy the instance on the hypervisor.- L0 T7 p, z9 [, v" ~1 \8 r
2021-06-18 10:43:41.373 7 INFO nova.compute.manager [req-90ed558f-bbeb-4bf7-b9cb-5bfe52b78eee 2d3de65e3f1f46df86c7789341ba4523 c19203827bb445d48baaa58a73a1f674 - default default] [instan
, P$ b8 z; L  }; H# Y# Lce: 359b8cfb-7e2a-49e3-85b6-531453b8a9ce] Took 1.59 seconds to detach 1 volumes for instance.4 }9 d) a7 y! J
! d, f" C+ E% H( f& \
  H  O* I+ I6 V4 F
nce: 359b8cfb-7e2a-49e3-85b6-531453b8a9ce] Failed to allocate network(s): VirtualInterfaceCreateException: Virtual Interface creation failed5 H# I( Q- f7 n+ w5 U. e. R
2021-06-18 10:43:41.647 7 ERROR nova.compute.manager [instance: 359b8cfb-7e2a-49e3-85b6-531453b8a9ce] Traceback (most recent call last):
2 G% A7 v+ c; J2021-06-18 10:43:41.647 7 ERROR nova.compute.manager [instance: 359b8cfb-7e2a-49e3-85b6-531453b8a9ce]   File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 2054, in _bu( P. a. V6 }) v* W3 W3 k7 v
ild_and_run_instance+ N, f+ S( s; I8 F1 v8 K3 Z
2021-06-18 10:43:41.647 7 ERROR nova.compute.manager [instance: 359b8cfb-7e2a-49e3-85b6-531453b8a9ce]     block_device_info=block_device_info)) r5 G  F" Y2 b  l
2021-06-18 10:43:41.647 7 ERROR nova.compute.manager [instance: 359b8cfb-7e2a-49e3-85b6-531453b8a9ce]   File "/usr/lib/python2.7/site-packages/nova/virt/libvirt/driver.py", line 3147, in8 `1 g6 D" v' C0 ?% d
spawn
  ?+ m4 u" U- A2021-06-18 10:43:41.647 7 ERROR nova.compute.manager [instance: 359b8cfb-7e2a-49e3-85b6-531453b8a9ce]     destroy_disks_on_failure=True)/ ?& L5 g  G2 n4 l( s
2021-06-18 10:43:41.647 7 ERROR nova.compute.manager [instance: 359b8cfb-7e2a-49e3-85b6-531453b8a9ce]   File "/usr/lib/python2.7/site-packages/nova/virt/libvirt/driver.py", line 5659, in& v! t. ]. R9 P  O
_create_domain_and_network5 F4 |1 c) m- |- R& @* T* T. z+ b
2021-06-18 10:43:41.647 7 ERROR nova.compute.manager [instance: 359b8cfb-7e2a-49e3-85b6-531453b8a9ce]     raise exception.VirtualInterfaceCreateException(). l" V0 ]% \! U) r9 n
2021-06-18 10:43:41.647 7 ERROR nova.compute.manager [instance: 359b8cfb-7e2a-49e3-85b6-531453b8a9ce] VirtualInterfaceCreateException: Virtual Interface creation failed% H: D0 w/ ?( J1 N! g
2021-06-18 10:43:41.647 7 ERROR nova.compute.manager [instance: 359b8cfb-7e2a-49e3-85b6-531453b8a9ce] 9 i0 C/ _0 l% L% l1 Q
2021-06-18 10:43:41.649 7 ERROR nova.compute.manager [req-90ed558f-bbeb-4bf7-b9cb-5bfe52b78eee 2d3de65e3f1f46df86c7789341ba4523 c19203827bb445d48baaa58a73a1f674 - default default] [insta
5 N' L5 K' S% a  [nce: 359b8cfb-7e2a-49e3-85b6-531453b8a9ce] Build of instance 359b8cfb-7e2a-49e3-85b6-531453b8a9ce aborted: Failed to allocate the network(s), not rescheduling.: BuildAbortException: Buil
7 ?8 a4 r/ v: e2 |. N2 Ld of instance 359b8cfb-7e2a-49e3-85b6-531453b8a9ce aborted: Failed to allocate the network(s), not rescheduling., O1 }. u+ Q5 k6 i
2021-06-18 10:43:41.649 7 ERROR nova.compute.manager [instance: 359b8cfb-7e2a-49e3-85b6-531453b8a9ce] Traceback (most recent call last):# J  z  j) s7 @  u, i# B6 v7 K
2021-06-18 10:43:41.649 7 ERROR nova.compute.manager [instance: 359b8cfb-7e2a-49e3-85b6-531453b8a9ce]   File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 1863, in _do
, R9 c' n+ Z6 E5 F$ D_build_and_run_instance& f: I0 p/ D9 @; k
2021-06-18 10:43:41.649 7 ERROR nova.compute.manager [instance: 359b8cfb-7e2a-49e3-85b6-531453b8a9ce]     filter_properties, request_spec)
+ E# _6 I8 V1 T3 g4 b' q2021-06-18 10:43:41.649 7 ERROR nova.compute.manager [instance: 359b8cfb-7e2a-49e3-85b6-531453b8a9ce]   File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 2114, in _bu
1 b7 L" W2 {! p. |0 E$ lild_and_run_instance% G; S& P5 _" t/ g7 x8 ~
2021-06-18 10:43:41.649 7 ERROR nova.compute.manager [instance: 359b8cfb-7e2a-49e3-85b6-531453b8a9ce]     reason=msg)
8 \4 ~7 {; R* f  ]% L2021-06-18 10:43:41.649 7 ERROR nova.compute.manager [instance: 359b8cfb-7e2a-49e3-85b6-531453b8a9ce] BuildAbortException: Build of instance 359b8cfb-7e2a-49e3-85b6-531453b8a9ce aborted:3 ?( ]. B! R9 p9 C3 e+ C
Failed to allocate the network(s), not rescheduling.
1 }+ j. B7 \$ R7 r2021-06-18 10:43:41.649 7 ERROR nova.compute.manager [instance: 359b8cfb-7e2a-49e3-85b6-531453b8a9ce] 3 G3 ^6 N; U* g( B* l1 \. r+ @
2021-06-18 10:43:42.956 7 INFO nova.compute.manager [req-90ed558f-bbeb-4bf7-b9cb-5bfe52b78eee 2d3de65e3f1f46df86c7789341ba4523 c19203827bb445d48baaa58a73a1f674 - default default] [instan: J' z  C8 X4 J5 B, i2 Y- g
ce: 359b8cfb-7e2a-49e3-85b6-531453b8a9ce] Took 1.31 seconds to deallocate network for instance.
: I3 |3 w% T' W2021-06-18 10:43:43.082 7 INFO nova.compute.manager [req-90ed558f-bbeb-4bf7-b9cb-5bfe52b78eee 2d3de65e3f1f46df86c7789341ba4523 c19203827bb445d48baaa58a73a1f674 - default default] [instan
' Y3 v& f' I2 t4 L& gce: 359b8cfb-7e2a-49e3-85b6-531453b8a9ce] Detaching volume dc896e39-9f28-43e7-a589-242dfec324238 h# m" }3 g$ Z6 A1 S; l1 g
2021-06-18 10:43:43.405 7 ERROR nova.virt.block_device [req-90ed558f-bbeb-4bf7-b9cb-5bfe52b78eee 2d3de65e3f1f46df86c7789341ba4523 c19203827bb445d48baaa58a73a1f674 - default default] Host$ E+ f$ E! h+ l' i/ Y8 G
mismatch detected in stashed volume connector. Will use local volume connector. Instance host is None. Local volume connector host is compute01. Stashed volume connector host is compute
' I3 }7 o& D; |" {01.: BuildAbortException: Build of instance 359b8cfb-7e2a-49e3-85b6-531453b8a9ce aborted: Failed to allocate the network(s), not rescheduling.
4 q$ d: }; k; s9 h" d; v2021-06-18 10:43:44.237 7 INFO nova.scheduler.client.report [req-90ed558f-bbeb-4bf7-b9cb-5bfe52b78eee 2d3de65e3f1f46df86c7789341ba4523 c19203827bb445d48baaa58a73a1f674 - default default]
: |' R' z. l- o" x5 T Deleted allocation for instance 359b8cfb-7e2a-49e3-85b6-531453b8a9ce, a( F6 Y6 S/ }; j
2021-06-18 10:43:44.238 7 INFO nova.compute.manager [-] [instance: 359b8cfb-7e2a-49e3-85b6-531453b8a9ce] During sync_power_state the instance has a pending task (spawning). Skip.
. R  B9 n4 t$ J6 F5 Q2021-06-18 10:43:52.498 7 INFO nova.compute.manager [-] [instance: 359b8cfb-7e2a-49e3-85b6-531453b8a9ce] VM Stopped (Lifecycle Event)/ \2 t' H/ ?% d) R
:
8 c0 r# |2 x1 A  L/ @( ]
  G9 ^& x' S& s* U
% e* A; Z- y  I8 j% k

1

主题

0

回帖

12

积分

管理员

积分
12
QQ
 楼主| 发表于 2021-6-18 10:56:36 | 显示全部楼层
错误: 实例 "hadoop-control-3" 执行所请求操作失败,实例处于错误状态。: 请稍后再试 [错误: Build of instance 359b8cfb-7e2a-49e3-85b6-531453b8a9ce aborted: Failed to allocate the network(s), not rescheduling.].

1

主题

0

回帖

12

积分

管理员

积分
12
QQ
 楼主| 发表于 2021-6-18 15:26:42 | 显示全部楼层
解决办法:修改计算节点配置文件/etc/nova/nova.conf/ O" w" K* ~, _) |
vif_plugging_timeout = 10
4 M  K7 X' b, b. _vif_plugging_is_fatal = False1 R/ J4 T: \+ x
& r% }- H' ^5 s/ Y% b3 V* n' P

$ ~. s0 l- Y8 E) M  X* I# O[DEFAULT]
; y7 V$ P7 {: q; vvif_plugging_timeout = 10( I  O6 U4 B( ~$ a$ L( _
vif_plugging_is_fatal = False
" m  H2 o9 ]- D& B4 B9 r5 }* s& f. o: [$ A

1

主题

0

回帖

12

积分

管理员

积分
12
QQ
 楼主| 发表于 2021-6-19 15:26:09 | 显示全部楼层

5 D% {$ {! \3 ~5 H+ A0 }  e4 ^[DEFAULT]) q* @8 z: k9 A8 G$ b
vif_plugging_timeout = 10/ g- j, E; E' I+ E5 |: g* K
vif_plugging_is_fatal = False6 a. R& o$ a5 e9 h: l
您需要登录后才可以回帖 登录 | 注册

本版积分规则

返回首页|Archiver|手机版|小黑屋|易陆发现技术论坛 ( 蜀ICP备2026014127号-1 )

GMT+8, 2026-6-12 02:05 , Processed in 0.027272 second(s), 23 queries .

Powered by Discuz! X5.0

© 2001-2026 Discuz! Team.

快速回复 返回顶部 返回列表