Further adventures with base images in OpenStack

  • Post author:
  • Post category:OpenStack

I was bored over the New Years weekend, so I figured I'd have a go at implementing image cache management as discussed previously. I actually have an implementation of about 75% of that blueprint now, but its not ready for prime time yet. The point of this post is more to document some stuff I learnt about VM startup along the way so I don't forget it later. So, you want to start a VM on a compute node. Once the scheduler has selected a node to run the VM on, the next step is the compute instance on that machine starting the VM up. First the specified disk image is fetched from your image service (in my case glance), and placed in a temporary location on disk. If the image is already a raw image, it is then renamed to the correct name in the instances/_base directory. If it isn't a raw image then it is converted to raw format, and that converted file is put in the right place. Optionally, the image can be extended to a specified size as part of this process. Then, depending on if you have copy on write (COW) images turned on or…

Continue ReadingFurther adventures with base images in OpenStack

Openstack compute node cleanup

  • Post author:
  • Post category:OpenStack

I've never used openstack before, which I imagine is similar to many other people out there. Its actually pretty cool, although I encountered a problem the other day that I think is worthy of some more documentation. Openstack runs virtual machines for users, in much the same manner as Amazon's EC2 system. These instances are started with a base image, and then copy on write is used to write differences for the instance as it changes stuff. This makes sense in a world where a given machine might be running more than one copy of the instance. However, I encountered a compute node which was running low on disk. This is because there is currently nothing which cleans up these base images, so even if none of the instances on a machine require that image, and even if the machine is experiencing disk stress, the images still hang around. There are a few blog posts out there about this, but nothing really definitive that I could find. I've filed a bug asking for the Ubuntu package to include some sort of cleanup script, and interestingly that led me to learn that there are plans for a pretty comprehensive image management…

Continue ReadingOpenstack compute node cleanup

Being Geek

  • Post author:
  • Post category:Book

This book by long time Apple engineering manager, as well as startup employee, Michael Lopp is a guide to how to manage geeks. That wasn't really what I was expecting -- which is sort of the inverse. I was hoping for a book about how to be a geek who has to deal with management. This book helps with that, by offering the inverse perspective, but I'd still like to see a book from my direction. The book is well written, in a conversational and sometimes profane manner (a comment I see others make about his other book "Managing Humans"). I think that's ok in this context, where it feels as if Michael is having a personal conversation with you the reader. An overly formal tone here would cause the content to be much more boring, and its already dry enough. I'm not sure I agree with everything said in the book, but the first half resonated especially strongly with me. [isbn: 9780596155407;0596155409]

Continue ReadingBeing Geek

Scott Adam’s blog: the boner theory of management

  • Post author:
  • Post category:Link

The Boner Theory of Economics also predicts that in the long run -- perhaps in a few hundred years -- the military will be 100% gay men. This is the best case scenario for taxpayers because it will keep down costs, and recruiting will be easy. Recruiter: "We can't afford to give you body armor, but you'll be surrounded by young, vital men who are a long way from home. Would you like a tour of the showers?" Recruit: "Yes, but I can't stand up right away." http://dilbertblog.typepad.com/the_dilbert_blog/2007/03/the_boner_theor.html

Continue ReadingScott Adam’s blog: the boner theory of management

Open Source document management from Alfresco

  • Post author:
  • Post category:Link

An Alfresco employee (Alfrescoer?) posts about some of the interesting things they've learnt about being an open source company along the way. The comments about PR being more effective the cold sales calls is especially interesting. I argued for years at TOWER that we should be paying more attention to people searching for our product, instead of paying pretty boys to drive sports cars to sales presentations that everyone secretly hates. If your product has a good reputation and people can find it online, surely the customers will come to you?

Continue ReadingOpen Source document management from Alfresco

End of content

No more pages to load