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 role incompatible with http_enabled = false #225

Closed
rosik opened this issue Apr 7, 2021 · 0 comments · Fixed by #238
Closed

Cartridge role incompatible with http_enabled = false #225

rosik opened this issue Apr 7, 2021 · 0 comments · Fixed by #238
Labels
bug Something isn't working

Comments

@rosik
Copy link
Contributor

rosik commented Apr 7, 2021

Given the following init.lua:

cartridge.cfg({
    roles = {
        'cartridge.roles.metrics',
    },
})

Cartridge fails to start with http_enabled = false:

2021-04-07 17:55:47.891 [12319] main utils.c:1014 E> LuajitError: ...myapp/.rocks/share/tarantool/cartridge/roles/metrics.lua:93: attempt to index local 'httpd' (a nil value)
2021-04-07 17:55:47.891 [12319] main F> fatal error, exiting the event loop

This case should be valid

@rosik rosik added the bug Something isn't working label Apr 7, 2021
@vasiliy-t vasiliy-t linked a pull request May 14, 2021 that will close this issue
4 tasks
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

Successfully merging a pull request may close this issue.

1 participant