易陆发现互联网技术论坛

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

删除image报错Unable to delete image

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

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

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

x
本帖最后由 1320503165 于 2017-7-10 12:07 编辑
- K' d9 g3 Q: C$ Z, V0 v0 D5 v7 R, H5 J" r! ?9 g$ S
Unable to delete image & `2 g0 d, r3 |4 ~# W4 L# z3 f
500 Internal Server Error: The server has either erred or is incapable of performing the requested operation. (HTTP 500): Unable to delete image 6dd
( K9 E" z* V* A- v% l0 m9 B; Z  v8 Q' U( Q1 s
ERROR:the server has either erred or is incapable of performing the requested operation
  Z: g  y- b9 B* C
; \# s% D/ _- L+ x# `5 h4 d# K3 T2017-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.
" |- E, N! l' |1 |
 楼主| 发表于 2017-7-10 11:35:46 | 显示全部楼层
怀疑对接EBS没有对好
 楼主| 发表于 2017-7-10 11:54:34 | 显示全部楼层
后来才知道,这个镜像有云硬盘存在,删除掉云硬盘就可以删除掉镜像。
& N' k+ K; z. |( `: F
 楼主| 发表于 2017-7-10 12:07:20 | 显示全部楼层
# nova image-list  
3 v4 q2 Y* ], [+--------------------------------------+-----------------------------------+--------+--------+
1 z% q/ e4 Y0 B7 p9 U| ID                                   | Name                              | Status | Server |
7 P8 q# r9 q; N  b( m+--------------------------------------+-----------------------------------+--------+--------+! V7 k9 w* V( G& h: L8 R5 z9 k# g
| 92078465-4195-4712-8a73-e16b97ed8ef5 | BClinux-CentOS7.2-v1              | ACTIVE |        |
, f2 Y' h/ }( Z/ G
" `( Z! |% V- w3 ^3 Q4 {6 l0 s最好的解决办法就是更新数据库。# T3 t2 S! h! p* d( l, m+ ~: Z; o6 t( s% f4 [
mysql>update images set deleted="1" where id='92078465-4195-4712-8a73-e16b97ed8ef5';
) c8 P& L7 Z: c! S8 W0 _+ J, N! a$ E
: y/ b/ k/ G+ [. O* ^" m
# nova image-list 7 {6 v! G$ ]% {" D2 g2 j
+--------------------------------------+-----------------------------------+--------+--------+: U, \. k+ g' J  c
| ID                                   | Name                              | Status | Server |
0 V- x/ @& p8 `+ I+ F* w" \+--------------------------------------+-----------------------------------+--------+--------+
: Z0 K# Q: R; t% W- L| d9878438-ba32-41f9-| CentOS-6.5                 | ACTIVE |        |0 ~( F; k8 [1 n- p. [5 ?8 G" y, M/ @
| 1ed59831-da36-49d5 | Windows-Server-2008-R2 | ACTIVE |        |
* M* t" x8 Z+ v2 h7 z| f0dd0d6c-6f6e-4b1 | Windows-Server-2012-R2| ACTIVE |        |/ }0 {( P( v6 u5 o. n; i
+--------------------------------------+-----------------------------------+--------+--------+
# D+ ~% t& B0 ^, \5 N
# u' V+ J' V2 t# u4 c
您需要登录后才可以回帖 登录 | 开始注册

本版积分规则

关闭

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

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

QQ|返回首页|Archiver|小黑屋|易陆发现技术论坛 点击这里给我发消息

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

Powered by Discuz! X3.4 Licensed

© 2012-2025 Discuz! Team.

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