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

500 Internal Server Error for mean() and sum() Flux operations on 1.7.9 (arm32) and 2.0-Beta(aarch64) #16563

Closed
dhruvsgarg opened this issue Jan 16, 2020 · 4 comments
Assignees
Labels
arch/arm area/flux Issues related to the Flux query engine

Comments

@dhruvsgarg
Copy link

Steps to reproduce:

  1. Create new influxdb container on Raspberry Pi using the latest docker image for 1.7.9 (OR install Influxdb on Raspberry Pi 4 using .arm64 zip package for 2.0-Beta)
  2. Insert few rows of data into a measurement in a bucket
  3. Run sum() and mean() queries on the measurement

Expected behavior:
Should correctly calculate the sum/mean result as it does for the 1.7.9 or 2.0-Beta amd64 installations.

Actual behavior:
Error: unknown server error: 500 Internal Server Error (on 1.7.9 docker)
Error: panic: runtime error: invalid memory address or nil pointer dereference (on 2.0-Beta)

Environment info:
OS: Raspbian GNU/Linux 10 (buster)
*First Raspberry Pi

  • System info (arm32): Linux 4.19.57-v7l+ arm7l
  • InfluxDB version: InfluxDB v1.7.9 (git: 1.7 23bc63d)
  • Installation type: Docker, latest image (1.7.9)

*Second Raspberry Pi

  • System info (aarch32): Linux 4.19.93-v8+ aarch64
  • InfluxDB version: InfluxDB 2.0.0-beta.1 (git: 128b9ee) build_date: 2020-01-16T11:47:41Z
  • Installation type: Using pre-built package downloaded from the getting started page

Config:
Modified influxdb.conf to enable flux. (for version 1.7.9 docker)
[http]
flux-enabled = true

@russorat
Copy link
Contributor

@dhruvsgarg thanks for the issue.

@nathanielc, should this move into the Flux repo?

@russorat russorat added the area/flux Issues related to the Flux query engine label Jan 21, 2020
@p0wertiger
Copy link

I'm having this issue as well. This is on an old ODroid C1+ and I was about to confirm on RPi3 but it seems it's architecture-specific. InfluxQL query works fine with sum(). Also affects Flux aggregateWindow(). Without these aggregations the data is returned properly.

@dhruvsgarg
Copy link
Author

Thank you @russorat for acknowledging the issue. I was hoping that it would be addressed soon, or if there is a quick fix that I can try, I'd be happy to help!

@russorat
Copy link
Contributor

@dhruvsgarg @p0wertiger So i chatted with the Flux team and it looks like Flux doesn't yet support the ARM architecture. I've opened a feature request in the Flux repo. Please follow the progress there: influxdata/flux#2505

I'm going to close this for now. Please join us in the community Slack channel if you have more questions about running on ARM. https://influxdata.com/slack

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
arch/arm area/flux Issues related to the Flux query engine
Projects
None yet
Development

No branches or pull requests

4 participants