Foreman no longer imports all facts, structured facts (e.g.
networking::interface) and selected root facts:
are only imported up to 100 elements. If a host reports more, they will be dropped and fact named
foreman::dropped_subtree_facts will contain approximate number of facts dropped (e.g.
2 thousands). The maximum amount of facts is configurable via Administer - Settings - Provisioning. This change was implemented for large deployments with many nodes and/or hypervisors or container hosts with many virtual network cards, bridges, mountpoints or volumes.
We believe that limit of 100 is a sane default, Foreman users usually don’t work with hundreds of NICs or mountpoints. If needed, this limit can be increased however severe performance penalties across whole application can be expected as the database and indices grow.
The relevant change is:
I filed an upgrade note as well. There is nothing to do during upgrade, old facts will be dropped on the fly as managed nodes will be checking in and filter will take effect. Initial checkins might be little bit slower than usual as there will be some records to delete.