Page MenuHomeVyOS Platform

qiuchengxuan (qiuchengxuan)
User

Projects

User does not belong to any projects.

User Details

User Since
Jan 13 2018, 8:17 AM (115 w, 2 d)

Recent Activity

Feb 4 2020

qiuchengxuan created T2015: show openvpn site-to-site result in error when disabled openvpn interface exists.
Feb 4 2020, 10:29 AM · VyOS 1.3 Equuleus

Dec 13 2019

qiuchengxuan added a comment to T1863: daemon config lost after commit changes.

Resolved since parent task closed

Dec 13 2019, 9:04 AM
qiuchengxuan closed T1863: daemon config lost after commit changes, a subtask of T1846: Make session_config not depend on the current edit level, as Resolved.
Dec 13 2019, 9:03 AM
qiuchengxuan closed T1863: daemon config lost after commit changes as Resolved.
Dec 13 2019, 9:03 AM
qiuchengxuan closed T1861: hosts lost after modified static-host-mapping, a subtask of T1846: Make session_config not depend on the current edit level, as Resolved.
Dec 13 2019, 9:03 AM
qiuchengxuan closed T1861: hosts lost after modified static-host-mapping as Resolved.
Dec 13 2019, 9:03 AM · VyOS 1.3 Equuleus
qiuchengxuan added a comment to T1861: hosts lost after modified static-host-mapping.

[edit system static-host-mapping]
vyos@vultr# set host-name test.lan inet 127.0.0.1
[edit system static-host-mapping]
vyos@vultr# commit
[edit system static-host-mapping]
vyos@vultr# save
Saving configuration to '/config/config.boot'...
Done
[edit]
vyos@vultr# show system static-host-mapping
host-name test.lan {

inet 127.0.0.1

}
[edit]
vyos@vultr#

Dec 13 2019, 9:01 AM · VyOS 1.3 Equuleus

Dec 11 2019

qiuchengxuan updated subscribers of T1861: hosts lost after modified static-host-mapping.

@jestabro problem is not resolved

Dec 11 2019, 8:02 AM · VyOS 1.3 Equuleus

Dec 9 2019

qiuchengxuan added a comment to T1861: hosts lost after modified static-host-mapping.

It's probably duplicate of T1863 and T1846, I usually commit configuration under leaf config level

Dec 9 2019, 9:10 AM · VyOS 1.3 Equuleus
qiuchengxuan added a comment to T1863: daemon config lost after commit changes.

Yes it's exactly the same reason

Dec 9 2019, 2:17 AM

Dec 8 2019

qiuchengxuan added a comment to T1863: daemon config lost after commit changes.

with git bisect, problem starts from commit d9ee0b95d1020b6d5412dd011ebb1ef7f6ef3fc7, which modified vyos-1x/python/vyos/config.py

