Bug 1608092

Summary: [3.9] Nodes losing IP address information in aws
Product: OpenShift Container Platform Reporter: Wang Haoran <haowang>
Component: NodeAssignee: Seth Jennings <sjenning>
Status: CLOSED ERRATA QA Contact: Wang Haoran <haowang>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 3.9.0CC: aos-bugs, dma, dranders, haowang, jchaloup, jokerman, mmariyan, mmccomas
Target Milestone: ---Keywords: OpsBlocker
Target Release: 3.9.z   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: No Doc Update
Doc Text:
undefined
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-08-29 14:42:32 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Wang Haoran 2018-07-24 23:36:08 UTC
Description of problem:

Some nodes are losing IP address information, which cause hepster cannot collect metrics for the nodes.

See the node address info in {{.node.status.address}}

This is the good node:

"addresses": [
            {
                "address": "172.29.54.179",
                "type": "InternalIP"
            },
            {
                "address": "54.x.x.x",
                "type": "ExternalIP"
            },
            {
                "address": "ip-172-29-54-179.ec2.internal",
                "type": "InternalDNS"
            },
            {
                "address": "ec2--x-x-x-x.amazonaws.com",
                "type": "ExternalDNS"
            },
            {
                "address": "ip-172-29-54-179.ec2.internal",
                "type": "Hostname"
            }
        ],


this is the bad node:

"addresses": [
            {
                "address": "ip-172-29-48-191.ec2.internal",
                "type": "Hostname"
            }
        ],
Version-Release number of selected component (if applicable):

openshift v3.9.33
kubernetes v1.9.1+a0ce1bc657
etcd 3.2.16


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Drew Anderson 2018-07-24 23:48:30 UTC
We tried to bring the information back by restarting atomic-openshift-node.service on the affected node. This failed to restart.

Relevant log from atomic-openshift-node.service:
atomic-openshift-node[65550]: F0723 04:18:26.328675   65550 network.go:100] Unable to get a bind address: failed to retrieve node IP: host IP unknown; known <snip>

Possibly related: https://bugzilla.redhat.com/show_bug.cgi?id=1589396

Comment 2 Drew Anderson 2018-07-24 23:50:39 UTC
Performing a reboot (at least, AWS stop/start the affected node) allowed the atomic-openshift-node.service to restart and provide all address information again to the master api (oc get nodes). This also removed related complaints from heapster.

Comment 8 DeShuai Ma 2018-08-21 01:26:05 UTC
Hi haowang, help verify the bug.

Comment 11 errata-xmlrpc 2018-08-29 14:42:32 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://access.redhat.com/errata/RHBA-2018:2549