2022-01-20 05:05:53 |
alpha23 |
description |
Train centos/source
kolla-ansible 9.3.2
ansible 2.8.5
Creating an action in the freezer dashboard results in an incorrectly formatted json file resulting in the following error when trying to attach the action to a job: freezerclient.exceptions.ApiClientException: [*] Error 400: None is not of type 'string'
The following is the created action per the dashboard. Note the non-strings in the json file:
{'action_id': '0dd5b40f61c144efaa393db98bc4bd6a',
'freezer_action': {'action': 'backup',
'action_id': '0dd5b40f61c144efaa393db98bc4bd6a',
'backup_name': 'test011922',
'compression': 'gzip',
'container': 'freezer_backups',
'engine_name': 'tar',
'log_file': '/tmp',
'max_priority': True,
'mode': 'nova',
'no_incremental': True,
'nova_inst_id': 'a6c7b271-db0d-43de-8af1-0e1fdc55850a',
'os_identity_api_version': '3',
'priority': None,
'src_file': None,
'storage': 'swift',
'timeout': None},
'max_retries': 0,
'max_retries_interval': 0,
'project_id': '96d55c41d2094f679c37078b034f552e',
'user_id': '240c5b223f324b5b84471039304fc530'} |
Train centos/source
kolla-ansible 9.3.2
ansible 2.8.5
Creating an action in the freezer dashboard results in an incorrectly formatted json file resulting in the following error when trying to attach the action to a job: freezerclient.exceptions.ApiClientException: [*] Error 400: None is not of type 'string'
The following is the created action per the dashboard. Note the lack of strings. Also, timeout and priority need to be integers and not strings.
{'action_id': '0dd5b40f61c144efaa393db98bc4bd6a',
'freezer_action': {'action': 'backup',
'action_id': '0dd5b40f61c144efaa393db98bc4bd6a',
'backup_name': 'test011922',
'compression': 'gzip',
'container': 'freezer_backups',
'engine_name': 'tar',
'log_file': '/tmp',
'max_priority': True,
'mode': 'nova',
'no_incremental': True,
'nova_inst_id': 'a6c7b271-db0d-43de-8af1-0e1fdc55850a',
'os_identity_api_version': '3',
'priority': None,
'src_file': None,
'storage': 'swift',
'timeout': None},
'max_retries': 0,
'max_retries_interval': 0,
'project_id': '96d55c41d2094f679c37078b034f552e',
'user_id': '240c5b223f324b5b84471039304fc530'} |
|