Replies: 1 comment 2 replies
-
I'd be curious what documentation led you to configure it as: outputs:
- type: identity
output_dir: /opt/teleport-ansible-id
format: file I don't think we've ever supported a I'd expect this to look like: outputs:
- type: identity
destination:
type: directory
path: /opt/teleport-ansible-id |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Expected behavior:
To get a successful execution of 'tbot start -c /etc/tbot.yml' using a valide v2 config file
Current behavior:
Executing 'tbot start -c /etc/tbot.yml' returns the following error.
ERROR: validating storage
destination path must not be empty
Bug details:
Teleport v17.4.8 git:v17.4.8-0-ge48050b go1.23.8
tested on RL 9.5, AL 9.5 and Ubuntu 24.04 physical servers running latest v17 teleport/tbot
Created /etc/tbot.yml with the following config
version: v2
auth_server: teleport.domain:443
token:
storage:
type: directory
directory: /opt/teleport-ansible-id
outputs:
output_dir: /opt/teleport-ansible-id
format: file
created empty /opt/teleport-ansible-id directory changed ownership to my non root user.
executed:
tbot start -c /etc/tbot.yml
Tried manually downloading tar for Teleport v17.4.6 git:v17.4.6-0-g0d91409 go1.23.8 and get the same error.
If I remove the 'version: v2' from the top of the tbot.yml file I get a little bit different error.
2025-05-07T14:58:03.776-06:00 WARN [TBOT] Deprecated config version (V1) detected. Attempting to perform an on-the-fly in-memory migration to latest version. Please persist the config migration by following the guidance at https://goteleport.com/docs/reference/machine-id/v14-upgrade-guide/ config/config.go:650
2025-05-07T14:58:03.776-06:00 WARN [TBOT] We recently introduced the ability to explicitly configure the address of the Teleport Proxy using --proxy-server. We recommend switching to this if you currently provide the address of the Proxy to --auth-server. tbot/tbot.go:689
2025-05-07T14:58:03.777-06:00 INFO [TBOT] Waiting for anonymous telemetry to finish sending before exiting. Press CTRL-C to cancel wait_time:10s tbot/main.go:464
2025-05-07T14:58:03.777-06:00 INFO [TBOT] Anonymous telemetry is not enabled. Find out more about Machine ID's anonymous telemetry at https://goteleport.com/docs/machine-id/reference/telemetry/ tbot/anonymous_telemetry.go:84
ERROR: join method must be provided
Beta Was this translation helpful? Give feedback.
All reactions