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
airctlutility requires the bootstrap configuration file/opt/pf9/airctl/conf/nodelet-bootstrap-config.yamlto 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
- Attempt to generate support bundle from a secondary master.
$ sudo airctl gen-support-bundle --host-ips <secondary_master_ip> --config <config_file> --verbose- Verify bootstrap config presence:
$ ls -l /opt/pf9/airctl/conf/nodelet-bootstrap-config.yamlResolution
- Identify the first/primary master node by reviewing the
airctl-config.yamlfile. 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. - SSH into the first/master node.
- Run support bundle generation using
airctlfrom the first master:
$ sudo airctl gen-support-bundle --host-ips <all_master_ips> --config <config_file> --verboseIf the first master is unavailable, generating support bundles from other masters is not possible. Restoration of the first master or Platform9 Support assistance will be required.
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.
Was this page helpful?