influxdata / influxdata/helm-charts
Could not sign in
- Dominant language
- Mustache
- Stars
- 257
- Forks
- 347
- Avg merge
- 4d 20h
- Merged PRs (30d)
- 9
Description
Hello,
I installed InfluxDB on Kubernetes by using the provided Helm chart. (https://helm.influxdata.com/)
I run the following commands:
`helm repo add influxdata https://helm.influxdata.com/`
`helm install influxdb2 influxdata/influxdb2 --values my-values.yaml`
In the values I just defined the persistence volume, nothing else. it's the following:
~~~
```
persistence:
enabled: true
useExisting: true
storageClass: default
```
~~~
However, even though I use `admin` as a username and I am pretty sure I use the correct password when I try to log in through GUI, I always get "Could not sign in", while the message in the logs is always the same:
`lvl=error msg="api error encountered" log_id=0owjCPE0000 handler=session error="unauthorized access"`
I found that the docker image you are using is the `influxdb:2.7.4-alpine`
I used it on my personal machine. The first time I logged in I had to create a primary account. I created it, logged in, logged out and when I re-logged in everything was fine. From what I see, when InfluxDB is installed by the Helm chart, a similar procedure is programmed to run as an initial process. Is it possible that it's not run successfully?
Chart version 2.1.2
App Version 2.7.4
Contributor guide
Research direction
Start by reproducing the Helm installation with the commands and my-values.yaml shown, then inspect the chart's initialization flow alongside the session error in the logs. Determine whether the initial account setup completes with the persistence settings; done means the created admin account can sign in through the GUI after installation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- helm, kubernetes
- Domain
- authentication, infrastructure
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100