Dump machine logs is broken
It seems that the machine logs are no longer dumped correctly in the CI runs (the node_logs directory of the "CI artifacts" is empty).
Dumping machines logs error :
Dumping machines logs 00:01
$ # Configure docker for bootstrap cluster # collapsed multi-line command
$ .gitlab/ci/scripts/dump_machine_logs.sh management || true # collapsed multi-line command
# Start collecting logs on nodes for management cluster
No bootstrap cluster detected
> In namespace 'sylva-system'
> Cluster= cluster.cluster.x-k8s.io/mgmt-1657727958-rke2-capm3-virt in namespace sylva-system
> Machine = machine.cluster.x-k8s.io/mgmt-1657727958-rke2-capm3-virt-control-plane-bnsqw
>> machine_ip=192.168.100.22
>> Machine IP = 192.168.100.22
error: stat bootstrap-cluster-kubeconfig: no such file or directory
error: stat bootstrap-cluster-kubeconfig: no such file or directory
.gitlab/ci/scripts/dump_machine_logs.sh: line 136: bootstrap_cluster_ip: unbound variable
(^ from CI nightly run https://gitlab.com/sylva-projects/sylva-core/-/jobs/9054765336)
Edited by Remi Le Trocquer