Backported to VyOS 1.3 equuleus
- Feed Queries
- All Stories
- Search
- Feed Search
- Transactions
- Transaction Logs
All Stories
Jan 30 2021
I think we definitely need to try because this reproducible. @Viacheslav did you reproduce this on the ESXi hypervisor?
Only some files in /etc are adjusted by the Python scripts. We can extend the render() function to only write the file if the content changed (by either read back the content or comparind checksums of the content).
Jan 29 2021
Some weirdness: vyos-rsyslog.conf looks fine even though it's also unconditionally written in generate() in src/conf_mode/system-syslog.py in vyos-1x:
grub> ls -l (hd0,msdos1)/boot/1.4-rolling-202101290218/rw/etc/rsyslog.d/ 181 20210129162817 vyos-rsyslog.conf
In the crux branch of vyatta-cfg-system, scripts/system/vyatta_update_console.pl doesn't overwrite those files unless they've changed (see update()).
I think this is just filesystem corruption caused by yanking the power to the VM. serial-getty@ttyS0.service is also showing 0 file size (both are written in generate() in src/conf_mode/system_console.py in vyos-1x):
grub> ls -l (hd0,msdos1)/boot/1.4-rolling-202101290218/rw/etc/systemd/system/ 0 20210129162816 serial-getty@ttyS0.service DIR 20210129162816 getty.target.wants/ DIR 20210129100224 ntp.service.d/ DIR 20210129100302 ssh.service.d/
Is this probably also an issue for IS-IS?
Looks like grub.cfg is being overwritten (note the 0 file size):
grub> ls -l (hd0,msdos1)/boot/grub/ DIR 20210129100148 i386-pc/ DIR 20210129100144 locale/ DIR 20210129100147 fonts/ 0 20210129155859 grub.cfg 1024 20210129100147 grubenv
Thanks! Backported to equuleus branch.
Thanks! Fix also backported to equuleus branch.
@SrividyaA Can you recheck it in 1.4?
New syntax could be set protocols ospf interface eth0 dead-hello-multiplier <1-10> to not have to many nesting levels. Would that work out, too?
FRR issue reported https://github.com/FRRouting/frr/issues/7978
Actually even when setting the public key manually, FRR won't show it on a subsequent run:
Jan 28 2021
@matzus give us more information
Hey @Viacheslav any chance of getting this merged into crux in addition to current?
I think we have a workable solution to this.
Looks good on 1.4-rolling-202101280218:
vyos@vyos:~$ configure [edit] vyos@vyos# set interfaces ethernet eth0 dhcpv6-options [edit] vyos@vyos# commit [edit] vyos@vyos# exit Warning: configuration changes have not been saved. exit vyos@vyos:~$ ps ax | grep dhcp6c 1860 ttyS0 R+ 0:00 grep dhcp6c vyos@vyos:~$ show version
Looks good on 1.4-rolling-202101280218:
vyos@vyos:~$ configure [edit] vyos@vyos# set interfaces dummy dum0 [edit] vyos@vyos# set interfaces ethernet eth0 dhcpv6-options pd 0 interface dum0 [edit] vyos@vyos# set interfaces ethernet eth0 dhcpv6-options duid 00:02:00:00:0d:e9:30:30:31:45:34:36:2d:58:58:58:58:58:58:58:58:58:58:58:58:58:58 [edit] vyos@vyos# commit [edit] vyos@vyos# exit Warning: configuration changes have not been saved. exit vyos@vyos:~$ show version
Development is continuing, so this PR is a draft
PR with smoketest check https://github.com/vyos/vyos-1x/pull/706
Jan 27 2021
Would it be too hard to hack the legacy config management script into using systemd for scheduling reboots instead of atd?