無可用資源0000 / 0000

問題:無法創建eucalyptu實例,使用euca2命令查看資源如下:

[root@localhost node]# euca-describe-availability-zones verbose
AVAILABILITYZONE        hell_euca       192.168.0.8
AVAILABILITYZONE        |- vm types     free / max   cpu   ram  disk
AVAILABILITYZONE        |- m1.small     0000 / 0000   1    128     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

原因:cc指向的nc錯誤,可能是指向的cc本身
解決方法:重新註冊cc節點和nc節點

[root@lvyinglong eucalyptus]# euca_conf --deregister-nodes 192.168.0.8 
SUCCESS: removed node '192.168.0.8' from '/opt/eucalyptus/etc/eucalyptus/eucalyptus.conf'
[root@lvyinglong eucalyptus]# euca_conf --deregister-nodes 192.168.0.24
SUCCESS: removed node '192.168.0.24' from '/opt/eucalyptus/etc/eucalyptus/eucalyptus.conf'
[root@lvyinglong eucalyptus]# euca_conf --deregister-cluster nfsnfs 

SUCCESS: cluster 'nfsnfs' successfully deregistered.
[root@lvyinglong eucalyptus]# euca_conf --list-nodes

[root@lvyinglong eucalyptus]# euca-describe-availability-zones verbose
[root@lvyinglong eucalyptus]# euca_conf --register-cluster nfsnfs 192.168.0.8

Trying rsync to sync keys with "192.168.0.8"[email protected]'s password: 
done.

SUCCESS: new cluster 'nfsnfs' on host '192.168.0.8' successfully registered.
[root@lvyinglong eucalyptus]# euca_conf --register-nodes 192.168.0.24

INFO: We expect all nodes to have eucalyptus installed in /opt/eucalyptus for key synchronization.

Trying rsync to sync keys with "192.168.0.24"[email protected]'s password: 
done.
[root@lvyinglong eucalyptus]#
[root@lvyinglong eucalyptus]# euca_conf --list-nodes
registered nodes:
   192.168.0.24  nfsnfs  
   192.168.0.8  nfsnfs  
[root@lvyinglong eucalyptus]# euca-describe-availability-zones verbose
AVAILABILITYZONE        nfsnfs  192.168.0.8
AVAILABILITYZONE        |- vm types     free / max   cpu   ram  disk
AVAILABILITYZONE        |- m1.small     0002 / 0002   1    128     2
AVAILABILITYZONE        |- c1.medium    0002 / 0002   1    256     5
AVAILABILITYZONE        |- m1.large     0001 / 0001   2    512    10
AVAILABILITYZONE        |- m1.xlarge    0001 / 0001   2   1024    20
AVAILABILITYZONE        |- c1.xlarge    0000 / 0000   4   2048    20
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章