ceph: osd: fix wrong log file path on host

Log file path on host for OSDs was dataDirHostPath/log/<namespace>
instead of dataDirHostPath/<namespace>/log as with other daemons.

Signed-off-by: Blaine Gardner <blaine.gardner@suse.com>
This commit is contained in:
Blaine Gardner committed 2019-10-15 10:10:06 -06:00
1 parent fdd92ec883
commit 3584e8ccce
2 files changed
+5 -2

No files matched your search

+1 -1
View File
@@ -102,7 +102,7 @@ func PodVolumes(dataDirHostPath, namespace string, confGeneratedInPod bool) []v1
return []v1.Volume{
{Name: k8sutil.DataDirVolume, VolumeSource: dataDirSource},
configVolume,
StoredLogVolume(path.Join(dataDirHostPath, "log", namespace)),
StoredLogVolume(path.Join(dataDirHostPath, namespace, "log")),
}
}