易陆发现互联网技术论坛

 找回密码
 开始注册
查看: 6399|回复: 0
收起左侧

reLive Migration failure: unsupported configuration: Unable to find security dri

[复制链接]
发表于 2018-11-30 22:40:02 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?开始注册

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.( S2 ^2 @+ B+ H9 Q
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.7 E' |/ _1 }6 O4 Z* e1 ]
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
( [- k, Z! d  K$ p. h3 S4 T2018-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
7 w% ~/ I7 e  {" l- c3 z8 r) V2018-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
/ A4 f3 L' c( t1 h" L2018-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.% _: M; Q5 y; Z+ f
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.
# R- [4 l9 {% f2018-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 n) I( v( K( c! |& W* ~
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.' d3 N8 |; T! Q$ I6 e7 i! J2 B! m% y

2 q/ O; `* [6 f0 I0 b- q2 n5 O. B; E% p
在计算和控制节点 nova.conf 文件中 libvirtd里添加一项配置:6 Q& |2 C* J. N: b; D

- y7 e7 F4 Q% a: Zblock_migration_flag = VIR_MIGRATE_UNDEFINE_SOURCE,VIR_MIGRATE_PEER2PEER,VIR_MIGRATE_LIVE,VIR_MIGRATE_TUNNELLED,VIR_MIGRATE_NON_SHARED_INC6 v  X, @( v" C3 i) D& |2 z: F4 B2 R
另外感觉是nova的互信没有做,要不要做一次互信试试。8 q7 a4 g2 B* Q' l  c
; i( _/ U+ w2 |) ?! F+ S
搞了半天,发现是selinux没有关闭。* ^$ [9 S0 N. C0 I
vim /etc/selinux/config 7 W8 E$ O( h! ^7 R( t6 }7 {
2 F  H- E( ?+ r9 W( Q( x

6 b$ t( N9 }" |( y! }- {7 j+ N# This file controls the state of SELinux on the system.
- {1 J4 w% d' X/ h# SELINUX= can take one of these three values:
& W2 O- e8 b8 C2 h: R4 _#     enforcing - SELinux security policy is enforced.6 {& |4 ?4 v0 E+ ~- [" u- v9 B
#     permissive - SELinux prints warnings instead of enforcing.
1 {4 K5 `1 u0 e* m6 x, B#     disabled - No SELinux policy is loaded.
, Q" J8 P- [! N) p! p) USELINUX=disabled. ~/ @0 O* n' Y) P" q

: t4 n" N4 w  L2 K
5 L# L4 l' ~$ _# o; R需要重启服务器。+ f+ R: |- o% y. T

2 ]: u8 g, Q' j" B7 i3 u
) {6 V# r$ M* \% B* n  Y/ s7 u( h3 b
' E  `3 }: h6 m* b0 D2 c8 }
您需要登录后才可以回帖 登录 | 开始注册

本版积分规则

关闭

站长推荐上一条 /4 下一条

北京云银创陇科技有限公司以云计算运维,代码开发

QQ|返回首页|Archiver|小黑屋|易陆发现技术论坛 ( 蜀ICP备2026014127号-1 )点击这里给我发消息

GMT+8, 2026-4-8 21:20 , Processed in 0.047625 second(s), 24 queries .

Powered by Discuz! X3.4 Licensed

© 2012-2025 Discuz! Team.

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