Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

I think the cause of this phenomenon is the version of mariaDB. MariaDB was updated from 10.4.12 to 10.4.13 at 20200512. For trial, after downgrading from MariaDB 10.4.13 to MariaDB 10.4.12, HTTP500 error has no longer occurs.

I had been so happy because the HTTP500 error has disappeared, but now I am very disappointed. Because other problems have occurred.

~~~~ ~$. admin_openrc ~$ . admin-openrc ~$ openstack coe service list 'errors' ~~~~

[Error log of /var/log/magnum$ vi magnum-api.log]

On instance['identity']['password']['user']['password']:
    None (HTTP 400) (Request-ID: req-63030f38-c783-4197-a62b-fac884029693): keystoneauth1.exceptions.http.BadRequest: Invalid input for field 'identity/password/user/password': None is not of type 'string'
2020-06-01 09:56:31.527 6642 WARNING keystonemiddleware.auth_token [-] Identity response: {"error":{"code":400,"message":"Invalid input for field 'identity/password/user/password': None is not of type 'string'\n\nFailed validating 'type' in schema['properties']['identity']['properties']['password']['properties']['user']['properties']['password']:\n    {'type': 'string'}\n\nOn instance['identity']['password']['user']['password']:\n    None","title":"Bad Request"}}
: keystoneauth1.exceptions.http.BadRequest: Invalid input for field 'identity/password/user/password': None is not of type 'string'
2020-06-01 09:56:31.527 6642 CRITICAL keystonemiddleware.auth_token [-] Unable to validate token: Failed to fetch token data from identity server: keystonemiddleware.auth_token._exceptions.ServiceError: Failed to fetch token data from identity server
2020-06-01 09:56:31.532 6642 INFO werkzeug [-] 10.12.38.95 - - [01/Jun/2020 09:56:31] "GET /v1/mservices HTTP/1.1" 503 -
2020-06-01 10:02:22.583 6873 WARNING keystonemiddleware.auth_token [-] Using the in-process token cache is deprecated as of the 4.2.0 release and may be removed in the 5.0.0 release or the 'O' development cycle. The in-process cache causes inconsistent results and high memory usage. When the feature is removed the auth_token middleware will not cache tokens by default which may result in performance issues. It is recommended to use  memcache for the auth_token token cache by setting the memcached_servers option.
2020-06-01 10:02:22.612 6873 ERROR keystonemiddleware.auth_token [-] Bad response code while validating token: 400 Invalid input for field 'identity/password/user/password': None is not of type 'string'

Failed validating 'type' in schema['properties']['identity']['properties']['password']['properties']['user']['properties']['password']:
    {'type': 'string'}

On instance['identity']['password']['user']['password']:
    None (HTTP 400) (Request-ID: req-9721179a-20c4-4d30-9be0-b3470aeaedaf): keystoneauth1.exceptions.http.BadRequest: Invalid input for field 'identity/password/user/password': None is not of type 'string'
2020-06-01 10:02:22.612 6873 WARNING keystonemiddleware.auth_token [-] Identity response: {"error":{"code":400,"message":"Invalid input for field 'identity/password/user/password': None is not of type 'string'\n\nFailed validating 'type' in schema['properties']['identity']['properties']['password']['properties']['user']['properties']['password']:\n    {'type': 'string'}\n\nOn instance['identity']['password']['user']['password']:\n    None","title":"Bad Request"}}
: keystoneauth1.exceptions.http.BadRequest: Invalid input for field 'identity/password/user/password': None is not of type 'string'
2020-06-01 10:02:22.613 6873 CRITICAL keystonemiddleware.auth_token [-] Unable to validate token: Failed to fetch token data from identity server: keystonemiddleware.auth_token._exceptions.ServiceError: Failed to fetch token data from identity server
2020-06-01 10:02:22.617 6873 INFO werkzeug [-] 10.12.38.95 - - [01/Jun/2020 10:02:22] "GET /v1/mservices HTTP/1.1" 503 -

