Problem:
Selecting either the “Red Hat Enterprise Linux 7 (ISOs) → x86_64 +” or “Red Hat Enterprise Linux 8 for x86_64 - BaseOS (ISOs) → x86_64 8 +” in Content → Red Hat Repositories produces an error:
RHEL7: PG::NotNullViolation: ERROR: null value in column “root_id” violates not-null constraint DETAIL: Failing row contains (366, 0366939e-9fba-47ef-b79e-6702d4ab01ff, null, 1, RGA_IT_Ops/Library/content/dist/rhel8/8/x86_64/baseos/iso, 1, null, null, null, null, null, null, null, null, null, null, null, 1970-01-01 00:00:00, 1970-01-01 00:00:00, 1970-01-01 00:00:00).
RHEL8:
PG::NotNullViolation: ERROR: null value in column “root_id” violates not-null constraint DETAIL: Failing row contains (367, 5068a39f-0eba-425d-be01-326eb38c37e2, null, 1, RGA_IT_Ops/Library/content/dist/rhel/server/7/7Server/x86_64/iso, 1, null, null, null, null, null, null, null, null, null, null, null, 1970-01-01 00:00:00, 1970-01-01 00:00:00, 1970-01-01 00:00:00).
Expected outcome:
ISO Repository shows up on the Right Side of the screen under “Enabled Repositories”
Foreman and Proxy versions:
Foreman 3.1.1
Katello 4.3.0
Foreman and Proxy plugin versions:
foreman-tasks: 5.3.0
foreman_remote_execution: 5.0.1
foreman_virt_who_configure: 0.5.8
katello: 4.3.0
Distribution and version:
RHEL7 / RHEL8
Other relevant data:
Again, this is just going into the Red Hat Products, selecting the ISO products (in the filter dropdown make sure “Other” is selected) and trying to add them by hitting the “+” Button.
To back up a second, the larger intent is to provide a location where RHEL 7 / RHEL 8 ISO images reside within Katello so they are accessible through the Foreman/Katello server without having to manually download/move them somewhere.