Bug #13577
closed
facts view gives a undefined method `length' for nil:NilClass
Added by Elias Abacioglu almost 9 years ago.
Updated about 7 years ago.
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
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.
There are loads of facts that have a null value.
Here is a small excerpt(screenshot) of some null facts.
What's the status here with current versions?
- Status changed from New to Feedback
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.
- Status changed from Feedback to Closed
Appears to be workning now.
Thanks, closing this issue.
Also available in: Atom
PDF