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

[2.x] TDB (IPROTO): check and update info about migrations in the ATE docs #4971

Open
Tracked by #4709
xuniq opened this issue Mar 5, 2025 · 0 comments
Open
Tracked by #4709
Assignees

Comments

@xuniq
Copy link
Contributor

xuniq commented Mar 5, 2025

Related dev. issue(s):
Product: TDB 2.x
Root document:

SME: @ a1div0 @ mooncfrat2019

Details

Игорь Коломойцев (04.03.2025 21:59):
 https://www.tarantool.io/ru/devops/latest/docker-scenarios-products/#ate-basic-tdb-migrations
В документации по миграции в АТЕ по ТДБ ошибка в ссылке "См. подробнее про миграции в документации по Tarantool." Ссылка ведет на страницу 404

Игорь Коломойцев (04.03.2025 22:39):
Еще момент по применению миграций
Надо бы в разделе ТДБ в АТЕ дать ссылку на плейбук по миграциям для тройки. А то там черт ногу сломит найти нужный плейбук. Да и в нем неточности.

Вот плейбук с которым все раскатилось

docker run --network host -it --rm \
  -v ${PATH_TO_PRIVATE_KEY}:/ansible/.ssh/id_private_key:Z \
  -v ${PATH_TO_INVENTORY}:/ansible/inventories/hosts.yml:Z \
  -v ${PATH_TO_MIGRATIONS}:/ansible/migrations:Z \
  -e SUPER_USER_NAME=${SUPER_USER_NAME} \
  ansible-tarantool-enterprise:${DEPLOY_TOOL_VERSION_TAG} \
  ansible-playbook -i /ansible/inventories/hosts.yml \
  --extra-vars '{
      "ansible_ssh_private_key_file":"/ansible/.ssh/id_private_key",
      "super_user":"'${SUPER_USER_NAME}'",
      "tarantool_shared_become_user":"tarantool",
      "tt_connect_username":"client",
      "tt_connect_password":"'${CLIENT_PASSWORD}'",
      "tarantool_migrations_directory": "/ansible/migrations"
  }' \
  playbooks/tt_migrations.yml

В доке https://www.tarantool.io/ru/devops/latest/docker-scenarios-common/#tt почему-то забыли объяснить как правильно передавать переменные
tarantool_migrations_directory, там бы добавить
-v ${PATH_TO_MIGRATIONS}:/ansible/migrations:Z
а то новичкам иди не знакомым с АТЕ будет затруднительно сходу врубиться, что не хватает.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant