Delete LP and APP logs from swift

Bug #1457682 reported by Murali Allada
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Solum
Fix Released
High
Murali Allada

Bug Description

The LP and APP delete methods do not delete logs.

This results in orphaned log files being left in the users swift account. The user gets charged for storage and it can be hard to identify these log files for manual deletion by the user.

This patch deletes the log files from swift or local filesystem (depending upon the config setting).

summary: - Delete LP logs
+ Delete LP logs from swift
Changed in solum:
importance: Undecided → Medium
importance: Medium → High
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to solum (master)

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

Changed in solum:
status: New → In Progress
summary: - Delete LP logs from swift
+ Delete LP and APP logs from swift
description: updated
Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

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

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

Reviewed: https://review.openstack.org/184885
Committed: https://git.openstack.org/cgit/stackforge/solum/commit/?id=77558b6b705ca17e21e43f0f4538e7df7614b036
Submitter: Jenkins
Branch: master

commit 77558b6b705ca17e21e43f0f4538e7df7614b036
Author: Murali Allada <email address hidden>
Date: Thu May 21 17:15:07 2015 -0500

    Delete LP logs from swift

    The LP delete method does not delete logs.

    This results in orphaned log files being left in the users swift
    account. The user gets charged for storage and it can be hard to
    identify these log files for manual deletion by the user.

    This patch deletes the log files from swift or local filesystem
    (depending upon the config setting).

    Change-Id: I8d799cc9a63851685766a7dec3bc4b806d688911
    Closes-bug: 1457682

Changed in solum:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

Reviewed: https://review.openstack.org/185230
Committed: https://git.openstack.org/cgit/stackforge/solum/commit/?id=d7505f766a07ae98b85f73d54b03b1b69750502a
Submitter: Jenkins
Branch: master

commit d7505f766a07ae98b85f73d54b03b1b69750502a
Author: Murali Allada <email address hidden>
Date: Sat May 23 10:19:37 2015 -0500

    Delete APP logs from swift

    The APP delete method does not delete logs.

    This results in orphaned log files being left in the users swift
    account. The user gets charged for storage and it can be hard to
    identify these log files for manual deletion by the user.

    This patch deletes the log files from swift or local filesystem
    (depending upon the config setting).

    Change-Id: Ia733d6e96286ca7048376c99179aae66d420c4b8
    Closes-bug: 1457682

Adrian Otto (aotto)
Changed in solum:
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.