Karbor containers restarting issue on providers.d/openstack-infra.conf file modification

Bug #1677542 reported by Bertrand Lallau
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kolla-ansible
Fix Released
Medium
Bertrand Lallau

Bug Description

In case of karbor-protection providers.d/openstack-infra.conf file modification, karbor-operationengine and karbor-api are restarted too.

Step to reproduce bug:
1. modify providers.d/openstack-infra.conf
2. kolla-ansible reconfigure

=> only karbor-protection container should be recreated but karbor-operationengine and karbor-api and are restarted too.

Changed in kolla-ansible:
assignee: nobody → Bertrand Lallau (bertrand-lallau)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to kolla-ansible (master)

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

Changed in kolla-ansible:
status: New → In Progress
Changed in kolla-ansible:
milestone: none → pike-1
importance: Undecided → Medium
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to kolla-ansible (stable/ocata)

Fix proposed to branch: stable/ocata
Review: https://review.openstack.org/454610

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

Reviewed: https://review.openstack.org/451735
Committed: https://git.openstack.org/cgit/openstack/kolla-ansible/commit/?id=5782a214e9fce9a9ea00e48f0c065375d841978d
Submitter: Jenkins
Branch: master

commit 5782a214e9fce9a9ea00e48f0c065375d841978d
Author: Bertrand Lallau <email address hidden>
Date: Thu Mar 30 11:59:07 2017 +0200

    Karbor services restarting issue on conf update

    In case of karbor-protection providers.d/openstack-infra.conf config file modification,
    karbor-operationengine and karbor-api are restarted too, but they should
    not.

    karbor-operationengine startup command:
    https://github.com/openstack/kolla-ansible/blob/master/ansible/roles/karbor/templates/karbor-operationengine.json.j2#L2

    karbor-api startup command:
    https://github.com/openstack/kolla-ansible/blob/master/ansible/roles/karbor/templates/karbor-api.json.j2#L2

    Change-Id: I91a0273ccf46e340315cf885ea01db6e14653182
    Closes-Bug: #1677542

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kolla-ansible (stable/ocata)

Reviewed: https://review.openstack.org/454610
Committed: https://git.openstack.org/cgit/openstack/kolla-ansible/commit/?id=4676f93b22b0d92db9c17472d0d58254984a00a9
Submitter: Jenkins
Branch: stable/ocata

commit 4676f93b22b0d92db9c17472d0d58254984a00a9
Author: Bertrand Lallau <email address hidden>
Date: Thu Mar 30 11:59:07 2017 +0200

    Karbor services restarting issue on conf update

    In case of karbor-protection providers.d/openstack-infra.conf config file modification,
    karbor-operationengine and karbor-api are restarted too, but they should
    not.

    karbor-operationengine startup command:
    https://github.com/openstack/kolla-ansible/blob/master/ansible/roles/karbor/templates/karbor-operationengine.json.j2#L2

    karbor-api startup command:
    https://github.com/openstack/kolla-ansible/blob/master/ansible/roles/karbor/templates/karbor-api.json.j2#L2

    Change-Id: I91a0273ccf46e340315cf885ea01db6e14653182
    Closes-Bug: #1677542

tags: added: in-stable-ocata
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/kolla-ansible 5.0.0.0b2

This issue was fixed in the openstack/kolla-ansible 5.0.0.0b2 development milestone.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/kolla-ansible 4.0.2

This issue was fixed in the openstack/kolla-ansible 4.0.2 release.

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.