tmpwatch missing from pre-deployed server deployment

Bug #1864118 reported by Alex Schultz
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
High
Alex Schultz

Bug Description

We configure a tmpwatch cron to cleanup the logs the logrotate-crond container, however we don't ensure tmpwatch is installed for pre-deployed nodes. It is installed if using the overcloud-full images.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-ansible (master)

Fix proposed to branch: master
Review: https://review.opendev.org/708986

Changed in tripleo:
assignee: nobody → Alex Schultz (alex-schultz)
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-heat-templates (stable/stein)

Fix proposed to branch: stable/stein
Review: https://review.opendev.org/708987

Revision history for this message
Bogdan Dobrelya (bogdando) wrote :

Deployed servers is likely a popular case for DCN, so we should backport it for Train as well

tags: added: edge train-backport-potential
Changed in tripleo:
importance: Medium → High
Revision history for this message
Alex Schultz (alex-schultz) wrote :

Yea it affects everyone back to queens

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

Reviewed: https://review.opendev.org/708986
Committed: https://git.openstack.org/cgit/openstack/tripleo-ansible/commit/?id=9d00098c6a217f2cf1dc2fda93a026ecb5ffec88
Submitter: Zuul
Branch: master

commit 9d00098c6a217f2cf1dc2fda93a026ecb5ffec88
Author: Alex Schultz <email address hidden>
Date: Thu Feb 20 15:34:32 2020 -0700

    Add tmpwatch to the bootstrap

    We always configure a tmpwatch cron as part of the logrotate-crond
    container but we need to make sure it's installed in the case of
    pre-deployed servers.

    Change-Id: I48381c2972900c52fd68885026d4e64e9663d072
    Closes-Bug: #1864118

Changed in tripleo:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-ansible (stable/train)

Fix proposed to branch: stable/train
Review: https://review.opendev.org/709190

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-heat-templates (stable/stein)

Reviewed: https://review.opendev.org/708987
Committed: https://git.openstack.org/cgit/openstack/tripleo-heat-templates/commit/?id=f13000be15fb686a6316f3f037d4e2e86bca468a
Submitter: Zuul
Branch: stable/stein

commit f13000be15fb686a6316f3f037d4e2e86bca468a
Author: Alex Schultz <email address hidden>
Date: Thu Feb 20 15:36:25 2020 -0700

    [Stein and older] Ensure tmpwatch installed

    tmpwatch needs to be installed in the case of deployed server. In newer
    versions this is handled by an ansible role.

    Change-Id: I7fb132f808f29927ab4ac0bc401233bc0f596dc0
    Closes-Bug: #1864118

tags: added: in-stable-stein
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-heat-templates (stable/rocky)

Fix proposed to branch: stable/rocky
Review: https://review.opendev.org/709242

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-heat-templates (stable/queens)

Fix proposed to branch: stable/queens
Review: https://review.opendev.org/709243

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

Reviewed: https://review.opendev.org/709190
Committed: https://git.openstack.org/cgit/openstack/tripleo-ansible/commit/?id=c1beab84071141ead28922188d6a5a88c9bb6bd3
Submitter: Zuul
Branch: stable/train

commit c1beab84071141ead28922188d6a5a88c9bb6bd3
Author: Alex Schultz <email address hidden>
Date: Thu Feb 20 15:34:32 2020 -0700

    Add tmpwatch to the bootstrap

    We always configure a tmpwatch cron as part of the logrotate-crond
    container but we need to make sure it's installed in the case of
    pre-deployed servers.

    Change-Id: I48381c2972900c52fd68885026d4e64e9663d072
    Closes-Bug: #1864118
    (cherry picked from commit 9d00098c6a217f2cf1dc2fda93a026ecb5ffec88)

tags: added: in-stable-train
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-heat-templates (stable/rocky)

Reviewed: https://review.opendev.org/709242
Committed: https://git.openstack.org/cgit/openstack/tripleo-heat-templates/commit/?id=dd8d8b52c7702852e93498cf7551667f05cc4568
Submitter: Zuul
Branch: stable/rocky

commit dd8d8b52c7702852e93498cf7551667f05cc4568
Author: Alex Schultz <email address hidden>
Date: Thu Feb 20 15:36:25 2020 -0700

    [Stein and older] Ensure tmpwatch installed

    tmpwatch needs to be installed in the case of deployed server. In newer
    versions this is handled by an ansible role.

    Change-Id: I7fb132f808f29927ab4ac0bc401233bc0f596dc0
    Closes-Bug: #1864118
    (cherry picked from commit f13000be15fb686a6316f3f037d4e2e86bca468a)

tags: added: in-stable-rocky
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-heat-templates (stable/queens)

Reviewed: https://review.opendev.org/709243
Committed: https://git.openstack.org/cgit/openstack/tripleo-heat-templates/commit/?id=ff2085140a796327ebd0dbf6b5c58bd67bc47bf9
Submitter: Zuul
Branch: stable/queens

commit ff2085140a796327ebd0dbf6b5c58bd67bc47bf9
Author: Alex Schultz <email address hidden>
Date: Thu Feb 20 15:36:25 2020 -0700

    [Stein and older] Ensure tmpwatch installed

    tmpwatch needs to be installed in the case of deployed server. In newer
    versions this is handled by an ansible role.

    Change-Id: I7fb132f808f29927ab4ac0bc401233bc0f596dc0
    Closes-Bug: #1864118
    (cherry picked from commit f13000be15fb686a6316f3f037d4e2e86bca468a)

tags: added: in-stable-queens
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-ansible 0.5.0

This issue was fixed in the openstack/tripleo-ansible 0.5.0 release.

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

This issue was fixed in the openstack/tripleo-ansible 1.3.0 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-heat-templates rocky-eol

This issue was fixed in the openstack/tripleo-heat-templates rocky-eol release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-heat-templates queens-eol

This issue was fixed in the openstack/tripleo-heat-templates queens-eol release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-heat-templates stein-eol

This issue was fixed in the openstack/tripleo-heat-templates stein-eol 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.