bug #996880 change HostNotFound in hosts to HTTPNotFound

Change-Id: Ib8b7f1f26c2370e2a82b491d8774797985c0ae98
Handle missing server when getting security groups

Fix bug 1010486.

Treat InstanceNotFound as a 404 when querying the security groups of server
that does not exist. Also removes old exception translation, ApiError no
longer exists and NotAuthorized shouldn't need handling at this level.
Includes tweak suggested by Mark McLoughlin in review.

Change-Id: Iaeada84dbadc232968f792c6f4855bf61cc5a5ae
moved update cache functionality to the network api

previously the network manager get_instance_nw_info
was responsible for updating the cache. This is to
prevent calling that function in a confusing way.

part 2 of this patch was fixing bug997763
floating_ip_associate was removed from the compute
api. network api associate is now called directly.
network api floating_ip functions now require
instance as an argument in order to update cache.

Change-Id: Ie8daa017b99e48769afbac4862696ef0a8eb1067
SM volume driver: DB changes and tests

Fixes the storage manager db api code in minor ways
like checking for duplicates during creation.
Adds tests for the storage manager db api.

Change-Id: I00f431ed9137b140f46b4e30cb953792d7307d22
Xen Storage Manager: tests for xensm volume driver

Change-Id: Ifebbdbf70152c5d6587dc26a8789150a7674a768
Add instance details to notifications

bug 1006120

Ceilometer needs to collect more data for determining the billing rate
for an instance. The most efficient way to get that data is to have it
included in the notifications sent by nova, rather than looking it up
after the notification is received.  This change adds details about the
location, size, and "type" of the instance to the existing notification
data. It also organizes the set of values into groups and adds comments
to clarify those groupings.

Change-Id: I01b7b550b0c4a5da1cc0dc764c9a6cb0161bf7e5
Fix missing import in compute/utils.py

Fixes bug 1014829

Change-Id: Id4c9225b4b2cec81519155ab660370be4448e366
Merge "bug #996880 change HostNotFound in hosts to HTTPNotFound"
Merge changes Ifebbdbf7,I00f431ed

* changes:
  Xen Storage Manager: tests for xensm volume driver
  SM volume driver: DB changes and tests
Propose nova-novncproxy back into nove core.

  * Use https://github.com/kanaka/websockify instead of wsproxy
    (which ships with noVNC)
  * Fixes bug 1001098
  * Looks for noVNC html files in /usr/share/novnc by default
  * Fix comments, and call utils.default_cfgfile()
  * use "except Exception"

Change-Id: I73dfe26fde699bb79aa1145bb1ab33f3a148bf21
Merge "moved update cache functionality to the network api"
Merge "Handle missing server when getting security groups"
Remove two obsolete libvirt cheetah templates from MANIFEST.in

The nova/virt/libvirt*.xml.template and nova/virt/cpuinfo.xml.template
files were deleted in earlier commits, so should no longer be listed
in the MANIFEST.in file

Change-Id: I3a840e6801d02293d0d6b4983d404c1652256cd2
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Move libvirt version comparison code into separate function helper

To help various areas of libvirt driver code to perform version
comparisons, move the libvirt version comparison code out of the
"init_host" method and into a seperate "has_min_version" helper
method

Change-Id: Idc54dceff7bda60e1459ebe7c9c60c869d15aedb
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Adjust the libvirt config classes' API contract for parsing

Don't not automatically invoke the 'parse_dom' method from
the LibvirtConfigObject constructor, because this is too
early in construction - no child class constructors have
initialized yet.

Instead require the 'parse_dom' method to be invoked after
the bare object has been constructed. Also make the default
impl of 'parse_dom' take an etree.Element instance and
validate its root element name. Add a convenient 'parse_str'
method for turning a XML string into an etree.Element
instance & parsing it.

Change-Id: I7eda2b59869f3b4ef9dce1602cbb05f7662f4528
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Merge "Fix missing import in compute/utils.py"
Merge "Remove two obsolete libvirt cheetah templates from MANIFEST.in"
Fix bug 1014925: fix os-hosts

List all hosts API.

Change-Id: I95231ac98223c7b8cc07e867283da8c8d90fed38
Spelling fixes

Change-Id: Id8e49b75821a1272a05ddb6c2cb8ee47ec15afdc
Merge "Adjust the libvirt config classes' API contract for parsing"