Instance unable to retrieve it's medatas during launch (404 errors)

Bug #794146 reported by Razique Mahroua
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Invalid
Undecided
Unassigned

Bug Description

Nova-version :
ii nova-api 2011.2-0ubuntu0ppa1~maverick1 OpenStack Compute - Nova - API frontend
ii nova-common 2011.2-0ubuntu0ppa1~maverick1 OpenStack Compute - Nova - common files
ii nova-compute 2011.2-0ubuntu0ppa1~maverick1 OpenStack Compute - Nova - compute node
ii nova-network 2011.2-0ubuntu0ppa1~maverick1 OpenStack Compute - Nova - Network thingamajig
ii nova-objectstore 2011.2-0ubuntu0ppa1~maverick1 OpenStack Compute - Nova - object store
ii nova-scheduler 2011.2-0ubuntu0ppa1~maverick1 OpenStack Compute - Nova - Scheduler
ii python-nova 2011.2-0ubuntu0ppa1~maverick1 OpenStack Compute - Nova - Python libraries

Kernel :
Linux nova-cc1 2.6.35-28-server #50-Ubuntu SMP Fri Mar 18 18:59:25 UTC 2011 x86_64 GNU/Linux

Images repo :
http://uec-images.ubuntu.com/

When I run an instance, through euca-run, it's unable to retrieve it's metadatas from the api-server, I've 404 - not found errors
nova-api.log :
http://paste.openstack.org/show/1571/

euca-get-console-output :
http://paste.openstack.org/show/1572/

iptables (we see that prerouting rule that redirects to the api-server hits that are made to 169.254.169.254):
http://paste.openstack.org/show/1573/

nova.conf :
http://paste.openstack.org/show/1574/

When I remove the ec2_dmz_host, I don't have any 404 errors , but "network unreacheable" within the instance.

Revision history for this message
Razique Mahroua (razique) wrote :

I've been able to resolve my issue by doing the following actions :
$ nova-manage project scrub $MY_PROJECT
$ nova-manage network delete 10.0.1.0/27
$ nova-manage network delete 10.0.1.0/26
$ nova-manage network create 10.0.1.0/24 1 256
$ service nova-network restart

=> select * from networks\G;
http://paste.openstack.org/show/1584/

My idea is that the instance were using a reserved ip by dnsmasq. After I scrub that range and affected a new one to the instance, it is now able to retrieve it's metadatas :

[...]
[ 0.707408] devtmpfs: mounted
[ 0.710454] Freeing unused kernel memory: 880k freed
[ 0.712021] Write protecting the kernel read-only data: 10240k
[ 0.713721] Freeing unused kernel memory: 84k freed
[ 0.722053] Freeing unused kernel memory: 1416k freed
lxcmount stop\/pre-start, process 45
cloud-init start-local running: Wed, 08 Jun 2011 08:27:53 +0000. up 1.93 seconds
no instance data found in start-local
init: cloud-init-local main process (167) terminated with status 1

init: udev-fallback-graphics main process (274) terminated with status 1

init: plymouth main process (47) killed by SEGV signal

init: plymouth-splash main process (277) terminated with status 2

init: cloud-init-nonet main process (228) killed by TERM signal

cloud-init start running: Wed, 08 Jun 2011 08:27:55 +0000. up 3.45 seconds
found data source: DataSourceEc2

[...]

Revision history for this message
Thierry Carrez (ttx) wrote :

Can you reproduce the issue ? Should we consider this one closed ?

Changed in nova:
status: New → Incomplete
Revision history for this message
Razique Mahroua (razique) wrote :

I was unable to reproduce the issue. The bug could be marked as resolved :)
Thanks Thierry

Thierry Carrez (ttx)
Changed in nova:
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.