-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Closed
Copy link
Labels
s2Broken use cases or features (with a workaround). Only humans may set this.Broken use cases or features (with a workaround). Only humans may set this.
Description
Is there an existing issue for this?
- I have searched the existing issues
Current Behavior
When not passing the URL properly to the provisioner, you will meet a very unclear error, as the actual error is not preserved:
coder/enterprise/cli/provisionerdaemonstart.go
Lines 107 to 111 in 9ca5b44
| if provisionerKey != "" { | |
| pkDetails, err := client.GetProvisionerKey(ctx, provisionerKey) | |
| if err != nil { | |
| return xerrors.New("unable to get provisioner key details") | |
| } |
This should be changed to tell you the actual values that are missing.
Relevant Log Output
Encountered an error running "coder provisionerd start", see "coder provisionerd start --help" for more information
error: unable to get provisioner key detailsExpected Behavior
No response
Steps to Reproduce
- Do not pass the provisioner Key details
Environment
No response
Additional Context
The issue occurs consistently
Metadata
Metadata
Assignees
Labels
s2Broken use cases or features (with a workaround). Only humans may set this.Broken use cases or features (with a workaround). Only humans may set this.