Last time I showed how to recreate a WebUI-generated MariaDB deployment from the command line. But how should you really generate it in the first place? Let’s walk through:
Continue readingCategory Archives: Software
From WebUI to CLI: MariaDB in OpenShift
Web base user interfaces are great at walking a user through tasks they do not know how to perform yet. In my case, I want to launch a MariaDB instance on OpenShift. Eventually, I want to do this from the command line. Here are my steps.
Running the MariaDB Client on OpenShift
I set up a MariaDB server and wanted to test it out. There are many docs out there about how to set up the client. This is what worked for me.
First, find out the internal IP address of the Database server pod:
oc get pod -l name=mariadb -o json | jq -r '. | .items[0] | .status | .podIP ' |
In my case, that returned 10.131.0.81. Which lead to this command:
kubectl run -it --rm --image=mariadb:latest --restart=Never mariadb-client -- mysql keystone -h 10.131.0.81 --user keystone -pkeystone |
Red Hat IdM as an LDAP Identity Provider in OpenShift Container Platform 4
For my OpenShift Demo, I want to use a Red Hat IdM server as the identity provider. It took a little trial and error to get the mechanism to work right.
Continue readingDeleting Trunks in OpenStack before Deleting Ports
Cloud is easy. It is networking that is hard.
Red Hat supports installing OpenShift on OpenStack. As a Cloud SA, I need to be able to demonstrate this, and make it work for customers. As I was playing around with it, I found I could not tear down clusters due to a dependency issue with ports.
Continue readingTest Scorecards
How do you add tests to a project that show a bug exists? How do you ensure that, once a bug is fixed, that fix is recorded? These questions have been present in my mind for several years. I want to use this space to explore an idea I have had for a while on how to address them.
Continue readingPackage Management Domain Model
Many years ago, when I first started working at Red Hat, I worked up a package management domain model diagram. I’ve referred to it many times over the years, but have never posted or explained it in detail. Recently, discussions over image building software caused me to refer to it a few times. Here it is, with annotations below.
Continue readingSuccessful OpenShift 4.1 Disconnected install
This one is going to be a little light on details, as we are still working through it, but I’d just like to share what I’ve been working on the past couple weeks. Note that this is for a proof-of-concept cluster, and is not for production.
Continue readingConvert Docker Image Output to an HTML Table
#!/bin/sh docker images | awk ' BEGIN {print ("<table>")}; /REPOSITORY/{ print("<tr><th>" $1,"</th><th>" $2,"</th><th>" $3,$4,"</th><th>" $5"</th><th>" $6"</th></tr>")} /MB/{ print ("<tr><td>" $1,"</td><td>" $2,"</td><td>" $3,"</td><td>" $4,$5,$6 "</td><td> " $7,$8 "</td></tr>")} END {print ("</table>")}' |
Building the Kolla Keystone Container
Kolla has become the primary source of Containers for running OpenStack services. Since if has been a while since I tried deliberately running just the Keystone container, I decided to build the Kolla version from scratch and run it.
Continue reading