square-football-37770
05/03/2023, 9:44 PMdatahub-kafka-setup-job
since I can see its yaml has this conf:*
spec:
│ containers:
│ - env:
│ - name: KAFKA_ZOOKEEPER_CONNECT
│ value: prerequisites-zookeeper:2181
which doesn’t exists obviously. It seems this is causing the job to time out. Any ideas what can be done about it?
thankslively-cat-88289
05/03/2023, 9:44 PMsquare-football-37770
05/03/2023, 9:47 PMUnable to attach or mount volumes: unmounted volumes=[datahub-certs-dir], unattached volumes=[kube-api-access-2bt9w datahub-certs-dir]: timed out waiting for the condition
astonishing-answer-96712
05/05/2023, 5:33 PMdazzling-yak-93039
05/05/2023, 8:08 PMsquare-football-37770
05/08/2023, 7:34 AMsquare-football-37770
05/08/2023, 7:35 AMcredentialsAndCertsSecrets:
name: datahub-certs
path: /mnt/datahub/certs
secureEnv:
<http://basic.auth.user.info|basic.auth.user.info>: sasl-auth
sasl.username: sasl-username
sasl.password: sasl-password
springKafkaConfigurationOverrides:
sasl.jaas.config: org.apache.kafka.common.security.plain.PlainLoginModule required username="myuser" password="mypass";
sasl.mechanism: PLAIN
security.protocol: SASL_PLAINTEXT
ssl.endpoint.identification.algorith: https
client.dns.lookup: use_all_dns_ips
basic.auth.credentials.source: USER_INFO
square-football-37770
05/08/2023, 7:38 AMsasl.mechanism
= GSSAP
which iiuc is for kerberos, my sasl.jaas.config
is for PLAIN not for kerberos so of course the job failssquare-football-37770
05/08/2023, 7:38 AM[main] INFO org.apache.kafka.common.security.authenticator.AbstractLogin - Successfully logged in.
[main] WARN org.apache.kafka.clients.admin.AdminClientConfig - The configuration 'sasl.jaas.config' was supplied but isn't a known config.
[main] WARN org.apache.kafka.clients.admin.AdminClientConfig - The configuration 'sasl.kerberos.service.name' was supplied but isn't a known config.
[main] INFO org.apache.kafka.common.utils.AppInfoParser - Kafka version: 6.1.4-ccs
[main] INFO org.apache.kafka.common.utils.AppInfoParser - Kafka commitId: c9124241a6ff43bc
[main] INFO org.apache.kafka.common.utils.AppInfoParser - Kafka startTimeMs: 1683294446800
[kafka-admin-client-thread | adminclient-1] INFO org.apache.kafka.common.network.SaslChannelBuilder - [AdminClient clientId=adminclient-1] Failed to create channel due to
org.apache.kafka.common.errors.SaslAuthenticationException: Failed to configure SaslClientAuthenticator
Caused by: org.apache.kafka.common.KafkaException: Principal could not be determined from Subject, this may be a transient failure due to Kerberos re-login
at org.apache.kafka.common.security.authenticator.SaslClientAuthenticator.firstPrincipal(SaslClientAuthenticator.java:622)
at org.apache.kafka.common.security.authenticator.SaslClientAuthenticator.<init>(SaslClientAuthenticator.java:200)
at org.apache.kafka.common.network.SaslChannelBuilder.buildClientAuthenticator(SaslChannelBuilder.java:274)
at org.apache.kafka.common.network.SaslChannelBuilder.lambda$buildChannel$1(SaslChannelBuilder.java:216)
at org.apache.kafka.common.network.KafkaChannel.<init>(KafkaChannel.java:142)
at org.apache.kafka.common.network.SaslChannelBuilder.buildChannel(SaslChannelBuilder.java:224)
at org.apache.kafka.common.network.Selector.buildAndAttachKafkaChannel(Selector.java:338)
at org.apache.kafka.common.network.Selector.registerChannel(Selector.java:329)
square-football-37770
05/08/2023, 7:39 AMsasl.mechanism
propertysquare-football-37770
05/08/2023, 9:10 AMhelm install datahub -f datahub/aiven-neo4j.yaml --set KAFKA_PROPERTIES_SASL_MECHANISM=$SPRING_KAFKA_PROPERTIES_SASL_MECHANISM --set KAFKA_PROPERTIES_SASL_KERBEROS_SERVICE_NAME=$SPRING_KAFKA_PROPERTIES_SASL_KERBEROS_SERVICE_NAME datahub
square-football-37770
05/08/2023, 11:46 AMastonishing-answer-96712
05/16/2023, 9:38 PMsquare-football-37770
05/17/2023, 9:11 AMdatahub-actions
fails while `gms`and frontend
seems to start alright and I even see some consumers connected in AIvensquare-football-37770
05/17/2023, 9:11 AMsquare-football-37770
05/17/2023, 9:11 AMsquare-football-37770
05/17/2023, 9:12 AMactions
issue following this example: https://datahubspace.slack.com/archives/CV2UVAPPG/p1675102804189559?thread_ts=1661872161.747319&cid=CV2UVAPPGsquare-football-37770
05/17/2023, 9:19 AMException: Failed to instantiate Actions Pipeline using config {'name': 'ingestion_executor', 'source': {'type': 'kafka', 'config': {'connection': {'bootstrap': '<http://kafka-01-my-instance-aiven.aivencloud.com:29658|kafka-01-my-instance-aiven.aivencloud.com:29658>', 'schema_registry_url': '<https://myuser:mypass@kafka-01-my-instance-aiven.aivencloud.com:29650>', 'consumer_config': {'security.protocol': 'SASL_SSL', 'sasl.mechanism': 'SCRAM-SHA-512', 'sasl.username': 'myuser', 'sasl.password': 'mypass', 'sasl.jaas.config': 'org.apache.kafka.common.security.scram.ScramLoginModule required username=myuser password=mypass;', 'ssl.truststore.location': '/mnt/datahub/certs/truststore.jks', 'kafkastore.ssl.truststore.location': '/mnt/datahub/certs/truststore.jks'}, 'schema_registry_config': {'<http://basic.auth.user.info|basic.auth.user.info>': 'myuser:mypass'}}, 'topic_routes': {'mcl': 'MetadataChangeLog_Versioned_v1', 'pe': 'PlatformEvent_v1'}}}, 'filter': {'event_type': 'MetadataChangeLogEvent_v1', 'event': {'entityType': 'dataHubExecutionRequest', 'changeType': 'UPSERT', 'aspectName': ['dataHubExecutionRequestInput', 'dataHubExecutionRequestSignal'], 'aspect': {'value': {'executorId': 'default'}}}}, 'action': {'type': 'executor', 'config': {'executor_id': 'default'}}, 'datahub': {'server': '<http://datahub-datahub-gms:8080>', 'extra_headers': {'Authorization': 'Basic __datahub_system:JohnSnowKnowsNothing'}}}
square-football-37770
05/17/2023, 9:20 AMAuthorization
header is probably to blame since i haven’t setup any auth for gms
🤔square-football-37770
05/17/2023, 10:08 AM{'server': '<http://datahub-datahub-gms:8080>', 'extra_headers': {'Authorization': 'Bearer eyJhbGciOiJIUzI1NiJ9.eyJhY3RvclR5cGUiOiJVU0VSIiwiYWN0b3JJZCI6ImRhdGFodWIiLCJ0eXBlIjoiUEVSU09OQUwiLCJ2ZXJzaW9uIjoiMiIsImp0aSI6IjlmZTk1NTkxLWI5YTgtNDZkYi04YTI4LTc2NmY3ZTBhMzAyMyIsInN1YiI6ImRhdGFodWIiLCJleHAiOjE2ODY5MDg1OTYsImlzcyI6ImRhdGFodWItbWV0YWRhdGEtc2VydmljZSJ9.TNN0_Vxzu7gnYAcGmECWBX4SCrYmtsLHH3Dliqkck-w'}}
it still failssquare-football-37770
05/17/2023, 10:08 AM