Failed to call add_proxy when creating swarm bay

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

Bug Description

in Ic88edf4b2e0005f6aa0a6df33b94ff275a5623d2

write_docker_service was changed to use shell script,
but add proxy was called before /etc/systemd/system/docker.service.d/ created.
so add_proxy.sh failed to adding proxy..

and so for configure_swarm should be called after write_docker_service

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

Changed in magnum:
status: New → In Progress
Revision history for this message
Steve Adams (sa240s) wrote :

Can the impact of this issue be described?
Is there a work-around if it is significant?
Thanks.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to magnum (master)

Reviewed: https://review.openstack.org/227680
Committed: https://git.openstack.org/cgit/openstack/magnum/commit/?id=3533f462cb8716be95cda3d3b82f04fa287c37fa
Submitter: Jenkins
Branch: master

commit 3533f462cb8716be95cda3d3b82f04fa287c37fa
Author: Eli Qiao <email address hidden>
Date: Fri Sep 25 13:50:58 2015 +0800

    Swarm: move write-docker-service.sh before other configure scripts

    In Ic88edf4b2e0005f6aa0a6df33b94ff275a5623d2,
    we changed write-docker-service.yaml to write-docker-service.sh, this bring
    a regression bug, before write-docker-service.sh being called,
    /etc/systemd/system/docker.service.d/ was not created yet, this leading
    add_proxy scripts failed.

    This patch moves configure_swarm and add_proxy after write-docker-service.
    Besids, rename make_cert.py to make-cert.py to consistent with other shell
    scrpts naming style.

    Change-Id: Ia7fcc029189047ae6424a26ac4cb6b4b785552db
    Closes-Bug: #1499588

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.