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