Dont know if someone have the same error, but when i want to create new repo i cant select any content type.
hammer repository create --organization ‘X’ --product ‘CentOS7’ --name ‘CentOS 7 OS’ --label ‘CentOS7_OS’ --content-type ‘yum’ --download-policy ‘on_demand’ --gpg-key-id ‘2’ --url ‘CentOS Mirror’ --mirror-on-sync ‘no’
Could not create the repository:
Validation failed: Content type is not enabled. must be one of the following:
Foreman and Proxy versions:
Foreman and Proxy plugin versions:
Red Hat Enterprise Linux Server release 7.9 (Maipo)
This is a known bug, we’re taking care of it. More information from other users is here: Undefined method pulp3_skip_publication error after upgrade - #32 by Justin_Sherrill
Seems a problem with smart proxy, i don0t have indepedent installation of smart proxy.
Is just the same server. That could be possible?
2021-10-27 17:57:35 [ERROR ] [configure] Error making POST request to Foreman at https://repouxlg01.example.com/api/v2/smart_proxies: Unable to communicate with the proxy: ERF12-2530 [ProxyAPI::ProxyException]: Unable to detect features ([RestClient::Exceptions::ReadTimeout]: Timed out reading data from server) for proxy https://repouxlg01.example.com:9090/v2/features Please check the proxy is configured and running on the host.
2021-10-27 17:57:35 [ERROR ] [configure] /Stage[main]/Foreman_proxy::Register/Foreman_smartproxy[repouxlg01.example.com]/ensure: change from ‘absent’ to ‘present’ failed: Error making POST request to Foreman a
Anybody found solution for this issue?
I have done a fresh setup and now stuck at this.
“Validation failed: Content type is not enabled. must be one of the following:”
I am on Foreman 3.4 and Katello 4.6.