使用glance add 上传完img文件的时候出现了下面的错误
----------------------------------------------------------------------- 下面为遇到的问题---------------------------------------------------
Failed to add image. Got error:
The request returned a 413 Request Entity Too Large. This generally means that rate limiting or a quota threshold was breached.
The response body:
%(body)s
Note: Your image metadata may still be in the registry, but the image‘s status will likely be ‘killed‘.
=====================================================================================================[100%] 58.5M/s, ETA 0h 0m 0s
-------------------------------------------------------------------- 上面为遇到的问题----------------------------------------------------------------
通过查看/var/log/glance/api.log
2014-01-08 13:39:06 1250 ERROR [glance.api.v1.images] Image storage media is full: 镜像存储介质没有足够的磁盘空间。
2014-01-08 14:18:07 1250 ERROR [glance.api.v1.images] Image storage media is full: 镜像存储介质没有足够的磁盘空间。
在用df -h 查看磁盘容量
/dev/sda4 11G 9.7G 908K 100% / #已经达到了100%
增加容量后恢复。