-
Bug
-
Resolution: Done
-
Critical
-
AD482 - RHAMQS1.8-en-5-20221213
-
None
-
False
-
-
False
-
5
-
-
-
en-US (English)
Please fill in the following information:
URL: | https://rol.redhat.com/rol/app/courses/ad482-1.8/pages/ch05s09 |
Reporter RHNID: | jean_pitre@hotmail.com |
Section Title: | Lab: Integrating Data Systems with Kafka Connect |
Issue description:
his is the error message that i'm getting when trying to start the lab (lab start connect-integration). If I'm not mistaken the previous exercise was also giving me an error with elastic search.
Creating an ElasticSearch cluster: elasticsearch ........................................................................................................................................................................................ -ERROR:root:Error running oc command. Results tracking: {
"operation": "tracking",
"status": 1,
"actions": [
{
"timestamp": 1707336418944,
"elapsed_time": 0.19561314582824707,
"success": true,
"status": 0,
"verb": "process",
"cmd": [
"oc",
"process",
"--server=https://api.na46r.prod.ole.redhat.com:6443/",
"--namespace=dxoxje-kafka-cluster",
"-f",
"-",
"-o=json",
"-p",
"CLUSTER_NAME=elasticsearch",
"--local=true"
],
"err": "",
"references": {},
"timeout": false,
"last_attempt": true,
"internal": false,
"in_obj": {
"apiVersion": "v1",
"kind": "Template",
"metadata": {
"name": "ad482-amq-streams-18-elasticsearch",
"annotations":
},
"objects": [
{
"apiVersion": "elasticsearch.k8s.elastic.co/v1",
"kind": "Elasticsearch",
"metadata": {
"name": "${CLUSTER_NAME}"
},
"spec": {
"auth": {},
"http": {
"service": {
"metadata":
,
"spec": {}
},
"tls": {
"certificate": {},
"selfSignedCertificate":
}
},
"nodeSets": [
{
"config": {
"node.data": true,
"node.ingest": true,
"node.master": true,
"node.store.allow_mmap": false,
"xpack.security.authc": {
"anonymous":
}
},
"count": 1,
"name": "default",
"podTemplate": {
"metadata": {
"creationTimestamp": null,
"labels":
},
"spec": {
"containers": [
{
"env": [
],
"name": "elasticsearch",
"resources": {}
}
]
}
}
}
],
"transport": {
"service": {
"metadata":
,
"spec": {}
}
},
"updateStrategy": {
"changeBudget": {}
},
"version": "7.12.1"
}
},
{
"kind": "Route",
"apiVersion": "route.openshift.io/v1",
"metadata": {
"name": "${CLUSTER_NAME}-es-http",
"labels":
},
"spec": {
"to":
,
"port":
,
"wildcardPolicy": "None"
}
}
],
"parameters": [
]
},
"out_obj": {
"kind": "List",
"apiVersion": "v1",
"metadata": {},
"items": [
{
"apiVersion": "elasticsearch.k8s.elastic.co/v1",
"kind": "Elasticsearch",
"metadata":
,
"spec": {
"auth": {},
"http": {
"service": {
"metadata":
,
"spec": {}
},
"tls": {
"certificate": {},
"selfSignedCertificate":
}
},
"nodeSets": [
{
"config": {
"node.data": true,
"node.ingest": true,
"node.master": true,
"node.store.allow_mmap": false,
"xpack.security.authc": {
"anonymous":
}
},
"count": 1,
"name": "default",
"podTemplate": {
"metadata": {
"creationTimestamp": null,
"labels":
},
"spec": {
"containers": [
{
"env": [
],
"name": "elasticsearch",
"resources": {}
}
]
}
}
}
],
"transport": {
"service": {
"metadata":
,
"spec": {}
}
},
"updateStrategy": {
"changeBudget": {}
},
"version": "7.12.1"
}
},
{
"apiVersion": "route.openshift.io/v1",
"kind": "Route",
"metadata": {
"labels":
,
"name": "elasticsearch-es-http"
},
"spec": {
"port":
,
"to":
,
"wildcardPolicy": "None"
}
}
]
}
},
{
"timestamp": 1707336419141,
"elapsed_time": 2.3558857440948486,
"success": false,
"status": 1,
"verb": "apply",
"cmd": [
"oc",
"apply",
"--server=https://api.na46r.prod.ole.redhat.com:6443/",
"--namespace=dxoxje-kafka-cluster",
"-o=name",
"-f",
"-"
],
"out": "route.route.openshift.io/elasticsearch-es-http\n",
"err": "unable to recognize no matches for kind \"Elasticsearch\" in version \"elasticsearch.k8s.elastic.co/v1\"\n",
"references":
,
"timeout": false,
"last_attempt": true,
"internal": false,
"in_obj": {
"kind": "List",
"apiVersion": "v1",
"metadata": {},
"items": [
{
"apiVersion": "elasticsearch.k8s.elastic.co/v1",
"kind": "Elasticsearch",
"metadata":
,
"spec": {
"auth": {},
"http": {
"service": {
"metadata":
,
"spec": {}
},
"tls": {
"certificate": {},
"selfSignedCertificate":
}
},
"nodeSets": [
{
"config": {
"node.data": true,
"node.ingest": true,
"node.master": true,
"node.store.allow_mmap": false,
"xpack.security.authc": {
"anonymous":
}
},
"count": 1,
"name": "default",
"podTemplate": {
"metadata": {
"creationTimestamp": null,
"labels":
},
"spec": {
"containers": [
{
"env": [
],
"name": "elasticsearch",
"resources": {}
}
]
}
}
}
],
"transport": {
"service": {
"metadata":
,
"spec": {}
}
},
"updateStrategy": {
"changeBudget": {}
},
"version": "7.12.1"
}
},
{
"apiVersion": "route.openshift.io/v1",
"kind": "Route",
"metadata": {
"labels":
,
"name": "elasticsearch-es-http"
},
"spec": {
"port":
,
"to":
,
"wildcardPolicy": "None"
}
}
]
}
}
]
}
FAIL
-
- apply returned an error: unable to recognize no matches for kind "Elasticsearch" in version "elasticsearch.k8s.elastic.co/v1"*
- route.route.openshift.io/elasticsearch-es-http - unable to recognize no matches for kind "Elasticsearch" in version "elasticsearch.k8s.elastic.co/v1"*
- Cannot continue starting lab*
- apply returned an error: unable to recognize no matches for kind "Elasticsearch" in version "elasticsearch.k8s.elastic.co/v1"*
Steps to reproduce:
Workaround:
Expected result: