To enable debug logging for the Tungsten Fabric (TF) services:
Open the TF custom resource for modification:
kubectl -n tf edit tfoperators.operator.tf.mirantis.com openstack-tf
Specify the LOG_LEVEL
variable with the SYS_DEBUG
value
for the required TF service. For example, for the config-api
service:
spec:
controllers:
tf-config:
api:
containers:
- name: api
env:
- name: LOG_LEVEL
value: SYS_DEBUG
Warning
After the TF custom resource modification, the pods
related to the affected services will be restarted. This rule does not
apply to the tf-vrouter-agent-<XXXXX>
pods as their update strategy
differs. Therefore, if you enable the debug logging for the services in
a tf-vrouter-agent-<XXXXX>
pod, restart this pod manually after you
modify the custom resource.