Skip to content

Conversation

@sergey-buturlakin
Copy link

This PR fixes the issue with forever repeating error message:

image

The first error in the log occurs because of multiple Update events (in our case two) with directpv.min.io/purge-protection finalizer in the finalizers list.
The rest of errors in the log caused by processing Delete event with the empty finalizers list.

@balamurugana
Copy link
Member

@sergey-buturlakin Have you tested the PR?

@sergey-buturlakin
Copy link
Author

@sergey-buturlakin Have you tested the PR?

Yes. In two different clusters:

  • test: K8s Rev: v1.34
  • prod replica: K8s Rev: v1.32

I plan to keep running the updated version on the replica cluster for several days and then apply to production (the change is minor and looks safe).

@sergey-buturlakin
Copy link
Author

As I see there is an issue with docker image build. On our side we use oraclelinux:8-slim as base image (this also remove the need to add Alma Linux repo to install xfsprogs). This is our Dockerfile:

FROM oraclelinux:8-slim

RUN microdnf update --nodocs && \
    microdnf install xfsprogs --nodocs && \
    microdnf clean all

WORKDIR /

COPY directpv /directpv
COPY CREDITS /licenses/CREDITS
COPY LICENSE /licenses/LICENSE

ENTRYPOINT ["/directpv"]

I understand that Oracle could be a triggering word for many, but their Linux is free, is RHEL downstream (same as Rocky and Alma), Oracle Cloud is extensively using Oracle Linux (so it sounds logical that this Linux distro is well maintained).
Is there a chance that you could consider using it as base image?

@balamurugana
Copy link
Member

@sergey-buturlakin No. I have to use official UBI only.

@balamurugana
Copy link
Member

Handled in PR #1014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants