Add keystoneclient to pip-requires

As of I788300449e37ba1732f6482ebce5f480a2c14a41, we pull the auth_token
middleware from keystoneclient. (added to keystoneclient in version 0.2.0)

Change-Id: Ide0d562d96e5e426f9c7e532251efd57a0964f11
Change all tenants servers listing as policy-based

Currently when list servers from all tenants (i.e. --all-tenants is set as 1
when "nova list"), privilege is required.

However, computer pollster in ceilometer need to get all instances from
all tenants in one host. Granting admin privilege to the pollster is
not very secure.

All tenants servers list should be policy-based, instead of requiring
admin privelege.

There is one potential backward compatibility. With all_tenants specified,
non-admin accounts will get back owned servers only without this patch,
however it will get policy exception now if policy checking failed. IMHO
the new behaviour makes more sense.

Change-Id: I8f1f064434ab12b6c0cd636f84dfc1b6a9b2fc90
Signed-off-by: Yunhong, Jiang <yunhong.jiang@intel.com>
Allow VMs to be resumed after a hypervisor reboot

Fixes bug 1052696.

Update the compute manager to pass network_info and block_device_info
to the driver.resume() and update all virtualization drivers to accept
the new arguments.

For libvirt, change resume() to use _create_domain_and_network()
rather than _create_domain(). This eliminates the assumption that the
network and block device connections remained in place from the period
between the VM being suspended and resumed.  Instead, all the
networking and block connections will be rebuilt on resume (in case
they are missing) as is the case after a hypervisor reboot.

Change-Id: I6e19ec42f7e929678abce8f276c0a6e91f1fa8af
Adds API for bulk creation/deletion of floating IPs

This adds an extension that provides a REST API for the bulk creation,
deletion and listing of floating IPs. The interface is accessed via

/v2/{tenant_id}/os-floating-ips-bulk

This forms part of the work to provide APIs for functionality currently
implemented by nova-manage that needs direct db access so nova-manage
can eventually be removed

Implements: blueprint apis-for-nova-manage
DocImpact

Change-Id: I621e2b070a896f7230cdf3f26f78ded85e72cf16
Use more specific SecurityGroupHandler calls

Instead of calling trigger_security_group_members_refresh,
have NetworkManager and derived classes call more specific
methods when an instance is created or destroyed.

Methods such as the trigger_instance_add_security_group_refresh
and trigger_instance_remove_security_group_refresh,
instead of just having trigger_security_group_members_refresh
get called and forcing implementors to try and figure out if
it's an add or delete

blueprint trigger-specific-sgh-functions

Change-Id: Iefef9180972db3277ae6fc0c2c9abf518b00e2a4
Cells: Re-add DB model and calls

Implements blueprint nova-compute-cells

Change-Id: I5e254988f3dd17cd1147b6c2d0372e3bb6fe6937
Don't hard code the xen hvmloader path.

Both Ubuntu and Debian place the hvmloader in a
different path which depends on the version is installed.
The reason why this done is so you can different versions
of Xen installed.

As a result change the hvmloader to a configurable option
for libvirt called xen_hvmloader_path.

Change-Id: Ic407d14f56a2518de4cd4ab8872ac2055d20adcd
Signed-off-by: Chuck Short <chuck.short@canonical.com>
Remove stale flags unit tests

The tests in test_flags don't test any Nova specific code. At this point
they just test a fairly random set of cfg use cases that are already
covered by cfg's unit tests.

Change-Id: I752d9676824eb479fcaef2c89a0a42fcfab45f8c
Added cpu_info report to HyperV Compute driver

It fixes bug 1082275

The current version of the HyperV Compute driver wasn't returning
CPU information when it reported its resources.

In order to solve it, this patch extracts the cpu properties
from WMI and Win32 calls.

Change-Id: I5c2a89b5e432f4e958354a15582258d4cff83658
nova-dhcpbridge should require the FLAGFILE is set

We always launch dnsmasq with FLAGFILE set, so something is very broken
if FLAGFILE isn't set when nova-dhcpbridge is launched.

Also, the fallback to CONF.dhcpbridge_flagfile is a little strange - at
this point, we haven't parsed any config files so the only possible
value of this config option is its default value.

There's no real need to gracefully handle this condition either - a
KeyError is a straightforward enough error.

Change-Id: I734d7b739f17c8a9ab48d8ba13baacff3f00e1c4
Encode consoleauth token in utf-8 to make it a str

Fix for lp:1057279.

Change-Id: I9da0fd42e919aca0075613c4930ebfc3cf425349
maint: remove an unused import from libvirt.utils

errno is no longer used since folsom-2-1095-ge88218e

Change-Id: I28702b3cd5e98b42172a45592954b9ba98bb5972
Merge "Encode consoleauth token in utf-8 to make it a str"
Merge "Add keystoneclient to pip-requires"
Merge "Remove stale flags unit tests"
Merge "nova-dhcpbridge should require the FLAGFILE is set"
Merge "maint: remove an unused import from libvirt.utils"
Cleanup compute multi-node assignment of node

Move assignment of the node field on the instance to the compute host
to be more consistent with how the host field is assigned and handled
by the resource tracker.

Change-Id: Id3086585a99350abbab387932e689825b33ab6b5
Merge "Allow VMs to be resumed after a hypervisor reboot"
Rename instance_info_cache unique key constraints.

Rename (via drop and recreate) the instance_uuid unique
constraints on the instance_info_cache table so they reflect
the column change name (UUID conversion) we complete in Folsom.

Fixes LP Bug #1080837.

Change-Id: I9dd01ebc896c1d7b51c212980e48db16bad18dec