While working at Cisco I developed a project called KUBAM: A simple bare metal provision tool for UCS. I updated the kubam.io page and am now offering support for $500 / node per year. I couldn’t do this at Cisco because I could never get it officially recognized by the powers that be. That is…
Category: Cisco
Last Day at Cisco
On Wednesday I attended the funeral of Brad Jackson, a beloved former Cisco colleague. His story is not one for me to tell, but suffice to say we will all greatly miss him. The story I can tell is the outpouring of love and support shared by the greater Cisco community and how much that…
Jenkins Spark integration
You can make Jenkins publish messages to spark after or during builds. Here’s how we do this: 1. Get the spark room ID that you want to use:
1 |
curl https://api.ciscospark.com/v1/rooms -X GET -H "Authorization:Bearer SUPERLONGAUGZjg5ZjRhZDAtMDA1NC00OMzRmMjg5NTJiMTUwOTZkZDgtYTY0" | python -m json.tool |
This will give you a list of rooms. From here, you can find the room you want and get the ID of the room: Something like: Y2lzY29zcGFtxuovL3VzL1JPT00vOWRhMjY1MDAtOWY2Zi0xMWU1LTg0ODQtNzczOTMxZTUxMGE3…
It’s time to get rid of the operating system
We’ve abstracted many things you and I. But its time to crack the next nut. Let me explain why. Bare Metal I started out managing applications on bare metal x86 and AIX servers. In those days we were updating the operating systems to the latest releases, patching with security updates, and ensuring our dependencies were…
Go with NX-API
I’ve been working on a project to collect data from Cisco Nexus switches. I first tackled making SNMP calls to collect counter statistics but then I thought, why not try it with the NX-API that came with the Nexus 9ks? The documentation for the APIs I hoped would be better, but the samples on github…
Continuous Delivery of a Simple Web Application Tutorial – Part 4
In Part 1 we discussed the architecture of what we’re trying to build. In Part 2 we created our development server with Ansible. In Part 3 we finished off Ansible with creating our Load Balancers and WebServers and setup Git to check everything in. In this last part, we’re going to configure Jenkins to use all of these components…
Continuous Delivery of a Simple Web Application Tutorial – Part 2
In Part 1 we gave the general outline of what we are trying to do, the tools we’re using, and the architecture of the application. In this part (Part 2) we’re going to work on building the development environment with Ansible. This includes the Jenkins, Gitlab, a private Docker Registry, and a proxy server so we…
Continuous Delivery of a Simple Web Application Tutorial – Part 1
This will be the first of a series of posts showing how we can do continuous delivery of a simple web application. This will be written tutorial style to show all the different components used. We are using Open Source tools on Cisco OpenStack private cloud, but the majority of the instructions here could be…
Debug CoreOS Cloud Init Script
When I log in after trying to debug something I find that the command prompt gives me the following:
1 2 3 4 5 |
core@ci ~ $ ssh -i tco-gold.pem core@10.2.3.6 Last login: Wed May 27 19:45:10 2015 from 10.2.3.7 CoreOS stable (633.1.0) Failed Units: 1 coreos-cloudinit-547659032.service |
So to figure out where my script went wrong, I simply have to run the command:
1 |
systemctl status -l <name of service> |
So in my case it was:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
core@coreos633-jenkins-slave ~ $ systemctl status -l coreos-cloudinit-547659032.service ● coreos-cloudinit-547659032.service - Unit generated and executed by coreos-cloudinit on behalf of user Loaded: loaded (/run/systemd/system/coreos-cloudinit-547659032.service; static; vendor preset: disabled) Drop-In: /run/systemd/system/coreos-cloudinit-547659032.service.d └─50-Description.conf, 50-ExecStart.conf Active: failed (Result: exit-code) since Wed 2015-05-27 19:44:41 UTC; 2min 58s ago Process: 562 ExecStart=/bin/bash /var/lib/coreos-cloudinit/scripts/547659032 (code=exited, status=255) Main PID: 562 (code=exited, status=255) May 27 19:44:40 coreos633-jenkins-slave.novalocal bash[562]: jre1.7.0_51/plugin/ May 27 19:44:40 coreos633-jenkins-slave.novalocal bash[562]: jre1.7.0_51/plugin/desktop/ May 27 19:44:40 coreos633-jenkins-slave.novalocal bash[562]: jre1.7.0_51/plugin/desktop/sun_java.png May 27 19:44:40 coreos633-jenkins-slave.novalocal bash[562]: jre1.7.0_51/plugin/desktop/sun_java.desktop May 27 19:44:40 coreos633-jenkins-slave.novalocal bash[562]: jre1.7.0_51/COPYRIGHT May 27 19:44:40 coreos633-jenkins-slave.novalocal bash[562]: jre1.7.0_51/THIRDPARTYLICENSEREADME-JAVAFX.txt May 27 19:44:41 coreos633-jenkins-slave.novalocal bash[562]: getaddrinfo ssh-keyscan: Name or service not known May 27 19:44:41 coreos633-jenkins-slave.novalocal systemd[1]: coreos-cloudinit-547659032.service: main process exited, code=exited, status=255/n/a May 27 19:44:41 coreos633-jenkins-slave.novalocal systemd[1]: Unit coreos-cloudinit-547659032.service entered failed state. May 27 19:44:41 coreos633-jenkins-slave.novalocal systemd[1]: coreos-cloudinit-547659032.service failed. |
It turns out, I put an extra ssh-keyscan in the the…
Can AWS put out the private cloud?
TL;DR: No. Today I watched a recording of Andy Jassy at the AWS summit in San Francisco from last month. (Yes, I have a backlog of Youtube videos I’m trying to get through and John Oliver takes precedence to AWS) The statistics he laid out were incredible: 102% YoY revenue growth for the S3 service…