首页 > 其他 > 详细

openstack 中镜像状态详解 Image Statuses

时间:2016-01-30 22:56:33      阅读:730      评论:0      收藏:0      [点我收藏+]

Images in Glance can be in one the following statuses:

  • queued

    The image identifier has been reserved for an image in the Glance registry. No image data has been uploaded to Glance and the image size was not explicitly set to zero on creation.

  • saving

    Denotes that an image’s raw data is currently being uploaded to Glance. When an image is registered with a call to POST /images and there is an x-image-meta-location header present, that image will never be in the saving status (as the image data is already available in some other location).

  • active

    Denotes an image that is fully available in Glance. This occurs when the image data is uploaded, or the image size is explicitly set to zero on creation.

  • killed

    Denotes that an error occurred during the uploading of an image’s data, and that the image is not readable.

  • deleted

    Glance has retained the information about the image, but it is no longer available to use. An image in this state will be removed automatically at a later date.

  • pending_delete

    This is similiar to deleted, however, Glance has not yet removed the image data. An image in this state is recoverable.

技术分享

This is a representation of how the image move from one status to the next.

  • Add location from zero to more than one.
  • Remove location from one or more to zero by PATCH method which is only supported in v2.

openstack 中镜像状态详解 Image Statuses

原文:http://www.cnblogs.com/horizonli/p/5172071.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!