kube-proxy does not connect to master

Bug #1485143 reported by Daneyon Hansen
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Magnum
Fix Released
Undecided
Daneyon Hansen

Bug Description

kube-proxy starts, but does not connect to master because it is configured with an incorrect master IP address:

# systemctl status kube-proxy -l
● kube-proxy.service - Kubernetes Kube-Proxy Server
   Loaded: loaded (/usr/lib/systemd/system/kube-proxy.service; enabled)
   Active: active (running) since Fri 2015-08-14 23:14:45 UTC; 10min ago
     Docs: https://github.com/GoogleCloudPlatform/kubernetes
 Main PID: 843 (kube-proxy)
   CGroup: /system.slice/kube-proxy.service
           └─843 /usr/bin/kube-proxy --logtostderr=true --v=0 --master=http://127.0.0.1:8080

Aug 14 23:19:32 k8-3ce2lmnpws-0-5c46rmdddycz-kube-minion-pe7ovwiioxjw.novalocal kube-proxy[843]: E0814 23:19:32.001837 843 api.go:180] Unable to load endpoints: Get http://127.0.0.1:8080/api/v1beta3/endpoints: dial tcp 127.0.0.1:8080: connection refused

# grep -ri KUBE_MASTER /etc/kubernetes/config
KUBE_MASTER="--master=http://127.0.0.1:8080"

KUBE_MASTER should point to the real or virtual IP address of the k8s master and not 127.0.0.1

Changed in magnum:
assignee: nobody → Daneyon Hansen (danehans)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to magnum (master)

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

Changed in magnum:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to magnum (master)

Reviewed: https://review.openstack.org/213377
Committed: https://git.openstack.org/cgit/openstack/magnum/commit/?id=3db4cc83dfe5ac9d730879a20c9f8a824053b8b4
Submitter: Jenkins
Branch: master

commit 3db4cc83dfe5ac9d730879a20c9f8a824053b8b4
Author: Daneyon Hansen <email address hidden>
Date: Fri Aug 14 23:37:31 2015 +0000

    Provides correct master IP address for kube-proxy

    Previously, KUBE_MASTER was not being set in a config file
    read by the kube-proxy service. This change adds the KUBE_MASTER
    configuration parameter to /etc/kubernetes/config.

    Closes-Bug: #1485143

    Change-Id: I51a3f12126acc9ba564a8ace6a73852945ed9d5b

Changed in magnum:
status: In Progress → Fix Committed
Adrian Otto (aotto)
Changed in magnum:
milestone: none → mitaka-1
status: Fix Committed → Fix Released
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.