osism / issues

This repository is used for bug reports that are cross-project or not bound to a specific repository (or to an unknown repository).
https://www.osism.tech
1 stars 1 forks source link

Fix Cinder api Apache error_log #677

Open nerdicbynature opened 1 year ago

nerdicbynature commented 1 year ago

Hi,

we have two Cinder api issues:

Firstly, Cinder reports the following line massively in /var/log/kolla/cinder/cinder-api-error.log

2023-09-19 06:28:06.943166 /var/lib/kolla/venv/lib/python3.10/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of is_admin. This key is deprecated. Please update your policy file to use the standard policy values.

It looks like that every Cinder api request produces this message. This leads to a massive error_log file with unimportant data.

Secondly, it seems that the Apache reports the real important problems only inside the Docker container

docker exec -ti cinder_api tail -1 /var/log/apache2/error.log
[Tue Sep 19 06:31:00.226460 2023] [mpm_event:error] [pid 7:tid 140602020247424] AH00484: server reached MaxRequestWorkers setting, consider raising the MaxRequestWorkers setting

Kind regards, André.

berendt commented 3 months ago

Firstly, Cinder reports the following line massively in /var/log/kolla/cinder/cinder-api-error.log

2023-09-19 06:28:06.943166 /var/lib/kolla/venv/lib/python3.10/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of is_admin. This key is deprecated. Please update your policy file to use the standard policy values.

It looks like that every Cinder api request produces this message. This leads to a massive error_log file with unimportant data.

This will be fixed with https://github.com/osism/issues/issues/641.