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

called Option::unwrap() on a None value since 1.5.0 #928

Open
ihiverlet opened this issue Sep 17, 2024 · 5 comments
Open

called Option::unwrap() on a None value since 1.5.0 #928

ihiverlet opened this issue Sep 17, 2024 · 5 comments
Assignees
Labels
bug Something isn't working

Comments

@ihiverlet
Copy link

Hi,
Since upgrading to 1.5.0, we get the following error message:

parseable logs : called `Option::unwrap()` on a `None` value
thread 'actix-rt|system:0|arbiter:2' panicked at server/src/metadata.rs:368:52:
called `Option::unwrap()` on a `None` value
thread 'actix-rt|system:0|arbiter:3' panicked at server/src/metadata.rs:368:52:

It seems to be related to #892. It was working fine in v1.4.0.
Here is an extract of the fluent-bit config we're using

    [OUTPUT]
         Name http
         Match ingress.*
         host parseable.parseable.svc.cluster.local
         http_User user
         http_Passwd password
         format json
         compress gzip
         port 80
         header Content-Type application/json
         header X-P-Stream ingress
         uri /api/v1/ingest
         json_date_key timestamp
         json_date_format iso8601
@nitisht
Copy link
Member

nitisht commented Sep 17, 2024

Thanks for reporting @ihiverlet we'll fix this asap.

@nitisht nitisht added the bug Something isn't working label Sep 17, 2024
@parmesant
Copy link
Contributor

Hey @ihiverlet
Could you please provide us with some more information on-

  • server version
  • commit id
  • server mode

You'll find these three things as part of the initial banner when you start the parseable process.
It should look something like this-
image

Also, did you migrate both the Ingest and the Query servers from v1.4.0 to v1.5.0?

@ihiverlet
Copy link
Author

ihiverlet commented Sep 18, 2024

Hello,

        Server Mode:        "Standalone"
        Version:            "v1.5.0"
        Commit:             "091377b"

Regarding your last question, I use the helm chart with the following configuration

parseable:
  parseable:
    local: false
    env:
      P_S3_TLS_SKIP_VERIFY: "true"
      P_PARQUET_COMPRESSION_ALGO: snappy
      P_OIDC_ISSUER: issuer
      P_OIDC_CLIENT_ID:  id
      P_OIDC_CLIENT_SECRET:  secret
      P_ORIGIN_URI: uri
    resources:
      limits:
        cpu: 4
        memory: 20Gi
      requests:
        cpu: 1
        memory: 4Gi

@parmesant
Copy link
Contributor

Hey @ihiverlet
The issue is due to the sequence in which the ingest and query nodes got upgraded.

Our suggestion is that you always upgrade query first and then upgrade ingest.

Thanks for bringing this issue forward, we will make sure to include more meaningful error messages wherever possible.

@ihiverlet
Copy link
Author

Hey @parmesant,

I am using the helm chart with basic configuration, so I am in standalone mode. Hence, I do not understand what you mean by upgrading query node first and ingest later.

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

No branches or pull requests

4 participants