Foreman and Proxy versions:
Foreman 2.5 with Katello 4.1
Proxies have Foreman 2.4 with Katello 4.0, because one problem at the time
Foreman and Proxy plugin versions:
Canât check, because calling foreman now gives this webpage:
The change you wanted was rejected.
Maybe you tried to change something you didnât have access to.
If you are the application owner check the logs for more information.
Distribution and version:
CentOS 7 up-to-date
Other relevant data:
Installer command with output:
[root@foreman ~]# foreman-installer
2021-06-30 08:39:47 [NOTICE] [root] Loading installer configuration. This will take some time.
2021-06-30 08:39:50 [NOTICE] [root] Running installer with log based terminal output at level NOTICE.
2021-06-30 08:39:50 [NOTICE] [root] Use -l to set the terminal output log level to ERROR, WARN, NOTICE, INFO, or DEBUG. See --full-help for definitions.
2021-06-30 08:39:57 [NOTICE] [configure] Starting system configuration.
2021-06-30 08:40:06 [NOTICE] [configure] 250 configuration steps out of 2124 steps complete.
2021-06-30 08:40:09 [NOTICE] [configure] 500 configuration steps out of 2124 steps complete.
2021-06-30 08:40:10 [NOTICE] [configure] 750 configuration steps out of 2126 steps complete.
2021-06-30 08:40:12 [NOTICE] [configure] 1000 configuration steps out of 2131 steps complete.
2021-06-30 08:40:12 [NOTICE] [configure] 1250 configuration steps out of 2135 steps complete.
2021-06-30 08:41:00 [NOTICE] [configure] 1500 configuration steps out of 2136 steps complete.
2021-06-30 08:41:00 [NOTICE] [configure] 1750 configuration steps out of 2136 steps complete.
2021-06-30 08:41:01 [NOTICE] [configure] 2000 configuration steps out of 2136 steps complete.
2021-06-30 08:41:08 [ERROR ] [configure] /Stage[main]/Foreman_proxy::Register/Foreman_smartproxy[foreman.example.com]: Could not evaluate: Error making GET request to Foreman at https://foreman.example.com/api/v2/smart_proxies: Response: 422 Unprocessable Entity
2021-06-30 08:41:09 [NOTICE] [configure] System configuration has finished.
Content of /var/log/foreman-installer/katello.log:
Enabled the backup to check for templates.
We donât use all features of Foreman and as expected, besides of user accounts
and synced repositories, everything has the default settings.
No Ansible roles, no custom variables, no kickstart templates, no nothing.
The seed error basically means that some OS is assgined some template and they donât share the same organization/location (or something similar). Can you access the UI now? If so, the best thing is to go to Administer â Organizations and click the Mismatches Report button. The same for Locations.
Recovered the system from backup and took a look.
The Mismatch Report lists 3 systems and one of them is the Foreman server itself???
Tried to reassign them to the only organisation we currently have and it doesnât work.
I get always this error:
Cannot update Organization to myOrg because of mismatch in settings
I will check the logs to see if any error occurs, but I really donât know which setting
should be wrong.
These systems had been installed following the official documentation with the default settings.
In between we only added LDAP authentication for central managed users, nothing else.
Looking more closely to the code, there are some resources (e.g. domain, subnet) that is not assigned to the org/loc to which some host is. And such host is also assigned to such resource.
If you go to the org/loc edit form, you can go over all the resources there and assign all of them. That could at least unblock you. Or go over all your hosts and see which could be wrong.
clicked through our locations and organisation.
Foreman found some mistakes I fixed them and still couldnât assign
an organisation to them.
After that I clicked through all the options and enabled in all sub menus âAssign allâ
I still canât assign an organisation.