Author: Josh

  • Ubuntu fail…

    I was reviewing the FAQ for cryptsetup today and noticed the following warning on the page: – Ubuntu as of 4/2011: It seems the installer offers to create LUKS partitions in a way that several people mistook for an offer to activate their existing LUKS partition. The installer gives no or an inadequate warning and…

  • Jenkins CI – Authentication Lockout

    As I’ve been working with Jenkins lately, authentication has become an obstacle to overcome. I’ve begun using the AD plugin for authentication which seems to work fairly well. Two issues that I have found semi regularly as I test and implement solutions around authentication are; 1) administrator locked out, and 2) connection timeouts to AD…

  • AWS Instance – EBS Volume Delete on Termination

    Updated post here. When creating an Amazon Machine Image (AMI) where there are additional volumes added, these volumes are typically not set to delete on termination. This means that after you spin through 5-10 instances based on this AMI there will remain a large number of volumes left over that were not deleted when the…

  • Xen support in the Linux kernel?

    Much of the virtualization around Linux over the last couple of years has gone to KVM which has made it appear as if Xen is dead or dieing. This is not true! The largest virtual infrastructure in the world uses Xen as a hypervisor – Amazon Web Services. Now Xen is in the mainline code…

  • Fedora 15 Review

    I upgraded to Fedora 15 the day it came out and have a few thoughts on the matter. Preupgrade The official Fedora documentation recommends using the “preupgrade” package to upgrade from Fedora 14. Don’t do it. It blew up and I had to spend 2 hours manually resolving the issues that it caused. Gnome Shell…

  • Change Encrypted Volume Password – Fedora / Linux

    I have been in the habit of encrypting the primary volume on every Fedora install that I’ve done in the past couple of years but have never changed the password until now (outside of rebuilds). I figured it was time to learn how to do this so that I could maintain a consistent password across…

  • Jenkins Slave on Windows – git clone failure

    I recently setup a Jenkins job to run on a Windows slave that was triggered from a successful build on a Linux master and it failed with the following error: Started by user anonymous Building remotely on 10.13.0.11 Checkout:Deploy App Code / c:\jenkins-slave\workspace\Deploy App Code – hudson.remoting.Channel@1e5cd7a:10.13.0.11 Using strategy: Default Checkout:Deploy App Code / c:\jenkins-slave\workspace\Deploy…

  • git log – good summary

    I have recently started using git and have struggled to find a good short summary of recent changes. This command does the trick: git log –name-status HEAD^..HEAD commit 1x3ga6g08f1c4324141f966d9766i86c6a790921 Author: Josh Miller Date: Tue Apr 19 07:19:15 2011 -0700 removing this file to test post-receive delete operation, take 1 D var/www/application/css/test07.css Using the –name-status and…

  • PHP Fatal error: Uncaught exception ‘RequestCore_Exception’ with message ‘The stream size for the streaming upload cannot be determined.’

    While attempting to upload some large files (>2GB) to S3 yesterday, I ran across this error (on both sdk 1.2.3 and 1.3.2): php s3-upload.php Uploading file: myfile.bak PHP Fatal error: Uncaught exception ‘RequestCore_Exception’ with message ‘The stream size for the streaming upload cannot be determined.’ in /home/josh/aws/sdk-1.2.3/lib/requestcore/requestcore.class.php:771 Stack trace: #0 /home/josh/aws/sdk-1.2.3/services/s3.class.php(722): RequestCore->prep_request() #1 /home/josh/aws/sdk-1.2.3/services/s3.class.php(1342): AmazonS3->authenticate(‘db-backup-resto…’,…

  • Configuring Apache to Proxy Requests to Tomcat

    A very common task when administering apache and/or tomcat is to setup apache to proxy requests to tomcat.  The primary driver to using this configuration is to get apache to handle all of the front-end requests and some caching with tomcat serving up dynamic content (which is proxied through apache). This also allows apache to…