Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- sudo -E ./tools/deployment/33_cluster_move_target_node.sh
- + export TIMEOUT=3600
- + TIMEOUT=3600
- + export KUBECONFIG=/home/dingo/.airship/kubeconfig
- + KUBECONFIG=/home/dingo/.airship/kubeconfig
- + export KUBECONFIG_EPHEMERAL_CONTEXT=ephemeral-cluster
- + KUBECONFIG_EPHEMERAL_CONTEXT=ephemeral-cluster
- + export KUBECONFIG_TARGET_CONTEXT=target-cluster
- + KUBECONFIG_TARGET_CONTEXT=target-cluster
- + export TARGET_NODE=node01
- + TARGET_NODE=node01
- + export CLUSTER_NAMESPACE=default
- + CLUSTER_NAMESPACE=default
- + echo 'Check Cluster Status'
- Check Cluster Status
- + kubectl --kubeconfig /home/dingo/.airship/kubeconfig --context ephemeral-cluster -n default get cluster target-cluster -o json
- + jq .status.controlPlaneReady
- true
- + echo 'Annotate BMH for target node'
- Annotate BMH for target node
- + kubectl --kubeconfig /home/dingo/.airship/kubeconfig --context ephemeral-cluster -n default annotate bmh node01 baremetalhost.metal3.io/paused=true
- baremetalhost.metal3.io/node01 annotated
- + echo 'Move Cluster Object to Target Cluster'
- Move Cluster Object to Target Cluster
- + airshipctl phase run clusterctl-move
- {"Message":"starting clusterctl move executor","Operation":"ClusterctlMoveStart","Timestamp":"2021-02-11T13:18:54.780180847Z","Type":"ClusterctlEvent"}
- [airshipctl] 2021/02/11 13:18:56 command 'clusterctl move' is going to be executed
- [airshipctl] 2021/02/11 13:18:57 Received error on event channel {error during clusterctl move: [provider bootstrap-kubeadm watching namespace default not found in the target cluster, provider control-plane-kubeadm watching namespace default not found in the target cluster, provider cluster-api watching namespace default not found in the target cluster, provider infrastructure-metal3 watching namespace default not found in the target cluster]}
- Error events received on channel, errors are:
- [error during clusterctl move: [provider bootstrap-kubeadm watching namespace default not found in the target cluster, provider control-plane-kubeadm watching namespace default not found in the target cluster, provider cluster-api watching namespace default not found in the target cluster, provider infrastructure-metal3 watching namespace default not found in the target cluster]]
- dingo@airship:~/airshipctl$ sudo -E ./tools/deployment/33_cluster_move_target_node.sh
- + export TIMEOUT=3600
- + TIMEOUT=3600
- + export KUBECONFIG=/home/dingo/.airship/kubeconfig
- + KUBECONFIG=/home/dingo/.airship/kubeconfig
- + export KUBECONFIG_EPHEMERAL_CONTEXT=ephemeral-cluster
- + KUBECONFIG_EPHEMERAL_CONTEXT=ephemeral-cluster
- + export KUBECONFIG_TARGET_CONTEXT=target-cluster
- + KUBECONFIG_TARGET_CONTEXT=target-cluster
- + export TARGET_NODE=node01
- + TARGET_NODE=node01
- + export CLUSTER_NAMESPACE=default
- + CLUSTER_NAMESPACE=default
- + echo 'Check Cluster Status'
- Check Cluster Status
- + kubectl --kubeconfig /home/dingo/.airship/kubeconfig --context ephemeral-cluster -n default get cluster target-cluster -o json
- + jq .status.controlPlaneReady
- true
- + echo 'Annotate BMH for target node'
- Annotate BMH for target node
- + kubectl --kubeconfig /home/dingo/.airship/kubeconfig --context ephemeral-cluster -n default annotate bmh node01 baremetalhost.metal3.io/paused=true
- error: --overwrite is false but found the following declared annotation(s): 'baremetalhost.metal3.io/paused' already has a value (true)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement