I’m a new Foreman/Katello user and I’m testing it for the first time. I want to use it for patching and installing errata on CentOS 6 and 7, and Oracle Linux 6 and 7 servers. So far I’ve only tested with CentOS 7 clients, and I have a few questions and problems that I would like advice on.
My server is running foreman 1.19.0 with katello 3.8 on CentOS 7.
My client is CentOS 7 running the katello-agent-3.3.2-3 and katello-host-tools-3.3.2-3 (per the katello 3.8 client install documentation).
First, I would like to ask if my methodology/understanding of using content views is correct. I have a centos7 product created with the “os x86_64” and “updates x86_64” repos. I have a content view for centos7, that I promoted to my dev7 and prod7 lifecycle environments (for cv version1). I also have activation keys for centos7 dev7 and prod7. Then I used the errata_import.pl script from https://github.com/rdrgmnzs/pulp_centos_errata_import to import the centos errata to my centos7 “os x86_64” and “updates x86_64” base repos. After importing the errata and syncing the repositories (with “mirror on sync” to no), I published and promoted the content view to the dev7 lifecycle, and then eventually to prod7 lifecycle (to make cv version2) Is this method correct? Then when I want to install the next batch of errata, I would repeat this process and promote to cv version3? Should each operating system have its own lifecycle environment (centos6, oracle linux 7, etc)?
Is the “installable updates” column supposed to be automatically updated with the errata in Hosts – Content Hosts? I see applicable errata if I drill down into the Errata tab for the host. Goferd is running on the clients, and I started the rhsmcertd process so they are checking in. If I do a “recalculate” in the errata tab, the “installable updates” column is updated, but it seems like it should automatically update when the client checks in.
When I try to update all of the packages via Hosts – Content Hosts – select host – Packages – Applicable – Update All Packages, I get the error “init() takes at least 2 arguments (1 given)”. References from the website Bug #24353: Update all packages action on host shows __init__() takes at least 2 arguments (1 given) - Katello - Foreman suggest this is fixed in katello-host-tools-3.3.4-1. Should I be using a different version of the katello-agent than the katello client documentation reference? If so, where do I get it?
When updating all packages via Hosts – Hosts Collections – select host collection – Package Installation,Update, Removal – Update all packages – via katello agent, a message pops up saying it was successful, yet no task is created, and none of the packages get updated on the clients. Is there a fix to this?