Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(topo): support old topology key for backward compatibility #320

Merged
merged 1 commit into from
May 4, 2021

Conversation

pawanpraka1
Copy link
Contributor

@pawanpraka1 pawanpraka1 commented May 4, 2021

Signed-off-by: Pawan pawan@mayadata.io

Why is this PR required? What issue does it fix?:

older version of velero uses openebs.io/nodename to set the affinity on the PV. To support backward compatibility, ZFS-LocalPV needs to support openebs.io/nodename as topology key.

The issue is there if someone is using old velero and did a fresh installation of ZFS-LocalPV, in that case velero will try to use the affinity key openebs.io/nodename but that will not be present on the node and pod will not be scheduled.

If someone was using old version of ZFS-LocalPV and upgraded to this new release, he will not face any issue as openebs.io/nodename will still be present and pod can be scheduled successfully.

@pawanpraka1 pawanpraka1 requested a review from kmova May 4, 2021 05:09
@pawanpraka1 pawanpraka1 added the bug Something isn't working. label May 4, 2021
@pawanpraka1 pawanpraka1 added this to the v1.7.0 milestone May 4, 2021
Signed-off-by: Pawan <pawan@mayadata.io>
@kmova kmova merged commit 0e6a02e into openebs:master May 4, 2021
@pawanpraka1 pawanpraka1 deleted the topo branch May 12, 2021 11:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants