Page MenuHomeVyOS Platform

Can not remove config-management from config - raises AttributeError
Closed, ResolvedPublicBUG

Description

cpo@LR2.wue3# delete system config-management
[edit]
cpo@LR2.wue3# commit
[ system config-management ]
Traceback (most recent call last):
  File "/usr/libexec/vyos/conf_mode/system_config-management.py", line 101, in <module>
    verify(c)
  File "/usr/libexec/vyos/conf_mode/system_config-management.py", line 42, in verify
    d = mgmt.config_dict
        ^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'config_dict'

delete [ system config-management ] failed
Commit failed
cpo@LR2.wue3# run show ver
Version:          VyOS 1.5-rolling-202411270007
Release train:    current
Release flavor:   generic

Built by:         autobuild@vyos.net
Built on:         Wed 27 Nov 2024 00:07 UTC
Build UUID:       4e35b5dd-2356-4157-b4cf-dff86b8d7a58
Build commit ID:  3e660d3e30f399

Architecture:     x86_64
Boot via:         installed image
System type:      KVM guest
Secure Boot:      n/a (BIOS)

Hardware vendor:  QEMU
Hardware model:   Standard PC (i440FX + PIIX, 1996)
Hardware S/N:
Hardware UUID:    423379fe-7364-2d62-d562-ab995a3ed96d

Copyright:        VyOS maintainers and contributors

Details

Version
1.5-rolling-202411270007
Is it a breaking change?
Unspecified (possibly destroys the router)
Issue type
Bug (incorrect behavior)

Event Timeline

c-po renamed this task from Can not remove config-management from config to Can not remove config-management from config - raises AttributeError.Nov 30 2024, 7:47 PM

Note this is already backported for sagitta and present in 1.4.2; adjust project tag.

jestabro moved this task from Backlog to Finished on the VyOS 1.4 Sagitta (1.4.2) board.
jestabro moved this task from Backport Candidates to Completed on the VyOS Rolling board.