Dec 8 2019, 3:06 PM
qiuchengxuan added a comment to T1863: daemon config lost after commit changes.
[edit service dns forwarding]
vyos@beijing# set domain test.lan server 8.8.8.8
[edit service dns forwarding]
vyos@beijing# commit
[ service dns forwarding ]
> /usr/libexec/vyos/conf_mode/dns_forwarding.py(110)get_config()
-> return None
(Pdb) dir(conf)
['_Config__session_env', '__class__', '__delattr__', '__dict__', '__dir__', '__doc__', '__eq__', '__format__', '__ge__', '__getattribute__', '__gt__', '__hash__', '__init__', '__le__', '__lt__', '__module__', '__ne__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__sizeof__', '__str__', '__subclasshook__', '__weakref__', '_cli_shell_api', '_level', '_make_command', '_make_path', '_run', '_running_config', '_session_config', 'exists', 'exists_effective', 'get_config_dict', 'get_level', 'in_session', 'is_leaf', 'is_multi', 'is_tag', 'list_effective_nodes', 'list_nodes', 'return_effective_value', 'return_effective_values', 'return_value', 'return_values', 'session_changed', 'set_level', 'show_config']
(Pdb) conf.get_level()
[]
(Pdb) conf.show_config()
' allow-from 10.33.0.0/16\n allow-from 10.0.0.0/24\n domain 1e100.net {\n     server 10.0.0.254\n }\n domain amazonaws.com {\n     server 10.0.0.254\n }\n domain amazon.com {\n     server 10.0.0.254\n }\n domain blogspot.com {\n     server 10.0.0.254\n }\n domain blogspot.it {\n     server 10.0.0.254\n }\n domain box.com {\n     server 10.0.0.254\n }\n domain cloudfront.com {\n     server 10.0.0.254\n }\n domain coggle.it {\n     server 10.0.0.254\n }\n domain c.android.clients.google.com {\n     server 10.0.0.254\n }\n domain dn.rawgit.com {\n     server 10.0.0.254\n }\n domain docker.com {\n     server 10.0.0.254\n }\n domain dropbox.com {\n     server 10.0.0.254\n }\n domain duckduckgo.com {\n     server 10.0.0.254\n }\n domain facebook.com {\n     server 10.0.0.254\n }\n domain facebook.net {\n     server 10.0.0.254\n }\n domain ggpht.com {\n     server 10.0.0.254\n }\n domain gist.github.com {\n     server 10.0.0.254\n }\n domain git-scm.com {\n     server 10.0.0.254\n }\n domain github.com {\n     server 10.0.0.254\n }\n domain github.io {\n     server 10.0.0.254\n }\n domain gmail.com {\n     server 10.0.0.254\n }\n domain golang.org {\n     server 10.0.0.254\n }\n domain google-analytics {\n     server 10.0.0.254\n }\n domain googleapis.com {\n     server 10.0.0.254\n }\n domain googlesource.com {\n     server 10.0.0.254\n }\n domain googlevideo.com {\n     server 10.0.0.254\n }\n domain google.com {\n     server 10.0.0.254\n }\n domain google.com.hk {\n     server 10.0.0.254\n }\n domain google.co.jp {\n     server 10.0.0.254\n }\n domain gopkg.in {\n     server 10.0.0.254\n }\n domain greatfire.org {\n     server 10.0.0.254\n }\n domain gstatic.com {\n     server 10.0.0.254\n }\n domain g.doubleclick.net {\n     server 10.0.0.254\n }\n domain h.m.wikipedia.org {\n     server 10.0.0.254\n }\n domain h.wikipedia.org {\n     server 10.0.0.254\n }\n domain jenkins-ci.org {\n     server 10.0.0.254\n }\n domain jetbrains.com {\n     server 10.0.0.254\n }\n domain lcw.ff.avast.com {\n     server 10.0.0.254\n }\n domain lithium.com {\n     server 10.0.0.254\n }\n domain medium.com {\n     server 10.0.0.254\n }\n domain n.wikipedia.org {\n     server 10.0.0.254\n }\n domain opendaylight.org {\n     server 10.0.0.254\n }\n domain openvpn.net {\n     server 10.0.0.254\n }\n domain pge.com {\n     server 10.0.0.254\n }\n domain pinimg.com {\n     server 10.0.0.254\n }\n domain pinterest.com {\n     server 10.0.0.254\n }\n domain quoracdn.net {\n     server 10.0.0.254\n }\n domain quora.com {\n     server 10.0.0.254\n }\n domain reddit.com {\n     server 10.0.0.254\n }\n domain steamcommunity.com {\n     server 10.0.0.254\n }\n domain storify.com {\n     server 10.0.0.254\n }\n+domain test.lan {\n+    server 8.8.8.8\n+}\n domain thefacebook.com {\n     server 10.0.0.254\n }\n domain twimg.com {\n     server 10.0.0.254\n }\n domain twitter.com {\n     server 10.0.0.254\n }\n domain w3schools.com {\n     server 10.0.0.254\n }\n domain w.org {\n     server 10.0.0.254\n }\n domain x.lan {\n     server 10.30.0.1\n }\n domain ycombinator.com {\n     server 10.0.0.254\n }\n domain youtube.com {\n     server 10.0.0.254\n }\n listen-address 10.33.0.1\n listen-address 10.0.0.2\n system\n'
Dec 8 2019, 2:10 PM
qiuchengxuan added a comment to T1863: daemon config lost after commit changes.
vyos@beijing:~$ config
[edit]
vyos@beijing# set service dns forwarding domain test.lan server 8.8.8.8
[edit]
vyos@beijing# commit
[edit]
vyos@beijing# exit
Warning: configuration changes have not been saved.
exit
vyos@beijing:~$ file /etc/powerdns/recursor.conf
/etc/powerdns/recursor.conf: ASCII text, with very long lines
vyos@beijing:~$ config
e[edit]
vyos@beijing# edit service dns forwarding
[edit service dns forwarding]
vyos@beijing# delet domain test.lan
[edit service dns forwarding]
vyos@beijing# commit
[ service dns forwarding ]
not exists
Dec 8 2019, 2:02 PM
qiuchengxuan added a comment to T1863: daemon config lost after commit changes.

