Skip to content

Upgrading cassadra pod from 4.1.5 to 5.0.1 fails with: Error opening zip file or JAR manifest missing : /opt/cassandra/lib/jamm-0.3.2.ja #158

@Vasile27

Description

@Vasile27

Type of question

Are you asking about community best practices, how to implement a specific feature, or about general context and help around casskop ?
Help around casskop during upgrade of cassandra from 4.1.5 to 5.0.1

Question

How can I upgrade cassandra pod from 4.1.5 to 5.01?

What did you do?
I have updated the image to be used for cassandra in the cassandra casskop CRD from 4.1.5 to 5.0.1

What did you expect to see?
Cassandra pod to be up and to have version 5.0.1.

What did you see instead? Under which circumstances?
Cassandra pod is crashed and I see the following logs in the pod:

│
│ cassandra OpenJDK 64-Bit Server VM warning: Option UseBiasedLocking was deprecated in version 15.0 and will likely be removed in a future release.                                                                                                                        │
│ cassandra Error opening zip file or JAR manifest missing : /opt/cassandra/lib/jamm-0.3.2.jar                                                                                                                                                                              │
│ cassandra Error occurred during initialization of VM                                                                                                                                                                                                                      │
│ cassandra agent library failed to init: instrument 

It seems that jamm-0.3.2.jar is the old library used by cassandra 4.1.5. I have checked the docker image of cassandra 5.0.1 and there is a new jamm library.

Environment

  • casskop version:

ghcr.io/cscetbon/casskop:2.2.4

  • Kubernetes version information:

Client Version: version.Info{Major:"1", Minor:"22", GitVersion:"v1.22.4", GitCommit:"b695d79d4f967c403a96986f1750a35eb75e75f1", GitTreeState:"clean", BuildDate:"2021-11-17T15:48:33Z", GoVersion:"go1.16.10", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"22", GitVersion:"v1.22.4", GitCommit:"b695d79d4f967c403a96986f1750a35eb75e75f1", GitTreeState:"archive", BuildDate:"2024-08-16T07:55:20Z", GoVersion:"go1.16.10", Compiler:"gc", Platform:"linux/amd64"}

  • Kubernetes cluster kind:

  • Cassandra version:

ReleaseVersion: 4.1.5

Additional context
Add any other context about the question here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions