Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- sudo -E ./tools/deployment/24_build_images.sh
- untu@airship:~/airshipctl$ export SOPS_IMPORT_PGP=”$(cat /tmp/key.asc)”
- ubuntu@airship:~/airshipctl$ export SOPS_PGP_FP=”FBC7B9E2A4F9289AC0C1D4843D16CEE4A27381B4”
- ubuntu@airship:~/airshipctl$ sudo -E ./tools/deployment/24_build_images.sh
- + export USER_NAME=root
- + USER_NAME=root
- + IMAGE_DIR=/srv/images
- + CLEANUP_SERVE_DIR=false
- + SITE_NAME=test-site
- + IMAGE_PHASES=bootstrap-iso
- + sudo rm -rf /srv/images
- + sudo mkdir -p /srv/images
- + sudo chmod -R 755 /srv/images
- + sudo chown -R root /srv/images
- + unset IFS
- + for phase in $IMAGE_PHASES
- + echo 'Build phase: bootstrap-iso'
- Build phase: bootstrap-iso
- + airshipctl phase run bootstrap-iso --debug
- [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]}
- gpg: keybox '/tmp/pubring.kbx' created
- gpg: /tmp/trustdb.gpg: trustdb created
- gpg: key D8720D957C3D3074: public key "SOPS Functional Tests Key 2 (https://github.com/mozilla/sops/) <[email protected]>" imported
- gpg: key D8720D957C3D3074: secret key imported
- gpg: key 3D16CEE4A27381B4: public key "SOPS Functional Tests Key 1 (https://github.com/mozilla/sops/) <[email protected]>" imported
- gpg: key D8720D957C3D3074: "SOPS Functional Tests Key 2 (https://github.com/mozilla/sops/) <[email protected]>" not changed
- gpg: key 19F9B5DAEA91FF86: public key "SOPS Functional Tests Key 3 (https://github.com/mozilla/sops/) <[email protected]>" imported
- gpg: Total number processed: 4
- gpg: imported: 3
- gpg: unchanged: 1
- gpg: secret keys read: 1
- gpg: secret keys imported: 1
- [ERROR] Sops command results in error for
- apiVersion: airshipit.org/v1alpha1
- kind: VariableCatalogue
- metadata:
- labels:
- airshipit.org/deploy-k8s: 'false'
- name: password-secret
- passwordRandom1: 'ENC[AES256_GCM,data:o1xUrKiOPaucB+U2JSg=,iv:vJkmHG5B9/xiQA+qfRHyYwQFKIG1P0S0k8qwFCEyICk=,tag:MqLeMZ3BXhNKaUKvZoLStw==,type:str]'
- sops:
- azure_kv: []
- gcp_kms: []
- hc_vault: []
- kms: []
- lastmodified: '2021-01-14T11:23:10Z'
- mac: 'ENC[AES256_GCM,data:7aMFeEfn5MXU9M7U+rQ7fIcWG6A6BZILsvgVyEl+esa8EhEsOL6dRfITq2x+1t6ft+H5nRqbO5GyXJ3mhu7n/x5FBVVqBcZrvydojrqBWizXA4HQAc3t8OS3D1I2WLLx+S7mI5AiKDERGZX4ImiahSebqL/bNfpYdDQP+gX8+vQ=,iv:zchumZaGhTpyEEsJMMlW/e1vieqjVKT32Kiv0LuLPlk=,tag:q0vWzGZ8D4HYHTvdRymG0g==,type:str]'
- pgp:
- - created_at: '2021-01-14T11:23:10Z'
- enc: |
- -----BEGIN PGP MESSAGE-----
- hQEMAyUpShfNkFB/AQf+IIXYumKkSmzMHCoJVXculVowkez4aUI/OpdNw2CPWNDd
- 3Kzea6kTv64ef+kll9DhczP0gVlgUZ0p0MenBfmkI4qt3wr5fyRUVjUpfF/R8Gmc
- 9GZf4myDD5T2wDJVCkNmO2wogbZ7IZaGdx0HV3DihvSGg0xcGBUaFp/zeR9vXTQs
- a+CecTBm4+7uLnDvHf4Rathy3gnlLrLLdsJXRgEOJ2Fqp/JjoqFqsWOol9lFwALM
- yRkxbWjeL7ePddXBZ8QmOB/AB0RKSRQ2Yd9RXpp1gSFKn5NOfWIZsaVgdds2zOw5
- R5syWHhfzVylAxNrKJYIgr9hLje48W/Y6GSezkGvG9JcAebQzVP53UtXkwJSIjda
- 86WAFwpgpZ0sEG7zpSpxS8p4g3XsXjOdD2b0y/dwXGYK5oeOjb/wGYFf1EX0p0xk
- BqGQ8JHxikqW8oEuyEgeg96uEMZb1Vy7u657zPw=
- =VfIN
- -----END PGP MESSAGE-----
- fp: FBC7B9E2A4F9289AC0C1D4843D16CEE4A27381B4
- unencrypted_regex: ^(kind|apiVersion|group|metadata)$
- version: 3.6.1
- Failed to get the data key required to decrypt the SOPS file.
- Group 0: FAILED
- FBC7B9E2A4F9289AC0C1D4843D16CEE4A27381B4: FAILED
- - | could not decrypt data key with PGP key:
- | golang.org/x/crypto/openpgp error: Could not load secring:
- | open /tmp/secring.gpg: no such file or directory; GPG binary
- | error: exit status 2
- Recovery failed because no master key was able to decrypt the file. In
- order for SOPS to recover the file, at least one key has to be successful,
- but none were.
- accumulating resources: 2 errors occurred:
- * accumulateFile error: "accumulating resources from '../catalogues': '/tmp/airship/airshipctl/manifests/site/test-site/ephemeral/catalogues' must resolve to a file"
- * 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"
Advertisement
Add Comment
Please, Sign In to add comment