Skip to content

[BUG] ObjectNode.get(String) invocation error because "this.rawJson" is null #1833

@davidbaco

Description

@davidbaco

What is the bug?

migration-console is throwing an error when running the console metadata evaluate command. I am migrating from ES 7.17.10 to OS 3.2.0 through an snapshot. The error is Cannot invoke "com.fasterxml.jackson.databind.node.ObjectNode.get(String)" because "this.rawJson" is null. I need help to troubleshoot further as the error itself is a bit generic and I do not understand what to do further. I have tried to specify only an index, but I get the same message. Live migration is not needed in this environment.

What are your migration environments?

  • Source version: Elasticsearch 7.17.10
  • Source environment: self-managed on-premises
  • Target version: OpenSearch 3.2.0
  • Target environment: self-managed on-premises
  • Migration Assistant Version: 2.5.5

How can one reproduce the bug?

  1. Compile the project and setup the K8s environment.
  2. Mount the snapshot volume through a NFS share into the migration console Pod.
  3. Access the migration console (kubectl -n ma exec -it deploy/ma-migration-console -c console -- /bin/bash)
  4. Create a new snapshot in that mounted path (console snapshot create).
  5. Verified the parameters in /conf/migration_services.yaml
  6. When the snapshot is finished, run the command console metadata evaluate.

What is the expected behavior?

It is expected that the evaluation of the metadata migration will report any issues with the indices to migrate or confirm that all is good to migrate the metadata.

Do you have any additional context?

  • We are not using any AWS component, but we installed the components to make ./gradlew build work.
  • We forced to use K8s 1.32.9, as one of the pods doesn't start with the latest K8s version.

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