Merge "Remove XML support from schemas v3"
Merge "Add V3 api for pci support"
Fixed spelling errors in nova

Change-Id: I2d9fc7278c96bcd9f7d50a1af6db6df56df28111
Remove __del__ usage in vmwareapi driver

The vmwareapi driver uses __del__ in an inappropriate way, which
causes spurious errors to be displayed at inconvenient times. The
python docs clearly detail the caveats of using __del__ (and even
provide a big red warning). This removes the offending code, which
can't work reliably anyway.

Closes-bug: 1262288
Change-Id: I50acb4f1e85650f4c6dffe1a1d25842601be96bf
Make floating_ips module use FloatingIP for associations

This makes the network.floating_ips module use the FloatingIP
object for association operations instead of direct database
access.

Related to blueprint nova-network-objects

Change-Id: I71db51e2ad3a79665140ef21b5960c1ff9ff3a05
Sync log.py from oslo

This change syncs log.py from oslo-incubator with commit
79e8a9a08daf563aa8a8d9280c9a6a27dcafc8f2

To honor RFC5424 add use_syslog_rfc_format config option
(default False, would be deprecated in J after existing
syslog format deprecation) which adds APP-NAME to syslog message
before MSG part to reflect application or service name.
Usable only with use_syslog, otherwise ignored.

During J, the default logging format for syslog should be changed
to always provide APP-NAME, thus use_syslog_rfc_format could be
deprecated in J as well.

Since the rootwrap code was graduating to a separate library,
so the rootwrap related change should just go into oslo.rootwrap
and when oslo.rootwrap is released, nova will pull in the library.

Change-Id: I6018c7322314a4b57052be1ec0fc5fa437069f44
Closes-bug: 904307
Catch InstanceNotFound exceptions for V2 API instance_actions

Use the common.get_instance method to get the instance object
in the V2 API instance_actions extension rather than call
the compute api directly. The utility function
handes InstanceNotFound exceptions and tranlsates them to HTTPNotFound
rather than letting them propagate up causing a traceback.

Co-Authored-By: Michael Still <mikal@stillhq.com>

Change-Id: I1e69fed0c7c0c611fcfd48abbd4b4e0b1c8b403f
Closes-Bug: 1271146
Adds create backup server extension for the V3 API

Moves create_backup functionality out of admin_actions
into its own extension. This is part of blueprint v3-admin-actions-split
which allows more selective enablement of features contained
in the admin actions extension.

Note that XML api samples are no longer generated because bp
remove-v3-xml-api has been approved.

Partially implements bp v3-api-admin-actions-split
DocImpact: Adds os-create-backup extension and moves the
create_backup functionality out of os-admin-actions into
this new extension.

Change-Id: I4858a06df20c552bd55ff2841adbcfc761304f42
Merge "Refactor driver BDM attach() to cover all uses"
Fix option indenting in compute manager

This patch fixes some indenting problems in the compute/manager.py
config option blocks.

Change-Id: I1f68e1393f1a171a7909a206f570b4eebcd4d2d9
adjust version definition for v3 to be only json

the version definition for the v3 API still publicized xml as
a supported mime type. We should not do that.

Part of bp remove-v3-xml-api

Change-Id: Iba87b7ee05f0a89a3f7051d4fea8a91635d7778d
Mark XML as deprecated in the v2 API

Log a warning the first time a server gets encoded as XML.
I didn't see an immediately obvious place to put this warning,
but anyone actually using XML will hit this code path, so it
seems fine to me.

Implements blueprint deprecate-xml-in-v2-api

DocImpact

Change-Id: I4acc15ce5f487738bb34a95c2261a5d05d827d8d
Partially revert "XenAPI: Monitor the GC when coalescing"

This partially reverts commit 270d4f1d6b100c802a65b31d35e406528aa7fd27.

The plugin has been left so the plugin version is not made incompatible
by removing a call, but the call to it from vm_utils has been removed.

I expect this call will be re-introduced in future when we have identified
the cause of the race condition and the appropriate usage.

The original fix was made to fix bug 1258169 where the number of attempts
made were not sufficient, so this revert does not reduce the number of
attempts.

Change-Id: I473b81b9970990b877d1886bb28a96888cc05f98
Closes-bug: 1282822
Periodic task poll_bandwidth_usage can use slave

Host instance lists will be retrieved from a slave
if the deployment has one configured. If no slave
 is configured behavoir remains the same.

There is still some more slaveification that can be
done with the bw_usage_cache queries. I've made notes
and also made a few changes to the db_api so that these
can be used when we get the necesssary bw_usage_cache
object created.

Change-Id: I4286f545573bf81cb036c29d48afa39a14cfad61
Partially-implments: bp-periodic-tasks-to-slave
Fix instance_get_all_by_host to actually use slave

This was not fully plumbed out in the original commit,
thus any calls to this method were not actually making
it to a slave.

Original commit: 62e9829c19e099e3a10b2b54954163b5e780363b

Change-Id: If5b807ff9b6801e6038501220e7b6a42bb6132dd
Add a new compute API method for deleting retired services

Services and related compute nodes cannot currently be deleted
from the command-line.  If a node is retired, the service list
will continue to show the retired services.

A delete service REST method has been added to the compute
APIs to support the command-line removal of retired services.

Blueprint: remove-nova-compute
Change-Id: I655a7f818bb59c8971feb5841feeefafc3a4580a
Flags: DocImpact
VMware: fix instance lookup against vSphere

Modifies the logic to search the vsphere vm for a given
instance. The change now makes use of the config.extraConfig
property to search for the instance.

Change-Id: Id11f44b9792f196ad627879d082ad829869efcdf
Closes-Bug: #1257038
Remove broken quota-classes API

It turns out os-quota-classes-sets never worked
(http://lists.openstack.org/pipermail/openstack-dev/2014-February/027574.html). Since this doesn't work no need to keep it around.

V3 removal: Id1f288baa723df825151bd84aa27089271c2b8e4
Original commit: I6b6477481187d16af225d33c1989430e4071d5a8

This patch just removes the API it doesn't remove the quota-class
internals, that will be done in a subsequent patch.

Change-Id: I1110022d6f628d03aaf363da707f2d2ef1600437
stop throwing deprecation warnings on init

We are directly subclassing object, which takes no args on __init__,
and indeed need not have __init__.  If we decide to, for some reason, add a
parent class to this method we might want to add this back, but we won't so we
don't need to care about that.

Change-Id: If58885515b9ae5c682d743dba8e4dfe6c9a5d1d9
Merge "Fixed check in image cache unit test"