Rancher2.6.3的logging功能创建日志功能启动的pod rancher-logging-fluentd-configcheck报错is not writable

podname=rancher-logging-fluentd-configcheck-5e82f48e,错误信息:
fluentd -c /fluentd/etc/fluent.conf --dry-run
Thu, Apr 28 2022 5:49:43 pm 2022-04-28 09:49:43 +0000 [info]: parsing config file is succeeded path="/fluentd/etc/fluent.conf"
Thu, Apr 28 2022 5:49:43 pm 2022-04-28 09:49:43 +0000 [info]: gem ‘fluent-mixin-config-placeholders’ version ‘0.4.0’
Thu, Apr 28 2022 5:49:43 pm 2022-04-28 09:49:43 +0000 [info]: gem ‘fluent-plugin-aws-elasticsearch-service’ version ‘2.4.1’
Thu, Apr 28 2022 5:49:43 pm 2022-04-28 09:49:43 +0000 [info]: gem ‘fluent-plugin-azure-storage-append-blob’ version ‘0.2.1’
Thu, Apr 28 2022 5:49:43 pm 2022-04-28 09:49:43 +0000 [info]: gem ‘fluent-plugin-cloudwatch-logs’ version ‘0.14.2’
Thu, Apr 28 2022 5:49:43 pm 2022-04-28 09:49:43 +0000 [info]: gem ‘fluent-plugin-concat’ version ‘2.5.0’
Thu, Apr 28 2022 5:49:43 pm 2022-04-28 09:49:43 +0000 [info]: gem ‘fluent-plugin-datadog’ version ‘0.14.0’
Thu, Apr 28 2022 5:49:43 pm 2022-04-28 09:49:43 +0000 [info]: gem ‘fluent-plugin-dedot_filter’ version ‘1.0.0’
Thu, Apr 28 2022 5:49:43 pm 2022-04-28 09:49:43 +0000 [info]: gem ‘fluent-plugin-detect-exceptions’ version ‘0.0.13’
Thu, Apr 28 2022 5:49:43 pm 2022-04-28 09:49:43 +0000 [info]: gem ‘fluent-plugin-elasticsearch’ version ‘5.1.1’
Thu, Apr 28 2022 5:49:43 pm 2022-04-28 09:49:43 +0000 [info]: gem ‘fluent-plugin-enhance-k8s-metadata’ version ‘2.0.0’
Thu, Apr 28 2022 5:49:43 pm 2022-04-28 09:49:43 +0000 [info]: gem ‘fluent-plugin-gcs’ version ‘0.4.0’
Thu, Apr 28 2022 5:49:43 pm 2022-04-28 09:49:43 +0000 [info]: gem ‘fluent-plugin-gelf-hs’ version ‘1.0.8’
Thu, Apr 28 2022 5:49:43 pm 2022-04-28 09:49:43 +0000 [info]: gem ‘fluent-plugin-geoip’ version ‘1.3.2’
Thu, Apr 28 2022 5:49:43 pm 2022-04-28 09:49:43 +0000 [info]: gem ‘fluent-plugin-grafana-loki’ version ‘1.2.16’
Thu, Apr 28 2022 5:49:43 pm 2022-04-28 09:49:43 +0000 [info]: gem ‘fluent-plugin-kafka’ version ‘0.17.2’
Thu, Apr 28 2022 5:49:43 pm 2022-04-28 09:49:43 +0000 [info]: gem ‘fluent-plugin-kinesis’ version ‘3.4.1’
Thu, Apr 28 2022 5:49:43 pm 2022-04-28 09:49:43 +0000 [info]: gem ‘fluent-plugin-kube-events-timestamp’ version ‘0.1.3’
Thu, Apr 28 2022 5:49:43 pm 2022-04-28 09:49:43 +0000 [info]: gem ‘fluent-plugin-kubernetes-metadata-filter’ version ‘2.5.3’
Thu, Apr 28 2022 5:49:43 pm 2022-04-28 09:49:43 +0000 [info]: gem ‘fluent-plugin-kubernetes-sumologic’ version ‘2.0.0’
Thu, Apr 28 2022 5:49:43 pm 2022-04-28 09:49:43 +0000 [info]: gem ‘fluent-plugin-label-router’ version ‘0.2.10’
Thu, Apr 28 2022 5:49:43 pm 2022-04-28 09:49:43 +0000 [info]: gem ‘fluent-plugin-logdna’ version ‘0.4.0’
Thu, Apr 28 2022 5:49:43 pm 2022-04-28 09:49:43 +0000 [info]: gem ‘fluent-plugin-logzio’ version ‘0.0.21’
Thu, Apr 28 2022 5:49:43 pm 2022-04-28 09:49:43 +0000 [info]: gem ‘fluent-plugin-multi-format-parser’ version ‘1.0.0’
Thu, Apr 28 2022 5:49:43 pm 2022-04-28 09:49:43 +0000 [info]: gem ‘fluent-plugin-newrelic’ version ‘1.2.1’
Thu, Apr 28 2022 5:49:43 pm 2022-04-28 09:49:43 +0000 [info]: gem ‘fluent-plugin-oss’ version ‘0.0.2’
Thu, Apr 28 2022 5:49:43 pm 2022-04-28 09:49:43 +0000 [info]: gem ‘fluent-plugin-parser-logfmt’ version ‘0.0.0’
Thu, Apr 28 2022 5:49:43 pm 2022-04-28 09:49:43 +0000 [info]: gem ‘fluent-plugin-prometheus’ version ‘2.0.2’
Thu, Apr 28 2022 5:49:43 pm 2022-04-28 09:49:43 +0000 [info]: gem ‘fluent-plugin-record-modifier’ version ‘2.1.0’
Thu, Apr 28 2022 5:49:43 pm 2022-04-28 09:49:43 +0000 [info]: gem ‘fluent-plugin-redis’ version ‘0.3.5’
Thu, Apr 28 2022 5:49:43 pm 2022-04-28 09:49:43 +0000 [info]: gem ‘fluent-plugin-remote-syslog’ version ‘1.1’
Thu, Apr 28 2022 5:49:43 pm 2022-04-28 09:49:43 +0000 [info]: gem ‘fluent-plugin-rewrite-tag-filter’ version ‘2.4.0’
Thu, Apr 28 2022 5:49:43 pm 2022-04-28 09:49:43 +0000 [info]: gem ‘fluent-plugin-s3’ version ‘1.6.1’
Thu, Apr 28 2022 5:49:43 pm 2022-04-28 09:49:43 +0000 [info]: gem ‘fluent-plugin-splunk-hec’ version ‘1.2.7’
Thu, Apr 28 2022 5:49:43 pm 2022-04-28 09:49:43 +0000 [info]: gem ‘fluent-plugin-sqs’ version ‘3.0.0’
Thu, Apr 28 2022 5:49:43 pm 2022-04-28 09:49:43 +0000 [info]: gem ‘fluent-plugin-sumologic_output’ version ‘1.7.3’
Thu, Apr 28 2022 5:49:43 pm 2022-04-28 09:49:43 +0000 [info]: gem ‘fluent-plugin-syslog_rfc5424’ version ‘0.9.0.rc.8’
Thu, Apr 28 2022 5:49:43 pm 2022-04-28 09:49:43 +0000 [info]: gem ‘fluent-plugin-tag-normaliser’ version ‘0.1.1’
Thu, Apr 28 2022 5:49:43 pm 2022-04-28 09:49:43 +0000 [info]: gem ‘fluent-plugin-throttle’ version ‘0.0.5’
Thu, Apr 28 2022 5:49:43 pm 2022-04-28 09:49:43 +0000 [info]: gem ‘fluent-plugin-webhdfs’ version ‘1.5.0’
Thu, Apr 28 2022 5:49:43 pm 2022-04-28 09:49:43 +0000 [info]: gem ‘fluentd’ version ‘1.13.3’
Thu, Apr 28 2022 5:49:43 pm 2022-04-28 09:49:43 +0000 [info]: gem ‘fluentd’ version ‘1.12.2’
Thu, Apr 28 2022 5:49:43 pm 2022-04-28 09:49:43 +0000 [info]: starting fluentd-1.13.3 as dry run mode ruby=“2.7.4”
Thu, Apr 28 2022 5:49:44 pm 2022-04-28 09:49:44 +0000 [error]: config error file="/fluentd/etc/fluent.conf" error_class=Fluent::ConfigError error=“out_file: /var/log/logging/file/a/.202204280940_**.log is not writable”

从这个日志看,应该是日志目录缺少权限,写不进去,试试修改目录的权限?