-
Bug
-
Resolution: Unresolved
-
Undefined
-
4.18.0
-
None
-
Quality / Stability / Reliability
-
False
-
-
None
-
None
-
None
-
None
-
None
-
None
-
In Progress
-
Release Note Not Required
-
None
-
None
-
None
-
None
-
None
This is a clone of issue OCPBUGS-61087. The following is the description of the original issue:
—
Description of problem:
Updation of label from edit label doesn't work, can only be set from yaml.screenshot attached There are two cases to note: This command works as expected: (UI worked fine)oc label vmcf ccxz.testing instancetype.kubevirt.io/cpu=500 However, this version is silently ignored by the UI:oc label vmcf ccxz.testing instancetype.kubevirt.io/cpu: '500' The issue is that if there's a problem with the label format, the UI fails silently. As a user, it still appears as if the label was successfully added which can be misleading. when overwriting a label, the system does not prompt or double-check before applying the change. On the CLI, overwriting requires an explicit --overwrite flag, which acts as a safeguard. It would be better if the UI also prompted before overwriting or provided a visible warning to prevent accidental changes.
Version-Release number of selected component (if applicable):
4.19
How reproducible:
Steps to Reproduce:
1. 2. 3.
Actual results:
Expected results:
Additional info:
$ oc label vmcf ccxz.testing instancetype.kubevirt.io/cpu: '500' error: at least one label update is required [cloud-user@ocp-psi-executor-xl ~]$ oc label vmcf ccxz.testing instancetype.kubevirt.io/cpu=500 virtualmachineclusterinstancetype.instancetype.kubevirt.io/ccxz.testing labeled [cloud-user@ocp-psi-executor-xl ~]$ oc label vmcf ccxz.testing instancetype.kubevirt.io/cpu=500 instancetype.kubevirt.io/cpu=700 error: 'instancetype.kubevirt.io/cpu' already has a value (400), and --overwrite is false
- blocks
-
OCPBUGS-62438 Updation of label from edit label doesn't work
-
- ASSIGNED
-
- clones
-
OCPBUGS-61087 Updation of label from edit label doesn't work
-
- Verified
-
- is blocked by
-
OCPBUGS-61087 Updation of label from edit label doesn't work
-
- Verified
-
- is cloned by
-
OCPBUGS-62438 Updation of label from edit label doesn't work
-
- ASSIGNED
-
- links to