-
Bug
-
Resolution: Duplicate
-
Normal
-
None
-
4.17
-
None
-
Important
-
No
-
Rejected
-
False
-
Description of problem:
Could not create taint on machines
Version-Release number of selected component (if applicable):
4.17.0-0.nightly-2024-06-25-162526
How reproducible:
Always
Steps to Reproduce:
1.Create capi enabled cluster on vsphere 2.Create capi machineset 3.Modify machineset to have taints
Actual results:
taints not applied and getting removed before submitting to openshift api
Expected results:
taints get applied successfully
Additional info:
taints: - effect: NoExecute key: role value: testtaint
error in capi logs E0627 07:01:56.483954 1 controller.go:329] "Reconciler error" err="failed to add &Node{ObjectMeta:{ 0 0001-01-01 00:00:00 +0000 UTC <nil> <nil> map[] map[] [] [] []},Spec:NodeSpec{PodCIDR:,DoNotUseExternalID:,ProviderID:,Unschedulable:false,Taints:[]Taint{},ConfigSource:nil,PodCIDRs:[],},Status:NodeStatus{Capacity:ResourceList{},Allocatable:ResourceList{},Phase:,Conditions:[]NodeCondition{},Addresses:[]NodeAddress{},DaemonEndpoints:NodeDaemonEndpoints{KubeletEndpoint:DaemonEndpoint{Port:0,},},NodeInfo:NodeSystemInfo{MachineID:,SystemUUID:,BootID:,KernelVersion:,OSImage:,ContainerRuntimeVersion:,KubeletVersion:,KubeProxyVersion:,OperatingSystem:,Architecture:,},Images:[]ContainerImage{},VolumesInUse:[],VolumesAttached:[]AttachedVolume{},Config:nil,},} watch on cluster openshift-cluster-api/miyadav-2706-h7lfh: failed to create cluster accessor: error creating http client and mapper for remote cluster \"openshift-cluster-api/miyadav-2706-h7lfh\": error creating client for remote cluster \"openshift-cluster-api/miyadav-2706-h7lfh\": error getting rest mapping: failed to get API group resources: unable to retrieve the complete list of server APIs: v1: Unauthorized" controller="machine" controllerGroup="cluster.x-k8s.io" controllerKind="Machine" Machine="openshift-cluster-api/capi-machineset-72433-krn2b" namespace="openshift-cluster-api" name="capi-machineset-72433-krn2b" reconcileID="5d7c5049-f40a-417f-993d-50bb11825c17"
must - gather - https://drive.google.com/file/d/1L-kZRvJ87_xom38ZdSWSSwV0-NwIsfvi/view?usp=sharing
- duplicates
-
OCPCLOUD-2680 [Core] CAPI should support machine to node label propagation
-
- Code Review
-