可用资源不足 eucalyptus 描述可用区 [英] Not enough resources available eucalyptus describe availability zones

查看:28
本文介绍了可用资源不足 eucalyptus 描述可用区的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

奇怪的问题可用资源不足"Shivani Rao 2012 年 8 月 24 日上午 01:28 UTC

Weird problem "Not enough resources available" Shivani Rao Aug 24, 2012 01:28AM UTC

我创建了 4 个实例并且它们正在运行,现在我想创建卷并将它们附加到正在运行的实例.不幸的是,即使在附加卷后,在/dev/sdb 分区上,我也无法从实例内部看到分区

I created 4 instances and they were running and I now wanted to create volumes and attach them to the running instances. Unfortunately, even after attaching the volumes, on /dev/sdb partitions, I was not able to see the partition from within in the instance

建议的可能解决方案之一是在 eucalyptus.conf 文件中设置 USE_VIRTIO_ROOT=1.然后指令是从卷附加到的实例内启动实例重启.这会关闭所有实例,更糟糕的是使它们都不可用.

One of the possible solutions suggested was to set USE_VIRTIO_ROOT=1 in the eucalyptus.conf file. And then the instruction was to initiate a instance reboot from within the instance to which the volume is attached. This shut down all the instances and worse made them all unavailable.

我开始收到可用资源不足:虚拟机资源".这基本上是因为 cc 中的配置设置不当.

I started getting the "Not enough resources available: vm resources." which is basically because bad configuration settings in the cc.

AVAILABILITYZONE RVLCirrus xxx.xxx.xxx.xxxAVAILABILITYZONE |- vm 类型空闲/最大 cpu ram 磁盘可用区 |- m1.small 0000/0000 1 192 2可用区 |- c1.medium 0000/0000 1 256 5可用区 |- m1.large 0000/0000 2 512 10可用区 |- m1.xlarge 0000/0000 2 1024 20可用性区域 |- c1.xlarge 0000/0000 4 2048 20

AVAILABILITYZONE RVLCirrus xxx.xxx.xxx.xxx AVAILABILITYZONE |- vm types free / max cpu ram disk AVAILABILITYZONE |- m1.small 0000 / 0000 1 192 2 AVAILABILITYZONE |- c1.medium 0000 / 0000 1 256 5 AVAILABILITYZONE |- m1.large 0000 / 0000 2 512 10 AVAILABILITYZONE |- m1.xlarge 0000 / 0000 2 1024 20 AVAILABILITYZONE |- c1.xlarge 0000 / 0000 4 2048 20

节点控制器安装在节点实际所在的单独机器上.集群控制器、云控制器、海象都坐在一台机器上.

The node controller is installed on a separate machine where the nodes actually are. The cluster controller, the cloud controller, the walrus are all sitting on one machine.

我一直在查看日志,但对正在发生的事情没有太多了解.有人可以帮忙吗?

I have been going through logs without much idea of what is happening. Can anybody help?

推荐答案

有几个问题

  1. 凭据不是来源.在前端机器上,运行命令

  1. Credentials are not sourced. On Front end machine, run command

[root@clc]# mkdir/home/abc/euca-cred

[root@clc]# mkdir /home/abc/euca-cred

[root@clc]# cd/home/abc/euca-cred

[root@clc]# cd /home/abc/euca-cred

[root@clc]# euca_conf --get-credentials -o admin.zip

[root@clc]# euca_conf --get-credentials -o admin.zip

[root@clc]# 解压 admin.zip

[root@clc]# unzip admin.zip

[root@clc]# 源 eucarc

[root@clc]# source eucarc

[root@clc]# euca-describe-availability-zones 详细

[root@clc]# euca-describe-availability-zones verbose

  • NTP 与服务器不同步.

  • NTP is not synchronized with server.

    [root@nc]# ntpdate -u CLC_IP_address

    [root@nc]# ntpdate -u CLC_IP_address

  • 这些是可能解决您问题的原因.

    These are the possible reasons might solve your problem.

    这篇关于可用资源不足 eucalyptus 描述可用区的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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