Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Failed to deploy OS with 2.19.0 version #1440

Open
yubonluo opened this issue Dec 30, 2024 · 1 comment
Open

[BUG] Failed to deploy OS with 2.19.0 version #1440

yubonluo opened this issue Dec 30, 2024 · 1 comment
Labels
bug Something isn't working untriaged

Comments

@yubonluo
Copy link

What is the bug?
When I run the command helm upgrade opensearch opensearch/opensearch -f helm-openearch.yaml to try to upgrade the cluster version of future playground to 2.19.0, the following error will be reported.

java.lang.IllegalStateException: unable to upgrade the mappings for the index [[.opensearch-sap-correlation-history-2024.11.18-000003/EXiTKNkcRhW-JsnLSYYd-g]]
Likely root cause: MapperParsingException[No handler for type [sa_vector] declared on field [corr_vector]]
        at org.opensearch.index.mapper.ObjectMapper$TypeParser.parseProperties(ObjectMapper.java:572)
        at org.opensearch.index.mapper.ObjectMapper$TypeParser.parseObjectOrDocumentTypeProperties(ObjectMapper.java:339)
        at org.opensearch.index.mapper.RootObjectMapper$TypeParser.parse(RootObjectMapper.java:190)
        at org.opensearch.index.mapper.DocumentMapperParser.parse(DocumentMapperParser.java:146)
        at org.opensearch.index.mapper.DocumentMapperParser.parse(DocumentMapperParser.java:135)
        at org.opensearch.index.mapper.MapperService.internalMerge(MapperService.java:477)
        at org.opensearch.index.mapper.MapperService.internalMerge(MapperService.java:465)
        at org.opensearch.index.mapper.MapperService.merge(MapperService.java:451)
        at org.opensearch.cluster.metadata.MetadataIndexUpgradeService.checkMappingsCompatibility(MetadataIndexUpgradeService.java:248)
        at org.opensearch.cluster.metadata.MetadataIndexUpgradeService.upgradeIndexMetadata(MetadataIndexUpgradeService.java:121)
        at org.opensearch.gateway.GatewayMetaState.upgradeMetadata(GatewayMetaState.java:340)
        at org.opensearch.gateway.GatewayMetaState.upgradeMetadataForNode(GatewayMetaState.java:322)
        at org.opensearch.gateway.GatewayMetaState.start(GatewayMetaState.java:196)
        at org.opensearch.node.Node.start(Node.java:1680)
        at org.opensearch.bootstrap.Bootstrap.start(Bootstrap.java:339)
        at org.opensearch.bootstrap.Bootstrap.init(Bootstrap.java:413)
        at org.opensearch.bootstrap.OpenSearch.init(OpenSearch.java:181)
        at org.opensearch.bootstrap.OpenSearch.execute(OpenSearch.java:172)
        at org.opensearch.cli.EnvironmentAwareCommand.execute(EnvironmentAwareCommand.java:104)
        at org.opensearch.cli.Command.mainWithoutErrorHandling(Command.java:138)
        at org.opensearch.cli.Command.main(Command.java:101)
        at org.opensearch.bootstrap.OpenSearch.main(OpenSearch.java:138)
        at org.opensearch.bootstrap.OpenSearch.main(OpenSearch.java:104)
For complete error details, refer to the log at /usr/share/opensearch/logs/opensearch-cluster.log

helm-openearch.yaml

image:
  repository: "opensearchstaging/opensearch"
  # override image tag, which is .Chart.AppVersion by default
  tag: "2.19.0"
  pullPolicy: "Always"

How can one reproduce the bug?
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

What is the expected behavior?
A clear and concise description of what you expected to happen.

What is your host/environment?

  • OS: [2.19.0]
  • Version [e.g. 22]
  • Plugins

Do you have any screenshots?
If applicable, add screenshots to help explain your problem.

Do you have any additional context?
Add any other context about the problem.

@yubonluo yubonluo added bug Something isn't working untriaged labels Dec 30, 2024
@cwperks cwperks transferred this issue from opensearch-project/security Dec 30, 2024
@cwperks
Copy link
Member

cwperks commented Dec 30, 2024

Transferring to Security Analytics repo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working untriaged
Projects
None yet
Development

No branches or pull requests

2 participants