Project

General

Profile

Actions

Regression #16105

closed
SW MM

Config access error after changing an interface from DHCP to Static

Regression #16105: Config access error after changing an interface from DHCP to Static

Added by Steve Wheeler over 1 year ago. Updated about 1 year ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Interfaces
Target version:
Start date:
Due date:
% Done:

100%

Estimated time:
Plus Target Version:
25.07
Release Notes:
Default
Affected Version:
Affected Architecture:

Description

When changing an interface from DHCP to Static the following error is shown:

Mar 23 16:51:02     php-fpm     10244     /interfaces.php: Configuration Change: admin@172.21.16.8 (Local Database): Interfaces settings changed
Mar 23 16:51:02     check_reload_status     731     Syncing firewall
Mar 23 16:51:02     php-fpm     10244     /interfaces.php: config warning: invalid path "gateways/gateway_item/" at /etc/inc/gwlb.inc:2402
Mar 23 16:51:02     php-fpm     10244     /interfaces.php: config warning: invalid path "gateways/gateway_item/" at /etc/inc/gwlb.inc:2459
Mar 23 16:51:02     php-fpm     10244     /interfaces.php: Configuration Change: admin@172.21.16.8 (Local Database): Gateway settings changed 

Tested in 24.11 and 25.03

MM Updated by Marcos M over 1 year ago Actions #1

  • Category changed from Configuration Backend to Interfaces
  • Status changed from Confirmed to In Progress
  • Assignee set to Marcos M

MM Updated by Marcos M over 1 year ago Actions #2

  • Status changed from In Progress to Feedback
  • % Done changed from 0 to 100

Applied in changeset commit:8286c27ca678dbada2d205f606e76fab48885f60.

MM Updated by Marcos M over 1 year ago Actions #3

  • Status changed from Feedback to Resolved

JS Updated by Jay Sols over 1 year ago Actions #4

Still seeing this error in 25.03 after applying patch to 3/6 beta.

MM Updated by Marcos M over 1 year ago Actions #5

Thanks for testing! A followup fix can be applied with commit:f51505bf15e7af39c909d63356089d5e247cf781.

JS Updated by Jay Sols over 1 year ago Actions #6

Success, appears to be working in 25.03beta and 24.11. It should be noted, both patches above need to be applied in respective order. Applying the ...f781 without the ...5f60 will not work.

Also, when reverting back to dhcp, default gateway (under routing) remains set to the statically assigned gateway. By design?

JP Updated by Jim Pingle about 1 year ago Actions #7

  • Plus Target Version changed from 25.03 to 25.07
Actions

Also available in: Atom