Skip to content

"127.0.0.1" is used in node id #11364

@zhaohuabing

Description

@zhaohuabing

Describe the bug

I ran into this issue when testing 1.1 release branch.

As the below output, "127.0.0.1" is used in the node id, it should be removed and use a real IP address instead.

docker exec proxy cat  var/lib/istio/envoy-rev0.json
{
  "node": {
    "id": "sidecar~127.0.0.1~127.0.0.1.service.consul~service.consul",
    "cluster": "msb-dexmesh-ingress",
    "locality": {
    },
    "metadata": {"ISTIO_META_INSTANCE_IPS":"127.0.0.1,172.168.40.2,172.168.40.5","ISTIO_PROXY_SHA":"istio-proxy:7738fa3d506d3a1a7be002c1f06377e6516bc245","ISTIO_PROXY_VERSION":"1.1.0","ISTIO_VERSION":"1.0-dev","istio":"sidecar"}
  },

Expected behavior
“127.0.0.1” should be replaced with a meaningful IP address.

Steps to reproduce the bug
Compile and run Istio 1.1 branch in a multiple IPs environment.

Version
The Istio 1.1 branch (Commit: 93f74d7)

Installation
Install with Consul.

Environment
Linux version 3.10.0-693.21.1.el7.x86_64 (gcc version 4.8.5 20150623 (Red Hat 4.8.5-36) (GCC) ) #1 SMP Fri Dec 21 17:50:37 CST 2018

Cluster state
Run with Condul

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions