Skip to content

🐛 Stuck at "Waiting for Kagenti ADK platform to be ready..." #178

@esnible

Description

@esnible

Describe the bug

I attempted to install Kagenti ADK using sh -c "$(curl -LsSf https://raw.githubusercontent.com/kagenti/adk/main/install.sh)"

After a few minutes I see

Installing kagenti platform (operator + backend) [DONE] 
Waiting for DNS to be ready [DONE] 
Forwarding VM services to host [DONE] 
⠹ Waiting for Kagenti ADK platform to be ready...

This doesn't finish. Eventually, after an over-all timeout, I see "❗ WARNING: Platform start failed. You can retry with kagenti-adk platform start."

Steps To Reproduce

I suspect the problem is that I already have Kagenti running on port 8080 because I installed it with deployments/ansible/run-install.sh

  1. Clone https://github.com/kagenti/kagenti
  2. deployments/ansible/run-install.sh
  3. sh -c "$(curl -LsSf https://raw.githubusercontent.com/kagenti/adk/main/install.sh)"

Expected Behavior

It would be helpful for the end-user to receive more guidance.

  • "Waiting for Kagenti ADK platform to be ready..." should eventually timeout
  • "Waiting for Kagenti ADK platform to be ready..." should tell the user what it is trying to do
  • Perhaps it should refuse to install if there is already processes listening on 8080
  • ADK is hard-coded to 8080, and Kagenti's own installer is also hard-coded to that.
    • e.g.
      (await client.get("http://adk-api.localtest.me:8080/healthcheck")).raise_for_status()
    • The MCP Gateway's installation scripts allow the port to be customized by using export KIND_HOST_PORT_MCP_GATEWAY=8090. Perhaps a similar config option could be used with ADK to allow a user to install both environments together.

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions