找回密码
 注册
查看: 45|回复: 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.
    ( B1 _$ ^: Q& i
less /etc/nova/nova.conf | grep timeout 7 s/ a2 [# V# h! ~5 x8 x8 M2 b- [
rpc_response_timeout=60$ g+ L: ~4 ]& K
vif_plugging_timeout=300
+ n3 w2 X5 X- e% V8 I: Y# Deprecated group/name - [DEFAULT]/sql_idle_timeout- \7 W$ t2 S& q7 C
# Deprecated group/name - [DATABASE]/sql_idle_timeout
2 _  M1 m' U- X- ]' n" ?# Deprecated group/name - [sql]/idle_timeout7 _7 x+ _, |$ r$ ^
#idle_timeout=36008 ?& Z/ W* j# Z& ^! A
# If set, use this value for pool_timeout with SQLAlchemy.
" U/ A" T" R+ \& Z/ P, }! p! g* G# Deprecated group/name - [DATABASE]/sqlalchemy_pool_timeout# D* Q$ `- c1 W  n1 r
#pool_timeout=<None>0 l% s3 x( \" [5 m
timeout=30
( C- h* n: k5 D) Z3 x! }' y
; b5 a6 ?. w$ e; G3 V) p) U7 }#配置 迁移超时时间:- B) }. A/ y- x* K
live_migration_progress_timeout = 0   
! y- z3 \- C# T* {1 \* f. y5 q7 x2 r# J& `$ i

$ a" p' l* g  w5 B; N( k0 V9 j
  • 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* x9 ~/ B& y" Q( O; F1 B
openstack server set --state active f2350d9c-8c26-4926-99ab-62bf705cd   
8 P) {* F4 P; e7 ]& ?openstack server set --state active <instance-uuid>
- F5 B" H4 o8 D; a6 R
, t) u' S% W# ~* b( y9 M2 Y; r* ^7 r$ W
& n0 w3 \: U' V8 N

! Q1 ?- c6 I; Q7 Y% j4 B9 W0 A' Q
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

Powered by Discuz! X5.0

© 2001-2026 Discuz! Team.

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