Set is_public to False by default for volume backed snapshots

This update results in the same behavior that is already implemented
in _create_image where the meta_data for is_public is set to False.

Change-Id: Ie0720d5c847871527db7d9477ca6cb05abe7a1a5
Closes-Bug: #1255316
Pass rbd_user id and conf path  as part of RBD URI for qemu-img

Unlike rados.py, qemu-img does not use id from CEPH_ARGS and has to be
given a ceph user id and conf path explicitly in RBD URI

Closes-Bug: #1261675
Change-Id: I9226515f2a860ed45d12012fd5b6bc7e842f6d32
Change RPC post_live_migration_at_destination from call to cast

We don't expect post_live_migration_at_destination to return anything,
so change call to cast.

Change-Id: Iccdb6e195d1d5d9b96e1372206823d414caae872
Extends V3 os-hypervisor api for pci support

All pci passthrough code is merged into nova, but the APIs do not support.
this patch extends os-hypervisor to show PCI information for instance and
compute node. This is a part of PCI APIs, for more information see the
blueprint.

Partially implement blueprint pci-api-support

Change-Id: Ia366df257f077c74b1a6639b7078ba4230d3f1a7
Remove unused copyright from nova.api.__init__

This patch removes unused license doc from nova/api/__init__.py.

Change-Id: I40b7dbce27ece7a56c9fd3186fa5c4a88623d32b
nova docker driver cannot find cgroup in /proc/mounts on RHEL

In order to support the docker hypervisor on rhel/centos or fedora
we had to adapt the function which resolves the cgroup path.

Change-Id: Ie24028f822d91d65d4f90a7941e7b11874a3b425
Closes-Bug: #1243101
Remove unused dict BYTE_MULTIPLIERS

Dict BYTE_MULTIPLIERS in nova/common/utils.py isn't used
anywhere, and nova/openstack/common/strutils.py includes
this dict, So we can use the one in oslo if we need. It's
safe to remove it now.

Change-Id: I6dde9d7edbaa5e1cbdd6790fe427249d4c2d41ab
Set objects indirection API in metadata service

Commit Ia12f48227eb2380f5da93313cd4045577d8857c9 introduces objects in
the metadata service.

As metadata service is supposed to be using the
conductor service for it's database access, we also need to set
nova.objects.baseNovaObject.indirection_api global to point to the
conductor API so that the object actions will be done by RPC to
conductor.

Change-Id: I7aae92c0074e72841aa6c654ad0ada25045863b1
Closes-bug: #1268665
VMware: upload images to temporary directory

The patch ensures that new images are uploaded to a defined
temporary directory instead of directly to the cache directory.

The reasons for this are as follows:
1. More than one nova-compute may try and upload the same image
to the datastore at the same time
2. If there are errors then the temporary folder can be purged
3. When the image is downloaded it will be moved to the cache
directory. Only once an image has been successfully downloaded
will it be moved. This will help with false positives with
cache image deletion

The first phase of blueprint vmware-image-cache-management.

Change-Id: I4f3ee90ae866583e8df782ff89d2b11bbebf9c39
Consolidate the blockdev related filters

Seeing a "/usr/local/bin/nova-rootwrap: Unauthorized command" error
in the logs when  "blockdev --flushbufs" is executed because of the
existing blockdev in compute.filters. We need to merge both into a
single RegExpFilter

Change-Id: Ic323ff00e5c23786a6e376e67a4ad08f92708aef
libvirt: Fix confusing use of mox.StubOutWithMock

The code was using a side effect of mox.StubOutWithMock to reset
libvirt_driver.LibvirtDriver._conn after a test before resetting it manually.
This code is shorter, and it's obvious what it does.

Change-Id: I78393f76e132397dd198ac4b6ff998c785ff5690
Merge "Pass rbd_user id and conf path  as part of RBD URI for qemu-img"
Merge "Set is_public to False by default for volume backed snapshots"
Merge "Consolidate the blockdev related filters"
Use oslo.rootwrap library instead of local copy

Remove rootwrap code copied from oslo-incubator, make the
nova-rootwrap console_script entrypoint point to oslo.rootwrap
code instead.

Change-Id: Iec7aaf2e1599b2faf403d11b779eeab199a89486
Implements: blueprint nova-oslo-rootwrap
Merge "libvirt: Fix confusing use of mox.StubOutWithMock"
Merge "Change RPC post_live_migration_at_destination from call to cast"
Merge "nova docker driver cannot find cgroup in /proc/mounts on RHEL"
Merge "Remove unused dict BYTE_MULTIPLIERS"
Merge "Set objects indirection API in metadata service"