# File lib/openshift-origin-controller/app/models/cartridge_cache.rb, line 22
  def self.cartridges
    get_cached("all_cartridges", :expires_in => 21600.seconds) do
      OpenShift::ApplicationContainerProxy.find_one().get_available_cartridges
    end
  rescue OpenShift::NodeException => e
    Rails.logger.error "In \#{__FILE__} cartridges method:\nError while querying cartridge list. This may be because no node hosts responded.\nPlease ensure you have installed node hosts and they are responding to \"mco ping\".\nException was: \#{e.inspect}\n"
    return [ ]
  end