我正在尝试使用 glace image-delete 命令删除 bosh 图像。
| b0e05888-9179-491c-b6c8-b8dde4d59d78 | BOSH-5b01cc67-c45d-498f-892f-965e3a003906 |
| b1a57b88-6487-4b31-afac-7b4e9cac40cb | BOSH-704b5bdc-cffa-4420-8a93-8489e7c5d1c7 |
| c99b9f15-7515-42ea-944d-76654dcdf319 | BOSH-a7f99575-96d1-4c0b-b385-3e48ce6debd1 |
我可以删除第一个图像,但最后两个抛出错误 httpinternalservererror (http 500) 无法删除图像我正在使用命令glance image-delete imageid
所有这些图像都来自同一个所有者 19070bc010034455ac2d8c52f1ba0f36。一目了然的版本是 1.1.0
请帮助我。
我再次在调试模式下运行此命令。我正在发布部分日志
root@vms-inception-2:/opt/cisco/vms-installer/scripts# glance --debug image-delete 897bbe11-0d25-4509-9e01-ef2402c7b1a7
curl -g -i -X DELETE -H 'Accept-Encoding: gzip, deflate' -H 'Accept: */*' -H 'User-Agent: python-glanceclient' -H 'Connection: keep-alive' -H 'X-Auth-Token: {SHA1}985eb4e6477f217212bb66a91ea5d9979996cdac' -H 'Content-Type: application/octet-stream' --cert None --key None https://us-virginia-1.cloud.cisco.com:9292/v2/images/897bbe11-0d25-4509-9e01-ef2402c7b1a7
Request returned failure status 500.
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/glanceclient/shell.py", line 700, in main
args.func(client, args)
File "/usr/local/lib/python2.7/dist-packages/glanceclient/v2/shell.py", line 321, in do_image_delete
gc.images.delete(args.id)
File "/usr/local/lib/python2.7/dist-packages/glanceclient/v2/images.py", line 222, in delete
self.http_client.delete(url)
File "/usr/local/lib/python2.7/dist-packages/glanceclient/common/http.py", line 292, in delete
return self._request('DELETE', url, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/glanceclient/common/http.py", line 272, in _request
resp, body_iter = self._handle_response(resp)
File "/usr/local/lib/python2.7/dist-packages/glanceclient/common/http.py", line 93, in _handle_response
raise exc.from_response(resp, resp.content)
HTTPInternalServerError: HTTPInternalServerError (HTTP 500)
HTTPInternalServerError (HTTP 500)