Project

General

Profile

Actions

Bug #14145

closed

Ability to remove synced contents from Red Hat Satellite Capsule server.

Added by John Mitsch about 8 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Foreman Proxy Content
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1261184
Description of problem:
As like satellite there is no /etc/cron.weekly/katello-remove-orphans to remove the contents of environment which are no more associated with capsule.

Version-Release number of selected component (if applicable):
Red Hat Satellite Capsule 6.0/6.1

How reproducible:
Always

Steps to Reproduce:
1. Get Satellite and capsule setup with lifycycle-environment synced on capsule server.
2. On satellite remove the lifecycle environment from capsule.
  1. hammer capsule content remove-lifecycle-environment --lifecycle-environment-id <lifecycle-environment-id> --id <capsule-id>
3. Sync the capsule
  1. hammer capsule content synchronize --id <capsule-id>

4. Refresh the capsule from webui
Login satellite webui --> Infrastructure --> Capsule --> Refresh

Actual results:
The data synced from the environment which is no more part of capsule do not get removed.

Expected results:
Removing the environment from capsule should remove the data of that environment from capsule when sync done.
OR
Should have somewhat similar script /etc/cron.weekly/katello-remove-orphans as we have on satellite server to remove the orphan repositories and other contents.

Additional info:

Actions #1

Updated by The Foreman Bot about 8 years ago

  • Status changed from New to Ready For Testing
  • Assignee set to John Mitsch
  • Pull request https://github.com/Katello/katello/pull/5868 added
Actions #2

Updated by Eric Helms about 8 years ago

  • translation missing: en.field_release set to 86
Actions #3

Updated by John Mitsch about 8 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions

Also available in: Atom PDF