Skip to content

gdk rake setup_ai_gateway fails with poetry command not found

Problem

The gdk rake setup_ai_gateway task fails with the following error:

Performing poetry steps for /Users/naohashizume/gdk/gitlab-ai-gateway
xargs: poetry: No such file or directory
make[1]: *** [gitlab-ai-gateway-poetry-install] Error 127
make: *** [gitlab-ai-gateway-update-timed] Error 2

Poetry should be automatically installed by GDK during the setup process, but the command is not found.

Impact

Users cannot set up or update the AI Gateway component in their local GDK environment.

Proposal

Investigate why Poetry is not being installed and fix the task to ensure Poetry is available before running poetry commands.

Impacted categories

The following categories relate to this issue:

Steps to replicate (optional)

Proposal (optional)

Environment (optional)

  • Operating system name: <!-- output of `uname -a` command -->
  • Architecture: <!-- output of `arch` or `uname -m` command -->
  • The contents of your gdk.yml (if any)
  • Ruby version: <!-- output of `ruby --version` command -->
  • GDK version: <!-- output of `git rev-parse --short HEAD` command -->