Freezer dashboard none not of type string
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kolla-ansible |
New
|
Undecided
|
Unassigned |
Bug 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.
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': '0dd5b40f61c144
'freezer_action': {'action': 'backup',
'max_retries': 0,
'max_retries_
'project_id': '96d55c41d2094f
'user_id': '240c5b223f324b
I have a similar error
2022-07-13 09:15:22.934 39 DEBUG keystoneauth. session [req-b87a8c14- 21f3-424c- b192-2b61d3a202 46 - - - - -] RESP BODY: {"token": {"methods": ["token", "password"], "user": {"domain": {"id": "default", "name": "Default"}, "id": "35e7b114eaa44b 5db1e3596338b2c d86", "name": "admin", "password_ expires_ at": null}, "audit_ids": ["_KDqFbO1Sg26Q rxFKBSqWQ" , "xFfJ-NOgSXy_ aQM3zWDj0Q" ], "expires_at": "2022-07- 14T01:03: 30.000000Z" , "issued_at": "2022-07- 13T01:15: 22.000000Z" , "project": {"domain": {"id": "default", "name": "Default"}, "id":"24edd907c f934f9886ac5c7a 8f1fd378" , "name": "admin"}, "is_domain": false, "roles": [{"id": "8fb2d5863d6541 70add58dd8a9c69 a11", "name": "admin"}, {"id": "adb2a5bd6ac847 7bb450e9f766d0f 3cf", "name": "reader"}, {"id": "ca54011243c444 7cbb86c7dbdc932 0aa", "name": "heat_stack_ owner"} , {"id": "d070a74ff5d949 1f8770a4b6817fa b5f", "name": "member"}], "catalog": "<removed>"}} _http_log_response /var/lib/ kolla/venv/ lib/python3. 6/site- packages/ keystoneauth1/ session. py:582 session [req-b87a8c14- 21f3-424c- b192-2b61d3a202 46 - - - - -] GET call to identity forhttps: //osk.99bill. com:5000/ v3/auth/ tokens used request id req-7d8ab912- 7e68-40f0- 9194-9b5c099cca 29 request /var/lib/ kolla/venv/ lib/python3. 6/site- packages/ keystoneauth1/ session. py:961 api.api. common. utils [req-5c9a1b51- daf0-495e- 99b1-4ceae7fd05 05 - - - - -] Request context set daf0-495e- 99b1-4ceae7fd05 05 - - - - -] enforce: rule="clients: get_all" creds={ "auth_token" : "***", "domain": null, "global_ request_ id": null, "is_admin": false, "is_admin_project": true, "project": null, "project_domain": null, "read_only": false, "request_id": "req-5c9a1b51- daf0-495e- 99b1-4ceae7fd05 05", "resource_uuid": null, "roles": ["admin", "reader", "heat_stack_owner", "member"], "show_deleted": false, "system_scope": null, "tenant": null, "user": null, "user_domain": null, "user_identity": "- - - - -"} target={} enforce /var/lib/ kolla/venv/ lib/python3. 6/site- packages/ oslo_policy/ policy. py:1005 api.api. common. utils [req-a916b16b- cacc-40f4- a75a-25ffe6116d 62 - - - - -] Request context set cacc-40f4- a75a-25ffe6116d 62 - - - - -] enforce: rule="jobs:create" creds={ "auth_token" : "***", "domain": null, "global_ request_ id": null, "is_admin": false, "is_admin_project": true, "project": null, "project_domain": null, "read_only": false, "request_id": "req-a916b16b- cacc-40f4- a75a-25ffe6116d 62", "resource_uuid": null, "roles": ["admin", "reader", "heat_stack_owner", "member"], "show_deleted": false, "system_scope": null, "tenant": null, "user": null, "user_domain": null, "user_identity": "- - - - -"} target={} enforce /var/lib/ kolla/venv/ lib/python3. 6/site- packages/ oslo_policy/ policy. py:1005 cacc-40f4- a75a-25ffe6116d 62 - - - - -] None is not of type 'string': jsonschema. exceptions. ValidationError : None is not of type 'string'
2022-07-13 09:15:22.934 39 DEBUG keystoneauth.
2022-07-13 09:15:22.937 39 INFO freezer_
2022-07-13 09:15:22.938 39 DEBUG oslo_policy.policy [req-5c9a1b51-
2022-07-13 09:15:23.061 36 INFO freezer_
2022-07-13 09:15:23.062 36 DEBUG oslo_policy.policy [req-a916b16b-
2022-07-13 09:15:23.077 36 ERROR root [req-a916b16b-