Bug 2007128
| Summary: | Uploading images fails with error "Cannot get 'write' permission without 'resize': Image size is not a multiple of request alignment" | ||
|---|---|---|---|
| Product: | Container Native Virtualization (CNV) | Reporter: | nijin ashok <nashok> |
| Component: | Storage | Assignee: | Alexander Wels <awels> |
| Status: | CLOSED INSUFFICIENT_DATA | QA Contact: | Kevin Alon Goldblatt <kgoldbla> |
| Severity: | medium | Docs Contact: | |
| Priority: | high | ||
| Version: | 2.6.10 | CC: | alitke, awels, cnv-qe-bugs, fdeutsch, yadu |
| Target Milestone: | --- | ||
| Target Release: | 4.10.0 | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2022-03-09 13:20:17 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
nijin ashok
2021-09-23 08:07:39 UTC
Alexander, it seems we may need that block size detection code after all. I don't know if I want to revive it, it doesn't work on NFS for instance, it only worked for local storage. Ok, which block size should we align to in order to satisfy all users? Looking at the bug description, this is similar but not the same as the alignment bug we fixed. It seems to fail on the initial conversion and not the resize part (which is the part we fixed). Without seeing the entire log I am unsure if it failed on the conversion or resize step. So looking at the bug description again, I think I am going to agree with the submitter that we already mitigated the problem when switching cache mode. The problem occurred in the conversion step from the scratch space to the target volume. That is now no longer using direct io, so we should be good. I am going to move this to on qe so it can be retested. @nashok Hi, can you give us any additional information regarding the setup of the storage class on 'Azure files'. How did they configure the "Azure files" to 1MB block size Also the output of: oc get sc oc get sc <azure-storage> -oyaml we believe we have fixed this issue, but we are unable to verify since we don't have an env where we can reproduce |