get_node_cloud_init_log
Read the cloud-init status and the tail of /var/log/cloud-init-output.log for one node of an Ankra-provisioned cluster (Hetzner, OVH, UpCloud, DigitalOcean, or Scaleway), over SSH-via-bastion. This is the debug surface for node-group user_data: that document runs once, at first boot, before anything else can observe it, so a failed provisioning script is invisible to every other tool - the node either joins looking perfectly healthy (cloud-init's growpart fallback restores an ordinary full-disk root when a carve fails) or never appears at all. Use it when a node group carries user_data and a node came up wrong: partitions or mounts that are missing, a package that should have been installed, a first-boot script whose effect is absent. Returns cloud-init's own status (including whether it reported an error) plus the output-log tail, and runs nothing that changes the node. Repeated calls attach to an in-flight fetch instead of dispatching a duplicate. Identify the node with node_id (preferred, from list_cluster_nodes) or node_name. Not available for imported or managed-Kubernetes clusters. For OS-level failures unrelated to first boot, use ssh_diagnose_node.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| node_id | No | UUID of the node to diagnose. Preferred when known (from list_cluster_nodes). | |
| node_name | No | Exact name of the node to diagnose. Alternative to node_id. | |
| cluster_id | No | UUID of the cluster the node belongs to. Optional when a cluster is selected. | |
| cluster_name | No | Exact name of the cluster the node belongs to. Optional when a cluster is selected. |