Skip to content

Commit b3246e2

Browse files
add dbg
Signed-off-by: Nikita Korolev <nikita.korolev@flant.com>
1 parent 8d1867a commit b3246e2

2 files changed

Lines changed: 13 additions & 4 deletions

File tree

.github/workflows/e2e-reusable-pipeline.yml

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -506,12 +506,21 @@ jobs:
506506
507507
- name: Configure ClusterNetwork
508508
run: |
509-
extraNic=$(kubectl get nodenetworkinterface -l network.deckhouse.io/interface-type=NIC -o json | jq -r '.items[] | select(.status.operationalState == "Up") | select(.status.ifName != "eno1" and .status.ifName != "enp1s0") | .metadata.name')
509+
echo "[INFO] Get all nics"
510+
kubectl get nodenetworkinterfaces
511+
512+
echo "[INFO] Label extra nics"
513+
extraNic=$(kubectl get nodenetworkinterfaces -l network.deckhouse.io/interface-type=NIC -o json | jq -r '.items[] | select(.status.operationalState == "Up") | select(.status.ifName != "eno1" and .status.ifName != "enp1s0") | .metadata.name')
514+
515+
echo "[INFO] Extra nics: $extraNic"
516+
echo ""
510517
for nic in $extraNic; do
511518
echo "[INFO] Label nodenetworkinterface $nic nic-group=extra"
512519
kubectl label nodenetworkinterfaces $nic nic-group=extra
513520
done
514521
522+
kubectl get nodenetworkinterface -l nic-group=extra
523+
515524
cat <<'EOF' | kubectl apply -f -
516525
---
517526
apiVersion: network.deckhouse.io/v1alpha1
@@ -540,10 +549,10 @@ jobs:
540549
EOF
541550
542551
echo "[INFO] Wait for ClusterNetwork cn-4006-for-e2e-test to be ready"
543-
kubectl wait clusternetworks.network.deckhouse.io --for=condition=Ready cn-4006-for-e2e-test --timeout=30s || true
552+
kubectl wait clusternetworks.network.deckhouse.io --for=condition=Ready cn-4006-for-e2e-test --timeout=300s || true
544553
545554
echo "[INFO] Wait for ClusterNetwork cn-4007-for-e2e-test to be ready"
546-
kubectl wait clusternetworks.network.deckhouse.io --for=condition=Ready cn-4007-for-e2e-test --timeout=30s || true
555+
kubectl wait clusternetworks.network.deckhouse.io --for=condition=Ready cn-4007-for-e2e-test --timeout=300s || true
547556
548557
configure-storage:
549558
name: Configure storage

test/dvp-static-cluster/Taskfile.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ tasks:
116116
sh: date +%s
117117
cmds:
118118
- kubectl apply -f {{ .TMP_DIR }}/infra.yaml
119-
- kubectl -n {{ .NAMESPACE }} get all
119+
- kubectl -n {{ .NAMESPACE }} get vm,vd,vi,svc,pod,deploy
120120
- kubectl -n {{ .NAMESPACE }} wait --for=condition=Ready pod -l app=jump-host --timeout=300s
121121
- kubectl -n {{ .NAMESPACE }} get vi -o name | xargs kubectl -n {{ .NAMESPACE }} wait --for='jsonpath={.status.phase}=Ready' --timeout=600s
122122
- kubectl -n {{ .NAMESPACE }} get vd -o name | xargs kubectl -n {{ .NAMESPACE }} wait --for='jsonpath={.status.phase}=Ready' --timeout=600s

0 commit comments

Comments
 (0)