找回密码
 注册
查看: 6404|回复: 0

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

[复制链接]

1

主题

0

回帖

12

积分

管理员

积分
12
QQ
发表于 2018-11-30 22:40:02 | 显示全部楼层 |阅读模式
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.
% ^7 q5 M2 {* }" r- e2018-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.
5 A; f( B2 S4 y$ b' B2018-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( n# ^7 ~6 ~3 M3 |7 F% H' f
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
8 ^0 ~( b7 \- g1 X9 }5 Y) k7 Y2018-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  }$ p3 ~) y& C9 A
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.8 i0 @5 @2 ^3 v! m
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.: p* t& h: s1 F& i
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.
3 W9 O/ @; r4 H* E9 b. d8 ~& Y9 q& e2018-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.
" Q$ m1 t2 k- d7 L3 C6 O+ @+ Z  B
4 z0 @% g5 L  W0 |- q9 T* ^
7 B6 D4 k3 k; @, Z& C' f& W在计算和控制节点 nova.conf 文件中 libvirtd里添加一项配置:3 C1 s! r* S3 N' x3 U  h3 u1 u
$ q3 P7 X, m, J- r, a! D* Z% p7 C
block_migration_flag = VIR_MIGRATE_UNDEFINE_SOURCE,VIR_MIGRATE_PEER2PEER,VIR_MIGRATE_LIVE,VIR_MIGRATE_TUNNELLED,VIR_MIGRATE_NON_SHARED_INC
1 O1 x% x  R. T4 H# e' {: v另外感觉是nova的互信没有做,要不要做一次互信试试。' m( s0 H7 P, B" L5 j( u& ^

5 R6 a4 S! T' R2 f+ }1 M# v3 s搞了半天,发现是selinux没有关闭。+ F) M7 e7 x0 m0 v" z( ^' w4 F- q
vim /etc/selinux/config & c$ x* U/ Z8 m! B7 b) I! ~! Y
. y5 N1 O' r5 L: x
* I( o1 V$ ]0 C
# This file controls the state of SELinux on the system.  r3 ^8 S: N7 Q, D% z
# SELINUX= can take one of these three values:- u8 }, b7 ?# l# p
#     enforcing - SELinux security policy is enforced.
) V, F$ j9 n9 h: `9 W7 c3 o#     permissive - SELinux prints warnings instead of enforcing.
8 N8 D: y  G6 `; ]0 X9 E! S3 t#     disabled - No SELinux policy is loaded.8 q1 o* v1 l) ~$ `. d  Y# V
SELINUX=disabled2 R# ?3 \7 O0 @  j0 \

$ a1 t% f% p& O2 e; j9 W  C  h8 q1 O
需要重启服务器。, f9 G) b- C& p% h, _

& f" M6 `8 [! w1 |$ N4 O9 c/ y6 g3 l" K

! K; O* S# S4 h' v2 t6 x: ~/ q7 q9 O% l1 [/ [0 l/ M, r+ C& E; ]
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2026-6-12 04:10 , Processed in 0.014618 second(s), 22 queries .

Powered by Discuz! X5.0

© 2001-2026 Discuz! Team.

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