utilize gluster as a backend for glance w/ direct access to glusterfs from Nova (no http get needed)
The solution to this will be broken down into steps. A more advanced solution will be worked on in parallel with a initial and incremental solution. For the initial solution we will achieve this functionality by requesting the direct_url location information from glance. If that information is available, and is pointing to a file url nova compute will perform a file copy. For the first patch we will make the assumption that the glance and nova compute share a file system that has the same name space. In incremental patches to come shortly after we will add functionality to glance such that it describes the name space of its file system and its mount point. Similar information must be added to nova compute so that a copy is only made if the name spaces match, and that the path can be adjusted for nodes that use different mount points.
An upstream patch has been posted here: https://review.openstack.org/#/c/37817/. If accepted it will complete this work.
An upstream patch has been approved here: https://review.openstack.org/#/c/37817/ This completes the code changes needed for this bug. Documentation will be needed as well.
This depends on updates to warlock and jsonschema (and new python-json* deps[2]) Related upstream bugs: https://bugs.launchpad.net/nova/+bug/1208656 https://bugs.launchpad.net/glance/+bug/1202391 [2] new python-json* Fedora Reviews: https://bugzilla.redhat.com/show_bug.cgi?id=982351 https://bugzilla.redhat.com/show_bug.cgi?id=982352
I got that wrong, jsonschema 1.3.0 should be enough, but 2.0.0 is also fine: https://github.com/openstack/requirements/commit/005fd50c2d4dc17be8204bbd15895e11445e43af
Documentation for how this works and how to test it can be found here: http://tropicaldevel.wordpress.com/2013/08/26/http-get-outta-here/
test run passed with 97% https://tcms.engineering.redhat.com/run/87714/ moving RFE to verified These are the bug lists opened and reported during the plan: https://bugzilla.redhat.com/buglist.cgi?bug_id=1020930%2C1016806%2C1019401%2C1015625%2C1019417%2C1020954%2C1015645%2C1016798&bugidtype=include&list_id=1820685
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHEA-2013-1859.html