proxy not working on k8s master

Bug #1508279 reported by Eli Qiao
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Magnum
Fix Released
Undecided
Eli Qiao

Bug Description

This commit adds a proxy for k8s
Add proxy for k8s

This patch adds proxy in follow places:
1. etcd needs ETCD_DISCOVERY_PROXY when try to do discovery
   /etc/etcd/etcd.conf
2. docker daemon need set proxy to allow downloads images
   /etc/systemd/system/docker.service.d/proxy.conf
3. and for os level, we need to set http_proxy, https_proxy and no_proxy too
   /etc/bashrc
Implements: blueprint discovery-proxy
Co-authored-by: Manjeet Singh Bhatia <email address hidden>
Change-Id: I19c92dc9b4fe195037b5ad4ca49b529cf6be4cfb

but this script not working on k8s master see:

configuring kubernetes (master)
/var/lib/cloud/instance/scripts/part-008: line 8: /etc/systemd/system/docker.service.d/proxy.conf: No such file or directory

Eli Qiao (taget-9)
Changed in magnum:
assignee: nobody → Eli Qiao (taget-9)
status: New → Confirmed
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/237861

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

Reviewed: https://review.openstack.org/237861
Committed: https://git.openstack.org/cgit/openstack/magnum/commit/?id=6176db8f185bca5ecd686341a100e37c68ff84d6
Submitter: Jenkins
Branch: master

commit 6176db8f185bca5ecd686341a100e37c68ff84d6
Author: Eli Qiao <email address hidden>
Date: Wed Oct 21 11:15:24 2015 +0800

    Fix docker proxy config file not correctly seting on k8s master

    In I19c92dc9b4fe195037b5ad4ca49b529cf6be4cfb , we added proxy for k8s cluster,
    but it is not working on k8s master since master doesn't have
    /etc/systemd/system/docker.service.d/ which is diffenect from minion.

    Beside, this patch also improves hardcode filename in add_proxy.sh.

    Closes-Bug: #1508279
    Change-Id: I03cd504276e9ca99625b93452f832de406cd1fb7
    Co-authored-by: Madhuri Kumari <email address hidden>

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.