Config error on boot

Hello, after upgrade to vyos 1.4.0 RC1 → RC3, I get this error. I’m not sure how to get rid of it. Have rebooted the router, but nothing seems to help?

$ configure
WARNING: There was a config error on boot: saving the configuration now could overwrite data. 
You may want to check and reload the boot config
/var/log/messages
vyos-router[964]: Starting VyOS router: migrate configure failed!

best way to figure this out is to get a copy of the current config and save it, then reboot to the previous version and compare

I’ve been seeing you can see what failed with compare 0 after a reboot
Example:

vyos@vyos# compare commands 0
delete protocols mpls interface 'eth10'
delete protocols pim interface eth10
delete protocols pim rp address 10.0.0.1 group '224.0.0.0/4'

Those appear to have been deleted during the failed migration.

2 Likes

Hello,

# compare commands 0
delete container ....

All set of “container *” is removed after reboot. I think it’s a bug?

Tested on 1.4.0-epa2

Execute those commands
conf
load
commit

And check the output

Hi, here is the output. Ty!

$ conf
WARNING: There was a config error on boot: saving the configuration now could overwrite data.
You may want to check and reload the boot config
[edit]
t# load
Loading configuration from 'config.boot'
Load complete. Use 'commit' to make changes effective.
[edit]
# commit
# save
[edit]
#

It looks to me that this config (container) breaks firewall and also does not start correctly vyos.

set container name node-exporter allow-host-networks
set container name node-exporter description 'Prometheus Node Exporter'
set container name node-exporter image 'quay.io/prometheus/node-exporter:latest'
set container name node-exporter port node-exporter destination '9100'
set container name node-exporter port node-exporter protocol 'tcp'
set container name node-exporter port node-exporter source '9100'
set container name node-exporter volume hostroot destination '/host'
set container name node-exporter volume hostroot source '/'
set container registry quay.io

Thanks for help.