Page MenuHomeVyOS Platform

IPoE-server fails if next pool mentioned but not defined
Closed, ResolvedPublicBUG

Description

To reproduce

set service ipoe-server authentication mode 'noauth'
set service ipoe-server client-ip-pool name first-pool gateway-address '100.64.0.1'
set service ipoe-server client-ip-pool name first-pool next-pool 'second-pool'
set service ipoe-server client-ip-pool name first-pool subnet '100.64.0.0/21'
set service ipoe-server interface eth1

commit:

sever@r4# commit
[ service ipoe-server ]
VyOS had an issue completing a command.

Report time:      2023-11-03 13:23:13
Image version:    VyOS 1.5-rolling-202311020022
Release train:    current

Built by:         [email protected]
Built on:         Thu 02 Nov 2023 01:43 UTC
Build UUID:       ac6a286e-e82c-4759-a765-3093ce885bf1
Build commit ID:  4d8a68dea11ed0

Architecture:     x86_64
Boot via:         installed image
System type:      KVM guest

Hardware vendor:  QEMU
Hardware model:   Standard PC (Q35 + ICH9, 2009)
Hardware S/N:     
Hardware UUID:    166cfd25-7d3a-4eca-9ef6-0b655c9acf0f

Traceback (most recent call last):
  File "/usr/libexec/vyos/conf_mode/service_ipoe-server.py", line 205, in <module>
    c = get_config()
        ^^^^^^^^^^^^
  File "/usr/libexec/vyos/conf_mode/service_ipoe-server.py", line 134, in get_config
    ipoe['ordered_named_pools'] = get_pools_in_order(dict_named_pools)
                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/libexec/vyos/conf_mode/service_ipoe-server.py", line 106, in get_pools_in_order
    raise ValueError(
ValueError: Pool 'second-pool' not defined in configuration data



[[service ipoe-server]] failed
Commit failed
[edit]
sever@r4#

Details

Difficulty level
Unknown (require assessment)
Version
VyOS 1.5-rolling-202311020022
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Unspecified (possibly destroys the router)
Issue type
Unspecified (please specify)

Event Timeline

Viacheslav renamed this task from IPoE server fails if next pool mentioned but not defined to IPoE-server fails if next pool mentioned but not defined.Nov 3 2023, 11:24 AM
Viacheslav created this task.
Viacheslav changed the task status from Open to Needs testing.Jan 19 2024, 11:09 PM
Viacheslav assigned this task to a.apostoliuk.
a.apostoliuk moved this task from Need Triage to Finished on the VyOS 1.4 Sagitta board.
a.apostoliuk moved this task from Need Triage to Finished on the VyOS 1.5 Circinus board.