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] Cannot signup new users after restarting Graphistry #31

Open
aucahuasi opened this issue Apr 28, 2023 · 2 comments
Open

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

aucahuasi opened this issue Apr 28, 2023 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@aucahuasi
Copy link
Contributor

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.
@aucahuasi aucahuasi added the bug Something isn't working label Apr 28, 2023
@lmeyerov
Copy link
Contributor

@lmeyerov
Copy link
Contributor

(assigning for triage purposes, feel free to say something and we can reassign to someone else once we understand it)

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