This is probably not problem from dns_forwarding.py, not only dns forwarding but also dhcp server encounters same problem.

Dec 8 2019, 1:20 PM
qiuchengxuan added a comment to T1863: daemon config lost after commit changes.
vyos@vyos:~$ show version
Version:          VyOS 1.2-rolling-201912080217
Built by:         autobuild@vyos.net
Built on:         Sun 08 Dec 2019 02:17 UTC
Build UUID:       b998c0a6-ccf9-47ca-a8f8-7cc561bc5528
Build Commit ID:  7b47b452ce86a9
Dec 8 2019, 9:45 AM
qiuchengxuan changed Version from - to 1.2.3 rolling on T1863: daemon config lost after commit changes.
Dec 8 2019, 7:20 AM
qiuchengxuan updated the task description for T1863: daemon config lost after commit changes.
Dec 8 2019, 7:19 AM
qiuchengxuan updated the task description for T1863: daemon config lost after commit changes.
Dec 8 2019, 7:18 AM
qiuchengxuan updated the task description for T1863: daemon config lost after commit changes.
Dec 8 2019, 7:17 AM
qiuchengxuan created T1863: daemon config lost after commit changes.
Dec 8 2019, 7:17 AM

Dec 6 2019

qiuchengxuan changed Version from - to VyOS 1.2.3 rolling release on T1861: hosts lost after modified static-host-mapping.
Dec 6 2019, 7:45 PM · VyOS 1.3 Equuleus
qiuchengxuan created T1861: hosts lost after modified static-host-mapping.
Dec 6 2019, 7:45 PM · VyOS 1.3 Equuleus

Jul 3 2019

qiuchengxuan updated subscribers of T1469: Create forward-zones-recurse entry instead of forward-zones when setting service dns forwarding.

@c-po @dmbaturin I created two pull requests, one for 1.2.2, one to fix a problem on current branch

Jul 3 2019, 3:00 PM · VyOS 1.3 Equuleus, VyOS 1.2 Crux (VyOS 1.2.2)

Jun 22 2019

qiuchengxuan closed T1469: Create forward-zones-recurse entry instead of forward-zones when setting service dns forwarding as Resolved.
Jun 22 2019, 1:55 PM · VyOS 1.3 Equuleus, VyOS 1.2 Crux (VyOS 1.2.2)
qiuchengxuan updated the task description for T1469: Create forward-zones-recurse entry instead of forward-zones when setting service dns forwarding.
Jun 22 2019, 7:51 AM · VyOS 1.3 Equuleus, VyOS 1.2 Crux (VyOS 1.2.2)
qiuchengxuan created T1469: Create forward-zones-recurse entry instead of forward-zones when setting service dns forwarding.
Jun 22 2019, 7:49 AM · VyOS 1.3 Equuleus, VyOS 1.2 Crux (VyOS 1.2.2)