-
Bug
-
Resolution: Done
-
Undefined
-
2.8.0
-
False
-
None
-
True
-
-
Description of problem:
For pvcNameTempalate, it shows "Use default PVC name template", - After editing "PVC name template" by select "Enter custom naming template", the message is still "Use default PVC name template", need to change the message to E.g. "Use custom PVC name template" - After editing "Volume name template" by select "Enter custom naming template", the message of "Use default PVC name template" is changed to "Use custom PVC name template", need to correct this behavior
Version-Release number of selected component (if applicable):
MTV 2.8.0-29 (IIB: 937321) with CNV 4.18.1
How reproducible:
Always
Steps to Reproduce:
1) Create a cold migration plan to migrate VM: mtv-function-win2019 from vSphere 7 to OCP cluster
2) Edit the PVC name template to use custom name template:"{{if eq .DiskIndex .RootDiskIndex}}root{{else}}data{{end-.DiskIndex"{}}}, click "Save" button, the message in UI is still "Use default PVC name template"
3) Edit the Network name template to use custom name template: if eq .NetworkType "pod"}}pod{{else}}multus-{{.NetworkIndexend and edit Volume name template to use custom name template: pvc-.PVCName, click "Save".
the message in UI for PVC name tempalte is changed to "Use custom PVC name template"
Actual results:
In step2: Edit the "PVC name template" to use custom name template, the UI message is still "Use default PVC name template" In step3: Edit the "Volume name template" to use custom name template, the "PVC name template" message is changed
Expected results:
In step2: Edit the PVC name template to use custom name template, the UI message change to "Use custom PVC name template" In step3: Edit the "Volume name template" to use custom name template, the "PVC name template" message no change
Additional info: