Tags: Japsty/tt
Tags
### Added - `tt log`: a module for viewing instances logs. Supported options: * `--lines` number of lines to print. * `--follow` print appended data as log files grow. - `tt connect`: support format for Tarantool tuples for Tarantool versions >= 3.2. - `tt enable`: create a symbolic link in 'instances_enabled' directory to a script or an application directory. - `tt replicaset bootstrap`: command to bootstrap a Cartridge cluster or an instance. - `tt rs rebootstrap`: re-bootstraps an instance. - `-s (--self)` flag to execute `tt` itself and don't search for other `tt`s in bin_dir provided in config. - `tt start` interactive mode with `-i` option. ### Fixed - Sorted by name order of columns for `table` and `ttable` formats. - `tt switch tt`: does not work with `x.x.x` version format. - `tt install tt` returns expected exit status code on unsuccessful dependency check. - `tt pack`: failed to start instances using systemctl due to `permissions denied`. - `tt uninstall tt`: does not work with `x.y.z` version format. - Ability to update a latest version of `master` tarantool and tt with `tt install`. ### Changed - Do not create Dockerfile.* in application's directory.
### Changed - `tt status`: displays the mode of the instance. - `tt coredump`: enhances coredump inspection: * `tt coredump pack`: puts gdb.sh and GDB-extensions into the archive so that it contains everything necessary for convenient coredump inspection. * `tt coredump inspect`: allows archive path as an argument (archive should be created with `tt coredump pack`). * `tt coredump inspect`: added `-s` option to specify the location of tarantool sources. - `tt cluster publish`: ability to publish a new instance config. - `tt pack` does not create unnecessary directories and removes files that are required only for building from the resulting package. ### Added - `tt cluster failover`: added supervised failover management commands. - `tt status`: added `pretty` option for pretty-formatted table output. - `TT_CLI_CFG`: environment variable to specify the path to the configuration file. - `tt pack`: systemd unit parameterizing support. - `tt replicaset vshard`: module to manage vshard in the tarantool replicaset. * `tt replicaset vshard bootstrap`: command to bootstrap vshard. ### Fixed - `tt clean` no longer tries to clean files multiple times. - Tarantool 3 config instance fails to use 108 symbols control socket on tt start. - Incorrect application name in case of explicit providing config path without directories. - Application build failure during pack with Tarantool from the current environment.
### Added - `tt replicaset promote`: command to promote an instance in the tarantool replicaset with cluster config (3.0) or cartridge orchestrator. - `tt replicaset demote`: command to demote an instance in the tarantool replicaset with cluster config (3.0) orchestrator. - `tt cluster replicaset`: module to manage replicaset via 3.0 cluster config storage. * `tt cluster replicaset promote`: command to promote an instance in the replicaset. * `tt cluster replicaset demote`: command to demote an instance in the replicaset. - `tt connect --binary`: connect to instance using binary port. - `tt kill`: command to stop instance(s) with SIGQUIT and SIGKILL signals. ### Changed - `tt start` now creates binary port.
i### Changed - `tt pack` generates a separate systemd unit for each packed application. Common (all instances) unit is removed. - `tt pack` default data, run, log files location is changed for rpm/deb packages to `/var/[log | run | lib]/tarantool/<env_name>` - create `/var/[log | run | lib]/tarantool/<env_name>` on target system for packed applications. - `tt start`: not working on FreeBSD. - `tt pack` and `tt build` fail in verbose mode with "invalid argument" error. - `tt pack` packs applications, which are not valid: instances file is empty, for example. - `tt pack` with `--use-docker` fails due to incompatible versions of `tt` between local system and docker container. Install current `tt` version in docker image if possible. - `tt binaries list` invalid argument error if `tarantool` is not a symlink. - if a user provides pre or post install script to `tt pack rpm`, it uses file name as a script instead of its content.
### Added - Built-in vshard cluster application template. - Building tt in Linux-aarch64, FreeBSD environments. - `tt binaries switch`: switch to installed binary. - `tt download`: download Tarantool SDK. ### Changed - `tt replicaset`: prefer cartridge instances without critical issues on it during discovery. - `tt binaries` renamed to `tt binaries list` ### Fixed - `tt rocks`: not working on macOs. - `tt install tarantool` fails due to checkout error. - `tt binaries list`: not showing `active` tag for `master` version. - missing 3.0 SDK in search results for `tarantool-ee`.
### Changed - Make cartridge app dependencies less strict. - `tt connect` auto-completion shows directories and files when there are no running apps. - `tt rocks --server` now accepts several URL's. ### Added - `tt env`: add current environment binaries location to the PATH variable. - `tt cluster`: add an ability to specify a key for `show`/`publish` via URI. - `tt cluster`: add an ability to publish/show configuration from tarantool config storage.
### Changed
- Print log messages to stderr.
- Global flags are required to be positioned only before child
commands. Example: ``tt --cfg tt.yaml install tt``.
- tt config format: separate tt environment options from application options.
- tt version: additional version information for non-release builds.
- Working directory is changed to an application source directory.
If the application is a script, new working directory will be created
in instances enabled location.
- Re-worked application runtime artifacts layout: `app` section relative
paths are considered relative to working directory, which is an application
source directory. Application name sub-directory no longer used for relative
paths. Default names are changed for PID-files, control sockets and log files.
- Enable logging to file by default for `tarantool` cluster instances.
Default log file name for an instance is `tarantool.log`. `tarantool`'s
stdout/stderr and `tt` logs go to `tt.log` file.
- Remove URI with creds from console title and prompt.
- Ignore app-instance delimiters for Tarantool 3.0 instances.
- Don't use dash as an app-instance delimiter. At the same time, `cartridge_app-stateboard`
treated as a special case.
- Log rotation functionality and configuration is removed from `tt`.
`tt logrotate` command re-opens a log file and sends SIGHUP to the child
`tarantool` processes.
- ``tt cat``: all diagnostic messages are printed to stderr.
- Print `tarantool` stdout/stderr and watchdog logs to the same log file - `tt.log`.
### Added
- tt completion: added luarocks completions.
- tarantool-ee: search and install development builds.
- ``tt play``: ability to pass username and password via flags and environment
variables.
- tt cluster: credentials could be passed via environment variables and command
flags.
### Fixed
- ``tt rocks``: broken ``--verbose`` option.
- ``tt binaries``: tarantool-ee binaries not shown.
- ``tt cluster``: recognize app:instance as a etcd URL.
PreviousNext