Advertisement
Guest User

Untitled

a guest
Feb 4th, 2022
32
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 9.25 KB | None | 0 0
  1. $ abra -v
  2. abra version 0.4.0-alpha-rc6-cff7534
  3. $ abra server ls
  4. +-----------------+-----------------+---------+---------+
  5. |      NAME       |      HOST       |  USER   |  PORT   |
  6. +-----------------+-----------------+---------+---------+
  7. ...
  8. | lit-yksflip     | lit.yksflip.de  | root    |      22 |
  9. ...
  10. +-----------------+-----------------+---------+---------+
  11. $ docker context ls
  12. NAME              DESCRIPTION                               DOCKER ENDPOINT                KUBERNETES ENDPOINT                                                ORCHESTRATOR
  13. ...
  14. lit-yksflip *                                               ssh://root@lit.yksflip.de:22
  15. ...
  16. $ docker ps # works!
  17. CONTAINER ID   IMAGE                                  COMMAND                  CREATED      STATUS                PORTS                          NAMES
  18. bd4b9e919226   yksflip/foodsoft:latest                "/usr/src/app/docker…"   3 days ago   Up 3 days (healthy)   3000/tcp                       yksflip-food_app.1.ijocn17zc81ny7f51of5r4b5c
  19. ...
  20. $ cat ~/.ssh/config | grep -A 3 lit-yksflip
  21. Host lit-yksflip lit.yksflip.de
  22.     Hostname lit.yksflip.de
  23.     User root
  24.     Port 22
  25. $ abra app deploy -d --chaos yksflip-board
  26. DEBU[0000] collecting metadata from 8 servers: coop.yksflip.de, default, lit-demo, lit-lit, lit-wandelgut, lit-yksflip, swe-hospiz, tmp  caller="/drone/src/pkg/config/app.go:150 LoadAppFiles"
  27. DEBU[0000] read map[DEBUG:false DOMAIN:board.lit.yksflip.de LETS_ENCRYPT_ENV:production MAIL_FROM:[SKA] Wekan Notifications MAIL_URL:smtp://smtp:25/?ignoreTLS=true&tls={rejectUnauthorized:false} MONGO_URL:mongodb://db:27017/wekan OAUTH2_AUTH_ENDPOINT:/application/o/authorize/ OAUTH2_CLIENT_ID:wekan OAUTH2_EMAIL_MAP:email OAUTH2_ENABLED:true OAUTH2_FULLNAME_MAP:given_name OAUTH2_ID_MAP:preferred_username OAUTH2_LOGIN_STYLE:redirect OAUTH2_REQUEST_PERMISSIONS:openid profile email wekan OAUTH2_SERVER_URL:https://sso.lit.yksflip.de OAUTH2_TOKEN_ENDPOINT:/application/o/token/ OAUTH2_USERINFO_ENDPOINT:/application/o/userinfo/ OAUTH2_USERNAME_MAP:preferred_username PASSWORD_LOGIN_ENABLED:false RICHER_CARD_COMMENT_EDITOR:false ROOT_URL:https://board.lit.yksflip.de SECRET_OAUTH2_SECRET_VERSION:v1 SECRET_SSO_ID_VERSION:v1 TYPE:wekan WITH_API:true] from /home/yksflip/.abra/servers/lit-yksflip/yksflip-board.env  caller="/drone/src/pkg/config/env.go:48 ReadEnv"
  28. DEBU[0000] read env map[DEBUG:false DOMAIN:board.lit.yksflip.de LETS_ENCRYPT_ENV:production MAIL_FROM:[SKA] Wekan Notifications MAIL_URL:smtp://smtp:25/?ignoreTLS=true&tls={rejectUnauthorized:false} MONGO_URL:mongodb://db:27017/wekan OAUTH2_AUTH_ENDPOINT:/application/o/authorize/ OAUTH2_CLIENT_ID:wekan OAUTH2_EMAIL_MAP:email OAUTH2_ENABLED:true OAUTH2_FULLNAME_MAP:given_name OAUTH2_ID_MAP:preferred_username OAUTH2_LOGIN_STYLE:redirect OAUTH2_REQUEST_PERMISSIONS:openid profile email wekan OAUTH2_SERVER_URL:https://sso.lit.yksflip.de OAUTH2_TOKEN_ENDPOINT:/application/o/token/ OAUTH2_USERINFO_ENDPOINT:/application/o/userinfo/ OAUTH2_USERNAME_MAP:preferred_username PASSWORD_LOGIN_ENABLED:false RICHER_CARD_COMMENT_EDITOR:false ROOT_URL:https://board.lit.yksflip.de SECRET_OAUTH2_SECRET_VERSION:v1 SECRET_SSO_ID_VERSION:v1 TYPE:wekan WITH_API:true] from /home/yksflip/.abra/servers/lit-yksflip/yksflip-board.env  caller="/drone/src/pkg/config/app.go:107 readAppEnvFile"
  29. DEBU[0000] retrieved {yksflip-board wekan board.lit.yksflip.de map[DEBUG:false DOMAIN:board.lit.yksflip.de LETS_ENCRYPT_ENV:production MAIL_FROM:[SKA] Wekan Notifications MAIL_URL:smtp://smtp:25/?ignoreTLS=true&tls={rejectUnauthorized:false} MONGO_URL:mongodb://db:27017/wekan OAUTH2_AUTH_ENDPOINT:/application/o/authorize/ OAUTH2_CLIENT_ID:wekan OAUTH2_EMAIL_MAP:email OAUTH2_ENABLED:true OAUTH2_FULLNAME_MAP:given_name OAUTH2_ID_MAP:preferred_username OAUTH2_LOGIN_STYLE:redirect OAUTH2_REQUEST_PERMISSIONS:openid profile email wekan OAUTH2_SERVER_URL:https://sso.lit.yksflip.de OAUTH2_TOKEN_ENDPOINT:/application/o/token/ OAUTH2_USERINFO_ENDPOINT:/application/o/userinfo/ OAUTH2_USERNAME_MAP:preferred_username PASSWORD_LOGIN_ENABLED:false RICHER_CARD_COMMENT_EDITOR:false ROOT_URL:https://board.lit.yksflip.de SECRET_OAUTH2_SECRET_VERSION:v1 SECRET_SSO_ID_VERSION:v1 TYPE:wekan WITH_API:true] lit-yksflip /home/yksflip/.abra/servers/lit-yksflip/yksflip-board.env} for yksflip-board  caller="/drone/src/pkg/app/app.go:26 Get"
  30. DEBU[0000] found context connection details &{root lit.yksflip.de 22} for lit-yksflip  caller="/drone/src/pkg/ssh/ssh.go:450 GetContextConnDetails"
  31. DEBU[0000] server SSH host key present in ~/.ssh/known_hosts for lit-yksflip  caller="/drone/src/pkg/ssh/ssh.go:217 GetHostKey"
  32. DEBU[0000] validated yksflip-board as app argument       caller="/drone/src/cli/internal/validate.go:133 ValidateApp"
  33. DEBU[0000] read map[DEBUG:false DOMAIN:board.example.com LETS_ENCRYPT_ENV:production MAIL_FROM:[WeKan] Wekan Notifications <noreply@example.org> MAIL_URL:smtp://smtp:25/?ignoreTLS=true&tls={rejectUnauthorized:false} MONGO_URL:mongodb://db:27017/wekan OAUTH2_AUTH_ENDPOINT:/application/o/authorize/ OAUTH2_CLIENT_ID:wekan OAUTH2_EMAIL_MAP:email OAUTH2_ENABLED:true OAUTH2_FULLNAME_MAP:given_name OAUTH2_ID_MAP:preferred_username OAUTH2_LOGIN_STYLE:redirect OAUTH2_REQUEST_PERMISSIONS:openid profile email wekan OAUTH2_SERVER_URL:https://sso.example.com OAUTH2_TOKEN_ENDPOINT:/application/o/token/ OAUTH2_USERINFO_ENDPOINT:/application/o/userinfo/ OAUTH2_USERNAME_MAP:preferred_username PASSWORD_LOGIN_ENABLED:false RICHER_CARD_COMMENT_EDITOR:false ROOT_URL:https://board.example.com SECRET_OAUTH2_SECRET_VERSION:v1 TYPE:wekan WITH_API:true] from /home/yksflip/.abra/apps/wekan/.env.sample  caller="/drone/src/pkg/config/env.go:48 ReadEnv"
  34. DEBU[0000] [DEBUG] HEAD https://apps.coopcloud.tech      caller="/drone/src/pkg/web/client.go:17 customLeveledLogger.Printf"
  35. DEBU[0000] file system cached recipe catalogue is now up-to-date  caller="/drone/src/pkg/recipe/recipe.go:692 recipeCatalogueFSIsLatest"
  36. DEBU[0000] reading recipe catalogue from file system cache to get latest  caller="/drone/src/pkg/recipe/recipe.go:793 GetRecipeMeta"
  37. DEBU[0000] read recipe catalogue from file system cache in /home/yksflip/.abra/catalogue/recipes.json  caller="/drone/src/pkg/recipe/recipe.go:737 readRecipeCatalogueFS"
  38. DEBU[0000] recipe metadata retrieved for wekan           caller="/drone/src/pkg/recipe/recipe.go:808 GetRecipeMeta"
  39. DEBU[0000] linting for critical errors in wekan configs  caller="/drone/src/pkg/lint/recipe.go:129 LintForErrors"
  40. DEBU[0000] linting successful, wekan is well configured  caller="/drone/src/pkg/lint/recipe.go:146 LintForErrors"
  41. DEBU[0000] constructed SSH config {lit.yksflip.de   root} for lit.yksflip.de  caller="/drone/src/pkg/ssh/ssh.go:523 GetHostConfig"
  42. DEBU[0000] couldn't find a docker context matching lit.yksflip.de  caller="/drone/src/pkg/ssh/ssh.go:460 GetContextConnDetails"
  43. DEBU[0000] searching ~/.ssh/config for a Host entry for lit.yksflip.de  caller="/drone/src/pkg/ssh/ssh.go:461 GetContextConnDetails"
  44. DEBU[0000] using &{root lit.yksflip.de } from ~/.ssh/config for connection details  caller="/drone/src/pkg/ssh/ssh.go:469 GetContextConnDetails"
  45. DEBU[0000] constructed SSH config {lit.yksflip.de   root} for lit.yksflip.de  caller="/drone/src/pkg/ssh/ssh.go:523 GetHostConfig"
  46. DEBU[0000] couldn't find a docker context matching lit.yksflip.de  caller="/drone/src/pkg/ssh/ssh.go:460 GetContextConnDetails"
  47. DEBU[0000] searching ~/.ssh/config for a Host entry for lit.yksflip.de  caller="/drone/src/pkg/ssh/ssh.go:461 GetContextConnDetails"
  48. DEBU[0000] using &{root lit.yksflip.de } from ~/.ssh/config for connection details  caller="/drone/src/pkg/ssh/ssh.go:469 GetContextConnDetails"
  49. DEBU[0000] using ssh-agent to make an SSH connection for lit.yksflip.de  caller="/drone/src/pkg/ssh/ssh.go:350 connectWithAgentTimeout"
  50. DEBU[0000] ssh-agent has these keys loaded: ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGFEc3u8Zffw9l7kIJRBB5p1RXHtA7LSDl6li/Zr6C1e yksflip@laptop  caller="/drone/src/pkg/ssh/ssh.go:371 connectWithAgentTimeout"
  51. DEBU[0000] tcp dialing lit.yksflip.de:                   caller="/drone/src/pkg/ssh/ssh.go:321 connect"
  52. DEBU[0000] tcp dialing lit.yksflip.de: failed, trying via ~/.ssh/config  caller="/drone/src/pkg/ssh/ssh.go:327 connect"
  53. DEBU[0000] constructed SSH config {lit.yksflip.de   root} for lit.yksflip.de  caller="/drone/src/pkg/ssh/ssh.go:523 GetHostConfig"
  54. FATA[0000] dial tcp 10.130.20.243:0: connect: connection refused  caller="/drone/src/pkg/upstream/commandconn/connection.go:73 NewConnectionHelper" stack="/drone/src/pkg/upstream/commandconn/connection.go:73     NewConnectionHelper\n/drone/src/pkg/client/client.go:30                       New\n/drone/src/cli/internal/deploy.go:43                     DeployAction\n/go/pkg/mod/github.com/urfave/cli@v1.22.5/app.go:524     HandleAction\n/go/pkg/mod/github.com/urfave/cli@v1.22.5/command.go:173 Command.Run\n/go/pkg/mod/github.com/urfave/cli@v1.22.5/app.go:405     (*App).RunAsSubcommand\n/go/pkg/mod/github.com/urfave/cli@v1.22.5/command.go:372 Command.startApp\n/go/pkg/mod/github.com/urfave/cli@v1.22.5/command.go:102 Command.Run\n/go/pkg/mod/github.com/urfave/cli@v1.22.5/app.go:277     (*App).Run\n/drone/src/cli/cli.go:207                                RunApp\n/drone/src/cmd/abra/main.go:22                           main\n/usr/local/go/src/runtime/proc.go:255                    main\n/usr/local/go/src/runtime/asm_amd64.s:1581               goexit"
  55.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement