Cloud-init NameError: name 'secrets_lines' is not defined

NameError: name ‘secrets_lines’ is not defined

Just compiled latest 1.4 image and using vyos-vm-images to build a qcow image for OpenStack

Besides the long running issue with interface naming (which I have worked around in another post), I am getting the following error in cloud-init

         Starting [0;1;39mApply the settings specified in cloud-config[0m...
         Starting [0;1;39mLSB: Brings up/down network automatically[0m...
         Starting [0;1;39mOpenBSD Secure Shell session cleanup[0m...
[[0;32m  OK  [0m] Finished [0;1;39mOpenBSD Secure Shell session cleanup[0m.
[   19.643985] cloud-init[1527]: Cloud-init v. 22.1-423-g3e5ae5fe-1~bddeb running 'modules:config' at Mon, 28 Nov 2022 19:36:56 +0000. Up 19.61 seconds.
[   19.665475] cloud-init[1527]: Killed old client process
[[0;32m  OK  [0m] Started [0;1;39mLSB: Brings up/down network automatically[0m.
[   20.666457] cloud-init[1527]: Internet Systems Consortium DHCP Client 4.4.1
[   20.666866] cloud-init[1527]: Copyright 2004-2018 Internet Systems Consortium.
[   20.667242] cloud-init[1527]: All rights reserved.
[   20.667611] cloud-init[1527]: For info, please visit https://www.isc.org/software/dhcp/
[   20.668153] cloud-init[1527]: Listening on LPF/eth0/fa:16:3e:37:27:5a
[   20.668717] cloud-init[1527]: Sending on   LPF/eth0/fa:16:3e:37:27:5a
[   20.669304] cloud-init[1527]: Sending on   Socket/fallback
[   20.669673] cloud-init[1527]: DHCPRELEASE of 88.198.100.202 on eth0 to xx.xx.xx.xx port 67
[   24.289884] cloud-init[1527]: Traceback (most recent call last):
[   24.290338] cloud-init[1527]:   File "<stdin>", line 39, in <module>
[   24.290741] cloud-init[1527]: NameError: name 'secrets_lines' is not defined
[[0;32m  OK  [0m] Finished [0;1;39mApply the settings specified in cloud-config[0m.
1 Like

I guess it related DHCP + IPSec
Task T4856