No access to the metadata in containerized undercloud

Bug #1785744 reported by Juan Antonio Osorio Robles
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
High
Juan Antonio Osorio Robles

Bug Description

When trying to access the metadata, there is the following error:

curl http://169.254.169.254/openstack/2016-10-06/vendor_data2.json
curl: (7) Failed connect to 169.254.169.254:80; Connection refused

From an overcloud node we can see that the route is there:

$ netstat -nr
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
0.0.0.0 192.168.24.1 0.0.0.0 UG 0 0 0 br-ex
169.254.169.254 192.168.24.1 255.255.255.255 UGH 0 0 0 br-ex
172.16.0.0 0.0.0.0 255.255.255.0 U 0 0 0 vlan50
172.16.1.0 0.0.0.0 255.255.255.0 U 0 0 0 vlan30
172.16.2.0 0.0.0.0 255.255.255.0 U 0 0 0 vlan20
172.31.0.0 0.0.0.0 255.255.255.0 U 0 0 0 docker0
192.168.24.0 0.0.0.0 255.255.255.0 U 0 0 0 br-ex

But the metadata agent is missing.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-heat-templates (master)

Fix proposed to branch: master
Review: https://review.openstack.org/589354

Changed in tripleo:
assignee: nobody → Juan Antonio Osorio Robles (juan-osorio-robles)
status: New → In Progress
Changed in tripleo:
milestone: none → rocky-rc1
importance: Undecided → High
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-heat-templates (master)

Reviewed: https://review.openstack.org/589354
Committed: https://git.openstack.org/cgit/openstack/tripleo-heat-templates/commit/?id=60a63edc22fc8e6470cf1d040f4fb4b7bcd9205d
Submitter: Zuul
Branch: master

commit 60a63edc22fc8e6470cf1d040f4fb4b7bcd9205d
Author: Juan Antonio Osorio Robles <email address hidden>
Date: Tue Aug 7 08:17:08 2018 +0300

    Add neutron metadata agent to the undercloud

    It was missing and it's necessary for the nova metadata API to work.
    Without this we don't have a working TLS everywhere setup, since it
    relies on this functionality.

    Change-Id: I24ff6f1b5acc428f001b2ca9b0bdbfa8ec121e52
    Closes-Bug: #1785744

Changed in tripleo:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-heat-templates 9.0.0.0rc1

This issue was fixed in the openstack/tripleo-heat-templates 9.0.0.0rc1 release candidate.

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.