-
Bug
-
Resolution: Not a Bug
-
Major
-
None
-
4.15.z
-
None
-
Quality / Stability / Reliability
-
False
-
-
None
-
Important
-
None
-
None
-
None
-
None
-
None
-
None
-
None
-
None
-
None
-
None
-
None
-
None
Description of problem:
After upgraded the cluster from 4.14.19 version to 4.15.21. Previously from:
4.14.*-https://api.ta-ose-mfg01b.tatw.micron.com:6443/apis/metrics.k8s.io/v1beta1/namespaces/it-mfg-mms/pods/But after upgrading to 4.15 to it got changed to this
https://api.ta-ose-mfg-01b.tatw.micron.com:6443/apis/metrics.k8s.io/v1beta1/namespaces/it-mfg-mms/podsIn this api request they are getting this below error:
Pod metrics Response:
{
"kind": "PodMetricsList",
"apiVersion": "metrics.k8s.io/v1beta1",
"metadata": {},
"items": [
{
"metadata": {
"name":
.....
Bad request
{
"kind": "Status",
"apiVersion": "v1",
"metadata": {},
"status": "Failure",
"message": "name must be provided",
"reason": "BadRequest",
"code": 400
}
Have checked the issue from the monitoring side because the request was from the prometheus-adaptar. But after trying the same with different API services.
It gave the same result.
http://localhost:8001/apis/packages.operators.coreos.com/v1/packagemanifests <---- this works fine~~~
{
"kind": "PackageManifestList",
"apiVersion": "packages.operators. coreos.com/v1",
"metadata": {
},
"items": [
{
"metadata": {
"name": "nutanixcsioperator",
"namespace"!"openshift-marketpLace",
"creationTimestamp": "2024-09-20T13082",
"labels": {
"catalog": "certified-operators",
"catalog-namespace": "openshift-marketplace",
"operatorframework. io/arch.amd64"; "supported",
"operatorframework. 10/os. linux": "supported",
"provider": "Nutanix",
"provider-url": ""
}
},
"spec": {
},
"status": {
"catalogSource": "certified-operators",
"catalogSourceDisplayName"= "Certified Operators",
"catalogSourcePublisher": "Red Hat",
"catalogSourceNamespace": "openshift-marketplace",
"provider": {
"name": "Nutanix"
},
~~~
http://localhost:8001/apis/packages.operators.coreos.com/v1/packagemanifests/ <--- this doesn't work.
~~~
{
"kind": "Status",
"apiVersion": "v1",
"metadata": {},
"status": "Failure",
"message": "name must be provided",
"reason": "BadRequest",
"code": 400
}
~~~
The problem is with the "/" at the last of the api request which is giving status code 400 or 404.
Version-Release number of selected component (if applicable):
How reproducible:
Steps to Reproduce:
Actual results:
Expected results:
Additional info: