Skip to content

feat: create package for network support bundle #12161

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

Closed
17 tasks done
Tracked by #12160
johnstcn opened this issue Feb 15, 2024 · 1 comment
Closed
17 tasks done
Tracked by #12160

feat: create package for network support bundle #12161

johnstcn opened this issue Feb 15, 2024 · 1 comment
Assignees

Comments

@johnstcn
Copy link
Member

johnstcn commented Feb 15, 2024

Part of #12160

Create a package that can be called from either cli or coderd to fetch the following given a specific workspace and agent combination:

  • Deployment information (DERP map, access URL, regions, version, etc)

  • Deployment healthcheck

  • Client connection info endpoint for agent

  • Client netcheck results

  • Workspace and agent details:

    • GET /workspaces/:id
    • GET /workspaceagents/id
    • Workspace template + version + params
    • Build log for current workspace build
    • Agent startup logs for given agent
  • From agent endpoint over tailnet:

    • Agent manifest with sensitive data removed
    • Agent DERP map and connection flags both from memory and from agent endpoint
    • Agent stats
    • Agent magicsock HTML page
    • Client magicsock HTML page
    • Full agent log /tmp/coder-agent.log

The goal is to be able to fetch this information from either the client or from coderd:

  • In order to have redundancy in case one fails
  • In order to determine inconsistencies between client and coderd POV
@johnstcn
Copy link
Member Author

Closing this out.

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

No branches or pull requests

1 participant