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
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
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>
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"
add nova-manage bash completion script

Change-Id: I856349fb0b31f32ec4570c74ebceb3563fa22547
Merge "Add instance details to notifications"
Use rpc from openstack-common.

Final patch for blueprint common-rpc.

This patch removes nova.rpc in favor of the copy in openstack-common.

Change-Id: I9c2f6bdbe8cd0c44417f75284131dbf3c126d1dd
Merge "Fix bug 1014925: fix os-hosts"
Merge "add nova-manage bash completion script"
Admin action to reset states.

Adds an Admin API action to reset the state of an instance.  This will
at least allow easy clean-up from bugs which corrupt the state of an
instance and inhibit the owner of the instance from deleting it.

Change-Id: Ia059cbd643e24e04dede06da330f444d03b07674
Set libvirt_nonblocking to true by default for Folsom.

Make the fake libvirt module look more like the real module.

Change-Id: Ie03f24c6e5c3027d83d8f3d87d049f7f9df29e5b
Add instance_id in Usage API response.

Fixes bug 1003093.

Required to fix horizon bug 1003299.

Add the instance_id in the server usage
response. The value of the id is the UUID
of the instance.

Change-Id: I77e0f64db456b4c80a03fa922dd18146b94d1187
Make libvirt LoopingCalls actually wait()

 * Adds wait() to all the LoopingCall timers
 * Fixes loopingCalls in baremetal/proxy.py as well
 * Includes failing test to verify result from destroy
 * Fixes tests depending on improper behavior
 * Fixes bug 1015355

Change-Id: I9e1914c446170e49f0aab76c7745b55d12132425
Minor HACKING.rst exception fix

Change-Id: If7f7d57dd6c3d426ed6b29dc658a3ab964329644
fixes a bug in xenapi tests where a string should be int

Change-Id: I202fa5b20c78c02d1072bdae774d9f19e4044fe6
xenapi tests: changes size='0' to size=0

This could potentially cause a memory leak.

Change-Id: I46f0bc34598a9927767820b3616ced3b527a259f
Fix bug 1010581

Set shutdown_terminate to False by default.
Fix related tests.

Change-Id: I194ea7f01e375a93ff73ee1560589f0eadc1b965
do sync before fusermount to avoid busyness

Fix bug #1013689

Change-Id: I8ae786e105c08e1b5011a1b2a1dac048a710a1cb