coraid: allow setting default repository

Bug #1380023 reported by OpenStack Infra
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
openstack-manuals
Fix Released
Low
Tom Fifield

Bug Description

https://review.openstack.org/125640
commit a368376053484b382f93a622c38483981b9e8347
Author: Roman Bogorodskiy <email address hidden>
Date: Wed Oct 1 08:15:14 2014 +0000

    coraid: allow setting default repository

    Currently, the Coraid driver requires storing Storage Repository
    name in volume type key named 'coraid_repository' or different key name
    if a value of the 'coraid_repository_key' option changed in the cinder
    configuration file.

    In case of creating a volume without volume type associated or creating
    a volume with volume type that doesn't have an appropriate key with
    the repository name, volume creation fails.

    That is an inconvenient behaviour, especially in case of using that with
    Tempest that creates new volume types but obviously doesn't know
    that it should add keys with the repository name.

    In order to fix that, introduce a 'coraid_default_repository' config
    option that allows to set a default repository to use if one is not
    specified in the volume type key.

    In case if neither volume type nor config file provide a repository
    name, throw CoraidException with description of the problem.

    DocImpact

    Change-Id: Ib205553cdee0af0036a774f6926433f4452ec023

Revision history for this message
Tom Fifield (fifieldt) wrote :

This should be picked up in the next run of autogenerate-config-docs

Changed in openstack-manuals:
milestone: none → kilo
importance: Undecided → Low
status: New → Triaged
tags: added: autogenerate-config-docs
Revision history for this message
Tom Fifield (fifieldt) wrote :

This was picked up by the recent autogenerate-config-doc run.

Changed in openstack-manuals:
assignee: nobody → Tom Fifield (fifieldt)
status: Triaged → Fix Released
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.