Catch volume errors during local delete

The delete code in compute/manager.py has a catch-all exception
handler for any volume related errors that occur during deletion.
This change brings the local_delete() method in compute/api.py
in line with that.

Fixes bug: 1224546

Change-Id: I399075f29d202355b28e7da1b2f1a29a66c86a4e
Merge "Catch volume errors during local delete"
xenapi: refactor: move UpdateGlanceImage to common

During the review of https://review.openstack.org/41651 it was
recommended to move UpdateGlanceImage to a common library. A bug was
filed to deal with the refactors. This change fixes the first part.

Fixes bug 1220596

Change-Id: I95ae89525b7e6768c5a70364945d5a10cb906d88
xenapi: refactor: move RawTGZImage to common

During the review of https://review.openstack.org/40909 it was
requested, that the RawTGZImage class should be moved to a common
territory, so that others can re-use it later.

Fixes bug 1220596

Change-Id: I0f186c2f81edbd546c0a24d66e4b9c1626373b12
XenAPI: Fix translation of metadetails in aggregates

https://review.openstack.org/#/c/43157/ added a translation from the sqlalchemy model to
the instance object replacing metadetails with metadata.

This added more traces in general for XenAPI (when we queried whether we were using
aggregates) and actually broke the host aggregate functionality

Change-Id: I87195753931945b6e1ecf75bc81575a6fa03068e
Closes-bug: 1232179
xenapi: post install scriptlet to rpm

A post install script that creates the /images directory on xenserver,
and sets up the trust relationship.

Change-Id: Id57e3a3ab2782550468c6aa4c01059ceb7cc81ab