rancher / rancher/support-bundle-kit

[BUG] Simulator fails when support bundle generated in standalone mode lacks the node folder

Open
#183 0 comments 0 reactions 1 assignee View on GitHub

@sathindudezoysa is already working on this.

Since Jul 27, 2026.

Dominant language
Go
Stars
24
Forks
43
Avg merge
1d 15h
Merged PRs (30d)
6

Description

Description:

When using the support bundle kit in standalone mode using the sample manifest file, the generated support bundle does not include a node folder. This happens because node collection is not triggered in that file. The following environment variables are set in the YAML triggers the node collection:

- name: SUPPORT_BUNDLE_NODE_SELECTOR
  value: ""
- name: SUPPORT_BUNDLE_TAINT_TOLERATION
  value: ":"
- name: SUPPORT_BUNDLE_NODE_TIMEOUT
  value: 30m0s

The Bug:

Whether the standalone generation results doesn't have a node folder, running the simulator on this bundle fails because it strictly expects the node directory to exist.

Error Message

FATA[0022] Error loading node zip objects error during dir walk: lstat /support-bundles/nodes: no such file or directory 

Steps to Reproduce:

  1. Generate a support bundle using standalone mode with the sample manifest file.
  2. Attempt to run the simulator against the generated bundle.
  3. The simulator fails due to the missing node folder.

Workaround:

As a quick fix you can do the following,

  • Update the sample manifest file with above node collection triggering environment variables.
  • Manually creating an empty node/ folder inside the bundle allows the simulator to run successfully.

Proposed Solution:

The simulator should be updated to gracefully handle bundles that do not contain a node folder (or have an empty one), as this is expected behavior for certain environments and standalone configurations.

Next Steps:

Please let me know whether this is indeed a correct issue. If it is, I will proceed with creating a PR that updates the simulator to ignore the node folder if it is missing.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.