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

[BACKPORT][v1.5.4][BUG] When disabling revision counter, salvaging a faulty volume not work as expected #7732

Closed
github-actions bot opened this issue Jan 19, 2024 · 2 comments
Assignees
Labels
area/volume-salvage kind/backport Backport request kind/bug require/backport Require backport. Only used when the specific versions to backport have not been definied. require/qa-review-coverage Require QA to review coverage
Milestone

Comments

@github-actions
Copy link

backport #7714

@github-actions github-actions bot added area/volume-salvage kind/backport Backport request kind/bug require/backport Require backport. Only used when the specific versions to backport have not been definied. require/qa-review-coverage Require QA to review coverage labels Jan 19, 2024
@github-actions github-actions bot added this to the v1.5.4 milestone Jan 19, 2024
@longhorn-io-github-bot
Copy link

longhorn-io-github-bot commented Jan 23, 2024

Pre Ready-For-Testing Checklist

  • Where is the reproduce steps/test steps documented?
    The reproduce steps/test steps are at: see base issue [BUG] When disabling revision counter, salvaging a faulty volume not work as expected #7714

  • Is there a workaround for the issue? If so, where is it documented?
    The workaround is at:

  • Does the PR include the explanation for the fix or the feature?

  • Does the PR include deployment change (YAML/Chart)? If so, where are the PRs for both YAML file and Chart?
    The PR for the YAML change is at:
    The PR for the chart change is at:

  • Have the backend code been merged (Manager, Engine, Instance Manager, BackupStore etc) (including backport-needed/*)?
    The PR is at

  • Which areas/issues this PR might have potential impacts on?
    Area
    Issues

  • If labeled: require/LEP Has the Longhorn Enhancement Proposal PR submitted?
    The LEP PR is at

  • If labeled: area/ui Has the UI issue filed or ready to be merged (including backport-needed/*)?
    The UI issue/PR is at

  • If labeled: require/doc Has the necessary document PR submitted or merged (including backport-needed/*)?
    The documentation issue/PR is at

  • If labeled: require/automation-e2e Has the end-to-end test plan been merged? Have QAs agreed on the automation test case? If only test case skeleton w/o implementation, have you created an implementation issue (including backport-needed/*)
    The automation skeleton PR is at
    The automation test case PR is at
    The issue of automation test case implementation is at (please create by the template)

  • If labeled: require/automation-engine Has the engine integration test been merged (including backport-needed/*)?
    The engine automation PR is at

  • If labeled: require/manual-test-plan Has the manual test plan been documented?
    The updated manual test plan is at

  • If the fix introduces the code for backward compatibility Has a separate issue been filed with the label release/obsolete-compatibility?
    The compatibility issue is filed at

@roger-ryao
Copy link

Verified on v1.5.x-head 20240131

The test steps

Referencing the documentation node-disconnection and the enhancement related to revision counter disable support PR: 20200821-add-revision-counter-disable-support:

  1. Enable auto-salvage + DisableRevisionCounter.

    1. Disable the Revision Counter via the Longhorn UI.
    2. Deploy a new storage class: longhorn-test with disableRevisionCounter set to true in the parameters.
    parameters:
      numberOfReplicas: "3"
      disableRevisionCounter: "true"
      staleReplicaTimeout: "2880"
      fromBackup: ""
      fsType: "ext4"
    
  2. Deploy a PVC and POD using the pod_with_pvc.yaml example, replacing the storageClassName value with longhorn-test.

  3. Create a StatefulSet using a new storage class named longhorn-test and write data.

  4. Execute test case 3 under specific conditions.

Result Passed

  1. After enabling auto-salvage + DisableRevisionCounter, create, attach, and detach other volumes to the recovered node. All volumes should function correctly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/volume-salvage kind/backport Backport request kind/bug require/backport Require backport. Only used when the specific versions to backport have not been definied. require/qa-review-coverage Require QA to review coverage
Projects
None yet
Development

No branches or pull requests

3 participants