replacing the haproxy error page in openshift origin

first, create a configmap secret which will contain the 503 page

then create it

now you need to add it as a volume

and patch the router config (see https://github.com/openshift/origin/issues/16275 for why this is necessary)

selinux also has to be disabled on the router box (for now)

stop behat on 500 errors with mink

I had some issues diagnosing 500 errors that were happening with Mink. The main issue being that a page would 500, but then the test would proceed and fail a later step. Unfortunately the HTML/screenshot that was captured does not capture the error, but instead captures the assertion which doesn’t help debug.

It’s possible to react after a step and check if the last Mink request was a 500 or not. This way, we fail on the 500, and not on the subsequent assertions.

 

PHP commandline OAuth authorization for JIRA

I needed to get a user’s OAuth credentials from the commandline, for some commandline tools to work (Drush).

You will need OAuth installed from PECL for this, and have an OAuth link set up in JIRA (or whatever OAuth provider you are using).

 

launch a jenkins slave via drush

If you already have Drush aliases set up for your live machines, deploy those aliases to your CI server, and use them to launch your nodes (instead of copying the SSH info).

Create a new “Dumb slave” but instead of “SSH slave”, select “Launch slave via execution”

This is the command to use:

Jenkins will run the command which sets up the remoting capabiliity.

A pretty good iframe resizer

 

Liberation – Day 67

9 weeks post-op…they’re off!!!

I thought I was going in to get the surgical lugs and metal wires removed but…

Dr. decided everything was close enough, and took it all off!

I’ve got Invisalign (Vivera?) retainers now, barely visible and sometimes I forget I’m wearing them. Dr. was able to remove the braces now because the retainers also do minor corrective work.

It’s been a long journey. It’s completely worth it. My bite is awesome. Things like very crunchy fruits, peanuts, etc. are still off limits. I still have issues with jaw strength but it’s slowly getting better.

June 2013 – braces
August 2013 – no more wisdom teeth
October 2014 – lefort 1
November 2014 – no more bands
December 29th, 2014 – no more braces!

I could have done the surgery as early as June, but I was lazy…

So that’s that! Checkups and cosmetic work next.