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

nova 虚机热迁移超时时间 live_migration_progress_timeout 以及set state active状态

[复制链接]

1

主题

0

回帖

12

积分

管理员

积分
12
QQ
发表于 2023-12-5 17:30:00 | 显示全部楼层 |阅读模式
  • Check the value for live migration timeout on the hypervisor to see if a value higher than 0 is set.0 N# h0 x% a! I( p$ N. ?6 O' Y
less /etc/nova/nova.conf | grep timeout ! N* ]4 W' ?* A% A
rpc_response_timeout=605 |( J( l/ t6 q. {3 o, ^" [4 e
vif_plugging_timeout=300
: u  l9 i( K6 A* d' ~, ~# Deprecated group/name - [DEFAULT]/sql_idle_timeout, l) Z0 u3 G# A: l
# Deprecated group/name - [DATABASE]/sql_idle_timeout6 K3 K& S- W" e
# Deprecated group/name - [sql]/idle_timeout
' Q% m' @4 V2 }#idle_timeout=3600
! ^9 G  N; a) J- \+ I/ D9 D# If set, use this value for pool_timeout with SQLAlchemy.
* H3 q5 K4 ]4 X  M9 o8 u0 x# Deprecated group/name - [DATABASE]/sqlalchemy_pool_timeout( g1 g$ |) N1 {: K1 Y7 ^; R4 a
#pool_timeout=<None>
4 K7 n0 g' I% A; w! Qtimeout=30
$ \# m- }# s* X
- O* t0 L; k5 X. E#配置 迁移超时时间:
6 v* T' _( O* x3 c% Blive_migration_progress_timeout = 0   
8 I+ E& s6 A; N2 U! n$ _" T, W! m; |0 \* L# \
$ ?1 |5 ^, }( M! m# g  {
  • If the value is set to anything higher than 0, wait for the instance migration to timeout.
  • If the value is set to 0, run the following command to set the instance in an ACTIVE state
    : _, h+ c, P# |* Y0 o( W
openstack server set --state active f2350d9c-8c26-4926-99ab-62bf705cd   
3 g. M6 s! Z$ q" @* R4 N3 sopenstack server set --state active <instance-uuid>( n% G  p( A3 v; [5 l# C
' p. j3 M9 M* L$ u2 t- q3 I0 B4 w

) a0 R1 B: R/ |8 L, D% ^- ]9 N) q5 K: x; h9 t& L9 i6 e
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2026-6-12 00:09 , Processed in 0.016031 second(s), 22 queries .

Powered by Discuz! X5.0

© 2001-2026 Discuz! Team.

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