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

Don't restart titan-launch on initial install #10

Open
eschrock opened this issue Sep 23, 2019 · 0 comments
Open

Don't restart titan-launch on initial install #10

eschrock opened this issue Sep 23, 2019 · 0 comments
Labels
Priority: Normal Issues to be address during sprint Type: Bug Something isn't working

Comments

@eschrock
Copy link
Contributor

Problem

As part of the titan CLI, we run titan-launch with restart=always, because we want it to always be running even if the system or docker host restarts. However, if there are failures during initial installation (such as an invalid ZFS version), we will just loop endlessly retrying something that will never succeed.

Solution

Run titan-server once without restart=always and make sure the server comes up. If so, restart it with restart=always. If this is too awkward, we could also add a special mode to titan-server to have it just do the installation and exit, without actually starting the server.

Alternatives

Watch the titan containers to determine what is actually happening.

@mcred mcred added Type: Bug Something isn't working Priority: Important Address ahead of normal issues Priority: Normal Issues to be address during sprint and removed Priority: Important Address ahead of normal issues labels Oct 1, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Priority: Normal Issues to be address during sprint Type: Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants