Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- sudo -E ./tools/deployment/30_deploy_controlplane.sh
- + TARGET_IMAGE_DIR=/srv/images
- + EPHEMERAL_DOMAIN_NAME=air-ephemeral
- + TARGET_IMAGE_URL=https://cloud-images.ubuntu.com/focal/current/focal-server-cloudimg-amd64.img
- + export KUBECONFIG=/home/ubuntu/.airship/kubeconfig
- + KUBECONFIG=/home/ubuntu/.airship/kubeconfig
- + export KUBECONFIG_TARGET_CONTEXT=target-cluster
- + KUBECONFIG_TARGET_CONTEXT=target-cluster
- + echo 'Ensure all cdrom images are ejected.'
- Ensure all cdrom images are ejected.
- ++ sudo virsh list --all --name
- ++ grep -v air-ephemeral
- + for vm in $(sudo virsh list --all --name |grep -v ${EPHEMERAL_DOMAIN_NAME})
- + sudo virsh domblklist air-target-1
- + awk 'NF==2 {print $1}'
- + grep -v Target
- + xargs '-I{}' sudo virsh change-media air-target-1 '{}' --eject
- error: No disk found whose source path or target is sda
- error: The disk device 'hdc' doesn't have media
- + :
- + for vm in $(sudo virsh list --all --name |grep -v ${EPHEMERAL_DOMAIN_NAME})
- + sudo virsh domblklist air-worker-1
- + awk 'NF==2 {print $1}'
- + grep -v Target
- + xargs '-I{}' sudo virsh change-media air-worker-1 '{}' --eject
- error: No disk found whose source path or target is sda
- error: The disk device 'hdc' doesn't have media
- + :
- + echo 'Download target image'
- Download target image
- + DOWNLOAD=200
- + '[' -e /srv/images/target-image.qcow2 ']'
- +++ stat -c %Y /srv/images/target-image.qcow2
- ++ date -d @1612541045 '+%a, %d %b %Y %T %Z'
- + MTIME='Fri, 05 Feb 2021 16:04:05 UTC'
- ++ curl -sSLI --write-out '%{http_code}' -H 'If-Modified-Since: Fri, 05 Feb 2021 16:04:05 UTC' https://cloud-images.ubuntu.com/focal/current/focal-server-cloudimg-amd64.img
- ++ tail -1
- + DOWNLOAD=304
- + '[' 304 '!=' 304 ']'
- + md5sum /srv/images/target-image.qcow2
- + cut -d ' ' -f 1
- + echo 'Create target k8s cluster resources'
- Create target k8s cluster resources
- + airshipctl phase run controlplane-ephemeral --debug
- gpg: keybox '/tmp/pubring.kbx' created
- gpg: /tmp/trustdb.gpg: trustdb created
- gpg: key 3D16CEE4A27381B4: public key "SOPS Functional Tests Key 1 (https://github.com/mozilla/sops/) <[email protected]>" imported
- gpg: key 3D16CEE4A27381B4: secret key imported
- 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: "SOPS Functional Tests Key 1 (https://github.com/mozilla/sops/) <[email protected]>" not changed
- 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: 5
- gpg: imported: 3
- gpg: unchanged: 2
- gpg: secret keys read: 2
- gpg: secret keys imported: 2
- gpg: keybox '/tmp/pubring.kbx' created
- gpg: /tmp/trustdb.gpg: trustdb created
- gpg: key 3D16CEE4A27381B4: public key "SOPS Functional Tests Key 1 (https://github.com/mozilla/sops/) <[email protected]>" imported
- gpg: key 3D16CEE4A27381B4: secret key imported
- 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: "SOPS Functional Tests Key 1 (https://github.com/mozilla/sops/) <[email protected]>" not changed
- 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: 5
- gpg: imported: 3
- gpg: unchanged: 2
- gpg: secret keys read: 2
- gpg: secret keys imported: 2
- [airshipctl] 2021/02/05 16:06:26 opendev.org/airship/airshipctl@/pkg/phase/executors/k8s_applier.go:103: Getting kubeconfig context name from cluster map
- [airshipctl] 2021/02/05 16:06:26 opendev.org/airship/airshipctl@/pkg/phase/executors/k8s_applier.go:108: Getting kubeconfig file information from kubeconfig provider
- [airshipctl] 2021/02/05 16:06:29 opendev.org/airship/airshipctl@/pkg/phase/executors/k8s_applier.go:113: Filtering out documents that shouldn't be applied to kubernetes from document bundle
- [airshipctl] 2021/02/05 16:06:29 opendev.org/airship/airshipctl@/pkg/phase/executors/k8s_applier.go:121: Using kubeconfig at '/home/ubuntu/.airship/kubeconfig-509810630' and context 'ephemeral-cluster'
- [airshipctl] 2021/02/05 16:06:29 opendev.org/airship/airshipctl@/pkg/phase/executors/k8s_applier.go:92: WaitTimeout: 33m20s
- [airshipctl] 2021/02/05 16:06:29 opendev.org/airship/airshipctl@/pkg/k8s/applier/applier.go:76: Getting infos for bundle, inventory id is controlplane-ephemeral
- [airshipctl] 2021/02/05 16:06:29 opendev.org/airship/airshipctl@/pkg/k8s/applier/applier.go:109: Inventory Object config Map not found, auto generating Inventory object
- [airshipctl] 2021/02/05 16:06:29 opendev.org/airship/airshipctl@/pkg/k8s/applier/applier.go:116: Injecting Inventory Object: {"apiVersion":"v1","kind":"ConfigMap","metadata":{"creationTimestamp":null,"labels":{"cli-utils.sigs.k8s.io/inventory-id":"controlplane-ephemeral"},"name":"airshipit-controlplane-ephemeral","namespace":"airshipit"}}{nsfx:false,beh:unspecified} into bundle
- [airshipctl] 2021/02/05 16:06:29 opendev.org/airship/airshipctl@/pkg/k8s/applier/applier.go:122: Making sure that inventory object namespace airshipit exists
- [airshipctl] 2021/02/05 16:06:30 opendev.org/airship/airshipctl@/pkg/events/processor.go:60: Received error on event channel {can't find scope for resource Cluster.cluster.x-k8s.io target-cluster}
- Error events received on channel, errors are:
- [can't find scope for resource Cluster.cluster.x-k8s.io target-cluster]
- ubuntu@airship:~/airshipctl$ sudo virsh list --all --name
- air-ephemeral
- air-target-1
- air-worker-1
Advertisement
Add Comment
Please, Sign In to add comment