Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Revert "fix: Use Terraform address to index resource + agent associat… #1585

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

Merged
merged 1 commit into from
May 19, 2022

Conversation

johnstcn
Copy link
Member

@johnstcn johnstcn commented May 19, 2022

…ion (#1577)"

This reverts commit f3fe2a0.

Newly-created workspaces from docker example template on c034e83 are missing agents:

[...]
  coder_agent.dev: Creation complete after 0s [id=950e2365-5e24-43a5-8537-14368f195e92]
[...]
The test4 workspace has been created!
$ coderv2 ssh test4 
workspace "test4" has no agents
$ docker logs coder-cian-test4 
2022-05-19 10:31:52.734 [WARN]  <agent.go:112>  failed to dial  {"error": "status code 401: agent token is invalid"}
$ docker exec -it coder-database-1 psql -U username coder
coder=# select count(1) from workspace_agents where id = '950e2365-5e24-43a5-8537-14368f195e92';
 count 
-------
     0
(1 row)

@johnstcn johnstcn self-assigned this May 19, 2022
@johnstcn johnstcn requested a review from a team May 19, 2022 10:43
@johnstcn johnstcn merged commit 8814cb0 into main May 19, 2022
@johnstcn johnstcn deleted the cj/revert-1577 branch May 19, 2022 11:18
kylecarbs pushed a commit that referenced this pull request Jun 10, 2022
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

Successfully merging this pull request may close these issues.

2 participants