Ubuntu 14.04 Desktop No LUKS + LVM in Installer

Was choosing a Linux distro for new workstation. Decided to try Ubuntu 14.04.2 desktop on virtual server first and I think I’ll use Fedora 21. I was unable to configure encrypted volumes in conjunction with LVM using Ubuntu 14.04 desktop installer. Here is an instruction how to configure it manually but, hey, I’ve heard Ubuntu is a user-friendly distro. Pity if this actually means all sharp toys are locked in a drawer.

Chef-zero Is Broken in Ubuntu 14.04

I was playing a bit with applying chef cookbooks locally, without a chef server and found that version of Chef from Ubuntu repo is way too low for normal operation in local mode.

# apt-cache policy chef
chef:
  Installed: 11.8.2-2
date = ""
  Version table:
 *** 11.8.2-2 0
        500 http://us.archive.ubuntu.com/ubuntu/ trusty/universe amd64 Packages

There is a bug resolved in recent versions of Chef related to the way in which chef-zero parses json files. If there is metadata.json file instead of metadata.rb in a cookbook chef-zero fails to parse this file expecting just a filename instead of full file content.

OpenStack Icehouse Reset Incorrect Quota Count for Nova

Sometimes when VM is deleted in not-so-correct way quota counters displayed in Dashboard => Project => Overview may not update correctly as well.

You may see that number of VMs/vcpus/RAM for tenant displayed on this page does not match actual values. For example it may display “Instances used 8 of 10” while you have only 5 VMs in this tenant.

Some Library Cookbooks Already Rely on ‘Sensitive’ Method

Recently participated in Chef cookbook upgrades. One of cookbooks depends on library rabbitmq cookbook => 3.1

The problem is that recent versions of rabbitmq cookbook (after 3.3.0) rely on newer chef-cient functionality and if you have chef-clients version < 11.14.0 installed on nodes chef-client run will fail and you will see the following error in the log:

undefined method `sensitive' for Chef::Resource::Template