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

atomic database initialize #1979

Open
qrkourier opened this issue Apr 24, 2024 · 0 comments
Open

atomic database initialize #1979

qrkourier opened this issue Apr 24, 2024 · 0 comments

Comments

@qrkourier
Copy link
Member

I observed that the database will partially initialize, leading to an ambiguous initialization state, if the admin password is invalid. This forces day 1 operators to wrap the ziti CLI, detect this condition, delete the database, and try again. It would be better if the initialization operation were atomic.

this is tangentially related to #1973

Repro steps proved time consuming to produce because the ziti pki and ziti create config commands use different default values for file paths, so it will take some time to sort out which env vars need to be aligned. I'll still add repro steps if requested.

I suspect the same problem will manifest if the admin username is invalid.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant