views:

322

answers:

2

I'm trying to setup a private cloud. I followed the tutorial from:

https://help.ubuntu.com/community/UEC/CDInstall

But I'm not able to run a new image. Every time I try to start an image, the VM goes into the pending state and after a while it moves into shutting down mode and finally it terminates.

This behaviour is reported in the official doc for Eucalyptus, where it suggests to have a look to *httpd-nc_error_log* (the one for the node controller):

http://open.eucalyptus.com/wiki/EucalyptusTroubleshooting%5Fv1.5.2

I would really like to have a look to this file, but I can't, since nodes are managed by the controller and apparently I don't have ssh access to them (I tried to connect from the controller, but it prompts for a passphrase).

In all other log files (in the controller), I didn't notice anything special.

When I start a VM instance with the following:

euca-run-instances -k mykey emi-**********

The httpd-cc_error_log says:

> RTNETLINK answers: File exists
> Internet Systems Consortium DHCP
> Server V3.1.2 [...] WARNING: Host
> declarations are global.  They are not
> limited to the scope you declared them
> in. Wrote 0 deleted host decls to
> leases file. Wrote 0 new dynamic host
> decls to leases file. Wrote 0 leases
> to leases file. Listening on
> LPF/eth0/**:**:**:**:**:**/euca
> Sending on  
> LPF/eth0/**:**:**:**:**:**/euca
> Sending on  
> Socket/fallback/fallback-net Using
> intrapositioned negation (`--option !
> this`) is deprecated in favor of
> extrapositioned (`! --option this`).
> Using intrapositioned negation
> (`--option ! this`) is deprecated in
> favor of extrapositioned (`! --option
> this`).

Any ideas? Any place where I should look?

A: 

got the same problem as you described...any ideas?

Daniel Weidele
A: 

Check the /var/log/eucalyptus/nc.log on the NC. That's a good place to look for errors like that one.

It's possible that you're experiencing the reported error for Eucalyptus 1.6.2 (or close to that release) where the scsi drivers are not working. You can work around problem by changing all references to sda for hda int the */usr/share/eucalyptus/gen_kvm_libvirt_xml file*.

pcantin