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

copy_file_range unable to copy file from overlay file system, when file originated from non-overlay file system #2715

Closed
ericsciple opened this issue Jan 4, 2022 · 45 comments

Comments

@ericsciple
Copy link

What happened:

  • Using copy_file_range, copy a file from a non-overlay file system, to the overlay file system
  • Then attempt to copy the file again, from the overlay file system, to another location on the overlay file system
  • When attempting the second file copy, copy_file_range cannot copy the file and always copies 0 bytes

What you expected to happen:

copy_file_range is able to copy the file

How to reproduce it (as minimally and precisely as possible):

Anything else we need to know?:

Key details:

  • Reproduces on AKS and EKS (not minikube and not docker)
  • Uses copy_file_range to perform the copy
  • Copy a file from non-overlay file system to overlay file system, then from overlay file system to another location on the overlay file system (always copies 0 bytes)
  • This simple repro demonstrates that non-overlay -> overlay -> overlay fails, but we also see the same issue when attempting non-overlay -> overlay -> non-overlay

Environment:

  • Kubernetes version (use kubectl version)
    • azure cloud shell
  • Size of cluster (how many worker nodes are in the cluster?)
    • 1
  • General description of workloads in the cluster (e.g. HTTP microservices, Java app, Ruby on Rails, machine learning, etc.)
    • nothing, minimal repro
  • Others:
@ghost ghost added the triage label Jan 4, 2022
@ghost
Copy link

ghost commented Jan 4, 2022

Hi ericsciple, AKS bot here 👋
Thank you for posting on the AKS Repo, I'll do my best to get a kind human from the AKS team to assist you.

I might be just a bot, but I'm told my suggestions are normally quite good, as such:

  1. If this case is urgent, please open a Support Request so that our 24/7 support team may help you faster.
  2. Please abide by the AKS repo Guidelines and Code of Conduct.
  3. If you're having an issue, could it be described on the AKS Troubleshooting guides or AKS Diagnostics?
  4. Make sure your subscribed to the AKS Release Notes to keep up to date with all that's new on AKS.
  5. Make sure there isn't a duplicate of this issue already reported. If there is, feel free to close this one and '+1' the existing issue.
  6. If you have a question, do take a look at our AKS FAQ. We place the most common ones there!

@ericsciple
Copy link
Author

This comment may be related. If so, I wonder whether AKS would need to update to future version of linux to receive the fix?

@ghost ghost added the action-required label Jan 7, 2022
@ghost
Copy link

ghost commented Jan 7, 2022

Triage required from @Azure/aks-pm

@phealy
Copy link
Contributor

phealy commented Jan 7, 2022

Per this comment the bug was backported into the Ubuntu 5.4 kernel, which is the base for the Ubuntu 5.4.0-azure kernel, which is what AKS nodes use. Once the upstream packages are fixed the patch will get into our next OS update image.

@ethomson
Copy link

Hi @phealy, I wanted to check in on this. It looks like there's been little to no activity on the Ubuntu bug 1953199. Does this mean that AKS instances are still susceptible to this bug?

@ethomson
Copy link

ethomson commented Feb 3, 2022

Despite that, it looks like this is all resolved in newer images - I'm not able to repro this on Linux 5.4.0-1067-azure #70~18.04.1-Ubuntu SMP. Does that sound right to you @phealy?

@ghost ghost added the action-required label Mar 1, 2022
@ghost
Copy link

ghost commented Mar 6, 2022

Action required from @Azure/aks-pm

@ghost ghost added the Needs Attention 👋 Issues needs attention/assignee/owner label Mar 6, 2022
@ghost
Copy link

ghost commented Mar 21, 2022

Issue needing attention of @Azure/aks-leads

12 similar comments
@ghost
Copy link

ghost commented Apr 5, 2022

Issue needing attention of @Azure/aks-leads

@ghost
Copy link

ghost commented Apr 20, 2022

Issue needing attention of @Azure/aks-leads

@ghost
Copy link

