Bug 1308940 - 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: ---
: 5.0 (RHEL 7)
Assignee: Lee Yarwood
QA Contact: Prasanth Anbalagan
URL:
Whiteboard:
Depends On: 1192087 1308941
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-02-16 14:13 UTC by Lee Yarwood
Modified: 2019-10-10 11:13 UTC (History)
13 users (show)

Fixed In Version: openstack-nova-2014.1.5-26.el7ost
Doc Type: Bug Fix
Doc Text:
Clone Of: 1192087
Environment:
Last Closed: 2016-03-08 17:09:13 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Launchpad 1334857 0 None None None 2016-02-16 14:13:39 UTC
OpenStack gerrit 104138 0 None None None 2016-02-16 14:13:39 UTC
Red Hat Knowledge Base (Solution) 1585503 0 None None None 2016-02-16 14:13:39 UTC
Red Hat Product Errata RHBA-2016:0361 0 normal SHIPPED_LIVE openstack-nova bug fix advisory 2016-03-08 22:06:33 UTC

Comment 3 Prasanth Anbalagan 2016-03-03 15:25:27 UTC
Verified as follows - only instance ip address is returned while accessing local-ipv4 metadata

**********
Version
**********

[root@lynx13 ~(keystone_demo)]# yum list installed | grep openstack-nova
openstack-nova-api.noarch        2014.1.5-27.el7ost      @rhelosp-5.0-el7-puddle
openstack-nova-cert.noarch       2014.1.5-27.el7ost      @rhelosp-5.0-el7-puddle
openstack-nova-common.noarch     2014.1.5-27.el7ost      @rhelosp-5.0-el7-puddle
openstack-nova-compute.noarch    2014.1.5-27.el7ost      @rhelosp-5.0-el7-puddle
openstack-nova-conductor.noarch  2014.1.5-27.el7ost      @rhelosp-5.0-el7-puddle
openstack-nova-console.noarch    2014.1.5-27.el7ost      @rhelosp-5.0-el7-puddle
openstack-nova-novncproxy.noarch 2014.1.5-27.el7ost      @rhelosp-5.0-el7-puddle
openstack-nova-scheduler.noarch  2014.1.5-27.el7ost      @rhelosp-5.0-el7-puddle
[root@lynx13 ~(keystone_demo)]# 

**********
Logs
**********

[root@lynx13 ~(keystone_demo)]# nova list
+--------------------------------------+----------+--------+------------+-------------+--------------------------------+
| ID                                   | Name     | Status | Task State | Power State | Networks                       |
+--------------------------------------+----------+--------+------------+-------------+--------------------------------+
| ee202949-7098-48f4-a10b-f1286b469311 | demo-vm1 | ACTIVE | -          | Running     | private=10.0.0.4, 172.24.4.229 |
+--------------------------------------+----------+--------+------------+-------------+--------------------------------+


Metadata access from VM
=======================
$curl -q http://169.254.169.254/2009-04-04/meta-data/local-ipv4
10.0.0.4$
$
$curl -q http://169.254.169.254/2008-09-01/meta-data/local-ipv4
10.0.0.4$
$

Comment 5 errata-xmlrpc 2016-03-08 17:09:13 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-0361.html


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