当我凝视虚拟机实例时,它给我错误
$ gcloud compute instances start wordpress-1-vm --zone=asia-south1-a
Starting instance(s) wordpress-1-vm...failed.
ERROR: (gcloud.compute.instances.start) The zone 'projects/mobileyug/zones/asia-south1-a' does not have enough resources available to fulfill the request. Try a different zone, or try again lat
er.
然后我尝试移动该实例,这将给我以下错误。
$ gcloud compute instances move wordpress-1-vm --zone=asia-south1-a --destination-zone=asia-south1-b
Moving gce instance wordpress-1-vm...failed.
ERROR: (gcloud.compute.instances.move) Instance cannot be moved while in state: TERMINATED
请建议我如何启动我的VM实例。
答案 0 :(得分:1)
1。重新启动您的vm实例并重试,因为在TERMINATED状态下您无法与vm进行交互。 从文档: 终止-用户停止了实例,或实例遇到故障。再次启动该实例或将其删除。
2。尝试手动移动实例: https://cloud.google.com/compute/docs/instances/moving-instance-across-zones#moving-an-instance-manually
3。如果此虚拟机上没有什么重要的东西或它是新创建的,只需删除它并在另一个区域(b或c)中创建