Project

General

Profile

Bug #1515

Upgrading from 1.2.3, Load Balancer Pool to Gateway Group needs to strip invalid characters

Added by Jim Pingle about 8 years ago. Updated almost 8 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
Upgrade
Target version:
Start date:
05/09/2011
Due date:
% Done:

100%

Estimated time:
Affected Version:
2.0
Affected Architecture:
All

Description

The Load Balancer pools on 1.2.3 had a lot looser restrictions on naming than pf does on 2.0's gateway groups.

For instance, the on 1.2.3 you can setup an LB pool with the name "Wan Fail -> WAN2" so if you upgrade that box to 2.0, the rules will fail to load. To fix it, you would have to edit and save the gateway with a pf-compatible name and then edit all of the rules that used that gateway to use the new name.

So the upgrade code will need to be adjusted to not only strip the invalid characters, but also correct the gateways on the firewall rules. Also need to make sure that we aren't duplicating a gateway name after stripping the invalid characters.

Associated revisions

Revision ce107ca5 (diff)
Added by Jim Pingle about 8 years ago

When converting 1.2.3 LB pools to 2.0 gateway groups, strip invalid characters from the group names and update any rules referencing the old name. Fixes #1515

History

#1 Updated by Jim Pingle about 8 years ago

  • Status changed from New to Feedback
  • % Done changed from 0 to 100

#2 Updated by Chris Buechler almost 8 years ago

  • Status changed from Feedback to Resolved

Also available in: Atom PDF