Project

General

Profile

Actions

Bug #28295

closed

Cleaning orphaned facts fails with undefined method map

Added by Lukas Zapletal over 4 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Normal
Category:
Facts
Target version:
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

In some cases, select! returns nil.

Starting orphaned facts clean up
rake aborted!
NoMethodError: undefined method `map' for nil:NilClass
/usr/share/foreman/app/services/fact_cleaner.rb:54:in `block in delete_excluded_facts'

Related issues 1 (0 open1 closed)

Related to Foreman - Feature #25227: Foreman-rake facts:cleanup batch/rolling supportClosedLukas ZapletalActions
Actions #1

Updated by The Foreman Bot over 4 years ago

  • Status changed from New to Ready For Testing
  • Assignee set to Lukas Zapletal
  • Pull request https://github.com/theforeman/foreman/pull/7185 added
Actions #2

Updated by Tomer Brisker over 4 years ago

  • Target version set to 1.24.0
Actions #3

Updated by The Foreman Bot over 4 years ago

  • Fixed in Releases 2.0.0 added
Actions #4

Updated by Tomer Brisker over 4 years ago

  • Fixed in Releases 1.24.0 added
  • Fixed in Releases deleted (2.0.0)
Actions #5

Updated by Lukas Zapletal over 4 years ago

  • Status changed from Ready For Testing to Closed
Actions #6

Updated by Tomer Brisker over 4 years ago

  • Bugzilla link set to 1781340
Actions #7

Updated by Tomer Brisker over 4 years ago

  • Related to Feature #25227: Foreman-rake facts:cleanup batch/rolling support added
Actions

Also available in: Atom PDF