diff --git a/blazar/plugins/oshosts/host_plugin.py b/blazar/plugins/oshosts/host_plugin.py index 0566b8fd..f61351f6 100644 --- a/blazar/plugins/oshosts/host_plugin.py +++ b/blazar/plugins/oshosts/host_plugin.py @@ -42,10 +42,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 diff --git a/devstack/plugin.sh b/devstack/plugin.sh index e097d3ef..88e9c71a 100644 --- a/devstack/plugin.sh +++ b/devstack/plugin.sh @@ -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