osism / container-image-kolla-ansible

Container image which contains Ansible playbooks for deployment of OpenStack
https://www.osism.tech
Apache License 2.0
4 stars 6 forks source link

2023.2/2024.1: disable python deprecation warnings (pt. 2) #672

Closed berendt closed 1 month ago

berendt commented 2 months ago

Make it possible to set the environment variable PYTHONWARNINGS for all containers managed with the kolla_container Ansible module. Set to ignore::DeprecationWarning by default to disable all deprecation warnings.

Related to osism/issues#641

berendt commented 2 months ago

The current patch will not work. The /opt/configuration/environments/kolla/configuration.yml file is not available on the nodes itself.