Skip to content

Instantly share code, notes, and snippets.

View ajdecon's full-sized avatar

Adam DeConinck ajdecon

View GitHub Profile
cache: OK
DB: NOK
Payment: OK
twitter: down
aws: degraded service
This file has been truncated, but you can view the full file.
+ timeout 1500 bash -x ./workloads/jenkins/scripts/test-kubeflow.sh
+ set -x
+ source workloads/jenkins/scripts/jenkins-common.sh
++ pwd
/var/lib/jenkins/workspace/deepops-matrix
++ '[' -z x ']'
++ export DEEPOPS_FULL_INSTALL=multinode
++ DEEPOPS_FULL_INSTALL=multinode
+++ echo 1-0x82,2-0x85
+++ cut -d, -f1
$ kubectl get nodes
NAME STATUS ROLES AGE VERSION
virtual-gpu01 Ready <none> 10m v1.21.6
virtual-gpu02 Ready <none> 10m v1.21.6
virtual-mgmt01 Ready control-plane,master 13m v1.21.6
virtual-mgmt02 Ready control-plane,master 12m v1.21.6
virtual-mgmt03 Ready control-plane,master 12m v1.21.6
$ kubectl get sc
NAME PROVISIONER RECLAIMPOLICY VOLUMEBINDINGMODE ALLOWVOLUMEEXPANSION AGE
@ajdecon
ajdecon / gist:4a8bd0a087bc88ca47ffb75986339e1e
Created February 3, 2022 16:51
attempted charmed kubeflow install
vagrant@virtual-mgmt01:~$ juju add-k8s deepops
Since Juju 2 is being run for the first time, downloaded the latest public cloud information.
This operation can be applied to both a copy on this client and to the one on a controller.
No current controller was detected and there are no registered controllers on this client: either bootstrap one or register one.
k8s substrate added as cloud "deepops" with storage provisioned
by the existing "nfs-client" storage class.
You can now bootstrap to this cloud by running 'juju bootstrap deepops'.
vagrant@virtual-mgmt01:~$ juju bootstrap deepops
Creating Juju controller "deepops" on deepops
+ bash -x ./workloads/jenkins/scripts/test-rsyslog-k8s.sh
+ source workloads/jenkins/scripts/jenkins-common.sh
++ pwd
/var/lib/jenkins/workspace/deepops_PR-1042
++ '[' -z x ']'
VAGRANTFILE_API_VERSION = "2"
BOX_IMAGE = "generic/ubuntu2004"
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
config.ssh.insert_key = false
config.ssh.private_key_path = ["~/.ssh/id_rsa", "~/.vagrant.d/insecure_private_key"]
config.vm.provision "file", source: "~/.ssh/id_rsa.pub", destination: "~/.ssh/authorized_keys"
config.vm.define "virtual-mgmt01" do |mgmt|
mgmt.vm.provider "libvirt" do |v|
@ajdecon
ajdecon / gist:2b0d722f8c399c2a18795860b6d418f5
Created November 3, 2021 15:14
ansible -i virtual/config/inventory k8s-cluster -m debug -a "var=hostvars[inventory_hostname]"
PLAY [Ansible Ad-Hoc] ************************************************************************************************************************************************************************************************************************
TASK [debug] *********************************************************************************************************************************************************************************************************************************
ok: [virtual-mgmt01] =>
hostvars[inventory_hostname]:
ansible_all_ipv4_addresses:
- 10.233.0.1
- 10.233.0.3
- 10.233.52.148
@ajdecon
ajdecon / ansible.log-kubesprayv2.17.1-upgrade-failure-with-kube-version
Last active November 3, 2021 15:07
Kubespray v2.17.1: ansible-playbook -i virtual/config/inventory -e kube_version=v1.21.6 -vvv submodules/kubespray/upgrade-cluster.yml 2>&1
ansible-playbook 2.9.21
config file = /home/ubuntu/deepops/ansible.cfg
configured module search path = ['/home/ubuntu/deepops/submodules/kubespray/library']
ansible python module location = /opt/deepops/env/lib/python3.6/site-packages/ansible
executable location = /opt/deepops/env/bin/ansible-playbook
python version = 3.6.9 (default, Jan 26 2021, 15:33:00) [GCC 8.4.0]
Using /home/ubuntu/deepops/ansible.cfg as config file
host_list declined parsing /home/ubuntu/deepops/virtual/config/inventory as it did not pass its verify_file() method
script declined parsing /home/ubuntu/deepops/virtual/config/inventory as it did not pass its verify_file() method
auto declined parsing /home/ubuntu/deepops/virtual/config/inventory as it did not pass its verify_file() method
@ajdecon
ajdecon / ansible.log-kubesprayv2.17.1-upgrade-failure
Last active November 3, 2021 15:00
Kubespray v2.17.1: ansible-playbook -i virtual/config/inventory -vvv submodules/kubespray/upgrade-cluster.yml
ansible-playbook 2.9.21
config file = /home/ubuntu/deepops/ansible.cfg
configured module search path = ['/home/ubuntu/deepops/submodules/kubespray/library']
ansible python module location = /opt/deepops/env/lib/python3.6/site-packages/ansible
executable location = /opt/deepops/env/bin/ansible-playbook
python version = 3.6.9 (default, Jan 26 2021, 15:33:00) [GCC 8.4.0]
Using /home/ubuntu/deepops/ansible.cfg as config file
host_list declined parsing /home/ubuntu/deepops/virtual/config/inventory as it did not pass its verify_file() method
script declined parsing /home/ubuntu/deepops/virtual/config/inventory as it did not pass its verify_file() method
auto declined parsing /home/ubuntu/deepops/virtual/config/inventory as it did not pass its verify_file() method
@ajdecon
ajdecon / ansible.log-kubesprayv2.16.0-upgrade-failure
Last active November 3, 2021 14:59
Kubespray v2.16.0: ansible-playbook -i virtual/config/inventory -vvv submodules/kubespray/upgrade-cluster.yml 2>&1
ansible-playbook 2.9.21
config file = /home/ubuntu/deepops/ansible.cfg
configured module search path = ['/home/ubuntu/deepops/submodules/kubespray/library']
ansible python module location = /opt/deepops/env/lib/python3.6/site-packages/ansible
executable location = /opt/deepops/env/bin/ansible-playbook
python version = 3.6.9 (default, Jan 26 2021, 15:33:00) [GCC 8.4.0]
Using /home/ubuntu/deepops/ansible.cfg as config file
host_list declined parsing /home/ubuntu/deepops/virtual/config/inventory as it did not pass its verify_file() method
script declined parsing /home/ubuntu/deepops/virtual/config/inventory as it did not pass its verify_file() method
auto declined parsing /home/ubuntu/deepops/virtual/config/inventory as it did not pass its verify_file() method