Under certain circumstances, it can happen that foreman's components get out of sync and hosts cannot be registered / unregistered anymore. I've had this problem recently with a pulp upgrade in foreman 1.24.2 and pulp packages:
- pulp-deb-plugins-1.10.1-1.el7.noarch
- pulp-docker-plugins-3.2.6-1.el7.noarch
- pulp-puppet-plugins-2.21.1-1.el7.noarch
- pulp-puppet-tools-2.21.1-1.el7.noarch
- pulp-rpm-plugins-2.21.1-1.el7.noarch
- pulp-selinux-2.21.1-1.el7.noarch
- pulp-server-2.21.1-1.el7.noarch
- python-pulp-common-2.21.1-1.el7.noarch
- python-pulp-deb-common-1.10.1-1.el7.noarch
- python-pulp-docker-common-3.2.6-1.el7.noarch
- python-pulp-oid_validation-2.21.1-1.el7.noarch
- python-pulp-puppet-common-2.21.1-1.el7.noarch
- python-pulp-repoauth-2.21.1-1.el7.noarch
- python-pulp-rpm-common-2.21.1-1.el7.noarch
- python-pulp-streamer-2.21.1-1.el7.noarch
The result was an 'Error 500' when trying to unregister a host.
In order to fix this, you'll need to rerun the installer for foreman and after the installation has been finished successfully, you should be able to register and unregister hosts again.
First, stop the katello services:
[archy@katello ~]$ sudo foreman-maintain service stop
[archy@katello ~]$ sudo foreman-installer --scenario katello --upgrade
You should now be able to unregister / register hosts again.
Feel free to comment and / or suggest a topic.
Comments
Post a Comment