|
|
2018-11-30 22:37:54.060 4284 WARNING nova.compute.manager [req-3e885b24-3a89-4818-8a11-e304c0646f12 7f1ec56e19ac41f2a2d95e96344290e4 57b53070620748b48e225a2f8b2668b8 - default default] [instance: 1e6c385e-8cba-4688-95d2-36b766cdbf24] Received unexpected event network-vif-unplugged-eaa57fd8-beba-4f10-bf15-059067e8a6da for instance with vm_state active and task_state migrating.
: M, g+ y1 Z' R2018-11-30 22:37:54.532 4284 WARNING nova.compute.manager [req-de700ae5-d9f1-4fbe-9684-f6922c4668d1 7f1ec56e19ac41f2a2d95e96344290e4 57b53070620748b48e225a2f8b2668b8 - default default] [instance: 1e6c385e-8cba-4688-95d2-36b766cdbf24] Received unexpected event network-vif-plugged-eaa57fd8-beba-4f10-bf15-059067e8a6da for instance with vm_state active and task_state migrating.6 D% k! u3 u* I) S+ e! }6 f+ t
2018-11-30 22:37:54.963 4284 ERROR nova.virt.libvirt.driver [req-54bd7162-c6b2-4d12-b9a9-ba0ab384d30a 9d43966f82de4cab8db3696c634d98ba f563fd1031a246d7aa182ccb79abc996 - default default] [instance: 1e6c385e-8cba-4688-95d2-36b766cdbf24] Live Migration failure: unsupported configuration: Unable to find security driver for model selinux: libvirtError: unsupported configuration: Unable to find security driver for model selinux! y: v2 x4 t; |! v ?( _+ g
2018-11-30 22:37:54.993 4284 ERROR nova.virt.libvirt.driver [req-54bd7162-c6b2-4d12-b9a9-ba0ab384d30a 9d43966f82de4cab8db3696c634d98ba f563fd1031a246d7aa182ccb79abc996 - default default] [instance: 1e6c385e-8cba-4688-95d2-36b766cdbf24] Migration operation has aborted, a1 A% I7 c6 N
2018-11-30 22:37:55.179 4284 INFO nova.compute.manager [req-54bd7162-c6b2-4d12-b9a9-ba0ab384d30a 9d43966f82de4cab8db3696c634d98ba f563fd1031a246d7aa182ccb79abc996 - default default] [instance: 1e6c385e-8cba-4688-95d2-36b766cdbf24] Swapping old allocation on 4f60e952-d5d1-4d08-b0ea-1ee6859935ac held by migration 14729f59-ebbc-4dd0-817e-8bde52f2244a for instance, K/ a1 N. d Z; J
2018-11-30 22:37:56.581 4284 WARNING nova.compute.manager [req-0b711a58-6416-4030-83b6-46f25a89b432 7f1ec56e19ac41f2a2d95e96344290e4 57b53070620748b48e225a2f8b2668b8 - default default] [instance: 1e6c385e-8cba-4688-95d2-36b766cdbf24] Received unexpected event network-vif-plugged-eaa57fd8-beba-4f10-bf15-059067e8a6da for instance with vm_state active and task_state None.
, A; n/ l$ F4 j/ P0 B2018-11-30 22:37:56.582 4284 WARNING nova.compute.manager [req-0b711a58-6416-4030-83b6-46f25a89b432 7f1ec56e19ac41f2a2d95e96344290e4 57b53070620748b48e225a2f8b2668b8 - default default] [instance: 1e6c385e-8cba-4688-95d2-36b766cdbf24] Received unexpected event network-vif-plugged-eaa57fd8-beba-4f10-bf15-059067e8a6da for instance with vm_state active and task_state None.
! S( m8 G; m4 m! ^4 w2018-11-30 22:37:58.244 4284 WARNING nova.compute.manager [req-7550eef0-5ddd-48c9-a1db-fa37b982558a 7f1ec56e19ac41f2a2d95e96344290e4 57b53070620748b48e225a2f8b2668b8 - default default] [instance: 1e6c385e-8cba-4688-95d2-36b766cdbf24] Received unexpected event network-vif-unplugged-eaa57fd8-beba-4f10-bf15-059067e8a6da for instance with vm_state active and task_state None.( K- B: \' T7 u v+ L6 e2 ^
2018-11-30 22:37:58.629 4284 WARNING nova.compute.manager [req-3f2f9aa8-7cd7-472f-a9f4-ce9cbe88ed00 7f1ec56e19ac41f2a2d95e96344290e4 57b53070620748b48e225a2f8b2668b8 - default default] [instance: 1e6c385e-8cba-4688-95d2-36b766cdbf24] Received unexpected event network-vif-plugged-eaa57fd8-beba-4f10-bf15-059067e8a6da for instance with vm_state active and task_state None.
' C% _( A* }0 p" S! p S/ L. ^7 y+ x- W8 U6 U9 K0 j/ m: ]
A) d9 U/ Y* B1 _6 |- n
在计算和控制节点 nova.conf 文件中 libvirtd里添加一项配置:
- I6 n' Y- H# Q( L# z
3 k* w- o- t0 @+ e/ m& }( Q+ Mblock_migration_flag = VIR_MIGRATE_UNDEFINE_SOURCE,VIR_MIGRATE_PEER2PEER,VIR_MIGRATE_LIVE,VIR_MIGRATE_TUNNELLED,VIR_MIGRATE_NON_SHARED_INC* ^, R" x+ E) o' L" A
另外感觉是nova的互信没有做,要不要做一次互信试试。
* f+ i! [3 ^) B+ Y/ \1 V8 l2 W, Z# d8 K: g: _/ ]# M
搞了半天,发现是selinux没有关闭。
8 w M5 u$ e1 S p: @7 }) e3 V4 dvim /etc/selinux/config
9 U t# y6 E, D
7 Y: b! h% J" E5 R2 h8 A; v; w
, N' O9 ~5 u) T: P! B& Y# This file controls the state of SELinux on the system.
8 q9 R- @8 |+ \6 E# SELINUX= can take one of these three values:2 g; h9 G* _4 f5 J4 a+ G( `( H
# enforcing - SELinux security policy is enforced.
: m' m: i& C" Y) Z P+ y5 N! o* s# permissive - SELinux prints warnings instead of enforcing.
, o4 e c4 G. L* N& x# disabled - No SELinux policy is loaded.
* Y4 E3 t9 |) B1 K8 S) X+ {# j: dSELINUX=disabled. S0 t- c7 I* G4 C* Y
. D- v8 O( m1 V% y( i; g! h' }& H3 i) E# Y
需要重启服务器。
" A! @# \) Z' ?( b1 V- a: D5 z
0 g, \4 u5 F6 s" F& E; H3 \! y4 K! n) Q$ a( @
. a Y7 a1 ~# r g3 S8 P F
% O/ q# Q% _. o7 [# u: _+ f/ G5 |
|
|