Merge "support stevedore >= 0.14"
Make service workers gracefully handle service creation race

Right now, service workers can race to create their service record
in the database. This makes a NotFound...Exists pattern not fail
when the service record shows up due to a successful sibling.

Change-Id: I3e912beeb953c85189f44171d958e9402abc01ae
Add Network object

This adds a Network object to provide services and modeling
for nova-network and its use of the current SQLAlchemy Network
model.

Related to blueprint nova-network-objects

Change-Id: I7f943cda32fc98b3b03cdbb5d68e0c741053afaa
Make obj_to_primitive() handle netaddr types

This makes base.obj_to_primitive() handle netaddr.IPAddress() and
netaddr.IPNetwork() objects so that they properly become strings
in the primitive format, which provides compatibility with existing
network dicts.

Related to blueprint nova-network-objects

Change-Id: I098d775a2a792073b2777495d665846f399ecf3e
Make nova-network use Network to create networks

This makes nova-network manager use the Network.create() method
to do the work of creating networks. It also makes the rpcapi
use the NovaObjectSerializer since this is the first change that
makes nova-network return or take an object via RPC.

Related to blueprint nova-network-objects

Change-Id: Ida9a05ac249ff168075f87e5dbdad6bc23e69561
disk/api.py: refactors extends and adds missing tests

The method extend does not log any information if there is a
problem during the resize with "resize2fs".

This patch refactor extend and adds missing tests.

Change-Id: I81079a79e0449381440f202f6143b48f96453a11
Related-Bug: #1270086
Merge "Improve error message in services API"
VMware: Only include connected hosts in cluster stats

Currently the driver includes all hosts connected to VC
(including disconnected hosts) when calculating available
vcpus. The patch enforces that the reported available stats
only include resources of hosts that are connected to the
VC.

Note: A host can be connected to a VC, but have a disconnected
host state

Change-Id: Iba9d80f894cc2b7471a7f9c87b7367fd93bacb48
Closes-Bug: 1257998
Merge "Increase the default retry for iscsi connects"
Merge "hyperv: Retry after WMI query fails to find dev"
Merge "Fix race conditions between imagebackend and imagecache"
Merge "Add alias as prefix for flavor_rxtx v3"
Minor changes to make certificates test cases use HTTPRequestV3

The existing certificates test in v3 API version test correctly
but it use HTTPRequest keyword inside its test cases and has v2
keyword. Though it will not affect the test, change to HTTPRequestV3
will be helpful in the future.

Change-Id: I0992152e56a3f5b5972e48cb6cda16ef39cacdd2
Catch NotImplementedError in get_spice_console in v2/v3 API

Currently get_spice_console doesn't catch NotImpelementedError
and it will lead to inaccurate information returned back
to API caller. This patch adds the catch exception routine and
returns a HTTPNotImplemented excpetion.

Closes-Bug: #1279195
Change-Id: I16cb0a83c0e1aa9a041dd21af324a39388ca3bb8
Fix init of pci_stats in resource tracker

Because pci_stats is list of dict, i.e., [{}, {}, ...],
if pci_stats is null, its field should be '[]' not '{}'.

When making object models, we found this bug in PCI stuffs.

Related to blueprint pci-extra-info.

Change-Id: I06564cb541b050060e87fd3d334299df66f23dec
Docker Set Container name to Instance ID

Docker has named container since 0.7. In order to make it easier for the
admin to troubleshoot and find container set the container name to the nova
instance UUID. Addtional the name is prefixed with nova.

Example: nova-d7553842-2424-4471-98a7-92a1db70033b

DocImpact - Docker driver requires Docker 0.7 or newer.

Change-Id: I4f12734663e726b08f53400fdfcfb8d31401490d
Blueprint:
https://blueprints.launchpad.net/nova/+spec/docker-name-instance-id
Do not set root device for libvirt+Xen

Currently we are setting the root device for Xen when using libvirt.
When a user is booting an image that contains a full partitioned disk it
fails, since the root device will be passed as "root=/dev/whatever" as
the cmdline to the booting kernel.

Closes-Bug: 1253626
Change-Id: Ia5e3ee8891759c68ee51b219d1a7f80d0afbeffc
Error message is malformed when removing a sec group from an instance

In the current code the Error message string for a security group which is not
associated with an instance does not get expanded correctly, resulting in users
getting a message:

ERROR: [u'Security group %(security_group_name)s not assocaited with the
instance %(instance)s', {u'instance': u'71069945-5bea-4d53-b6ab-9026bfeebba4',
u'security_group_name': u'phil'}]

In addition fix a minor typo in this message, and clean up a few cases where
error messages are not being passed through _() for i18n.

Change-Id: I85856a135a62bc3415a355e0900ea12ea55f73ae
Closes-Bug: #1273266
Merge "Allow deleting instances while uuid lock is held"
Adds ephemeral_key_uuid field to instance

Patch adds a field to instance for storing the uuid of
the key used to encrypt instance's ephemeral storage.

Implements: blueprint encrypt-ephemeral-storage
Change-Id: Id5b1e272d4461875bb231839e4714d3ed0899d3f