-
Notifications
You must be signed in to change notification settings - Fork 70
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
dest snapshot wait for readyToUse=true #1520
base: main
Are you sure you want to change the base?
dest snapshot wait for readyToUse=true #1520
Conversation
Signed-off-by: Tesshu Flower <[email protected]>
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: tesshuflower The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #1520 +/- ##
=======================================
- Coverage 66.2% 66.2% -0.1%
=======================================
Files 57 57
Lines 7474 7484 +10
=======================================
+ Hits 4950 4955 +5
- Misses 2236 2240 +4
- Partials 288 289 +1
|
manually build the image and overwrote the helmchart value to use it
and the issue still persists for me of note, did not use the makefile to build it but did the docker-buildx steps from the makefile manually build it while removing --platform from the first line and removing the -tags "${tags_arg}" from the go build, since with this in docker buildx did not compile |
That's unfortunate - and might possibly point to some issue with the storage provider? I've been assuming the issue is around deleting the PVC the volumesnapshot was taken from, and then trying to use the volumesnapshot (create a PVC from this snapshot) and somehow it doesn't work. However, there's still a couple things:
|
@tesshuflower As for why i did not use the make docer build is since i need to crosscompile it to both amd and arm, and make docker-buildx was not spinning up the actual command but was complaining about missing go binary, so manualy did the steps specified in the make file |
Signed-off-by: Tesshu Flower <[email protected]>
Quality Gate passedIssues Measures |
Thanks for that - I don't necessarily see anything wrong in the logs. I pushed another commit to my branch with some debug logging - would it be possible to try again with the latest in my branch? Additionally - when you do hit the error - I've been assuming the issue is with the PVC from snapshot itself? (i.e. the volumepopulator pvc). This PVC is really just creating a PVC from the snapshot in the |
ill test it in a bit, but before what i forgot to mention in my last comment, is the behavior changed a bit now, the vs-prime no longer exists, and it releases the pvc, however when looking at the pvc data it is 0B, so nothing was populated, and the pvc is still stuck in maintenance mode |
think i got it, cant replicate the issue anymore, seems i found a second bug if the snapshot size is 0, seems it is not unlocking the pvc, is this intentional?(happens once every 10 runs) @tajinder400 could you try it with your setup and post the result |
@bornav Sorry to say I don't get consistent results with this. I've been testing by destroying then deploying 3 different services at the same time. I've found that 2/3 times it'll create volsync-src which has data in it. but the PVC which attaches directly to the container is completely empty. This is me just using your image and using this exactly how I might normally use it. Bulk redeployments. |
but is this the same behavior as before or is this different from what happens on the official release version? here is the manifest that with while true loop for over 1k iterations did not fail once
|
Yes, it's the same behavior as with the normal release. The only difference between your options and mine is the enableFileDeletion tag in mine is enabled If there's specific log output that would be helpful here let me know. |
one thing im interested in, you mention they are completely empty, so the pvc-s are created, and released, and pods spin up with them attached? |
Firstly, I'll ask which UI you're talking about, since I think we're looking at difference things which makes it a bit difficult to align. Secondly, you're mostly right, from my perspective volsync-src is empty, and the services which are trying to start waiting for their PVC are permanently in a ContainerCreating stating or Pending. I've been monitoring this directly in the longhorn webui. If you're looking elsewhere, I can also re-test and check there to give results in the same format you're getting. |
by ui i ment the longhorn ui, and yes this is what i ment, so they are stuck in pending/containerCreating, which correlates with the second "bug" that started happening
but tldr seems it is still broken |
Describe what this PR does
When reconciling the snapshot on the destination side, wait for
status.ReadyToUse
to get set totrue
.Is there anything that requires special attention?
Related issues:
#1504