Custom Search

Wednesday, November 9, 2011

Eucalyptus Not enough resources available: addresses (try --addressing private)

Eucalyptus Not enough resources available: addresses (try --addressing private)

1)Check Resources
------------------
root@saju:~# euca-describe-availability-zones verbose
AVAILABILITYZONE        cluster 192.168.0.111
AVAILABILITYZONE        |- vm types     free / max   cpu   ram  disk
AVAILABILITYZONE        |- m1.small     0030 / 0030   1    192     2
AVAILABILITYZONE        |- c1.medium    0024 / 0024   1    256     5
AVAILABILITYZONE        |- m1.large     0012 / 0012   2    512    10
AVAILABILITYZONE        |- m1.xlarge    0006 / 0006   2   1024    20
AVAILABILITYZONE        |- c1.xlarge    0003 / 0003   4   2048    20
root@saju:~#

2)Free up Resources
------------------
* Remove unwanted VMs and Disks



3)Restart Cloud controller
---------------------------
root@saju:~#
root@saju:~#
root@saju:~# service eucalyptus-cc restart
eucalyptus-cc start/running, process 27279
root@saju:~#
root@saju:~#


4)Check Resources again
------------------------
root@saju:~#
root@saju:~# euca-describe-availability-zones verbose
AVAILABILITYZONE        cluster 192.168.0.111
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
root@saju:~#
root@saju:~#
root@saju:~#

5)Check address
-----------------
root@saju:~# euca-describe-addresses
ADDRESS 192.168.0.21    available (admin)
ADDRESS 192.168.0.22    available (admin)
root@saju:~#
root@saju:~#

6)Release address
-----------------
root@saju:~# euca-release-address 192.168.0.21
ADDRESS 192.168.0.21
root@saju:~#
root@saju:~# euca-release-address 192.168.0.22
ADDRESS 192.168.0.22
root@saju:~#
root@saju:~#
root@saju:~#
root@saju:~# euca-describe-addresses
ADDRESS 192.168.0.21    nobody
ADDRESS 192.168.0.22    nobody
root@saju:~#
root@saju:~#


7)Try VM Provision
------------------------
End

No comments:

Post a Comment