Stop cap granting to empty pool when telemetry disabled

Attempt to not create GnocchiRbdPool pool when it is set to empty
string [1] resulted in related bug which was not resolved by
originally proposed fix [2].

1. https://review.openstack.org/#/c/575571
2. https://review.openstack.org/#/c/570043

Change-Id: Ie7a42822be89cced480302d40180b9972d191004
Closes-Bug: 1776987
This commit is contained in:
Giulio Fidente 2018-09-20 14:33:25 +02:00
parent 4fb146fb79
commit e0b52904c0
1 changed files with 4 additions and 1 deletions

View File

@ -271,7 +271,10 @@ resources:
- {get_param: CinderBackupRbdPoolName}
- {get_param: NovaRbdPoolName}
- {get_param: GlanceRbdPoolName}
- {get_param: GnocchiRbdPoolName}
- if:
- equals: [{get_param: GnocchiRbdPoolName}, '']
- []
- [{get_param: GnocchiRbdPoolName}]
# CinderRbdExtraPools is a list (do not indent further)
- {get_param: CinderRbdExtraPools}
- yaql: