Add plug-in modules for direct downloads of glance locations.

Bug #1202891 reported by OpenStack Infra
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
openstack-manuals
Fix Released
Medium
Andreas Jaeger

Bug Description

https://review.openstack.org/37817
commit 4818e7d661054560ffad503b3dc61929d233b8fc
Author: John Bresnahan <email address hidden>
Date: Thu Jul 18 10:39:33 2013 -1000

    Add plug-in modules for direct downloads of glance locations.

    Glance can expose direct URL locations to its clients. In current
    versions of nova the only URL that can be accessed directly is file://.
    This patch adds a notion of download plug-ins. With this new download
    protocol modules can be added to without disruption to the rest of the
    code base. Based on the scheme of the URL returned from Glance a
    plug-in will be loaded and used to download the data directly, instead
    of first routing it through Glance. If anything fails in the process
    the image will be downloaded by way of Glance.

    To add a new download handler one must create a file with a JSON
    document in it. The document must have the following:
    {
        'scheme': <a string representing the scheme this plug-in handles>
                  ex: 'file',
        'module': <a python module path to the download handler class>

        # the remaining entries are defined by the plug-ins specific needs
    }
    The path to this file is then added to the new option: download_modules.

    Additionally, as part of the multiple-locations work in Glance meta data
    comes back with each locations describing that location. As an example,
    this is needed for direct access to file URLs. Nova cannot assume that
    every file URL is accessible on its mounted file systems, nor can it
    assume that the mount points are the same. This patch solves that
    problem for direct access to files.

    docImpact
    blueprint: image-multiple-location

    Change-Id: I79b863c0075cebaadce5b630f22b81d2959ddbb1

Tags: nova
Tom Fifield (fifieldt)
Changed in openstack-manuals:
milestone: none → havana
Tom Fifield (fifieldt)
Changed in openstack-manuals:
status: New → Confirmed
importance: Undecided → Medium
Tom Fifield (fifieldt)
Changed in openstack-manuals:
milestone: havana → juno
Tom Fifield (fifieldt)
Changed in openstack-manuals:
assignee: nobody → Tom Fifield (fifieldt)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to openstack-manuals (master)

Fix proposed to branch: master
Review: https://review.openstack.org/107889

Changed in openstack-manuals:
status: Confirmed → In Progress
Changed in openstack-manuals:
assignee: Tom Fifield (fifieldt) → Andreas Jaeger (jaegerandi)
Changed in openstack-manuals:
assignee: Andreas Jaeger (jaegerandi) → Gauvain Pocentek (gpocentek)
Changed in openstack-manuals:
assignee: Gauvain Pocentek (gpocentek) → Andreas Jaeger (jaegerandi)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to openstack-manuals (master)

Reviewed: https://review.openstack.org/107889
Committed: https://git.openstack.org/cgit/openstack/openstack-manuals/commit/?id=bd4a5fcfcb56439861698b42dff9329a49daaa95
Submitter: Jenkins
Branch: master

commit bd4a5fcfcb56439861698b42dff9329a49daaa95
Author: Tom Fifield <email address hidden>
Date: Thu Jul 17 21:10:14 2014 -0700

    Explain how image download works to compute nodes

    This patch adds a new section to the cloud admin guide that explains
    the various features that affect how an image is downloaded to a compute
    node.

    Change-Id: I2bc3bdacf58815584a538de1663fd1bdb2944b5c
    Closes-Bug: 1202891

Changed in openstack-manuals:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/openstack-manuals 15.0.0

This issue was fixed in the openstack/openstack-manuals 15.0.0 release.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.