leolns opened a new issue, #11677: URL: https://github.com/apache/cloudstack/issues/11677
### problem When a client is connected to the VPN, any operation to stop, start, or create a new instance from the console results in an error. Version 4.21.0.0 In the server's log: ``` (``` DirectAgent-479:[ctx-b89239bb, 10.254.254.40, job-57256/job-57258, cmd: DhcpEntryCommand]) (logid:98f34a9f) SSH execution of command /opt/cloud/bin/update_config.py vm_dhcp_entry.json.842c51cb-d1e9-4147-a92f-8e26a73bd709 has an error status code in return. Result output: Invalid unit name "[email protected],10.72.2.141" escaped as "[email protected]\x2c10.72.2.141" (maybe you should use systemd-escape?). Traceback (most recent call last): File "/opt/cloud/bin/update_config.py", line 147, in <module> process_file() File "/opt/cloud/bin/update_config.py", line 57, in process_file finish_config() File "/opt/cloud/bin/update_config.py", line 42, in finish_config returncode = configure.main(sys.argv) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/cloud/bin/configure.py", line 1691, in main execDatabag(json_type, databag_map) File "/opt/cloud/bin/configure.py", line 1678, in execDatabag executor.process() File "/opt/cloud/bin/cs/CsDhcp.py", line 54, in process self.add(self.dbag[item]) File "/opt/cloud/bin/cs/CsDhcp.py", line 234, in add if i > v['network'].network and i < v['network'].broadcast: ^^^^^^^^^^^^^^^^^^^^^^^^^^ TypeError: '<' not supported between instances of 'IPAddress' and 'NoneType' ``` Inside the virtual router at /opt/cloud/bin/cs/CsDhcp.py: `if i > v['network'].network and i < v['network'].broadcast:` While a VPN connection exists, the VPN interface returns an empty broadcast, which triggers the error. ### versions Cloudstack 4.21.0.0 Esxi 8.0u3g VPC with dual redundant VR on a Isolated Network ### The steps to reproduce the bug 1. Connect into a vpn 2. Try to stop/start/deploy a new instance on webui ### What to do about it? _No response_ -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