ghost commented May 5, 2022

Issue needing attention of @Azure/aks-leads

@ghost
Copy link

ghost commented May 21, 2022

Issue needing attention of @Azure/aks-leads

@ghost
Copy link

ghost commented Jun 5, 2022

Issue needing attention of @Azure/aks-leads

@ghost
Copy link

ghost commented Jun 20, 2022

Issue needing attention of @Azure/aks-leads

@ghost
Copy link

ghost commented Jul 5, 2022

Issue needing attention of @Azure/aks-leads

@ghost
Copy link

ghost commented Jul 20, 2022

Issue needing attention of @Azure/aks-leads

@ghost
Copy link

ghost commented Aug 4, 2022

Issue needing attention of @Azure/aks-leads

@ghost
Copy link

ghost commented Aug 19, 2022

Issue needing attention of @Azure/aks-leads

@ghost
Copy link

ghost commented Sep 3, 2022

Issue needing attention of @Azure/aks-leads

@ghost
Copy link

ghost commented Sep 19, 2022

Issue needing attention of @Azure/aks-leads

@ghost
Copy link

ghost commented Oct 19, 2022

Issue needing attention of @Azure/aks-leads

@ethomson
Copy link

This is definitely fixed. Please just close this so that I stop getting spammed for an azure PM to pay attention?

@ghost
Copy link

ghost commented Nov 3, 2022

Issue needing attention of @Azure/aks-leads

18 similar comments
@ghost
Copy link

ghost commented Nov 19, 2022

Issue needing attention of @Azure/aks-leads

@ghost
Copy link

ghost commented Dec 4, 2022

Issue needing attention of @Azure/aks-leads

@ghost
Copy link

ghost commented Dec 19, 2022

Issue needing attention of @Azure/aks-leads

@ghost
Copy link

ghost commented Jan 3, 2023

Issue needing attention of @Azure/aks-leads

@ghost
Copy link

ghost commented Jan 18, 2023

Issue needing attention of @Azure/aks-leads

@ghost
Copy link

ghost commented Feb 3, 2023

Issue needing attention of @Azure/aks-leads

@ghost
Copy link

ghost commented Feb 18, 2023

Issue needing attention of @Azure/aks-leads

@ghost
Copy link

ghost commented Mar 5, 2023

Issue needing attention of @Azure/aks-leads

@ghost
Copy link

ghost commented Mar 20, 2023

Issue needing attention of @Azure/aks-leads

@ghost
Copy link

ghost commented Apr 4, 2023

Issue needing attention of @Azure/aks-leads

@ghost
Copy link

ghost commented Apr 19, 2023

Issue needing attention of @Azure/aks-leads

@ghost
Copy link

ghost commented May 5, 2023

Issue needing attention of @Azure/aks-leads

@ghost
Copy link

ghost commented May 20, 2023

Issue needing attention of @Azure/aks-leads

@ghost
Copy link

ghost commented Jun 4, 2023

Issue needing attention of @Azure/aks-leads

@ghost
Copy link

ghost commented Jun 19, 2023

Issue needing attention of @Azure/aks-leads

@ghost
Copy link

ghost commented Jul 4, 2023

Issue needing attention of @Azure/aks-leads

@ghost
Copy link

ghost commented Jul 20, 2023

Issue needing attention of @Azure/aks-leads

@ghost
Copy link

ghost commented Aug 4, 2023

Issue needing attention of @Azure/aks-leads

Copy link
Contributor

This issue has been automatically marked as stale because it has not had any activity for 60 days. It will be closed if no further activity occurs within 15 days of this comment.

@microsoft-github-policy-service microsoft-github-policy-service bot added the stale Stale issue label Feb 2, 2024
Copy link
Contributor

Issue needing attention of @Azure/aks-leads

Copy link
Contributor

Thanks for reaching out. I'm closing this issue as it was marked with "Fix released" and it hasn't had activity for 7 days.

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

No branches or pull requests

4 participants