I think the cause of this phenomenon is the version of mariaDB. MariaDB was updated from 10.4.12 to 10.4.13 at 20200512. For trial, after downgrading from MariaDB 10.4.13 to MariaDB 10.4.12, HTTP500 error has no longer occurs.

I had been so happy because the HTTP500 error has disappeared, but now I am very disappointed. Because other problems have occurred.

~~~~ ~$. admin_openrc ~$ . admin-openrc ~$ openstack coe service list 'errors' ~~~~

[Error log of /var/log/magnum$ vi magnum-api.log]

On instance['identity']['password']['user']['password']:
    None (HTTP 400) (Request-ID: req-63030f38-c783-4197-a62b-fac884029693): keystoneauth1.exceptions.http.BadRequest: Invalid input for field 'identity/password/user/password': None is not of type 'string'
2020-06-01 09:56:31.527 6642 WARNING keystonemiddleware.auth_token [-] Identity response: {"error":{"code":400,"message":"Invalid input for field 'identity/password/user/password': None is not of type 'string'\n\nFailed validating 'type' in schema['properties']['identity']['properties']['password']['properties']['user']['properties']['password']:\n    {'type': 'string'}\n\nOn instance['identity']['password']['user']['password']:\n    None","title":"Bad Request"}}
: keystoneauth1.exceptions.http.BadRequest: Invalid input for field 'identity/password/user/password': None is not of type 'string'
2020-06-01 09:56:31.527 6642 CRITICAL keystonemiddleware.auth_token [-] Unable to validate token: Failed to fetch token data from identity server: keystonemiddleware.auth_token._exceptions.ServiceError: Failed to fetch token data from identity server
2020-06-01 09:56:31.532 6642 INFO werkzeug [-] 10.12.38.95 - - [01/Jun/2020 09:56:31] "GET /v1/mservices HTTP/1.1" 503 -
2020-06-01 10:02:22.583 6873 WARNING keystonemiddleware.auth_token [-] Using the in-process token cache is deprecated as of the 4.2.0 release and may be removed in the 5.0.0 release or the 'O' development cycle. The in-process cache causes inconsistent results and high memory usage. When the feature is removed the auth_token middleware will not cache tokens by default which may result in performance issues. It is recommended to use  memcache for the auth_token token cache by setting the memcached_servers option.
2020-06-01 10:02:22.612 6873 ERROR keystonemiddleware.auth_token [-] Bad response code while validating token: 400 Invalid input for field 'identity/password/user/password': None is not of type 'string'

Failed validating 'type' in schema['properties']['identity']['properties']['password']['properties']['user']['properties']['password']:
    {'type': 'string'}

On instance['identity']['password']['user']['password']:
    None (HTTP 400) (Request-ID: req-9721179a-20c4-4d30-9be0-b3470aeaedaf): keystoneauth1.exceptions.http.BadRequest: Invalid input for field 'identity/password/user/password': None is not of type 'string'
2020-06-01 10:02:22.612 6873 WARNING keystonemiddleware.auth_token [-] Identity response: {"error":{"code":400,"message":"Invalid input for field 'identity/password/user/password': None is not of type 'string'\n\nFailed validating 'type' in schema['properties']['identity']['properties']['password']['properties']['user']['properties']['password']:\n    {'type': 'string'}\n\nOn instance['identity']['password']['user']['password']:\n    None","title":"Bad Request"}}
: keystoneauth1.exceptions.http.BadRequest: Invalid input for field 'identity/password/user/password': None is not of type 'string'
2020-06-01 10:02:22.613 6873 CRITICAL keystonemiddleware.auth_token [-] Unable to validate token: Failed to fetch token data from identity server: keystonemiddleware.auth_token._exceptions.ServiceError: Failed to fetch token data from identity server
2020-06-01 10:02:22.617 6873 INFO werkzeug [-] 10.12.38.95 - - [01/Jun/2020 10:02:22] "GET /v1/mservices HTTP/1.1" 503 -

I feel heven and hell.