Project

General

Profile

Refactor #29799

Tracker #29746: Merge hooks/ and katello/hooks into a single directory structure

Add --clear-pulp-content to hooks/ and scope on katello module being enabled

Added by Eric Helms over 1 year ago. Updated 10 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
foreman-installer script
Target version:
Difficulty:
Triaged:
Yes
Bugzilla link:

Description

This hooks may need updating to handle pulpcore -- ask Katello team.


Related issues

Has duplicate Installer - Bug #29821: foreman-installer should clear pulpcore downloaded contentDuplicate

Associated revisions

Revision 01f75774 (diff)
Added by William Clark about 1 year ago

Fixes #29799 - Move --clear-pulp-content to hooks/

Revision 6df4fa47 (diff)
Added by Ewoud Kohl van Wijngaarden 12 months ago

Refs #29799 - Define clear mongo methods in module

3dcd45bef6f56a7af898eddf3283229f0e33d065 moved these methods to the
common context but defined them outside of the module. This means they
were not usable in the pre context. That leads some some infinite loop
until the machine is out of memory.

It also handles the case when katello::pulp_db_seeds returns nil, which
is always the case on a content proxy.

History

#1 Updated by The Foreman Bot about 1 year ago

  • Assignee set to William Clark
  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman-installer/pull/540 added

#2 Updated by Ian Ballou about 1 year ago

  • Has duplicate Bug #29821: foreman-installer should clear pulpcore downloaded content added

#3 Updated by The Foreman Bot about 1 year ago

  • Fixed in Releases 2.3.0 added

#4 Updated by William Clark about 1 year ago

  • Status changed from Ready For Testing to Closed

#5 Updated by The Foreman Bot 12 months ago

  • Pull request https://github.com/theforeman/foreman-installer/pull/588 added

#6 Updated by Ewoud Kohl van Wijngaarden 10 months ago

  • Triaged changed from No to Yes
  • Target version set to 2.3.0
  • Category set to foreman-installer script
  • Tracker changed from Feature to Refactor

Also available in: Atom PDF