Skip to main content

Posts

Showing posts from January, 2024

FreeIPA - reset / remove WebUI sessions

Sometimes the WebUI Session hangs or just does weird things so it can be of use to Reset the Web Sessions from time to time, note that they will also be reset on a server reboot. First, stop the ipa services and gssproxy.service: [root@ipa02 ~]# ipactl stop [root@ipa02 ~]# systemctl stop gssproxy.service Then remove the cached Sessions from '/run/ipa/ccaches': [root@ipa02 ~]# rm -f /run/ipa/ccaches/* Now start the ipa services again: [root@ipa02 ~]# ipactl start [root@ipa02 ~]# systemctl start gssproxy.service All WebUI sessions are now reset. Note that the ccache-files have the name of the credential, so it's also possible to just reset Sessions for selected users. Feel free to comment and / or suggest a topic.

Foreman - Upgrade to Foreman 3.9 and Katello 4.11

   NOTE: this guide exists for Upgrading from v3.7 to v3.8 as well -->  here With the current version, the  official documentation  is quite good and can be referenced. I would recommend executing all of these commands in a tmux session so that your session will remain on the server in case anything happens to your workstation. Start by checking for running tasks that would prohibit an update: [root@katello01 ~]# foreman-rake katello:upgrade_check Next, update the katello host and reboot if yum tells you to: [root@katello01 ~]# dnf -4y --refresh update [root@katello01 ~]# dnf needs-restarting -r If there were any updates to foreman-related packages, make sure foreman is in a consistent state: [root@katello01 ~]# foreman-maintain service stop [root@katello01 ~]# foreman-installer --scenario katello When the katello services have started again, upgrade the release-rpms: [root@katello01 ~]# dnf -4y update https://yum.theforeman.org/releases/3.9/e...