Correct CEPH_POOL_BACKUP_PG_NUM name to fix python module error

The correct name should be CEPH_POOL_BACKUP_CHUNK_SIZE.

Closes-Bug: 1900710

Change-Id: Ie3aa2c6009cc626c2224ea464e8bea8c719316a3
Signed-off-by: Shuicheng Lin <shuicheng.lin@intel.com>
This commit is contained in:
Shuicheng Lin 2020-10-21 09:28:37 +08:00
parent a643665af4
commit e972af2ec6
1 changed files with 1 additions and 1 deletions

View File

@ -107,7 +107,7 @@ class CinderHelm(openstack.OpenstackBaseHelm):
pool_backup = {
'replication': replication,
'crush_rule': rule_name.encode('utf8', 'strict'),
'chunk_size': app_constants.CEPH_POOL_BACKUP_PG_NUM,
'chunk_size': app_constants.CEPH_POOL_BACKUP_CHUNK_SIZE,
'app_name': app_constants.CEPH_POOL_BACKUP_APP_NAME
}
pools['backup'] = dict(pool_backup)