|
|
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.
0 r4 D0 c. L1 p0 r; f2018-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. Y0 R; ~% K7 f4 A9 I3 D7 Y* \
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 selinux5 [. r1 @1 O% C9 C- d3 m
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( T) m! O. U, h8 g- S9 L
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, x J9 w1 S8 }. z u
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+ x. `6 q- ^2 a+ C" z* }
2018-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.8 W$ F' K: l) V3 K. l
2018-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.
7 ^/ d& z' N: a2 \2 r Q+ b% i& L2018-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.
( @% e3 e# ^; e- }1 ]5 } Q: V5 B, @& d! M7 |/ [5 s. ^8 V. B4 a
7 W6 ~* {/ K* q. P1 O+ ~# o在计算和控制节点 nova.conf 文件中 libvirtd里添加一项配置:
( F; i( K5 \+ H! I
8 m( s v: } F9 T7 o3 x4 xblock_migration_flag = VIR_MIGRATE_UNDEFINE_SOURCE,VIR_MIGRATE_PEER2PEER,VIR_MIGRATE_LIVE,VIR_MIGRATE_TUNNELLED,VIR_MIGRATE_NON_SHARED_INC
8 h1 X5 z, y7 G. d另外感觉是nova的互信没有做,要不要做一次互信试试。7 J/ R" b1 ~+ y' D) I8 f
2 C, \8 e \6 R! ]搞了半天,发现是selinux没有关闭。
7 a; ?- k% J5 z; B4 F: N, |vim /etc/selinux/config 0 l( h, ^9 _& [( b) C
2 L& j" Q2 O7 {6 J
9 j/ a0 d2 f$ ` O$ x( r9 E# _$ F# This file controls the state of SELinux on the system.% u3 f. K7 B6 T5 I4 e
# SELINUX= can take one of these three values:
6 w7 M( ~+ X. F* O r# enforcing - SELinux security policy is enforced.! n3 |" [( ~5 I; B3 }& D t
# permissive - SELinux prints warnings instead of enforcing.+ H. e3 _& w* G6 Y" v
# disabled - No SELinux policy is loaded.4 r, L5 F5 {% R) n
SELINUX=disabled2 x x( g x/ W" f8 S3 [% ?
3 N9 W* w; B7 h" [. |; p
% D; Z: E+ J9 n- X" I; I需要重启服务器。
* U5 I6 l7 y# E3 M) K2 l8 l% H j+ ^, v% ^# ?
7 Z# H$ T6 G. ^4 B& E6 K% n' u, E7 v2 w) U
+ [8 J. Q# y( G+ c" l" O |
|