Upgrade from 1.3.6 to 1.4.0-epa1 looses complete DHCP configuration

If I upgrade to 1.4.0-epa1 there’s no DHCP server configured anymore.

show conf commands from 1.3.6:

set service dhcp-server shared-network-name xxxxxx authoritative
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.23.0/24 default-router 'xxx.xxx.23.1'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.23.0/24 domain-name xxxxxx
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.23.0/24 domain-search xxxxxx
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.23.0/24 domain-search xxxxxx
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.23.0/24 lease '604800'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.23.0/24 name-server 'xxx.xxx.23.1'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.23.0/24 ntp-server 'xxx.xxx.23.1'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.23.0/24 range 0 start 'xxx.xxx.23.100'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.23.0/24 range 0 stop 'xxx.xxx.23.199'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.23.0/24 static-mapping xxxxxx ip-address 'xxx.xxx.23.210'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.23.0/24 static-mapping xxxxxx mac-address 'xx:xx:xx:xx:xx:5d'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.23.0/24 static-mapping xxxxxx ip-address 'xxx.xxx.23.31'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.23.0/24 static-mapping xxxxxx mac-address 'xx:xx:xx:xx:xx:97'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.23.0/24 static-mapping xxxxxx ip-address 'xxx.xxx.23.32'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.23.0/24 static-mapping xxxxxx mac-address 'xx:xx:xx:xx:xx:92'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.23.0/24 static-mapping xxxxxx ip-address 'xxx.xxx.23.21'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.23.0/24 static-mapping xxxxxx mac-address 'xx:xx:xx:xx:xx:e2'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.23.0/24 static-mapping xxxxxx ip-address 'xxx.xxx.23.20'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.23.0/24 static-mapping xxxxxx mac-address 'xx:xx:xx:xx:xx:46'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.23.0/24 static-mapping xxxxxx ip-address 'xxx.xxx.23.50'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.23.0/24 static-mapping xxxxxx mac-address 'xx:xx:xx:xx:xx:f5'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.23.0/24 static-mapping xxxxxx ip-address 'xxx.xxx.23.202'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.23.0/24 static-mapping xxxxxx mac-address 'xx:xx:xx:xx:xx:18'
set service dhcp-server shared-network-name xxxxxx authoritative
set service dhcp-server shared-network-name xxxxxx description 'Gäste'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.2.0/24 default-router 'xxx.xxx.2.1'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.2.0/24 domain-name xxxxxx
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.2.0/24 domain-search xxxxxx
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.2.0/24 domain-search xxxxxx
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.2.0/24 lease '172800'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.2.0/24 name-server 'xxx.xxx.2.1'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.2.0/24 ntp-server 'xxx.xxx.2.1'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.2.0/24 range 0 start 'xxx.xxx.2.100'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.2.0/24 range 0 stop 'xxx.xxx.2.199'
set service dhcp-server shared-network-name xxxxxx authoritative
set service dhcp-server shared-network-name xxxxxx description 'Kinder'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.4.0/24 default-router 'xxx.xxx.4.1'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.4.0/24 domain-name xxxxxx
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.4.0/24 domain-search xxxxxx
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.4.0/24 domain-search xxxxxx
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.4.0/24 lease '172800'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.4.0/24 name-server 'xxx.xxx.4.1'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.4.0/24 ntp-server 'xxx.xxx.4.1'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.4.0/24 range 0 start 'xxx.xxx.4.100'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.4.0/24 range 0 stop 'xxx.xxx.4.199'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.4.0/24 static-mapping xxxxxx ip-address 'xxx.xxx.4.205'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.4.0/24 static-mapping xxxxxx mac-address 'xx:xx:xx:xx:xx:79'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.4.0/24 static-mapping xxxxxx ip-address 'xxx.xxx.4.207'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.4.0/24 static-mapping xxxxxx mac-address 'xx:xx:xx:xx:xx:85'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.4.0/24 static-mapping xxxxxx ip-address 'xxx.xxx.4.206'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.4.0/24 static-mapping xxxxxx mac-address 'xx:xx:xx:xx:xx:1d'
set service dhcp-server shared-network-name xxxxxx authoritative
set service dhcp-server shared-network-name xxxxxx description 'Haustechnik'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.5.0/24 default-router 'xxx.xxx.5.1'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.5.0/24 domain-name xxxxxx
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.5.0/24 domain-search xxxxxx
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.5.0/24 domain-search xxxxxx
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.5.0/24 lease '172800'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.5.0/24 name-server 'xxx.xxx.5.1'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.5.0/24 ntp-server 'xxx.xxx.5.1'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.5.0/24 range 0 start 'xxx.xxx.5.100'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.5.0/24 range 0 stop 'xxx.xxx.5.199'
set service dhcp-server shared-network-name xxxxxx authoritative
set service dhcp-server shared-network-name xxxxxx description 'Management'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.23.0/24 default-router 'xxx.xxx.23.1'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.23.0/24 domain-name xxxxxx
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.23.0/24 domain-search xxxxxx
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.23.0/24 domain-search xxxxxx
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.23.0/24 lease '172800'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.23.0/24 name-server 'xxx.xxx.23.1'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.23.0/24 ntp-server 'xxx.xxx.23.1'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.23.0/24 range 0 start 'xxx.xxx.23.240'
set service dhcp-server shared-network-name xxxxxx subnet xxx.xxx.23.0/24 range 0 stop 'xxx.xxx.23.249'

This appears to be related to the same conditions as this bug I submitted. When a single line fails during the on-boot config-checks, the entire logical section is deleted:
https://vyos.dev/T5991
After a quick check, it is likely this line causing the failure:

l0crian@R86S# set service dhcp-server shared-network-name TEST description 'Gäste' 
  
  Description too long (limit 256 characters)
  Value validation failed
  Set failed

It appears to not like the ‘ä’ character.

4 Likes

I have filed this as a bug report over at ⚓ T6098 Description doesnt seem to allow for non international characters

Feel free to add additional information to the above task when needed.

3 Likes

I’ll change the description and test again.

I can confirm now, it’s the “Umlaut” (ä):

Changed the description to ‘Gaeste’, tried again and everything runs without problems.