Skip to content

[BUG] Cannot signup new users after restarting Graphistry #31

@aucahuasi

Description

@aucahuasi

Describe the bug
Every time we uninstall the Graphistry chart (g-chart) and we install it again, we cannot register/signup new users in the main dashboard (Nexus).

To Reproduce
Run these commands (the graphistry namespace should be current active one for k8s)

helm uninstall g-chart
helm upgrade -i g-chart ./charts/graphistry-helm --values ./myvalues.yaml --namespace graphistry --create-namespace

And then go to the application.

Expected behavior
After we install again g-chart , the Graphistry services should connect with the existing database persistence volumes through the existing postgres-cluster and work normally (loading all the database users and data).

Otherwise, in case this behavior was expected, we can improve the documentation to mention about this issue; perhaps recommending that if we want to uninstall g-chart we also need to uninstall the postgres-cluster heml chart:

helm uninstall postgres-cluster && helm uninstall g-chart

And install/configure again the postgres-cluster before install g-chart.

Actual behavior
This is the message we get after restarting (deleting & install g-chart):

Account registration is currently invite-only.
If on AWS and admin account was autocreated, login as admin / i-YourAWSInstanceID.

It seems the issue is that when we delete the helm chart g-chart, we also need to delete the postgres-cluster chart to to release the database persistent volumes. If we don't delete those database volumes, we will have old data for the new g-chart deployment and Nexus will think that there is an admin user there (i.e. it won't let us to signup new users).

Environment (please complete the following information):

  • Kubernetes distro and version (ex: Minikube 1.25.1, AKS, ...): MicroK8s v1.26.3 revision 4959
  • GPU and driver version (see nvidia-smi): NVIDIA-SMI 530.30.02 (Driver Version: 530.30.02 CUDA Version: 12.1)
  • Graphistry version: latest tag for the docker images.

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions