-
Bug
-
Resolution: Done-Errata
-
Undefined
-
None
-
4.16
-
None
-
Moderate
-
No
-
False
-
-
Release Note Not Required
-
In Progress
-
5/09: validation need to be updated
-
Description of problem:
If PTP profile contains a dash in a name, then creating PTP HA configuration fails
Version-Release number of selected component (if applicable):
OCP: 4.16.0-0.nightly-2024-04-29-222758 PTP: ptp-operator.v4.16.0-202405020546
How reproducible:
100%
Steps to Reproduce:
1. Create first PTP config with a profile name slave-bc1 2. Create second PTP config with a profile name slave-bc2 3. Create HA configuration with haProfiles="slave-bc1, slave-bc2"
Actual results:
Error from server (Forbidden): error when creating "./ptpha.yaml": admission webhook "vptpconfig.kb.io" denied the request: haProfiles='slave-bc1, slave-bc2' is invalid; must be comma seperated profile names
Expected results:
Configuration applied successfully
Additional info:
If "-" are removed, eg. profile names are slavebc1 and slavebc2, then the configuration works
- links to
-
RHEA-2024:0041 OpenShift Container Platform 4.16.z bug fix update