- 积分
- 16840
在线时间 小时
最后登录1970-1-1
|
马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有账号?开始注册
x
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.
+ X& i1 g9 j- R+ ?2018-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.* }+ x9 s1 e# {, i: h1 [& P
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
! C5 Y9 `: n" C0 t b8 J, L2 O2018-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: m! Z; L+ P N( O' Q
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, T) J0 l. E5 I6 p; C
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.+ U$ c* k; m6 v: w" F6 ]
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.
6 l! r& N O1 d% O) a2018-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.
, }: c. R$ @' x" F! H2018-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.7 b- z( ^( _3 _
: S, G* K/ v% _- A' {- X1 | h Y: G6 e8 ]9 F4 ~8 n
在计算和控制节点 nova.conf 文件中 libvirtd里添加一项配置:+ `, J7 X B, B$ @( W
0 i; z9 M" z1 \* W, zblock_migration_flag = VIR_MIGRATE_UNDEFINE_SOURCE,VIR_MIGRATE_PEER2PEER,VIR_MIGRATE_LIVE,VIR_MIGRATE_TUNNELLED,VIR_MIGRATE_NON_SHARED_INC- _$ O5 f6 r+ y8 B+ E
另外感觉是nova的互信没有做,要不要做一次互信试试。
/ N' B$ ]! i3 |$ t2 ]3 R* I
3 P4 F3 e$ i2 l5 T. J5 A! Q搞了半天,发现是selinux没有关闭。
y2 t1 v7 ~: |) x6 w5 avim /etc/selinux/config $ F, _1 }* E- T2 z. T% P) \' n6 s. w* ?
! Z$ D; x5 J# G e; V' y' g
$ R3 Q! q3 G% |6 ]- k# This file controls the state of SELinux on the system.7 ?9 E8 R0 D. j8 o W. n6 f9 X
# SELINUX= can take one of these three values:
* m9 V( D' b% C6 w# enforcing - SELinux security policy is enforced.
; [0 r% i% G! a% V V) e9 `- p& W# permissive - SELinux prints warnings instead of enforcing.) a) o/ C4 f" N; s* l
# disabled - No SELinux policy is loaded.
4 \6 }+ c: c, ZSELINUX=disabled+ L; L* s q. a
9 a0 b' X2 ~! [ n
% Y& Z3 g$ x1 i5 z4 t! \' `需要重启服务器。
' `5 J# H1 m2 j$ L: V6 i3 K
L7 [3 S) N) `2 G) g Y. W8 C. ?! F. E0 W
% `/ b$ }1 _& ~' k; s9 j- @: {" H8 E/ H) `3 g
|
|