Report volume sizes via facter
We should report volume sizes similar way as facter does on provisioned systems. Discovery only reports blockdevice_vda_vendor and blockdevices list, but not blockdevice_vda_size.
When running facter manually as root, I see it. We need to raise foreman-proxy privileges for this perhaps.
#4 Updated by Lukas Zapletal almost 5 years ago
- Status changed from New to Assigned
Ok its misbehavior of Foreman, we currently drop all facts which are non-string:
#6 Updated by Lukas Zapletal almost 5 years ago
Ok so support for non-string values was added in Facter 2.0.
I will create a patch that will at least prevent from failing, so all of the types (Integer, Float, TrueClass, FalseClass, NilClass, String, Array, Hash) will be converted via to_s. Raising new feature request that should add proper support in reports (maybe to convert this into JSON).