-
Notifications
You must be signed in to change notification settings - Fork 31
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
🤔 AgentPool not registering #260
Comments
Thanks for opening this @grabskimm – is there any output if you use |
@jrhouston it keeps repeating the same as below
|
Any thoughts? |
What type of token did you use? The operator (because of security concerns with the TFC APIs) swallows some errors and shows some misleading things from time to time (e.g.: 404 not found when the token is invalid instead of Unauthorised). If you use a "org" level token it works partially since it can create workspaces but not agent pools, but it'd fail under the hood in some of these because that token can't manage agent pools tokens, plan/applies and such. You have to use a user or team-token AFAIK since those can request agent tokens...
https://developer.hashicorp.com/terraform/cloud-docs/api-docs You should be able to test that by using CURL an trying to generate some agent pool tokens: |
@grabskimm Did you figure this out? There should be a Deployment created in your cluster called |
Operator Version, Kind and Kubernetes Version
YAML Manifest File
Output Log
Kubectl Outputs
Question
Attempting to create a terraform agent with terraform operator, the agent pool creates successfully, however, the status remains on "Waiting for agents..." . Triggered a workflow and receiving a warning message as shows below.
Any advice?
References
Community Note
The text was updated successfully, but these errors were encountered: