Use get_password method to obtain qpid password

Currently, qpid's password is stored in an attribute in the common
cookbook.  This change causes the password to be looked up via
get_password method, which is how we obtain the rabbitmq password.

Change-Id: I706f381e0e51bab204bae35aa9a634dad499b081
Implements: blueprint use-data-bag-for-qpid-password
Update stub_commands

Some spec tests are currently failing due to a change in
openstack-network (which this cookbook includes).  This change updates
the ovs-vsctl stub_commands to bring them in line with what's actually
being executed in openstack-network.

Change-Id: I65730f6fd7c96c8a850e66154b2939a349a5b563
Closes-Bug: #1289350
Add libvirt_inject_key attribute

This change makes nova setting libvirt_inject_key configurable,
defaulting to the OpenStack default (true).

Change-Id: Ie890666714d5857a8a88a17faf2c68ca775837e2
Merge "Use get_password method to obtain qpid password"
Support to configure VMware as nova compute driver

If set the compute driver as vmwareapi.VMwareESXDriver or
vmwareapi.VMwareVCDriver, we need provide the vmware configuration in
nova.conf

Implements: blueprint vmwareapi-support
Change-Id: I34a0769eda322f7081e09ae37b29e470313527a3
Refactoring ChefSpec tests

Change-Id: I85ea61fa5e3a9ae51b5f2be00bc7e81f87ddcd85
Addresses: blueprint refactor-spec-files
only include metadata recipe if asked for

Attribute 'enabled_apis' allows for metadata to be selected or not.
Only include the api-metadata recipe if it's been asked for.

Closes-Bug: 1286300

Change-Id: Ib0f89c9ccf05892840c39af0223985e0553593e6
Make the path in nova.conf configurable

Make the path in nova.conf configurable, in some cases like
if we want to use this cookbook's template to support installation
of nova-compute on windows platform.

Change-Id: I9adb2c03a428571a909d940b21b405301350e7a5
Add group permission for /etc/nova directory

Having a service program need to access /etc/nova/nova.conf file,
although the service program's service user has been added into the
"nova" service user, because /etc/nova folder permission has been set to
700 in nova-common recipe, thus the service program can not start. From
openstack-block-storage cookbook, it sets the /etc/cinder directly
permission as 750, I would think it's reasonable to grant the group
access to /etc/nova directory.

Closes-Bug: #1293956
Change-Id: I6d3ee5c424756fe11cefd425a3dddd3595b025d8
Add metering configuration for nova

There are various attributes that need to be configured for nova to
start posting notifications for ceilometer to keep track of things.

This patch adds those attributes, and it additionally adds a single
property that can be set to automatically set them all on with sensible
defaults as described here:
http://docs.openstack.org/developer/ceilometer/install/manual.html

Change-Id: I99efbe0eef739afd62cde90d17578bbd83330c36
Merge "only include metadata recipe if asked for"
Merge "Add metering configuration for nova"
Merge "Make the path in nova.conf configurable"
Fix log_dir bug

log_dir in nova.conf.erb should be
log_dir=<%= node["openstack"]["compute"]["log_dir"] %>

Change-Id: I984ae5b53b753692da95d262d182326eccd604bc
Closes-Bug: #1294521
Fix force_config_drive bug

force_config_drive is string in nova, it should be 'None' or 'always'.

Add mkisofs_cmd and injected_network_template options to support
config_drive.

Change-Id: I9fb72f13eaf7cfb6144e6e1933f69c6df64c9ec0
Use the library method auth_uri_transform

Use the library method auth_uri_transform to transform the auth uri
by the auth version.

Change-Id: Ia12d942ead55728deaac96ea6b5858d4c0bb01ba
Imlements: blueprint move-keystone-authtoken-move-auth-uri-logic
Really do include_recipe openstack-common::ceph_client

Now that it is merged in openstack-common, include the recipe that takes
care of the node being a proper ceph client.

Implements: blueprint rbd-for-block-storage
Change-Id: I8192fc45fca617e5e3ad3dc829ff5addba54b6c2
Merge "Fix force_config_drive bug"
Merge "Use the library method auth_uri_transform"
Fix DB2 ODBC driver installation issue

There is an LWRP in db2 cookbook to install ODBC driver,
so need to move this driver installation to db2 cookbook.

Change-Id: Id68d33bf6cbb086d4ef0ce536c2a6193b9674ada
Closes-bug: 1294376