Bug 1192087 - local-ipv4 requests against the ec2 metadata service return both instance and controller IPv4 addresses.
Summary: local-ipv4 requests against the ec2 metadata service return both instance and...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-nova
Version: 5.0 (RHEL 7)
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: ---
: 6.0 (Juno)
Assignee: Lee Yarwood
QA Contact: nlevinki
URL:
Whiteboard:
Depends On:
Blocks: 1308940 1308941
TreeView+ depends on / blocked
 
Reported: 2015-02-12 15:32 UTC by Lee Yarwood
Modified: 2019-10-10 09:37 UTC (History)
10 users (show)

Fixed In Version: openstack-nova-2014.2.3-57.el7ost
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 1308940 1308941 (view as bug list)
Environment:
Last Closed: 2016-03-23 14:25:53 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Launchpad 1334857 0 None None None Never
OpenStack gerrit 104138 0 None None None Never
Red Hat Knowledge Base (Solution) 1585503 0 None None None Never
Red Hat Product Errata RHBA-2016:0500 0 normal SHIPPED_LIVE openstack-nova bug fix advisory 2016-03-23 18:25:29 UTC

Description Lee Yarwood 2015-02-12 15:32:30 UTC
Description of problem:
local-ipv4 requests against the ec2 metadata service return both instance and controller IPv4 addresses. For example :

root@instance # curl -q http://169.254.169.254/2009-04-04/meta-data/local-ipv4 
192.168.12.10, 10.10.10.10

This has been raised [1] and resolved [2] upstream.

Version-Release number of selected component (if applicable):
openstack-nova-api-2014.1.3-4.el7ost.noarch
openstack-nova-cert-2014.1.3-4.el7ost.noarch
openstack-nova-common-2014.1.3-4.el7ost.noarch
openstack-nova-compute-2014.1.3-4.el7ost.noarch
openstack-nova-conductor-2014.1.3-4.el7ost.noarch
openstack-nova-console-2014.1.3-4.el7ost.noarch
openstack-nova-novncproxy-2014.1.3-4.el7ost.noarch
openstack-nova-scheduler-2014.1.3-4.el7ost.noarch
python-nova-2014.1.3-4.el7ost.noarch
python-novaclient-2.17.0-2.el7ost.noarch

How reproducible:
Always.

Steps to Reproduce:
1. root@instance # curl -q http://169.254.169.254/2009-04-04/meta-data/local-ipv4

Actual results:
Both the instance and controller IPv4 addresses are returned.

Expected results:
Only the instance IPv4 address is returned.

Additional info:
[1] https://bugs.launchpad.net/nova/+bug/1334857
[2] https://review.openstack.org/#/c/104138/

Comment 8 errata-xmlrpc 2016-03-23 14:25:53 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2016-0500.html


Note You need to log in before you can comment on or make changes to this bug.