易陆发现互联网技术论坛

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

删除image报错Unable to delete image

[复制链接]
发表于 2017-7-10 11:26:39 | 显示全部楼层 |阅读模式

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

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

x
本帖最后由 1320503165 于 2017-7-10 12:07 编辑
9 R% ]; C1 q* M% U! v' Q- v2 K- Q( [8 u: ~8 `4 k
Unable to delete image
7 B* y6 q5 ?: l9 J+ u( X500 Internal Server Error: The server has either erred or is incapable of performing the requested operation. (HTTP 500): Unable to delete image 6dd
* v. t& F6 N% P1 Y2 |4 n: s' X
/ z% i9 G5 E: B, ~ERROR:the server has either erred or is incapable of performing the requested operation' ]6 n& E/ P8 h2 i! ~
2 _( [' ~$ x6 y: ~' [
2017-07-10 11:36:03.756 3320 ERROR glance.common.wsgi [req-fd3b9f95-2573-4535-aac1-d86534d4ab91 cd6a0cdb7f9543089799d131bbdb329f 52f231550f67494a9054a9dae630afb0 - - -] Caught error: The image cannot be deleted because it is in use through the backend store outside of Glance.
+ \) `' l8 @5 E2 k4 ^" x, t$ X
 楼主| 发表于 2017-7-10 11:35:46 | 显示全部楼层
怀疑对接EBS没有对好
 楼主| 发表于 2017-7-10 11:54:34 | 显示全部楼层
后来才知道,这个镜像有云硬盘存在,删除掉云硬盘就可以删除掉镜像。: R6 R; @5 q9 U+ r% b2 y
 楼主| 发表于 2017-7-10 12:07:20 | 显示全部楼层
# nova image-list  
4 v, [+ {# W  V2 n! ~  _" E  s5 O4 S+--------------------------------------+-----------------------------------+--------+--------+
. j9 m2 t) \* N0 `0 t' G3 |& P6 c* x| ID                                   | Name                              | Status | Server |: U( Y; i  b& n- U  t: J9 r% G
+--------------------------------------+-----------------------------------+--------+--------+
- W3 w' W% W1 A| 92078465-4195-4712-8a73-e16b97ed8ef5 | BClinux-CentOS7.2-v1              | ACTIVE |        |' J8 ?5 J# M9 I, z/ l/ U2 V" j+ w. E

1 D) r6 G5 A4 b7 B' e% X8 ]. p- t最好的解决办法就是更新数据库。" ^5 R; r2 G6 {4 Q3 E
mysql>update images set deleted="1" where id='92078465-4195-4712-8a73-e16b97ed8ef5';
* f0 Y1 g, ^6 |" e( }3 k- b0 M# D2 q
8 z! B' f4 @/ C0 D- u
# nova image-list , ?: Y2 m8 V4 D0 E1 d3 R5 R& ?0 X
+--------------------------------------+-----------------------------------+--------+--------+& w- w% q, {" v
| ID                                   | Name                              | Status | Server |
5 \/ H4 M% `3 @8 c0 O+ ?# ~+--------------------------------------+-----------------------------------+--------+--------+
  S( N+ W2 u9 T& U0 E  C. E* ~$ X| d9878438-ba32-41f9-| CentOS-6.5                 | ACTIVE |        |
4 m) P) k/ Z5 H! r( Y1 U9 M2 V| 1ed59831-da36-49d5 | Windows-Server-2008-R2 | ACTIVE |        |2 Q+ c' m$ ?7 V9 Z% R4 V* b6 s
| f0dd0d6c-6f6e-4b1 | Windows-Server-2012-R2| ACTIVE |        |
# O) c( @9 c- n0 z; N+--------------------------------------+-----------------------------------+--------+--------+- @2 \, I) z- W0 w

; D$ e7 b7 Q8 K5 g- w( z
您需要登录后才可以回帖 登录 | 开始注册

本版积分规则

关闭

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

北京云银创陇科技有限公司以云计算运维,代码开发

QQ|返回首页|Archiver|小黑屋|易陆发现技术论坛 ( 蜀ICP备2026014127号-1 )点击这里给我发消息

GMT+8, 2026-4-8 21:15 , Processed in 0.049168 second(s), 22 queries .

Powered by Discuz! X3.4 Licensed

© 2012-2025 Discuz! Team.

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