Ask Your Question
1

Multiple type of networks with quantum

asked 2013-06-24 05:08:14 -0500

Arfghl gravatar image

I have configured an 2 networks (external and internal) with a router between their. So quantum-l3-agent contacts the metadata service to get metadata when I launch an instance. But now I want to create a simple flat network without my router. When I do this y instance can't to connect to the metadata service (network unreachable)

How to contact metadata service with my new flat network without break my previously configuration ?

Thanks in advance for your help

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
2

answered 2013-06-24 06:36:06 -0500

darragh-oreilly gravatar image

With Grizzly on Ubuntu I was able to get metadata via the DHCP namespace.

In dhcp_agent.ini:

enable_isolated_metadata = True

Also the subnet must not have a gateway, and the instance must request DHCP option 121 (classless static routes).

edit flag offensive delete link more

Comments

Perfect answer!

Ashokb gravatar imageAshokb ( 2013-06-24 06:46:03 -0500 )edit

Thank you for your answer :)

This recent tutorial deals with metadata with DHCP namespace: http://techbackground.blogspot.fr/2013/06/metadata-via-dhcp-namespace.html

Arfghl gravatar imageArfghl ( 2013-06-24 07:35:22 -0500 )edit

But now I have the following error in my instances: 20130624 12:22:53,405 util.py[WARNING]: 'http://169.254.169.254/20090404/metadata/instanceid' failed [50/120s]: url error [timed out]

Arfghl gravatar imageArfghl ( 2013-06-24 07:39:53 -0500 )edit

Strange can you post the #quantum subnet-show $sub-id-provisioned

Ashokb gravatar imageAshokb ( 2013-06-24 08:01:25 -0500 )edit

What OS is the instance? Is it requesting and applying the static route for 169.254.169.254/32 from DHCP?

darragh-oreilly gravatar imagedarragh-oreilly ( 2013-06-24 08:03:36 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2013-06-24 05:08:14 -0500

Seen: 206 times

Last updated: Jun 24 '13