Unable to Generate Support Bundle From Non-Primary Masters

Problem

  • Attempting to generate a support bundle from secondary/non-primary master/controller nodes in a Self-Hosted control plane fails.

failed to create k8s context: failed to build config: stat /etc/nodelet/airctl-mgmt/certs/admin.kubeconfig: no such file or directory failed to Parse Cluster Config: error opening bootstrap config file
  • If the first master is down or unavailable, it is not possible to generate support bundles from secondary masters.

Environment

  • Self-Hosted Private Cloud Director Virtualization - v2025.4 and Higher

  • airctl

Cause

  • airctl utility requires the bootstrap configuration file /opt/pf9/airctl/conf/nodelet-bootstrap-config.yaml to generate support bundles for controller/master nodes.

  • This file exists only on the primary/first master node.

  • Secondary masters do not have this file, making support bundle generation from them impossible.

Diagnostics

  1. Attempt to generate support bundle from a secondary master.

  1. Verify bootstrap config presence:

Resolution

  1. Identify the first/primary master node by reviewing the airctl-config.yaml file. It consists of hosts section and an ordered list of master IPs. The first entry in the list is considered as the primary master and vice-versa.

  2. SSH into the first/master node.

  3. Run support bundle generation using airctl from the first master:

circle-exclamation

Additional Information

Platform9 has raised an internal JIRA to implement functionality allowing support bundle generation from any master node, regardless of whether it is the primary or secondary master. PCD-4580 to track the filed bug.

Last updated