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.6.1][BUG] The feature of auto remount read only volume not work on a single node cluster. #7846

Closed
github-actions bot opened this issue Feb 5, 2024 · 2 comments
Assignees
Labels
kind/backport Backport request kind/bug reproduce/always 100% reproducible 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 severity/3 Function working but has a major issue w/ workaround
Milestone

Comments

@github-actions
Copy link

github-actions bot commented Feb 5, 2024

backport #7843

@github-actions github-actions bot added kind/backport Backport request kind/bug reproduce/always 100% reproducible 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 severity/3 Function working but has a major issue w/ workaround labels Feb 5, 2024
@github-actions github-actions bot added this to the v1.6.1 milestone Feb 5, 2024
@longhorn-io-github-bot
Copy link

longhorn-io-github-bot commented Feb 7, 2024

Pre Ready-For-Testing Checklist

  • Where is the reproduce steps/test steps documented?
    The reproduce steps/test steps are at:
  1. Create single node cluster curl -sfL https://get.k3s.io | INSTALL_K3S_VERSION=v1.28.5+k3s1 sh -s - --write-kubeconfig-mode 644
  2. Deploy Longhorn v.1.6.x head
  3. Create a single replica volume, attach to node with deployment, record the PVC name
  4. Find the PVC mount location mount | grep "/dev/longhorn/${VOLUME_NAME}"
    /host/var/lib/kubelet/plugins/kubernetes.io/csi/driver.longhorn.io/${VOLUME_NAME_HASH}/globalmount
  5. Remount PVC to read only by below command (remember the path ends with "globalmount" )
mount -o remount,ro /host/var/lib/kubelet/plugins/kubernetes.io/csi/driver.longhorn.io/${VOLUME_NAME_HASH}/globalmount
  1. The engine condition should back to FaileSystemReadOnly: false and the IO works in the workload

@yangchiu
Copy link
Member

yangchiu commented Mar 6, 2024

Verified passed on v1.6.x-head (longhorn-manager f542e20) following the test plan.

@yangchiu yangchiu closed this as completed Mar 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/backport Backport request kind/bug reproduce/always 100% reproducible 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 severity/3 Function working but has a major issue w/ workaround
Projects
None yet
Development

No branches or pull requests

3 participants