Unable to launch ubuntu cloud instances (single server installation)

Ariel Camino arielcamino at gmail.com
Wed Jan 21 03:22:51 UTC 2015


Hi, I'm trying to deploy my first single server installation using this
tool, but I experimented several issues.

First of all, tried to launch an Ubuntu cloud image:

https://cloud-images.ubuntu.com/trusty/current/trusty-server-cloudimg-amd64-disk1.img

and it fails, I entered to the nova instance and checked the logs, and
the problem was this:

Instance failed to spawn
libvirtError: internal error: no supported architecture for os type 'hvm'

Here I founded a explanation about this problem:

http://docs.openstack.org/juno/config-reference/content/kvm.html

but I don't have a /dev/kvm file in the compute instance.

So I decided to try using qemu, edited /etc/nova/nova-compute.conf and
changed virt_type from "kvm" to "qemu":

[libvirt]
virt_type=qemu

After that, I was able to launch the Ubuntu instance, but there was a
networking problem, this is the full log of the console of the instance:

 * Starting configure network device[74G[ OK ]
cloud-init-nonet[167.92]: gave up waiting for a network device.
Cloud-init v. 0.7.5 running 'init' at Wed, 21 Jan 2015 03:00:57 +0000.
Up 171.89 seconds.
ci-info: +++++++++++++++++++++++Net device info+++++++++++++++++++++++
ci-info: +--------+------+-----------+-----------+-------------------+
ci-info: | Device |  Up  |  Address  |    Mask   |     Hw-Address    |
ci-info: +--------+------+-----------+-----------+-------------------+
ci-info: |   lo   | True | 127.0.0.1 | 255.0.0.0 |         .         |
ci-info: |  eth0  | True |     .     |     .     | fa:16:3e:1f:da:ba |
ci-info: +--------+------+-----------+-----------+-------------------+
ci-info: !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!Route info
failed!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
2015-01-21 03:01:00,286 - url_helper.py[WARNING]: Calling
'http://169.254.169.254/2009-04-04/meta-data/instance-id' failed
[0/120s]: request error [HTTPConnectionPool(host='169.254.169.254',
port=80): Max retries exceeded with url:
/2009-04-04/meta-data/instance-id (Caused by <class 'socket.error'>:
[Errno 101] Network is unreachable)]
2015-01-21 03:01:01,322 - url_helper.py[WARNING]: Calling
'http://169.254.169.254/2009-04-04/meta-data/instance-id' failed
[1/120s]: request error [HTTPConnectionPool(host='169.254.169.254',
port=80): Max retries exceeded with url:
/2009-04-04/meta-data/instance-id (Caused by <class 'socket.error'>:
[Errno 101] Network is unreachable)]
2015-01-21 03:01:02,359 - url_helper.py[WARNING]: Calling
'http://169.254.169.254/2009-04-04/meta-data/instance-id' failed
[2/120s]: request error [HTTPConnectionPool(host='169.254.169.254',
port=80): Max retries exceeded with url:
/2009-04-04/meta-data/instance-id (Caused by <class 'socket.error'>:
[Errno 101] Network is unreachable)]

Does anybody had this problem before?

Thanks in advance!

Ariel



More information about the ubuntu-openstack-installer mailing list