Bug 1458333 - Containers - old archived container entities are not purged
Summary: Containers - old archived container entities are not purged
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Providers
Version: 5.7.0
Hardware: Unspecified
OS: Linux
unspecified
low
Target Milestone: GA
: 5.8.1
Assignee: Ari Zellner
QA Contact: Gilad Shefer
URL:
Whiteboard: container
Depends On: 1428595
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-06-02 15:24 UTC by Satoe Imaishi
Modified: 2022-07-09 08:36 UTC (History)
8 users (show)

Fixed In Version: 5.8.1.0
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1428595
Environment:
Last Closed: 2017-08-02 17:24:20 UTC
Category: ---
Cloudforms Team: Container Management
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2017:1758 0 normal SHIPPED_LIVE Important: Red Hat CloudForms security, bug fix, and enhancement update 2017-08-02 21:23:43 UTC

Comment 2 CFME Bot 2017-06-02 15:31:17 UTC
New commit detected on ManageIQ/manageiq/fine:
https://github.com/ManageIQ/manageiq/commit/45b315a1eee6980730cac7b24f35a165837aa3ce

commit 45b315a1eee6980730cac7b24f35a165837aa3ce
Author:     Keenan Brock <keenan>
AuthorDate: Tue Apr 18 11:44:10 2017 -0400
Commit:     Satoe Imaishi <simaishi>
CommitDate: Fri Jun 2 11:26:02 2017 -0400

    Merge pull request #14322 from zeari/purge_containers
    
    Add purge timer for archived entities
    (cherry picked from commit b8b9c81719111cdbc2f27e8fee74e572bbb9c128)
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1458333

 app/models/container.rb                          |  1 +
 app/models/container/purging.rb                  | 20 ++++++++++
 app/models/container_definition.rb               |  1 +
 app/models/container_definition/purging.rb       | 20 ++++++++++
 app/models/container_group.rb                    |  1 +
 app/models/container_group/purging.rb            | 20 ++++++++++
 app/models/container_image.rb                    |  6 +--
 app/models/container_image/purging.rb            | 20 ++++++++++
 app/models/container_project.rb                  |  1 +
 app/models/container_project/purging.rb          | 20 ++++++++++
 app/models/miq_schedule_worker/jobs.rb           |  8 ++++
 app/models/miq_schedule_worker/runner.rb         |  5 +++
 config/settings.yml                              |  5 +++
 spec/factories/container_definition.rb           |  4 ++
 spec/models/container/purging_spec.rb            | 47 ++++++++++++++++++++++++
 spec/models/container_definition/purging_spec.rb | 47 ++++++++++++++++++++++++
 spec/models/container_group/purging_spec.rb      | 47 ++++++++++++++++++++++++
 spec/models/container_image/purging_spec.rb      | 47 ++++++++++++++++++++++++
 spec/models/container_project/purging_spec.rb    | 47 ++++++++++++++++++++++++
 19 files changed, 363 insertions(+), 4 deletions(-)
 create mode 100644 app/models/container/purging.rb
 create mode 100644 app/models/container_definition/purging.rb
 create mode 100644 app/models/container_group/purging.rb
 create mode 100644 app/models/container_image/purging.rb
 create mode 100644 app/models/container_project/purging.rb
 create mode 100644 spec/factories/container_definition.rb
 create mode 100644 spec/models/container/purging_spec.rb
 create mode 100644 spec/models/container_definition/purging_spec.rb
 create mode 100644 spec/models/container_group/purging_spec.rb
 create mode 100644 spec/models/container_image/purging_spec.rb
 create mode 100644 spec/models/container_project/purging_spec.rb

Comment 4 errata-xmlrpc 2017-08-02 17:24:20 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2017:1758


Note You need to log in before you can comment on or make changes to this bug.