4 replies [Last post]
mehna.jain@orka... (Offline)
Not able to create instances
Posted: Tue, 03/09/2010 - 22:29

Hi
I am new to eucalyptus, currently trying to create an instance at the node but it shows the following error.

FinishedVerify: Not enough resources (VmTypeAvailability{type=VmType{name='m1.small', cpu=1, disk=1, mem=128}, max=0, available=0} < 1: vm instances.

I have gone through various topics dealing with the same problem but I am not able to solve mine.
I am working on CentOS 5.3 and have installed Eucalyptus 1.6.2 version using CentOS rpms as per the administrator guide. I have one system working as front end and another as a node. My networking mode is default = SYSTEM, hypervisor = Xen.

Following is the of node log files.

1. axis2c.log
[error] error.c(94) OXS ERROR [x509.c:287 in openssl_x509_get_subject_key_identifier] oxs defualt error , The extenension index of NID_subject_key_identifier is not valid

2. httpd-nc_error_log
[Wed Mar 10 10:32:07 2010] [notice] SELinux policy enabled; httpd running as context root:system_r:httpd_t
[Wed Mar 10 10:32:07 2010] [notice] Apache/2.2.3 (CentOS) configured -- resuming normal operations
sh: //usr/lib/eucalyptus/euca_rootwrap: Permission denied
[Wed Mar 10 10:38:09 2010] [error] server reached MaxClients setting, consider raising the MaxClients setting

3. nc.log
[Wed Mar 10 10:32:13 2010][008770][EUCAINFO ] NC is looking for configuration in //etc/eucalyptus/eucalyptus.conf///etc/eucalyptus/eucalyptus.local.conf
[Wed Mar 10 10:32:13 2010][008770][EUCAINFO ] SC is looking for configuration in files (//etc/eucalyptus/eucalyptus.conf,//etc/eucalyptus/eucalyptus.local.conf)
[Wed Mar 10 10:32:13 2010][008770][EUCAINFO ] euca_init_cert(): using file //var/lib/eucalyptus/keys/node-cert.pem
[Wed Mar 10 10:32:13 2010][008770][EUCAINFO ] euca_init_cert(): using file //var/lib/eucalyptus/keys/node-pk.pem
[Wed Mar 10 10:32:13 2010][008770][EUCADEBUG ] doInitialized() invoked
[Wed Mar 10 10:32:13 2010][008770][EUCADEBUG ] system_output(): [//usr/lib/eucalyptus/euca_rootwrap //usr/share/eucalyptus/get_xen_info]
[Wed Mar 10 10:32:13 2010][008770][EUCAFATAL ] error: did not find dom0-min-mem in output from //usr/lib/eucalyptus/euca_rootwrap //usr/share/eucalyptus/get_xen_info
[Wed Mar 10 10:32:13 2010][008770][EUCAFATAL ] ERROR: failed to initialized hypervisor driver!
[Wed Mar 10 10:32:13 2010][008770][EUCAERROR ] ERROR: doDescribeResource() failed error=1

4. euca_test_nc.log
dom0-min-mem=256

There are errors at front end log files also. If required I'll post them. Any kind of help will be highly appreciated.
Thanks
Mehna Jain

graziano (Offline)
Hello, you may want to read
Posted: Wed, 03/10/2010 - 10:53

Hello,

you may want to read the documentation on installing Eucalyptus on CentOS. In partitucular, we need the new point release of CentOS (5.4) and we need selinux to be disabled (you will see that selinux is preventing Eucalyptus to call euca_rootwrap which is needed to interact with the hypervisor).

So in your case the error is due to the fact (I suspect) that no NC is reporting to the CC, which means that there is no cores nor memory available to run instances.

Welcome to the forum, and keep us posted on your progress!

cheers
graziano

mehna.jain@orka... (Offline)
I want to test eucalyptus on Caos NSA
Posted: Wed, 03/10/2010 - 20:35

Hello
Thanks for the reply. I have disabled selinux but there is still no change in the error displayed while creating instances and errors in log files. But as you pointed out it may be due to centos 5.3 version.

Basically I wanted to test eucalyptus cloud on the CAOS NSA operating system. And since there are no rpms for it so I tried installing using source tar packages but there were many errors so I thought of trying it first on a supported OS i.e centos.

Has anyone else tried out Eucalyptus on CAOS NSA. I'll really appreciate any special pointers for my testing.

Thanks a lot :)
Mehna Jain

graziano (Offline)
Hello, let us know if you get
Posted: Thu, 03/11/2010 - 16:44

Hello,

let us know if you get Eucalyptus working on it!

cheers
graziano

srinu82 (Offline)
same problem i have
Posted: Mon, 03/22/2010 - 03:01

Hi,

I am getting same error but in axis2.log file.

here my node reporting to cc about the resources.

but its not updating in cloud , i thought it because of node not showing in available zones.

sri

srinu