- OpenStack, OpenShift reserach and some other random stuff!
OpenStack Designate Basic Introduction.
For note: Everyone should understand the basic of DNS BUT if you DO NOT… Then Please have a read below. Also here HERE Maybe use some google fu (google; what is DNS) :) What is DNS How it works DNS For example, when searching for cloud.example.com, the resolver starts with the root name server.. The root replies with the location of the .com name server. The resolver then contacts the ....
Unbound DNS configuration
Installing and configuring Unbound DNS Server yum install unbound bind-utils -y Configuration Do note that this is my configuration examples. My lab test is a DNS forward forwarding requests to 8.8.8.8 and 1.1.1.1 and also forwarding to other local DNS servers like designate in OpenStack. unbound.conf No real changes here to the default configuration. Where the magic happens is in /etc/conf.d/ conf.d Here is the file list in my configuration....
OpenShift Notes
Some commands for me to remember. Get project list oc get projects Change project (In this case, changing to the service-telemetry project) oc project service-telemetry Get all pods in the project oc get pods` get all the nodes oc get nodes NAME STATUS ROLES AGE VERSION ocp-fq9zz-master-0 Ready master 46d v1.23.12+8a6bfe4 ocp-fq9zz-worker-0-h74g7 Ready worker 46d v1.23.12+8a6bfe4 ocp-fq9zz-worker-0-nhn5s Ready worker 46d v1....
OpenStack Upstream Notes
Information regarding OpenStack Upstream Wallaby pre-provisioned nodes. (Home Lab) OS of choice on these nodes will be Centos 9 Stream Reason for pre provissioned is due to the fact that these nodes do not have BMC To create a new user on openstack node for scale out Pulled from with some slight modifications here sudo useradd tripleo-admin sudo passwd tripleo-admin # specify a password echo "tripleo-admin ALL=(root) NOPASSWD:ALL" | sudo tee -a /etc/sudoers....
Service Telemetry Framework
Service telemetry troubleshooting. When issues arise and you don’t see any metrics happening on Grafana dashboard you can follow these troubleshooting step to narrow down to where the issues are. In my examples here I will be using STF version 1.5 see infrawatch to see the upstream documentation for Service Telemetry Framework. I will be also using OpenStack version 17 code named Wallaby the Upstream version. See here Openstack.org Openstack Check the logs that any errors are happening in OpenStack both on the Controllers and the compute nodes....
Container Tricks
Container Commands that were used while digging into Quay, a Local Red Hat container repo. This command, pulled the container from a list quay_images and uploaded them to my local quay repo. for IMG in $(cat quay_images);do skopeo --override-os linux copy docker://registry.redhat.io/rhosp-rhel8/$IMG:16.2.4 docker://172.22.100.66/registry.redhat.io/rhosp-rhel8/$IMG:16.2.4 --insecure-policy --dest-tls-verify=false --dest-creds admin:testtest ; done Tagging the container before upload. You would get the $image from podman image list podman tag $IMAGE 172.22.100.66/registry.redhat.io/rhosp-rhel8/openstack-aodh-api Uploading a container to the local repo....
RedFish Server
Redfish server for controlling VMs on a KVM libvirt host. Do note: This setup requires the host node hosting the VMs have libvirt installed and started. In this case, this redfish server is in a VM and is hosted on top of the host I want to control. Ensure that the Host you want to control has the root access via ssh with out a password. So key authentication is required....
Service Telemetry Framwork
STF 1.5 installation notes These installation notes are based on the Red Hat documentations Here and also the upstream documentation here Here oc new-project service-telemetry oc create -f - <<EOF apiVersion: operators.coreos.com/v1 kind: OperatorGroup metadata: name: service-telemetry-operator-group namespace: service-telemetry spec: targetNamespaces: - service-telemetry EOF oc create -f - <<EOF apiVersion: project.openshift.io/v1 kind: Project metadata: name: openshift-cert-manager-operator spec: finalizers: - kubernetes EOF oc create -f - <<EOF apiVersion: operators.coreos.com/v1 kind: OperatorGroup metadata: name: openshift-cert-manager-operator namespace: openshift-cert-manager-operator spec: {} EOF oc create -f - <<EOF apiVersion: operators....