Symptom
Logs cannot be viewed in the OceanBase Cloud Platform (OCP) console during a task.
Possible causes
Check for the following possible causes:
The OCP instances do not have the write permission on the log directory.
The host disk is full.
Solutions
Solution if the OCP instances do not have the write permission on the log directory
If OCP is deployed in multi-instance mode, check the permissions of all OCP instances on the following files and directories:
Check whether the owner of /home/admin/logs and the ocp and task directories in the OCP container is admin:admin.
If not, run the
chown -R admin:admin /home/admin/logscommand to grant the permission on the file.
Solution if the disk is full
Clear unwanted files, such as expired logs, in the host disk. Note
After the fault is cleared, logs cannot be recorded for tasks with failed log recording attempts, but can be recorded for new tasks.