Forcefully stop hanging Foreman tasks

After a system crash I recently had the problem that Foreman had several orphaned tasks that could not be stopped from the web interface: Because I planned a Foreman upgrade this was pretty bad as it prevented the pre-upgrade check: # foreman-rake katello:upgrade_check … Checking upgradeability… Checking for running tasks… [ERROR] – There are 8
Continue reading...

System management with Foreman/Katello – Part 1: Introduction and installation

The last couple of years I spent a lot of time in managing Linux systems with Spacewalk and Red Hat Satellite 5. Because the application was superseded by the vendor, I investigated on migrations to the successor. Back in 2008, Spacewalk was published as upstream project to Red Hat Network Satellite. Since then, a lot of development happened thanks to the numerous
Continue reading...

Report VMware vSphere RHEL guests to RHSM using Red Hat Satellite 6.2

If you’re utilizing Red Hat Satellite 6 for managing virtual Red Hat Enterprise Linux instances, you will need to leverage Red Hat Subscription Management (RHSM) for maintaining licenses. In comparison with the former Red Hat Network Classic licensing, signed manifest certificates are used. For bigger system landscapes it is easier to list required and needed licenses as RHSM can integrate seamlessly into
Continue reading...

Monitoring Foreman, Katello and Red Hat Satellite 6

Foreman, Katello and Red Hat Satellite 6 users have multiple possibilities to monitor infrastructure health. Beside the Foreman host, also managed systems and defined software content are worth monitoring. Foreman dashboard Foreman/Katello and Red Hat Satellite offer a dashboard with some widgets that can be used for monitoring hosts and products. The widgets can be ordered and removed.
Continue reading...

Short tip: remove Katello completely

If you’re testing the nightly builds of Katello, you might come into a situation where it is advisable to re-install the software completely. As the particular installation steps are automated using Puppet, there is also a dedicated utility which automates uninstalling the software in a clean way: katello-remove. This utility removes all required packages, stored
Continue reading...

Short tip: Updating Pulp database after upgrading Katello

After upgrading Katello recently, I stumbled upon the following error when accessing the administration interface: The web server protocol told me that a database update might causes this issue: # tail /var/log/httpd/foreman-ssl_error_ssl.log [Wed Aug 17 09:42:51.536914 2016] [:error] [pid 3178] [remote 10.22.1.16:128] mod_wsgi (pid=3178): Target WSGI script ‘/usr/share/pulp/wsgi/webservices.wsgi’ cannot be loaded as Python module. [Wed
Continue reading...