openebs / zfs-localpv

Dynamically provision Stateful Persistent Node-Local Volumes & Filesystems for Kubernetes that is integrated with a backend ZFS data storage stack.
https://openebs.io
Apache License 2.0
389 stars 98 forks source link

High CPU usage / ZFSNode syncing error #420

Open hrenard opened 2 years ago

hrenard commented 2 years ago

What steps did you take and what happened: The zfs-localpv-node is permanetly using 1 CPU.

What did you expect to happen: Not using as much resources.

The output of the following commands will help us better understand what's going on: Gist

Anything else you would like to add: The process using the CPU:

/sbin/zfs list -s name -o name,guid,available -H -p

I suspect this error is related:

openebs-zfs-plugin E0618 16:31:28.546617       1 zfsnode.go:279] error syncing 'kube-system/lyriste': update zfs node kube-system/lyriste: Operation cannot be fulfilled on zfsnodes.zfs.openebs.io "lyriste": the object has been modified; please apply your changes to the latest version and try again, requeuing

Environment:

Abhinandan-Purkait commented 1 month ago

@hrenard We will test this out and post our findings here. Thanks