Skip to content
This repository has been archived by the owner on May 11, 2021. It is now read-only.

scality/scality-glance-store

Repository files navigation

Scality Object Storage backend for OpenStack Glance

This package implements a back-end for OpenStack Glance storing objects in a Scality RING installation. It is compatible with Openstack Juno, Kilo and Liberty.

Installation

This package depends on Scality Sproxyd client, a Python client library for Scality Sproxyd connector. It must be installed before installing this package. Refer to the Scality Sproxyd client pages for installation.

  1. Download and uncompress the source code of this project. All the releases for this project can be found here.
  2. Install this package:

    python setup.py install
  3. Configure Glance API. Edit your glance-api.conf file to add the Scality backend to the list of known Glance stores:

    [glance_store]
    stores = glance.store.filesystem.Store,
             glance.store.scality.Store,
             glance.store.http.Store

    N.B This is a configuration example. Just make sure glance.store.scality.Store appears in the list of stores in the [glance_store] section of glance-api.conf.

  4. Configure the Sproxyd connectors to use. Edit glance-api.conf and add the list of your Sproxyd connectors configured to accept query by path in the [glance_store] section:

    [glance_store]
    scality_sproxyd_endpoints = http://4.5.9.2:81/proxy/chord_path/,http://4.5.9.4:81/proxy/arc_path/
  5. (optional) Use the Scality Store as the default image store. Newly uploaded Glance image will be stored in Scality Ring. As of OpenStack Kilo, the default store has to be set in both the DEFAULT section and the glance_store section (for compatibility reasons) of glance-api.conf.

    [DEFAULT]
    default_store = scality
    [glance_store]
    default_store = scality
  6. Restart the OpenStack Glance API system service.