[Openstack] nova-compute is unable to contact the metadata server

Doude doudouyam at gmail.com
Mon Oct 3 07:46:17 UTC 2011


Hi,

Which network mode do you use ?
I think I get the same problem in VLAN network mode. Can you check your
'nova-api' logs ?

The DNAT rule in pre-routing table change the destination of meta data
packets but SNAT rule in post routing table change the source IP of all
outgoing traffic.
So, the meta data handler cannot identify the origin of the meta data
request. The flag 'use_forwarded_for' permit to use the HTTP header field
'X-Forwarded-For' tio identify the IP source of the meta data request.
But I don't know how configure 'cloud-init' to set this HTTP header ?

Doude.

On Sun, Oct 2, 2011 at 8:01 PM, Jesse Andrews <anotherjesse at gmail.com>wrote:

> If the request isn't coming into the nova-api then I recommend
> checking the network path using tcpdump (or wireshark - there is a
> curses version).
>
> As you can see it tries 100 times to hit the metadata server so you
> should see traffic every couple seconds
>
>
> On Sat, Oct 1, 2011 at 1:59 PM, Shashank Sahni <shredder12 at linuxers.org>
> wrote:
> > Hi everyone,
> > I'm working on a single node installation of openstack(for testing). I'm
> > using ubuntu uec images and am successfully able to boot them. But
> > unfortunately, I get the error
> > DataSourceEc2.py[WARNING]:   20:07:30 [17/100]: url error [[Errno 101]
> > Network is unreachable]
> > at the end of "euca-get-console-output". I believe that is the reason why
> > I'm not able to either ping or ssh into the instance.
> > There already exists a pre-routing rule to redirect all the communication
> > from 169.254.169.254:80 to nova-api:8773.
> > -A nova-network-PREROUTING -d 169.254.169.254/32 -p tcp -m tcp --dport
> 80 -j
> > DNAT --to-destination 10.2.4.135:8773
> > Any suggestions?
> > Regards,
> > Shashank Sahni
> > _______________________________________________
> > Mailing list: https://launchpad.net/~openstack
> > Post to     : openstack at lists.launchpad.net
> > Unsubscribe : https://launchpad.net/~openstack
> > More help   : https://help.launchpad.net/ListHelp
> >
> >
>
> _______________________________________________
> Mailing list: https://launchpad.net/~openstack
> Post to     : openstack at lists.launchpad.net
> Unsubscribe : https://launchpad.net/~openstack
> More help   : https://help.launchpad.net/ListHelp
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20111003/d9d5db86/attachment.html>


More information about the Openstack mailing list