In my quest to automate the testing of the Linux Kernel, I need to automate the build of the Linux Kernel. To build the Kernel, you need the requisite packages. What are they? Let’s find out.
Continue readingMonthly Archives: October 2021
bkr job status
Here’s a one liner for showing the status of all your beaker jobs.
for JOB in $( bkr job-list -o $( bkr whoami | jq -r '.username' ) | jq -r ".[]" ) ; do bkr job-results $JOB | xpath -q -e "string(/job/recipeSet/recipe/@status)" ; done |
Remote build of the Linux Kernel via Ironic
Ampere Computing chips run the ARM64 instruction set. My laptop is a Dell running x86_64. In order to edit locally, but build remotely, I make use of servers in our datacenter. These are the steps I am taking.
Continue readingShell variable expansion across ssh sessions
ssh allows you to run a command on a remote machine. You may want to use a shell variable in a remote command. You have to be aware of when that variable gets evaluated.
Continue readingIronic Clean PXE failure
One of our ironic baremetal nodes was suffering a cleaing failure. Fixing it was easy…once we knew the cause/
Continue readingA simple HTML table for comma separated variable files.
Enough of us are looking at the cluster that I want an easy to read snapshot of the node state. So, I convert the csv output of the openstack command into a simple HTML table.
Continue readingSelect only the Jades
Some custom jq for RegEx selection of OpenStack Ironic baremetal nodes. Our Server types show up in their names. I want to be able to build lists of only the Mt. Jade Servers, which have names that look like this:
jade09-r097
openstack baremetal node list --sort provision_state:asc -c UUID -c Name -f json | jq '.[] | select(.Name | test("jade."))' |