Skip to content

Instantly share code, notes, and snippets.

View omgjlk's full-sized avatar
🤷‍♂️
Inserting sleeps until it works

Jesse Keating omgjlk

🤷‍♂️
Inserting sleeps until it works
View GitHub Profile

Watch out for that tree! What mountain biking has taught me about proactive systems engineering.

Mountain biking is a lot like software engineering. No, really! There are skills to be learned, obstacles to overcome, patterns to recognize, leaders to follow, and new trails to explore!

In this talk I'll discuss a revelation I had one day as I was riding down the trail, about how I could apply that which I've learned over the years of trail riding to software and systems engineering. This will not be a talk about specific technologies or tools, but instead a reflection upon methodologies, monitoring/observeability, pitfall avoidance, and other engineering practices. Come have a laugh at the funny pictures, but also take with you perhaps some new insights or at least some new perspectives on healthy software and systems engineering, about how to be PROactive instead of REactive.

.deploy heaven/inventory-overlay-ramfs-826 to production
.deploy gpanel/inventory-overlay-826 to sdc42-sea
.deploy inventory/build-overlay-initramfs-826 to production
<boot things>
.deploy heaven to production
.deploy gpanel to sdc42-sea
.deploy inventory to production
@omgjlk
omgjlk / derp
Last active January 19, 2018 00:52
image me
derp
[centos@jlktemp ~]$ /usr/bin/python /home/centos/.ansible/tmp/ansible-tmp-1486783286.97-242852161845364/systemd.py
Traceback (most recent call last):
File "/tmp/ansible_8BEuPN/ansible_module_systemd.py", line 386, in <module>
main()
File "/tmp/ansible_8BEuPN/ansible_module_systemd.py", line 249, in main
systemctl = module.get_bin_path('systemctl')
File "/tmp/ansible_8BEuPN/ansible_module_systemd.py", line 249, in main
systemctl = module.get_bin_path('systemctl')
File "/usr/lib64/python2.7/bdb.py", line 49, in trace_dispatch
return self.dispatch_line(frame)
---
- name: test
hosts: all
gather_facts: false
connection: local
vars:
foo: ~
tasks:
- name: foo
~/src/derp> cat foo.yaml
---
- name: test
hosts: all
# gather_facts: false
connection: local
vars:
foo:
jar: no
bar:
FROM ubuntu:trusty
MAINTAINER Paul Czarkowski
VOLUME /pkg
RUN echo "deb http://compute_standard.clouds.archive.ubuntu.com/ubuntu/ trusty-backports main restricted universe multiverse" >> /etc/apt/sources.list
RUN echo "deb-src http://compute_standard.clouds.archive.ubuntu.com/ubuntu/ trusty-backports main restricted universe multiverse" >> /etc/apt/sources.list
RUN apt-get -yqq update && apt-get dist-upgrade -y
RUN apt-get -yqq update && apt-get install -yqq git curl vim build-essential ruby1.9.1-dev git python-dev python-virtualenv libxml2-dev libxslt-dev libffi-dev libmysqlclient-dev libpq-dev libsqlite3-dev libldap2-dev libsasl2-dev liberasurecode-dev/trusty-backports && apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
OS_IDENTITY_API_VERSION=3
OS_PASSWORD=<derp>
OS_AUTH_URL=https://openstack.example.com:5000/v3
OS_USERNAME=admin
OS_CACERT=/opt/stack/ssl/openstack.crt
OS_NO_CACHE=True
OS_PROJECT_NAME=admin
OS_DOMAIN_ID=default
ndg-httpsclient==0.4.1
os-client-config==1.18.0
python-ceilometerclient==2.4.0
python-cinderclient==1.8.0
python-designateclient==2.1.0
python-glanceclient==2.0.0
python-heatclient==1.2.0
python-ironicclient==1.3.1
python-keystoneclient==2.3.1
python-magnumclient==2.1.0
2016-06-14 20:16:39,162 p=4922 u=blueboxadmin | RUNNING HANDLER [common : meta] ************************************************
2016-06-14 20:16:39,362 p=4922 u=blueboxadmin | fatal: [ds0005.tor01-lab]: FAILED! => {"failed": true, "msg": "The module meta was not found in configured module paths. Additionally, core modules are missing. If this is a checkout, run 'git submodule update --init --recursive' to correct this problem."}