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 app is failing to start after tt clean #831

Closed
pavlua opened this issue Apr 26, 2024 · 1 comment
Closed

cartridge app is failing to start after tt clean #831

pavlua opened this issue Apr 26, 2024 · 1 comment
Labels
duplicate This issue or pull request already exists

Comments

@pavlua
Copy link

pavlua commented Apr 26, 2024

Environment: tt-ee 2.1.2, Tarantool EE 2.11

Steps to reproduce:

  1. create and run default cartridge app:
    tt init
    tt create cartridge --name app3
    tt build app3
    tt start app3
    tt cartridge replicasets setup --bootstrap-vshard --name app3

  2. run tt clean
    tt stop app3
    cd app3 && tt clean

  3. try to run app again
    cd .. && tt start app3

Expected result: app have been started, no errors in tarantool logs

Actual result: all of the tarantool instances have an error in logs

2024-04-25 16:46:30.687 [41551] main/103/-/instances.enabled.app3.cartridge.confapplier confapplier.lua:137 E> Instance entering failed state: ConfigFound -> InitError ValidateConfigError: section vshard must be a table stack traceback: ...d/app3/.rocks/share/tarantool/cartridge/vshard-utils.lua:161: in function 'validate_vshard_group' ...d/app3/.rocks/share/tarantool/cartridge/vshard-utils.lua:296: in function <...d/app3/.rocks/share/tarantool/cartridge/vshard-utils.lua:279> [C]: in function 'xpcall' ...instances.enabled/app3/.rocks/share/tarantool/errors.lua:145: in function <...instances.enabled/app3/.rocks/share/tarantool/errors.lua:139> [C]: in function 'xpcall' ...instances.enabled/app3/.rocks/share/tarantool/errors.lua:145: in function 'pcall' ....enabled/app3/.rocks/share/tarantool/cartridge/roles.lua:377: in function 'validate_config' ...ed/app3/.rocks/share/tarantool/cartridge/confapplier.lua:726: in function 'init' ...tances.enabled/app3/.rocks/share/tarantool/cartridge.lua:800: in function 'cfg' ...renko/tnt/yadro_tt_2_1_1/instances.enabled/app3/init.lua:39: in main chunk [builtin#25]: at 0x010b89f710 [C]: in function 'pcall' stdin:325: in function 'start_instance' stdin:333: in main chunk

@oleg-jukovec oleg-jukovec added bug Something isn't working 2sp teamE labels Apr 26, 2024
@psergee
Copy link
Collaborator

psergee commented May 28, 2024

Duplicate of #642

@psergee psergee marked this as a duplicate of #642 May 28, 2024
@psergee psergee closed this as not planned Won't fix, can't repro, duplicate, stale May 28, 2024
@oleg-jukovec oleg-jukovec added duplicate This issue or pull request already exists and removed bug Something isn't working teamE 2sp labels May 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

3 participants