Skip to content

[Bug]: jaeger-cassandra-schema image no longer functions #2902

@drew-viles

Description

@drew-viles

What happened?

It sems an update to the jaeger cassandra schema image has broken it's functionaliy.

A few days ago I spun up a new k8ssandra server and had Jaeger create the schema. This was done using jaegertracing/jaeger-cassandra-schema:1.61.0

I've just gone to do another today and it's using jaegertracing/jaegertracing/jaeger-cassandra-schema:1.65.0 and now it's outputting the error below.

Steps to reproduce

Just deploy a new Jaeger instance using the spec below

Expected behavior

The schema should be created

Relevant log output

<stdin>:2:SyntaxException: line 1:30 no viable alternative at input '{' (CREATE KEYSPACE IF NOT EXISTS [{]...)
<stdin>:12:SyntaxException: line 1:26 no viable alternative at input '{' (CREATE TYPE IF NOT EXISTS [{]...)
<stdin>:17:SyntaxException: line 1:26 no viable alternative at input '{' (CREATE TYPE IF NOT EXISTS [{]...)
<stdin>:23:SyntaxException: line 1:26 no viable alternative at input '{' (CREATE TYPE IF NOT EXISTS [{]...)
<stdin>:28:SyntaxException: line 1:26 no viable alternative at input '{' (CREATE TYPE IF NOT EXISTS [{]...)
<stdin>:52:SyntaxException: line 1:27 no viable alternative at input '{' (CREATE TABLE IF NOT EXISTS [{]...)
<stdin>:65:SyntaxException: line 1:27 no viable alternative at input '{' (CREATE TABLE IF NOT EXISTS [{]...)
<stdin>:80:SyntaxException: line 1:27 no viable alternative at input '{' (CREATE TABLE IF NOT EXISTS [{]...)
<stdin>:96:SyntaxException: line 1:27 no viable alternative at input '{' (CREATE TABLE IF NOT EXISTS [{]...)
<stdin>:112:SyntaxException: line 1:27 no viable alternative at input '{' (CREATE TABLE IF NOT EXISTS [{]...)
<stdin>:130:SyntaxException: line 1:27 no viable alternative at input '{' (CREATE TABLE IF NOT EXISTS [{]...)
<stdin>:149:SyntaxException: line 1:27 no viable alternative at input '{' (CREATE TABLE IF NOT EXISTS [{]...)
<stdin>:156:SyntaxException: line 1:26 no viable alternative at input '{' (CREATE TYPE IF NOT EXISTS [{]...)
<stdin>:169:SyntaxException: line 1:27 no viable alternative at input '{' (CREATE TABLE IF NOT EXISTS [{]...)
<stdin>:176:SyntaxException: line 1:27 no viable alternative at input '{' (CREATE TABLE IF NOT EXISTS [{]...)
<stdin>:184:SyntaxException: line 1:27 no viable alternative at input '{' (CREATE TABLE IF NOT EXISTS [{]...)
<stdin>:190:SyntaxException: line 1:27 no viable alternative at input '{' (CREATE TABLE IF NOT EXISTS [{]...)

Screenshot

No response

Additional context

Happy to take a look at this but can't see where the schema is even defined. I'm technically running off my own image at the moment with this fix deployed #2901, but other than those minor hcanges, nothing else has been changed.

It's worked for the first Jaeger I've deployed as mentioned, but the one I've done today is just failing.

If I hardcode the older image, it works.

    cassandraCreateSchema:
      ...
      image: "jaegertracing/jaeger-cassandra-schema:1.61.0"

Jaeger backend version

1.65.0

SDK

No response

Pipeline

No response

Stogage backend

Cassandra

Operating system

Linux

Deployment model

Kubernetes

Deployment configs

spec:
  ui:
    options:
      monitor:
        menuEnabled: true
      dependencies:
        menuEnabled: true
  collector:
    maxReplicas: 3
    resources:
      limits:
        cpu: 100m
        memory: 128Mi
  ingress:
    enabled: false
  storage:
    cassandraCreateSchema:
      datacenter: my-region
      mode: prod
      timeout: 3m
    dependencies:
      cassandraClientAuthEnabled: true
    options:
      cassandra:
        keyspace: jaeger_v1_my_region
        servers: cassandra-my-region-service.k8ssandra.svc
        port: 9042
    secretName: cassandra-credentials
    type: cassandra
  strategy: production

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions