Skip to content

[BUG][OTHER] ASEA - LZA Pre-Migration Scripts - NFW Firewall Policy Requires BOTH Stateful and Stateless Rule Groups #1238

Open
@SEAFork1

Description

@SEAFork1

Bug reports which fail to provide the required information will be closed without action.

Required Basic Info

  • Accelerator Version: v1.5.11
  • Install Type: Upgrade
  • Upgrade from version: v1.5.10
  • Which State did the Main State Machine Fail in: N/A

Describe the bug
When running the convert-config command an error occurs when trying to convert our NFW config

Failure Info

  • What error messages have you identified, if any:
    statefulRuleGroups: policyData.statefulRuleGroup.map((ruleGroup: any) => ({
    ^
    TypeError: Cannot read properties of undefined (reading 'map')
    at ConvertAseaConfig.getNetworkFirewallConfig

  • What symptoms have you identified, if any: The NFW config in question does not have any Stateful firewall rule groups (just stateless)

Required files

Steps To Reproduce

  1. Create a NFW configuration with only Stateless rule groups
  2. Apply this using ASEA
  3. Run the convert-config script

Expected behavior
The script should be able to handle NFW configurations with only Stateless or Stateful rule groups defined

As a workaround we will add a Stateful rule group to this policy

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions