将设为首页浏览此站
开启辅助访问 天气与日历 收藏本站联系我们切换到窄版

易陆发现论坛

 找回密码
 开始注册
查看: 208|回复: 1
收起左侧

ERROR cinder.volume.manager Delete snapshot failed, due to snapshot busy.:

[复制链接]
发表于 2021-10-15 10:59:04 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有帐号?开始注册

x
2021-10-15 10:41:43.159 34 INFO cinder.volume.drivers.rbd [req-82e7d527-7876-4696-a961-9272018b3c3e 19d2049ec24c4e128920c7d088379e90 5e1c412afa5d471299f14e7954a80b55 - default default] Image volumes/volume-440d621c-e663-43d6-8d55-394dc009e4e6 is dependent on the snapshot snapshot-af22ee3d-e945-46f0-a143-3ac85e3a5961.
$ V) e& f% q) v6 k  M9 q/ i# P2021-10-15 10:41:43.172 34 ERROR cinder.volume.manager [req-82e7d527-7876-4696-a961-9272018b3c3e 19d2049ec24c4e128920c7d088379e90 5e1c412afa5d471299f14e7954a80b55 - default default] Delete snapshot failed, due to snapshot busy.: SnapshotIsBusy: deleting snapshot snapshot-af22ee3d-e945-46f0-a143-3ac85e3a5961 that has dependent volumes
# ]) V! u8 C2 v& o0 c
& g' E3 a  K6 G/ _9 Y[root@compute01 ~]# rbd ls -p volumes
: m; z. z% G3 U7 ]' X0 `! l/ H! qvolume-14380967-7441-4f94-9ce6-4aba28824b05; }7 d1 c7 u* y7 X* w, m
volume-440d621c-e663-43d6-8d55-394dc009e4e6+ N: k: a3 P9 t% H1 m
volume-4c726bdb-3892-4124-a9b9-5aef8a5200639 }4 Q+ \5 E6 l8 A$ \0 `7 H5 p
volume-53d80418-538b-47e2-bd0d-ebe712bcc1fa. F* E- }- P+ `+ U0 C5 R
volume-65f4f784-663a-4dc8-8a0a-fd5456266420
) _5 l; f' k% A  [volume-797ea9cf-51d5-4acb-975e-638cdbd14b5f1 L+ a4 y( [4 U. |' `* Q7 Y+ ]9 z
volume-b17820d3-df88-4aa1-a71e-dcdf36712de6
% g7 W  X0 l% S9 o* ?5 Hvolume-c45821d9-0669-49e9-b03e-dd456afb44226 ^6 H8 G. c+ m) C
volume-e4ba690b-8066-4071-84e8-0a7a05d2a45b8 e" B* q5 g- t" L9 p; d
[root@compute01 ~]# rbd ls -p volumes | grep b17820d3-df88-4aa1-a71e-dcdf36712de6% Y4 |# I, r7 f* v+ E
volume-b17820d3-df88-4aa1-a71e-dcdf36712de68 l& H  Y8 H) ^3 m  _) O3 M3 w; K
[root@compute01 ~]# rbd snap ls -p volumes/volume-b17820d3-df88-4aa1-a71e-dcdf36712de6- F# N; f$ N! h& F( B5 t' ]
rbd: image name was not specified% j% g' p  I* A4 `5 U# x' d1 `
[root@compute01 ~]# rbd snap ls volumes/volume-b17820d3-df88-4aa1-a71e-dcdf36712de66 T1 b( U. v8 g) b$ m1 ~6 k) ~
SNAPID NAME                                          SIZE   PROTECTED TIMESTAMP               
( O  ~' g' g0 V) x( }     4 snapshot-af22ee3d-e945-46f0-a143-3ac85e3a5961 10 GiB yes       Tue Oct 12 18:52:40 2021
" T5 ^. A  [7 u% h% R[root@compute01 ~]# rbd children volumes/volume-b17820d3-df88-4aa1-a71e-dcdf36712de6@snapshot-af22ee3d-e945-46f0-a143-3ac85e3a5961
) Z' ^( t' m9 K4 t2 k! H$ h% ?7 hvolumes/volume-440d621c-e663-43d6-8d55-394dc009e4e6/ O) P; {0 F: Q; P" U4 A6 E& }
删除该vloume即可
2 a( G5 j7 H1 _! t( i# J5 w% F; U6 ^  I% T4 d0 x, T; F- j

: y' g" d, _2 b
 楼主| 发表于 2021-10-15 11:06:37 | 显示全部楼层
0 y) x& y6 I$ ^2 |5 Q$ G/ k
[root@compute01 ~]# rbd rm volumes/volume-440d621c-e663-43d6-8d55-394dc009e4e6
) D9 I2 B$ y+ l) N2 K  CRemoving image: 100% complete...done., W" ^) E' o' @# B6 V' ^

4 m( s8 ], W( u2021-10-15 11:02:31.159 34 WARNING cinder.quota [req-fb796716-0718-46dc-861a-3b2735b327a4 19d2049ec24c4e128920c7d088379e90 5e1c412afa5d471299f14e7954a80b55 - default default] Deprecated: Default quota for resource: snapshots_volumes is set by the default quota flag: quota_snapshots_volumes, it is now deprecated. Please use the default quota class for default quota.
9 J" j0 Z9 a7 c7 R% E" n( D2021-10-15 11:02:31.160 34 WARNING cinder.quota [req-fb796716-0718-46dc-861a-3b2735b327a4 19d2049ec24c4e128920c7d088379e90 5e1c412afa5d471299f14e7954a80b55 - default default] Deprecated: Default quota for resource: gigabytes_volumes is set by the default quota flag: quota_gigabytes_volumes, it is now deprecated. Please use the default quota class for default quota.# a- ~" B* ~. v2 r0 @, W5 h
2021-10-15 11:02:31.229 34 INFO cinder.volume.manager [req-fb796716-0718-46dc-861a-3b2735b327a4 19d2049ec24c4e128920c7d088379e90 5e1c412afa5d471299f14e7954a80b55 - default default] Delete snapshot completed successfully.
1 h4 D0 b6 c1 a
您需要登录后才可以回帖 登录 | 开始注册

本版积分规则

关闭

站长推荐上一条 /4 下一条

如有购买积分卡请联系497906712

QQ|返回首页|Archiver|手机版|小黑屋|易陆发现 点击这里给我发消息

GMT+8, 2021-12-2 09:18 , Processed in 0.041550 second(s), 22 queries .

Powered by LR.LINUX.cloud bbs168x X3.2 Licensed

© 2012-2022 Comsenz Inc.

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