Problem:
After updating to Foreman 3 / Katello 4.2, when editing a host the Lifecycle Environment and Content-View fields have a few issues.
- Fields are empty, shouldn’t be empty (already configured existing hosts)
- Setting these fields and hitting Submit works, but on re-editing the host, they’re blank again.
- These fields aren’t marked Required (*) nor should they be, but if they are empty, then you get an error saying they can’t be empty.
Expected outcome:
Fields aren’t required and get properly populated with correct info if they are set
Foreman and Proxy versions:
Latest updates installed
Katello 4.2.x
Foreman 3.0.1
Foreman and Proxy plugin versions:
Distribution and version:
Foreman server is running CentOS 7
Other relevant data:
Here’s a screenshot of the foreman host itself after just opening it and hitting submit immediately (https://foreman.domain.com/hosts/foreman.domain.com/edit)