Kernel Module Management testing

Following on the Using Kcli to prepare for OCM testing, we’re going to prepare KMM testing in Hub-Spoke approach. First we need to prepare our .docker/config.json with the contents of our OpenShift pull secret used with Kcli. mkdir -p ~/.docker/ cp openshift_pull.json ~/.docker/config.json Warning advisories Note Semi-scripted version available at Warning We’re using pre-release bits of the software, that’s why we need to define a custom catalog for both the Hub and the Spokes....

January 19, 2023 · 6 min · Pablo Iranzo Gómez

Using Kcli to prepare for Open Cluster Management testing

Kcli allows to quickly interact with different virtualization platforms to build machines with some specific configurations, and via the use of plans it allows to automate most of the setup required to have an environment ready. In our case, let’s setup an environment to practice with Open Cluster Management but instead of using kind clusters, let’s use VM’s. Note We’ll require to setup an openshift_pull.json file for Kcli to consume when accessing the required resources for this to work....

December 23, 2022 · 5 min · Pablo Iranzo Gómez

OpenShift's oc debug and parallel execution

A colleague reported some issues in the OpenShift troubleshooting and diagnosis scripts at OpenShift-checks. Some time ago I did contribute some changes to use functions and allow using the RISU wrapper to the scripts, helping consuming the results via RISU’s HTML interface. As my colleague reported, for some plugins, the output of the command was not shown in the HTML Interface. After some investigation, it was found that parallel execution for the plugins was causing no output to be shown, but when filtering to individual ones via risu -i XXXXXXX/plugin -l it was working fine… the problem was not the check itself, as both of them worked fine when executed individually but failed when executing them together....

November 3, 2022 · 2 min · Pablo Iranzo Gómez

Setup a Quay mirror for offline installations with mirror-registry

In order to setup disconnected registry for installation, follow this blog post by Daniel at Introducing Mirror Registry for Red Hat OpenShift. At the end of the process it will output something like: INFO[2022-08-19 07:10:22] Quay installed successfully, permanent data is stored in /etc/quay-install INFO[2022-08-19 07:10:22] Quay is available at https://${HOSTNAME}:8443 with credentials (init, ${PASSWORDSTRING}) Once the setup is done, remember several steps: Edit /etc/containers/registries.conf to add relevant entries for our registry as required:...

August 19, 2022 · 2 min · Pablo Iranzo Gómez

Check Agent status per state

Check agent status per state watch -d "oc get agent -A -o jsonpath='{range .items[*]}{@.status.debugInfo.state}{\"\n\"}{end}' |sort | uniq --count"

August 10, 2022 · 1 min · Pablo Iranzo Gómez
This blog is a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to