|
|
- 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 |
|