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

cartridge start -d shows wrong status #748

Open
yngvar-antonsson opened this issue Jan 11, 2023 · 0 comments
Open

cartridge start -d shows wrong status #748

yngvar-antonsson opened this issue Jan 11, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@yngvar-antonsson
Copy link
Contributor

yngvar-antonsson commented Jan 11, 2023

If something goes wrong after the detached start of the instance, cartridge start will show the status OK anyway.
Cartridge-cli version 2.12.2
Steps to reproduce:

  1. cartridge start -d
  2. cartridge stop
  3. do smth and start some of the instances:
cartridge start srv-1 -d
   • cartridge.srv-1... OK
cartridge enter srv-1   
   ⨯ Instance srv-1 is not running

Try to start again:

cartridge start srv-1 
cartridge.srv-1 | 2023-01-11 15:27:34.395 [87760] main/108/lua F> can't initialize Tarantool: Some error.
   • cartridge.srv-1... EXITED
   ⨯ cartridge.srv-1: Process exited: Exited unsuccessfully: exit status 1
   ⨯ All instances exited    

I propose to wait after the start and check the status before printing it (or add smth like --wait-started).

@LeonidVas LeonidVas added teamE bug Something isn't working labels Jan 20, 2023
@TarantoolBot TarantoolBot removed the teamE label Jun 7, 2023
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

3 participants