Bug #13577
closedfacts view gives a undefined method `length' for nil:NilClass
Description
going to foreman/fact_values results in a "undefined method `length' for nil:NilClass".
Runing foreman 1.10.1, ruby 1.9.1, via passenger.
Using foreman chef plugin.
Attaching error log.
Files
Updated by Dominic Cleal almost 9 years ago
It's hard to tell if this is a bug in the Chef fact importer or Foreman core. The value of a fact is nil, so either one is being imported that's nil (and it shouldn't) or Foreman should handle nil values better.
You may want to check the fact_values DB table to see if you can find one with a NULL value, which might shed some light on whether it's valid or not.
Updated by Elias Abacioglu almost 9 years ago
There are loads of facts that have a null value.
Here is a small excerpt(screenshot) of some null facts.
Updated by Anonymous over 7 years ago
What's the status here with current versions?
Updated by Elias Abacioglu over 7 years ago
Hmm, will have to wait a bit, currently turned off reporting of facts.
I will need to migrate our MariaDB cluster to physical nodes before I turn on reporting.
Updated by Elias Abacioglu about 7 years ago
- Status changed from Feedback to Closed
Appears to be workning now.
Thanks, closing this issue.