Skip to content

chore(ironic): clean up the PAN-OS inspect HA code , Move issues to last_error - #2730

Merged
nidzrai merged 1 commit into
mainfrom
panos-inspect-remove-unused-ha-helpers
Nov 18, 2026
Merged

nidzrai merged 1 commit into
mainfrom
panos-inspect-remove-unused-ha-helpers

Conversation

@nidzrai

@nidzrai nidzrai commented Nov 16, 2026 •

Copy link
Copy Markdown
Contributor

What does this change do?

Removes four unused HA helpers (_configure_ha_pair, _validate_ha_status, _validate_ha_interfaces, _validate_mate_compatibility). Nothing calls them, and they were an I guess old second version of HA setup that could mislead.
Moves the switch collection (repeated for both firewalls) and the HSCI speed warning out of _validate_and_pair_ha into two small helpers, unchanged, and adds tests for both.
The HA path used during inspection is unchanged

Upgrade impact

  • This change requires operator action to upgrade. If checked, add the
    upgrade-impact label and a release note: run scriv create from the
    repository root and describe the required action in the generated
    changelog.d/ file. See RELEASING.md.

Operator action means anything a deployment has to do beyond a normal resync:
deploy repo or values changes, new or removed secrets, enabling or disabling a
component, or a manual one-time step.

@nidzrai
nidzrai marked this pull request as draft November 16, 2026 17:27
@github-actions

github-actions Bot commented Nov 16, 2026 •

Copy link
Copy Markdown

Python test results

134 tests   134 ✅  7s ⏱️
  1 suites    0 💤
  1 files      0 ❌

Results for commit 476cc76.

♻️ This comment has been updated with latest results.

@nidzrai
nidzrai force-pushed the panos-inspect-remove-unused-ha-helpers branch from b9022fa to d732d7c Compare November 16, 2026 17:30
@nidzrai nidzrai changed the title cleanup palo inspect chore(ironic): clean up the PAN-OS inspect HA code Nov 16, 2026
@nidzrai
nidzrai force-pushed the panos-inspect-remove-unused-ha-helpers branch from d732d7c to d90bbbf Compare November 16, 2026 17:32
@nidzrai
nidzrai marked this pull request as ready for review November 18, 2026 18:12
@nidzrai
nidzrai force-pushed the panos-inspect-remove-unused-ha-helpers branch 2 times, most recently from a671c4a to 5c30dd4 Compare November 18, 2026 18:22
@nidzrai nidzrai changed the title chore(ironic): clean up the PAN-OS inspect HA code chore(ironic): clean up the PAN-OS inspect HA code , Move issues to last_error Nov 18, 2026

@khackworth khackworth left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@nidzrai
nidzrai force-pushed the panos-inspect-remove-unused-ha-helpers branch from fcd8698 to 476cc76 Compare November 18, 2026 19:10
@nidzrai
nidzrai added this pull request to the merge queue Nov 18, 2026
Merged via the queue into main with commit 8d6824c Nov 18, 2026
73 of 91 checks passed
@nidzrai
nidzrai deleted the panos-inspect-remove-unused-ha-helpers branch November 18, 2026 19:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants