Cloud Expo 2010 East in New York Issue:
FinishedVerify: Not enough resources: vm instances.
Reasoning:
This issue arises if the node controller is not registered with the cluster
controller or if there are no free VMs available to launch the instance.
Solution:
In case, the node controller is not registered, the output of
“euca-describe-availability-zones verbose” will show zero free and max
VMs as below.
$ euca-describe-availability-zones verbose AVAILABILITYZONE
mycloud A.B.C.D 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.xl... (more)
Cloud Expo 2010 East in New York
The following log files would be of interest for debugging errors encountered
while working with UEC.
On CC
axis2c.log – This file logs messages specific to Axis2c web services.
cc.log – This file logs messages specific to Cluster controller.
cc-registration.log – This file logs the success or failure of Cluster
Controller registration. For example,
SUCCESS: new cluster 'mycloud' on host
'192.168.1.1' successfully registered.
cloud-debug.log, cloud-error.log, cloud-output.log – These files log
messages specific to Cloud Controller.
sc-registration.lo... (more)
Creating a new disk Image
This will be the main HDD in the virtual image, so make sure to give it as
much space as youll need. Since were building a kvm image, we can use a qcow2
format for disk images. Qcow2 is an expandable image format, so itll only
take as much storage space as its actually used within the image.
$ kvm-img create -f qcow2 image.img 5G OS Installation
Download the iso file of the Linux distribution you want installed in the
image.
$ wget http://releases.ubuntu.com/karmic/ubuntu-9.04-server-amd64.iso
And start the installation process:
$ sudo kvm -m 256 -cdrom ubu... (more)
Linux Instances
First create a volume of the required size using euca-create-volume
$ euca-create-volume -s 10 -z mycloud VOLUME vol-333C04B8 10 creating
2010-03-26T05:20:56.383Z
Check the available volumes and their status with euca-describe-volumes
$ euca-describe-volumes VOLUME vol-333C04B8 10 mycloud available
2010-03-26T05:20:56.383Z
Now attach the volume to a running instance using euca-attach-volume
$ euca-attach-volume -i i-41620887 -d /dev/sdb vol-333C04B8
The volumes status changes from “available” to “in-use” if it is
attached properly.
$ euca-describe-volumes VOLUME vol-3... (more)
Creating new disk image
This will be the main HDD in the virtual image, so make sure to give it as
much space as you’ll need. Since we’re building a kvm image, we can use a
qcow2 format for disk images. Qcow2 is an expandable image format, so it’ll
only take as much storage space as it’s actually used within the image.
$ kvm-img create -f qcow2 win-2k3.img 20G OS Installation
Get the iso file of the Windows distribution to be installed in the image.
And start the installation process.
$sudo kvm -m 1024 -cdrom Win2003_cd1.iso -drive
file=win-2k3.img,if=scsi,boot=on -nographic -vnc :... (more)