Created
February 12, 2021 19:18
-
-
Save klizhentas/eb0500257c74943a7ac5df17b67539a9 to your computer and use it in GitHub Desktop.
MFA Migration failed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ERROR REPORT: | |
Original Error: *trace.BadParameterError MFA device named "otp" already exists | |
Stack Trace: | |
/home/sasha/go/src/github.com/gravitational/teleport/lib/services/authentication.go:48 github.com/gravitational/teleport/lib/services.ValidateLocalAuthSecrets | |
/home/sasha/go/src/github.com/gravitational/teleport/lib/services/local/resource.go:485 github.com/gravitational/teleport/lib/services/local.itemToLocalAuthSecrets | |
/home/sasha/go/src/github.com/gravitational/teleport/lib/services/local/resource.go:432 github.com/gravitational/teleport/lib/services/local.userFromUserItems | |
/home/sasha/go/src/github.com/gravitational/teleport/lib/services/local/users.go:101 github.com/gravitational/teleport/lib/services/local.(*IdentityService).getUsersWithSecrets | |
/home/sasha/go/src/github.com/gravitational/teleport/lib/services/local/users.go:64 github.com/gravitational/teleport/lib/services/local.(*IdentityService).GetUsers | |
/home/sasha/go/src/github.com/gravitational/teleport/lib/auth/auth.go:1886 github.com/gravitational/teleport/lib/auth.(*Server).GetUsers | |
/home/sasha/go/src/github.com/gravitational/teleport/lib/auth/init.go:1155 github.com/gravitational/teleport/lib/auth.migrateMFADevices | |
/home/sasha/go/src/github.com/gravitational/teleport/lib/auth/init.go:496 github.com/gravitational/teleport/lib/auth.migrateLegacyResources | |
/home/sasha/go/src/github.com/gravitational/teleport/lib/auth/init.go:465 github.com/gravitational/teleport/lib/auth.Init | |
/home/sasha/go/src/github.com/gravitational/teleport/lib/service/service.go:1125 github.com/gravitational/teleport/lib/service.(*TeleportProcess).initAuthService | |
/home/sasha/go/src/github.com/gravitational/teleport/lib/service/service.go:694 github.com/gravitational/teleport/lib/service.NewTeleport | |
/home/sasha/go/src/github.com/gravitational/teleport/lib/service/service.go:432 github.com/gravitational/teleport/lib/service.newTeleportProcess | |
/home/sasha/go/src/github.com/gravitational/teleport/lib/service/service.go:442 github.com/gravitational/teleport/lib/service.Run | |
/home/sasha/go/src/github.com/gravitational/teleport/tool/teleport/common/teleport.go:213 github.com/gravitational/teleport/tool/teleport/common.OnStart | |
/home/sasha/go/src/github.com/gravitational/teleport/tool/teleport/common/teleport.go:190 github.com/gravitational/teleport/tool/teleport/common.Run | |
/home/sasha/go/src/github.com/gravitational/teleport/tool/teleport/main.go:26 main.main | |
/usr/local/go/src/runtime/proc.go:204 runtime.main | |
/usr/local/go/src/runtime/asm_amd64.s:1374 runtime.goexit | |
User Message: initialization failed | |
MFA device named "otp" already exists |
DEBU [AUTH] Migrating MFA devices in LocalAuth for user "sasha" auth/init.go:1207
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
User that crashes: