Skip to content

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

Merged
johnstcn merged 1 commit into
mainfrom
cj/revert-1577
May 19, 2022
Merged

johnstcn merged 1 commit into
mainfrom
cj/revert-1577

Conversation

@johnstcn

@johnstcn johnstcn commented May 19, 2022 •

Copy link
Copy Markdown
Member

…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
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