Replaced codes which implemented code generation and used dynamic client to watch lvmvolume, lvmnode and lvmsnapshot cr
Replaced builder pattern by one func implementation which would create controller struct and return.
Added additional loggers to help debug event triggers.
Snapshot busylooping Fix:
We have changed the ratelimiter which was used in snapshot controller. This ratelimiter requeues failed items after 5 secs for first 12 attempts. Then objects are requeued after 30 secs. I had unloaded dm-snapshot kernel module to reproduce this. Attached logs from the relevant node plugin below.
@abhilashshetty04 -- All commits require a DCO signature. Commit e405d3c24f248bdd0eed5727f4a666c592ce5e55 is not signed. Also, please add a relevant PR description
Signed-off-by: Abhilash Shetty abhilashshetty@abhilashshetty-mbp1.local
Why is this PR required? What issue does it fix?:
What this PR does?:
Snapshot busylooping Fix: We have changed the ratelimiter which was used in snapshot controller. This ratelimiter requeues failed items after 5 secs for first 12 attempts. Then objects are requeued after 30 secs. I had unloaded dm-snapshot kernel module to reproduce this. Attached logs from the relevant node plugin below.
retrylogs.txt
Issues: