Merge "Change the default value for the config blazar_az_prefix"

This commit is contained in:
Jenkins 2017-07-03 03:14:23 +00:00 committed by Gerrit Code Review
commit 206394d47a
2 changed files with 6 additions and 3 deletions

View File

@ -41,10 +41,9 @@ plugin_opts = [
deprecated_since='0.3.0',
help='Actions which we will use at the start of the lease'),
cfg.StrOpt('blazar_az_prefix',
default='blazar:',
default='blazar_',
deprecated_name='climate_az_prefix',
help='Prefix for Availability Zones created by Blazar'),
help='Prefix for Availability Zones created by Blazar')
]
CONF = cfg.CONF

View File

@ -84,6 +84,10 @@ function configure_blazar {
fi
iniadd $NOVA_CONF filter_scheduler available_filters "blazarnova.scheduler.filters.blazar_filter.BlazarFilter"
# TODO(hiro-kobayashi): This line should be deleted after the patch
# https://review.openstack.org/#/c/471590/ is merged.
iniadd $NOVA_CONF blazar:physical:host blazar_az_prefix blazar_
# Database
recreate_database blazar utf8