enhancing target host clean script

Bug #1561055 reported by Serguei Bezverkhi
22
This bug affects 3 people
Affects Status Importance Assigned to Milestone
kolla
Fix Released
Wishlist
Mauricio Lima (mliima)

Bug Description

Kolla deployment creates /etc/kolla folder on a target host with multiple configuration files. In some scenarios, the presence of these files prevent successful deployment of certain services especially when their configuration parameters have been changed on the deployment host.
Removing /etc/kolla on a target host will prevent hitting such situations.

Revision history for this message
Steven Dake (sdake) wrote :

lets figure out what stuf doesn't get cleaned up.

I know /etc/fstab isn't cleaned of ceph
it seems like the heka configuration isn't recopied if it has changes.

Changed in kolla:
importance: Undecided → Wishlist
milestone: none → newton-1
status: New → Triaged
Revision history for this message
Swapnil Kulkarni (coolsvap-deactivatedaccount) wrote :

The Ceph part is covered with bug https://bugs.launchpad.net/kolla/+bug/1562991

Changed in kolla:
assignee: nobody → Mauricio José de Lima (mlima) (limamauricio)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to kolla (master)

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

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

Reviewed: https://review.openstack.org/303055
Committed: https://git.openstack.org/cgit/openstack/kolla/commit/?id=4ce13676425250df1f56be40446a14c1316247c3
Submitter: Jenkins
Branch: master

commit 4ce13676425250df1f56be40446a14c1316247c3
Author: Mauricio Lima <email address hidden>
Date: Thu Apr 7 16:13:46 2016 -0400

    Remove /etc/kolla configuration folders

    Kolla deployment creates /etc/kolla folder on a target host
    with multiple configuration files. In some scenarios,
    the presence of these files prevent successful deployment
    of certain services especially when their configuration parameters
    have been changed on the deployment host.

    Change-Id: Iefd544b50fc90b7f00d6e137bc14ab4807ef7c0f
    Closes-Bug: #1561055

Changed in kolla:
status: In Progress → Fix Released
Revision history for this message
Swapnil Kulkarni (coolsvap-deactivatedaccount) wrote :

This should not delete the kolla-build.conf

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to kolla (master)

Related fix proposed to branch: master
Review: https://review.openstack.org/304518

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to kolla (stable/mitaka)

Fix proposed to branch: stable/mitaka
Review: https://review.openstack.org/305428

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

Reviewed: https://review.openstack.org/305428
Committed: https://git.openstack.org/cgit/openstack/kolla/commit/?id=73aed0b44517f1829c78ee4ad8bd49a9e4e77a1d
Submitter: Jenkins
Branch: stable/mitaka

commit 73aed0b44517f1829c78ee4ad8bd49a9e4e77a1d
Author: Mauricio Lima <email address hidden>
Date: Thu Apr 7 16:13:46 2016 -0400

    Remove /etc/kolla configuration folders

    Kolla deployment creates /etc/kolla folder on a target host
    with multiple configuration files. In some scenarios,
    the presence of these files prevent successful deployment
    of certain services especially when their configuration parameters
    have been changed on the deployment host.

    Change-Id: Iefd544b50fc90b7f00d6e137bc14ab4807ef7c0f
    Closes-Bug: #1561055
    (cherry picked from commit 4ce13676425250df1f56be40446a14c1316247c3)

tags: added: in-stable-mitaka
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to kolla (master)

Reviewed: https://review.openstack.org/304518
Committed: https://git.openstack.org/cgit/openstack/kolla/commit/?id=15444da4d990685ba4c954a78bea819d6706dc3b
Submitter: Jenkins
Branch: master

commit 15444da4d990685ba4c954a78bea819d6706dc3b
Author: Swapnil Kulkarni (coolsvap) <email address hidden>
Date: Tue Apr 12 16:29:43 2016 +0530

    cleanup-host should not remove kolla-build.conf

    new cleanup-host script removes kolla-build.conf
    in /etc/kolla directory which contains the build
    configuration for building images.
    This should be preserved.

    Change-Id: I20fbf3f8a2400a5e048ba55beb0c8e1ec849d8a3
    Related-Bug:#1561055

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to kolla (stable/mitaka)

Related fix proposed to branch: stable/mitaka
Review: https://review.openstack.org/305775

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to kolla (stable/mitaka)

Reviewed: https://review.openstack.org/305775
Committed: https://git.openstack.org/cgit/openstack/kolla/commit/?id=44f59545ef0b36b7d977a87822aaade4132f734d
Submitter: Jenkins
Branch: stable/mitaka

commit 44f59545ef0b36b7d977a87822aaade4132f734d
Author: Swapnil Kulkarni (coolsvap) <email address hidden>
Date: Tue Apr 12 16:29:43 2016 +0530

    cleanup-host should not remove kolla-build.conf

    new cleanup-host script removes kolla-build.conf
    in /etc/kolla directory which contains the build
    configuration for building images.
    This should be preserved.

    Change-Id: I20fbf3f8a2400a5e048ba55beb0c8e1ec849d8a3
    Related-Bug:#1561055
    (cherry picked from commit 15444da4d990685ba4c954a78bea819d6706dc3b)

Revision history for this message
Davanum Srinivas (DIMS) (dims-v) wrote : Fix included in openstack/kolla 2.0.0.0rc4

This issue was fixed in the openstack/kolla 2.0.0.0rc4 release candidate.

Revision history for this message
Doug Hellmann (doug-hellmann) wrote : Fix included in openstack/kolla 2.0.0

This issue was fixed in the openstack/kolla 2.0.0 release.

Revision history for this message
Doug Hellmann (doug-hellmann) wrote : Fix included in openstack/kolla 1.1.0

This issue was fixed in the openstack/kolla 1.1.0 release.

Revision history for this message
Doug Hellmann (doug-hellmann) wrote : Fix included in openstack/kolla 3.0.0.0b1

This issue was fixed in the openstack/kolla 3.0.0.0b1 development milestone.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.