该区域没有足够的资源来满足请求/资源未准备好 [英] the zone does not have enough resources available to fulfill the request/ the resource is not ready

查看:142
本文介绍了该区域没有足够的资源来满足请求/资源未准备好的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我无法通过网络浏览器启动实例,这给了我错误:

I failed to start my instance (through the web browser), it gave me the error:

区域'projects/XXXXX/zones/europe-west4-b'没有足够的空间 可用于满足请求的资源.尝试其他区域,或者 请稍后再试."

"The zone 'projects/XXXXX/zones/europe-west4-b' does not have enough resources available to fulfill the request. Try a different zone, or try again later."

我认为一开始可能是配额问题,在检查了配额之后,一切都很好.实际上,我列出了可用的区域,europe-west4-b可用,但是我仍然做出了移动该区域的尝试.然后我尝试了"gcloud compute instances move XXXX --zone europe-west4-b --destination-zone europe-west4-c",但是它仍然失败,弹出错误:

I thought it might be the quota problem at first, after checking my quota, it showed all good. Actually, I listed the available zones, europe-west4-b was available, but I still gave a shot to move the zone. Then I tried "gcloud compute instances move XXXX --zone europe-west4-b --destination-zone europe-west4-c", however, it still failed, popped up the error:

错误:(gcloud.compute.instances.move)实例在以下情况下无法移动 状态:已终止"

"ERROR: (gcloud.compute.instances.move) Instance cannot be moved while in state: TERMINATED"

好的,终止了...然后我尝试通过"gcloud compute instances reset XXX"重新启动它,该错误以以下方式显示:

Okay, terminated... then I tried to restart it by "gcloud compute instances reset XXX", the error showed in the way:

错误:(gcloud.compute.instances.reset)无法获取资源: -资源项目/XXXXX/区域/europe-west4-b/instances/XXX" 还没准备好

ERROR: (gcloud.compute.instances.reset) Could not fetch resource: - The resource 'projects/XXXXX/zones/europe-west4-b/instances/XXX' is not ready

我搜索了错误,有些人通过删除磁盘解决了这个问题.虽然我不想擦除内存,但是我该如何解决这个问题呢?

I searched the error, some people solved this problem by deleting the disk. While I don't want to wipe the memory, how could I solve this problem?

顺便说一句,我只有一个实例,并附有一个永久性磁盘.

BTW, I only have one instance, with one persistent disk attached.

推荐答案

首先,很抱歉您遇到此问题,很高兴得知此问题已为您解决.

First of all our apologies that you’re experiencing this issue and great to hear that this issue is being resolved for you.

我们的目标是确保所有区域中都有可用资源.这 问题类型很少见.当发生这种情况或将要发生这种情况时 发生时,我们的团队会立即得到通知,并对此问题进行调查.

Our goal is to make sure that there are available resources in all zones. This type of issue is rare. When a situation like this occurs, or is about to occur, our team is notified immediately and the issue is investigated.

我们建议跨多个区域部署和平衡您的工作负载,或者 减少停电的可能性.请查看我们的文档 概述了如何在Google上构建弹性和可扩展的架构 云平台.您已经注意到,在接下来的几个小时内再试一次可以解决您的问题,因为这是暂时性错误.它不会持续很长时间.由于我们的系统是动态的并且始终在扩展,因此在这种情况下,建议您在其他区域中创建实例,或者稍后再尝试在错误消息中已经看到的实例.

We recommend deploying and balancing your workload across multiple zones or regions to reduce the likelihood of an outage. Please review our documentation which outlines how to build resilient and scalable architectures on Google Cloud Platform. As you have noticed that trying again in the next few hours fixed your issue, as this is a transient error. It should not last long. Since our system is dynamic and always expanding, in this type of situation I would recommend you to create your instance in a different zone or try later which you have already seen in the error message.

此外,我还将建议查看此链接建议您跨区域分布实例以提高可用性.您还可以查看此其他链接,在其中您可以找到一些设计上的最佳做法强大的GCE(Google Compute Engine)系统.

Additionally, I'll also recommend reviewing this link that recommends distributing your instances across zones to increase availability. You can also review this other link, where you will find some best practices for designing robust systems on GCE (Google Compute Engine).

这篇关于该区域没有足够的资源来满足请求/资源未准备好的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