Hello,
my logfiles are currently flooded with this lines:
Jan 14 12:12:41 hpve1 pvestatd[3564]: sdn status update error: malformed JSON string, neither tag, array, object, number, string or atom, at character offset 0 (before "(end
of string)") at /usr/share/perl5/PVE/Network/SDN/Zones.pm line 202.
Jan 14 12:12:50 hpve1 pvestatd[3564]: sdn status update error: malformed JSON string, neither tag, array, object, number, string or atom, at character offset 0 (before "(end
of string)") at /usr/share/perl5/PVE/Network/SDN/Zones.pm line 202.
Jan 14 12:13:01 hpve1 pvestatd[3564]: sdn status update error: malformed JSON string, neither tag, array, object, number, string or atom, at character offset 0 (before "(end
of string)") at /usr/share/perl5/PVE/Network/SDN/Zones.pm line 202.
Jan 14 12:13:10 hpve1 pvestatd[3564]: sdn status update error: malformed JSON string, neither tag, array, object, number, string or atom, at character offset 0 (before "(end
of string)") at /usr/share/perl5/PVE/Network/SDN/Zones.pm line 202.
...
This line is generated because I added an gre tunnel. The tunnel and networking is working as expected, only Proxmox has a problem reading the current state.
The problem is ifquery with --check AND --json. With only one specified it is working:
/etc/network/interfaces
I also tried to switch it to an ipip tunnel, but the problem persists.
Latest Proxmox version with all updates installed.
What can I do?
Thank you!
my logfiles are currently flooded with this lines:
Jan 14 12:12:41 hpve1 pvestatd[3564]: sdn status update error: malformed JSON string, neither tag, array, object, number, string or atom, at character offset 0 (before "(end
of string)") at /usr/share/perl5/PVE/Network/SDN/Zones.pm line 202.
Jan 14 12:12:50 hpve1 pvestatd[3564]: sdn status update error: malformed JSON string, neither tag, array, object, number, string or atom, at character offset 0 (before "(end
of string)") at /usr/share/perl5/PVE/Network/SDN/Zones.pm line 202.
Jan 14 12:13:01 hpve1 pvestatd[3564]: sdn status update error: malformed JSON string, neither tag, array, object, number, string or atom, at character offset 0 (before "(end
of string)") at /usr/share/perl5/PVE/Network/SDN/Zones.pm line 202.
Jan 14 12:13:10 hpve1 pvestatd[3564]: sdn status update error: malformed JSON string, neither tag, array, object, number, string or atom, at character offset 0 (before "(end
of string)") at /usr/share/perl5/PVE/Network/SDN/Zones.pm line 202.
...
This line is generated because I added an gre tunnel. The tunnel and networking is working as expected, only Proxmox has a problem reading the current state.
Code:
# ifquery -c -a -o json
error: main exception: 'IPNetwork' object has no attribute 'config'
# ifquery -c -o json gre1
error: main exception: 'IPNetwork' object has no attribute 'config'
# ifquery -c -o json vmbr0
[
{
"name": "vmbr0",
"addr_method": "static",
"addr_family": "inet",
"auto": true,
"config": {
"bridge-ports": "enp7s0",
"bridge-fd": "0",
"bridge-stp": "no",
"address": "x.x.x.x/x"
},
"config_status": {
"bridge-ports": "pass",
"bridge-fd": "pass",
"bridge-stp": "pass",
"address": "pass"
},
"status": "pass"
}
]
The problem is ifquery with --check AND --json. With only one specified it is working:
Code:
# ifquery -o json gre1
[
{
"name": "gre1",
"addr_method": "tunnel",
"addr_family": "inet",
"auto": true,
"config": {
"address": "10.10.167.202/30",
"tunnel-mode": "gre",
"tunnel-local": "10.50.1.11",
"tunnel-endpoint": "10.50.0.254",
"tunnel-ttl": "255",
"tunnel-dev": "enp7s0.4000",
"mtu": "1375"
}
}
]
# ifquery -c gre1
auto gre1
iface gre1 inet tunnel [pass]
tunnel-mode gre [pass]
tunnel-local 10.50.1.11/32 [pass]
tunnel-endpoint 10.50.0.254/32 [pass]
tunnel-ttl 255 [pass]
tunnel-dev enp7s0.4000 [pass]
mtu 1375 [pass]
address 10.10.167.202/30 [pass]
/etc/network/interfaces
Code:
auto gre1
iface gre1 inet tunnel
address 10.10.167.202/30
tunnel-mode gre
tunnel-local 10.50.1.11
tunnel-endpoint 10.50.0.254
tunnel-ttl 255
tunnel-physdev enp7s0.4000
mtu 1375
I also tried to switch it to an ipip tunnel, but the problem persists.
Latest Proxmox version with all updates installed.
What can I do?
Thank you!