bulkio: token expired during backup
A user is attempting to run a backup after their token has expired, and is receiving the following warnings in the logs:
W191127 11:42:11.547631 4180672 ccl/backupccl/backup.go:1164 [n9] unable to delete checkpointed backup descriptor: ExpiredToken: The provided token has expired.
status code: 400, request id: 5E2C01D24A19C625, host id: W5jCy+g1lruuX7TsJgMeuHsQe6N/znP1RrnYKWWz9w3y1Zqn/00vvUUZbMwdj5QHy/hXGCTMP9c=
W191127 11:42:11.580081 4823078 ccl/backupccl/backup.go:1164 [n9] unable to delete checkpointed backup descriptor: ExpiredToken: The provided token has expired.
status code: 400, request id: 47CD7243E369ABE6, host id: l+Pzbl8ZN4r6XbWiNhIquQZF5S4SK3YuIyvDlKhXJ14ABfsLEK+8VaHWWF5NvEqVvE/WJfpn4Vs=
W191127 11:42:11.622456 4499724 ccl/backupccl/backup.go:1164 [n9] unable to delete checkpointed backup descriptor: ExpiredToken: The provided token has expired.
status code: 400, request id: 73B4F33796AD1B75, host id: knblHj2WNyCow+I4m+00EJjCBj+ssYTwVCUkr/HF4MlXrV4qMbZTvBcn6XanNx6gD+/v1AqYff0=
W191127 11:42:11.625610 4413395 ccl/backupccl/backup.go:1164 [n9] unable to delete checkpointed backup descriptor: ExpiredToken: The provided token has expired.
status code: 400, request id: EF9447F5CFC7CB9F, host id: rHfze7z+scR4xwu7Qq3Ku9X85nPq9zTQ3itlPSejSPqpfxdhDSRqdl9QcvJ3cLvp7vFdjjKN9Nk=
W191127 11:42:11.644635 4023509 ccl/backupccl/backup.go:1164 [n9] unable to delete checkpointed backup descriptor: ExpiredToken: The provided token has expired.
status code: 400, request id: A4C1B4C3A64F72E9, host id: 0NPjcCf2oV0KNsuOmTcXd2p81C/Fhn09Z1PC4d8t8qABhSvI2K8ZE0qCTJR1aPYeLSKTtHEvA5o=
W191127 11:42:11.654100 2654790 ccl/backupccl/backup.go:1164 [n9] unable to delete checkpointed backup descriptor: ExpiredToken: The provided token has expired.
status code: 400, request id: E66D11BDCFCCCF7F, host id: ms67k41AM4EfE7SZXtaA1Clln/Hbzy0RhuUtdeUi6c3OE57bgOCLTe6Lv6542O3LduxvomS3dsk=
The expected behavior is for the token to be refreshed and the backup retried, instead of the backup failing outright.
Epic CRDB-71
Jira issue: CRDB-5303
Zendesk ticket #4209 has been linked to this issue.
@dt, this has been sitting around for a while, would it still be an issue?
Probably? if the keys backup is given to interact with remote files aren't valid, or become invalid during the backup, it'll get errors, and I don't think that has changed. We recently started creating a new s3 client, and thus re-reading credentials from the filesystem if auth=implicit is used, for each file we access, but those read credentials still need to remain valid long enough for us to perform operations -- we can't really do much if the credentials we are given (directly or via implicit) aren't valid.
@dt is this still something we are working on or is this no longer considered a valid rquest?
We have marked this issue as stale because it has been inactive for 18 months. If this issue is still relevant, removing the stale label or adding a comment will keep it active. Otherwise, we'll close it in 10 days to keep the issue queue tidy. Thank you for your contribution to CockroachDB!