I am seeing these logs every minute in my stackdriver logs:
Adding existing user root to google-sudoers group.
Updating keys for user root.
Error updating SSH keys for root: mkdir /root/.ssh: read-only file system.
{
insertId: "11quvruflag2bb"
jsonPayload: {
localTimestamp: "2022-07-27T23:07:08.7247Z"
message: "Error updating SSH keys for root: mkdir /root/.ssh: read-only file system."
}
logName: "projects/{project-id}/logs/GCEGuestAgent"
receiveTimestamp: "2022-07-27T23:07:09.742723514Z"
resource: {2}
severity: "ERROR"
sourceLocation: {
file: "non_windows_accounts.go"
function: "main.(*accountsMgr).set"
line: "149"
}
timestamp: "2022-07-27T23:07:08.724856756Z"
}
edit: can I fix this, so the errors aren’t continuously logging?
edit 2: this is a Container Optimized OS