Skip to content

Instantly share code, notes, and snippets.

View mkumatag's full-sized avatar
:octocat:
Coding...

Manjunath Kumatagi mkumatag

:octocat:
Coding...
  • IBM India Pvt. Ltd., Red Hat
  • Bangalore, India
  • 15:05 (UTC +05:30)
  • X @mkumatag
View GitHub Profile
@mkumatag
mkumatag / fedora-bootc.md
Last active May 23, 2024 05:59
How to build fedora-bootc on power

How to build fedora-bootc on power

First build the boot-image-builder for power

$ git clone https://github.com/osbuild/bootc-image-builder.git
$ cd bootc-image-builder/
$ make build-container
$ podman tag <image> quay.io/powercloud/bootc-image-builder:latest
$ podman push quay.io/powercloud/bootc-image-builder:latest
name: check container image
on:
schedule:
- cron: '0 0 * * *'
env:
REGISTRY: ghcr.io
IMAGE_NAME: mkumatag/hello-world
@mkumatag
mkumatag / prep-pac.sh
Last active September 29, 2022 04:18
#!/usr/bin/env bash
CLOUD_INIT_DEV="/dev/sr0"
MNT_POINT="/mnt"
HOME_DIR="/root"
AUTH_KEYS_FILE="${HOME_DIR}/.ssh/authorized_keys"
USER_DATA="${MNT_POINT}/openstack/latest/user_data"
if [[ ! -b "$CLOUD_INIT_DEV" ]]; then
echo "INFO: $CLOUD_INIT_DEV doesn't exist, exiting gracefully."
$ docker buildx build --progress=plain --platform=linux/ppc64le deploy/docker 130 ↵
#2 [internal] load .dockerignore
#2 transferring context: 2B 0.0s done
#2 DONE 0.1s
#1 [internal] load build definition from Dockerfile
#1 transferring dockerfile: 3.03kB 0.0s done
#1 DONE 0.1s
#4 [internal] load metadata for registry.fedoraproject.org/fedora-minimal:35
Jul 09 10:29:23 cicd-rhel8.0-2020-04-29-ppc64le.pok.stglabs.ibm.com systemd[1]: Started kubelet: The Kubernetes Node Agent.
Jul 09 10:29:23 cicd-rhel8.0-2020-04-29-ppc64le.pok.stglabs.ibm.com kubelet[119306]: Flag --cgroup-driver has been deprecated, This parameter should be set via the config file specified by the Kubelet's --config flag. See https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/ for more information.
Jul 09 10:29:23 cicd-rhel8.0-2020-04-29-ppc64le.pok.stglabs.ibm.com kubelet[119306]: Flag --cgroup-driver has been deprecated, This parameter should be set via the config file specified by the Kubelet's --config flag. See https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/ for more information.
Jul 09 10:29:23 cicd-rhel8.0-2020-04-29-ppc64le.pok.stglabs.ibm.com kubelet[119306]: I0709 10:29:23.830205 119306 server.go:411] Version: v1.19.0-beta.2.839+896da2253c77d1-dirty
Jul 09 10:29:23 cicd-rhel8.0-2020-04-29-ppc64le.pok.stglabs.ibm.com kubelet[119306]: I0
"[Conformance][Area:Networking][Feature:Router] The HAProxy router should expose prometheus metrics for a route [Suite:openshift/conformance/parallel/minimal]"
"[Conformance][Area:Networking][Feature:Router] The HAProxy router should override the route host for overridden domains with a custom value [Suite:openshift/conformance/parallel/minimal]"
"[Conformance][Area:Networking][Feature:Router] The HAProxy router should override the route host with a custom value [Suite:openshift/conformance/parallel/minimal]"
"[Conformance][Area:Networking][Feature:Router] The HAProxy router should run even if it has no access to update status [Suite:openshift/conformance/parallel/minimal]"
"[Conformance][Area:Networking][Feature:Router] The HAProxy router should serve a route that points to two services and respect weights [Suite:openshift/conformance/parallel/minimal]"
"[Conformance][Area:Networking][Feature:Router] The HAProxy router should serve routes that were created from an ingress [Suite:openshift/conformance/paralle
This file has been truncated, but you can view the full file.
[root@bastion ~]# time oc --loglevel 10 adm must-gather
I0323 10:57:16.870502 17395 loader.go:375] Config loaded from file: /root/.kube/config
I0323 10:57:16.872269 17395 round_trippers.go:423] curl -k -v -XGET -H "Accept: application/json, */*" -H "User-Agent: oc/v0.0.0 (linux/ppc64le) kubernetes/$Format" 'https://api.ocp-ppc64le-test-c116ac.redhat.com:6443/apis/image.openshift.io/v1/namespaces/openshift/imagestreams/must-gather'
I0323 10:57:16.890649 17395 round_trippers.go:443] GET https://api.ocp-ppc64le-test-c116ac.redhat.com:6443/apis/image.openshift.io/v1/namespaces/openshift/imagestreams/must-gather 200 OK in 18 milliseconds
I0323 10:57:16.890668 17395 round_trippers.go:449] Response Headers:
I0323 10:57:16.890681 17395 round_trippers.go:452] Audit-Id: 8a5a6f39-1e7a-46f5-a6a3-80c2f22c873c
I0323 10:57:16.890692 17395 round_trippers.go:452] Cache-Control: no-cache, private
I0323 10:57:16.890701 17395 round_trippers.go:452] Cache-Control: no-store
I0323 10:57:16.890710 17395
"[Conformance][Area:Networking][Feature:Router] The HAProxy router should expose prometheus metrics for a route [Suite:openshift/conformance/parallel/minimal]"
"[Conformance][Area:Networking][Feature:Router] The HAProxy router should override the route host for overridden domains with a custom value [Suite:openshift/conformance/parallel/minimal]"
"[Conformance][Area:Networking][Feature:Router] The HAProxy router should override the route host with a custom value [Suite:openshift/conformance/parallel/minimal]"
"[Conformance][Area:Networking][Feature:Router] The HAProxy router should run even if it has no access to update status [Suite:openshift/conformance/parallel/minimal]"
"[Conformance][Area:Networking][Feature:Router] The HAProxy router should serve a route that points to two services and respect weights [Suite:openshift/conformance/parallel/minimal]"
"[Conformance][Area:Networking][Feature:Router] The HAProxy router should serve routes that were created from an ingress [Suite:openshift/conformance/paralle
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDmMuiypdqqftqhrQeBTjOhcgyARvylZMLiH+6nCvi5Lv5M7evAnvvG3Hz4rbjbbqoVgSCIdAEb4PuttiCdwE6UyAl0TYAydOVPx7l87BlaucTEqDFbXkQB+yyUmzodllCpWAMUmxwvJB/ntFrC6rP0K0kKxx4SESvozutwM2X5oH3LNHcYI1xgKIMF9VMJLkkM0rLo8Fmj6mWF5KtbU7vS7JJPvLTCRhW5TYrqvhHKuIS6KBtj3GJqvRt+it8AsIb6/RUaji68Mt7W41UrmFSPt8bxJMdE/xKGMcFQjamURPSCHx7z8/pr2/pv2QbQF76FO7lRdPH3f542uAkOOpO1 manjunath@Manjunaths-MacBook-Pro-2.local
[root@localhost origin]# _output/local/bin/linux/ppc64le/openshift-tests run-test "[Feature:DeploymentConfig] deploymentconfigs with minimum ready seconds set [Conformance] should not transition the deployment to Complete before satisfied [Suite:openshift/conformance/parallel/minimal]"
I1115 04:22:04.167025 27251 test.go:182] openshift-tests excluded test regex is "\\[Disabled:|\\[Disruptive\\]|\\[Skipped\\]|\\[Slow\\]|\\[Flaky\\]|\\[local\\]|\\[Suite:openshift/test-cmd\\]|\\[Skipped:Non-MVP\\]|\\[Skipped:skeleton\\]|\\[Skipped:Network/OpenShiftSDN\\]"
Nov 15 04:22:04.354: INFO: >>> kubeConfig: /root/.kube/config
Nov 15 04:22:04.357: INFO: Waiting up to 30m0s for all (but 100) nodes to be schedulable
Nov 15 04:22:04.491: INFO: Waiting up to 10m0s for all pods (need at least 0) in namespace 'kube-system' to be running and ready
Nov 15 04:22:04.576: INFO: 0 / 0 pods in namespace 'kube-system' are running and ready (0 seconds elapsed)
Nov 15 04:22:04.576: INFO: expected 0 pod replicas in namespace 'kube-system