Debian Repo sync end with the error "This field may not be blank"

@quba42 Thanks for this information.

I updated my system to Foreman 3.1.1 and Katello 4.3 and get some new errors:

Exception:

PulpDebClient::ApiError: Error message: the server returns an error
HTTP status code: 400
Response headers: {"date"=>"Sat, 29 Jan 2022 15:17:09 GMT", "server"=>"gunicorn", "content-type"=>"application/json", "vary"=>"Accept,Cookie", "allow"=>"GET, PUT, PATCH, DELETE, HEAD, OPTIONS", "x-frame-options"=>"DENY", "content-length"=>"42", "x-content-type-options"=>"nosniff", "referrer-policy"=>"same-origin", "correlation-id"=>"fbf63995-229c-4461-9429-bce3b4687fd0", "access-control-expose-headers"=>"Correlation-ID", "via"=>"1.1 <foreman-hostname>", "connection"=>"close"}
Response body: {"policy":["This field may not be null."]}

and

Exception:

Katello::Errors::Pulp3Error: A file located at the url https://apt.releases.hashicorp.com/pool/amd64/main/consul-enterprise_1.11.0+ent_amd64.deb failed validation due to checksum.

I found the solution for this error. The value Download Policy was not automatic set after the upgrade.
I change it to Immediate and now it works.

Thanks for your help

1 Like