Problem: We have datacenters with upwards of 25k instances each. We recently ran into an issue where Foreman couldn’t add data to the database (PostgreSQL 9.2) because we exhausted the digits for the primary key in the logs table. We had to change the data type to BIGINT from INT in order to keep computing.
Foreman and Proxy versions: 1.16 - Yes, I know it’s old, we’re working on it.
Distribution and version: OEL7.5
Other relevant data:
My questions are:
-
When we do the upgrades to newer Foreman versions, will having that table be a different data type cause problems with schema updates? If so, which files would I have to modify (change INT to BIGINT) to not cause schema update problems?
-
Has the data type for some of these tables been changed to BIGINT in newer versions of Foreman?
-
If the problem isn’t the data type, but something else causing some sort of cleaning/maintenance to work, what would it be so I can start looking into it?
Thanks!