Guest User

Untitled

a guest
Feb 5th, 2021
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.03 KB | None | 0 0
  1. sudo -E ./tools/deployment/24_build_images.sh
  2. untu@airship:~/airshipctl$ export SOPS_IMPORT_PGP=”$(cat /tmp/key.asc)”
  3. ubuntu@airship:~/airshipctl$ export SOPS_PGP_FP=”FBC7B9E2A4F9289AC0C1D4843D16CEE4A27381B4”
  4. ubuntu@airship:~/airshipctl$ sudo -E ./tools/deployment/24_build_images.sh
  5. + export USER_NAME=root
  6. + USER_NAME=root
  7. + IMAGE_DIR=/srv/images
  8. + CLEANUP_SERVE_DIR=false
  9. + SITE_NAME=test-site
  10. + IMAGE_PHASES=bootstrap-iso
  11. + sudo rm -rf /srv/images
  12. + sudo mkdir -p /srv/images
  13. + sudo chmod -R 755 /srv/images
  14. + sudo chown -R root /srv/images
  15. + unset IFS
  16. + for phase in $IMAGE_PHASES
  17. + echo 'Build phase: bootstrap-iso'
  18. Build phase: bootstrap-iso
  19. + airshipctl phase run bootstrap-iso --debug
  20. [airshipctl] 2021/02/05 15:30:39 opendev.org/airship/airshipctl@/pkg/cluster/clustermap/map.go:64: cluster is not defined in cluster map &{{ClusterMap airshipit.org/v1alpha1} {main-map 0 0001-01-01 00:00:00 +0000 UTC <nil> <nil> map[airshipit.org/deploy-k8s:false] map[config.kubernetes.io/path:clustermap_main-map.yaml] [] [] []} map[ephemeral-cluster:0xc0003e36d0 target-cluster:0xc0003e3720]}
  21. gpg: keybox '/tmp/pubring.kbx' created
  22. gpg: /tmp/trustdb.gpg: trustdb created
  23. gpg: key D8720D957C3D3074: public key "SOPS Functional Tests Key 2 (https://github.com/mozilla/sops/) <[email protected]>" imported
  24. gpg: key D8720D957C3D3074: secret key imported
  25. gpg: key 3D16CEE4A27381B4: public key "SOPS Functional Tests Key 1 (https://github.com/mozilla/sops/) <[email protected]>" imported
  26. gpg: key D8720D957C3D3074: "SOPS Functional Tests Key 2 (https://github.com/mozilla/sops/) <[email protected]>" not changed
  27. gpg: key 19F9B5DAEA91FF86: public key "SOPS Functional Tests Key 3 (https://github.com/mozilla/sops/) <[email protected]>" imported
  28. gpg: Total number processed: 4
  29. gpg: imported: 3
  30. gpg: unchanged: 1
  31. gpg: secret keys read: 1
  32. gpg: secret keys imported: 1
  33. [ERROR] Sops command results in error for
  34. apiVersion: airshipit.org/v1alpha1
  35. kind: VariableCatalogue
  36. metadata:
  37. labels:
  38. airshipit.org/deploy-k8s: 'false'
  39. name: password-secret
  40. passwordRandom1: 'ENC[AES256_GCM,data:o1xUrKiOPaucB+U2JSg=,iv:vJkmHG5B9/xiQA+qfRHyYwQFKIG1P0S0k8qwFCEyICk=,tag:MqLeMZ3BXhNKaUKvZoLStw==,type:str]'
  41. sops:
  42. azure_kv: []
  43. gcp_kms: []
  44. hc_vault: []
  45. kms: []
  46. lastmodified: '2021-01-14T11:23:10Z'
  47. mac: 'ENC[AES256_GCM,data:7aMFeEfn5MXU9M7U+rQ7fIcWG6A6BZILsvgVyEl+esa8EhEsOL6dRfITq2x+1t6ft+H5nRqbO5GyXJ3mhu7n/x5FBVVqBcZrvydojrqBWizXA4HQAc3t8OS3D1I2WLLx+S7mI5AiKDERGZX4ImiahSebqL/bNfpYdDQP+gX8+vQ=,iv:zchumZaGhTpyEEsJMMlW/e1vieqjVKT32Kiv0LuLPlk=,tag:q0vWzGZ8D4HYHTvdRymG0g==,type:str]'
  48. pgp:
  49. - created_at: '2021-01-14T11:23:10Z'
  50. enc: |
  51. -----BEGIN PGP MESSAGE-----
  52.  
  53. hQEMAyUpShfNkFB/AQf+IIXYumKkSmzMHCoJVXculVowkez4aUI/OpdNw2CPWNDd
  54. 3Kzea6kTv64ef+kll9DhczP0gVlgUZ0p0MenBfmkI4qt3wr5fyRUVjUpfF/R8Gmc
  55. 9GZf4myDD5T2wDJVCkNmO2wogbZ7IZaGdx0HV3DihvSGg0xcGBUaFp/zeR9vXTQs
  56. a+CecTBm4+7uLnDvHf4Rathy3gnlLrLLdsJXRgEOJ2Fqp/JjoqFqsWOol9lFwALM
  57. yRkxbWjeL7ePddXBZ8QmOB/AB0RKSRQ2Yd9RXpp1gSFKn5NOfWIZsaVgdds2zOw5
  58. R5syWHhfzVylAxNrKJYIgr9hLje48W/Y6GSezkGvG9JcAebQzVP53UtXkwJSIjda
  59. 86WAFwpgpZ0sEG7zpSpxS8p4g3XsXjOdD2b0y/dwXGYK5oeOjb/wGYFf1EX0p0xk
  60. BqGQ8JHxikqW8oEuyEgeg96uEMZb1Vy7u657zPw=
  61. =VfIN
  62. -----END PGP MESSAGE-----
  63. fp: FBC7B9E2A4F9289AC0C1D4843D16CEE4A27381B4
  64. unencrypted_regex: ^(kind|apiVersion|group|metadata)$
  65. version: 3.6.1
  66.  
  67. Failed to get the data key required to decrypt the SOPS file.
  68.  
  69. Group 0: FAILED
  70. FBC7B9E2A4F9289AC0C1D4843D16CEE4A27381B4: FAILED
  71. - | could not decrypt data key with PGP key:
  72. | golang.org/x/crypto/openpgp error: Could not load secring:
  73. | open /tmp/secring.gpg: no such file or directory; GPG binary
  74. | error: exit status 2
  75.  
  76. Recovery failed because no master key was able to decrypt the file. In
  77. order for SOPS to recover the file, at least one key has to be successful,
  78. but none were.
  79.  
  80. accumulating resources: 2 errors occurred:
  81. * accumulateFile error: "accumulating resources from '../catalogues': '/tmp/airship/airshipctl/manifests/site/test-site/ephemeral/catalogues' must resolve to a file"
  82. * accumulateDirector error: "recursed accumulation of path '/tmp/airship/airshipctl/manifests/site/test-site/ephemeral/catalogues': accumulating resources: 2 errors occurred:\n\t* accumulateFile error: \"accumulating resources from '../../target/catalogues': '/tmp/airship/airshipctl/manifests/site/test-site/target/catalogues' must resolve to a file\"\n\t* accumulateDirector error: \"recursed accumulation of path '/tmp/airship/airshipctl/manifests/site/test-site/target/catalogues': accumulating resources: 2 errors occurred:\\n\\t* accumulateFile error: \\\"accumulating resources from '../generator/results': '/tmp/airship/airshipctl/manifests/site/test-site/target/generator/results' must resolve to a file\\\"\\n\\t* accumulateDirector error: \\\"recursed accumulation of path '/tmp/airship/airshipctl/manifests/site/test-site/target/generator/results': couldn't execute function: exit status 1 \\\"\\n\\n\"\n\n"
  83.  
  84.  
Advertisement
Add Comment
Please, Sign In to add comment