Ask Your Question
0

metadata service not working (Juno)

asked 2016-12-28 07:55:06 -0500

marck gravatar image

Our network node had a hardware failure and needed to be rebuilt. The hardware was exactly the same and we restored the configuration from backup. Everything works (l3-agent, DHCP, etc.) except for the metadata service. The only difference I can find is the previous setup used neutron 2014.2.1 and the new one uses 2014.2.4. We use GRE and VLAN networks and the neutron-metadata-agent only starts on the VLAN networks. I tried starting it manually but that didn't work either.

When launching a cirros instance:

checking http://169.254.169.254/2009-04-04/instance-id
failed 1/20: up 1.01. request failed
...

It will get a DHCP address and can access the Internet. I've restarted all the services a few times and can't find anything that points to why the neutron-metadata-agent doesn't start for GRE networks. Any help would be appreciated, thanks.

edit retag flag offensive close merge delete

Comments

1

config drive is an alternative to the metadata API. I don't know if, in a Juno cloud, you can force instances to use it, but it's perhaps worth a try.

Bernd Bausch gravatar imageBernd Bausch ( 2016-12-28 14:56:26 -0500 )edit

Thanks Bernd, using config drive worked. Please add your comment as an answer so I can accept it, thanks!

marck gravatar imagemarck ( 2016-12-30 07:36:16 -0500 )edit

Sweet! Thanks as well.

Bernd Bausch gravatar imageBernd Bausch ( 2016-12-30 08:20:25 -0500 )edit

2 answers

Sort by ยป oldest newest most voted
1

answered 2016-12-30 08:20:04 -0500

config drive is an alternative to the metadata API. I don't know if, in a Juno cloud, you can force instances to use it, but it's perhaps worth a try.

edit flag offensive delete link more
0

answered 2017-01-02 11:46:48 -0500

tze gravatar image

Have you check if the mrtadata proxy service is started on compute nodes? The connection between vm and metadata service is via metadata proxy of neutron.

edit flag offensive delete link more

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: 2016-12-28 07:55:06 -0500

Seen: 161 times

Last updated: Jan 02 '17