Bug 1899663 - [pvc-migrate] Source pvc's of specific size and usage can result in erroneously large PVCs dynamically provisioned on target (1Pi range)
Summary: [pvc-migrate] Source pvc's of specific size and usage can result in erroneous...
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Migration Toolkit for Containers
Classification: Red Hat
Component: General
Version: 1.3.z
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Pranav Gaikwad
QA Contact: Xin jiang
Avital Pinnick
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-11-19 18:17 UTC by Erik Nelson
Modified: 2024-03-25 17:10 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-04-07 20:38:18 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Erik Nelson 2020-11-19 18:17:31 UTC
Description of problem:

This is a pvc-migrate bug and not a problem with mtc-proper: https://github.com/konveyor/pvc-migrate/issues/147

It's been observed that source pvcs of specific sizes/usage can result in pvs of  size Pi (petabyte) being delivered. When pvc-migrate recognizes that the usage of a pvc on the source could breach the requested size (in the case where the volume has been resized outside of k8s), it will bias the requested pv on the target to account. This is known as the volume adjustment. In the observed case, volumes of >1Ti were in use, so this number was adjusted when requested on the target to something on the order of 1-2k Gi. This resulted in the AWS EBS dynamic provisioner delivering a PV of 1 Pi.

It's difficult for us to tell without the specific adjustment file that outlines the details (which we do not currently have), so this requires some investigation.

Version-Release number of selected component (if applicable):
pvc-migrate 1.1.4

How reproducible:
Should be everytime, although we do not have an example adjustment file that demonstrates the specific problem values.

Actual results:
1 Pi volume is provisioned and delivered target side

Expected results:
Something of a more reasonable size

Comment 1 Erik Nelson 2021-04-07 20:38:45 UTC
This has been fixed upstream, and pvc-migrate is largely obsolete with the advent of DVM in MTC.


Note You need to log in before you can comment on or make changes to this bug.