Repository navigation
|
Hi everyone, I am running Apache CloudStack v4.22.1.0. I have created a private L2 guest network, then added a second NIC to each VM connected to private network. When I ping other VMs in the same private network, I get following results: [root@da1 ~]# ping -c 100 10.0.0.2 [root@da1 ~]# traceroute 10.0.0.2 All VMs are running on the same KVM hosts which should normally give under 1ms ping rtt between guests but it doesn't. My test scenario implements GlusterFS having 2 replicas + 1 arbiter which is sensitive to latency. Currently when I test write performance on the gluster volume, I get very low throughput around 30MB/s while writing to the local filesystem of VMs gives me a 350-400MB/s write speed. Additionally, all VMs are running on the same primary storage which is mounted as a local NFS on the KVM host, and all nodes connected to the same l2 private network. As my gluster traffic is passing through L2 network, there must not be any extra networking overheads in a l2 network type. |
Replies: 3 comments 1 reply
|
Your traceroute seems to be showing ICMP unreachable. Can you provide information on your two networks and as well as the routing table on your VMs? What happens if you source your ping or traceroute from a specific interface? |
|
Here are routing and network info: [root@da1 ~]# ip route Here are 4 samples of traceroute that shows variance in icmp tests: [root@da1 ~]# traceroute -I -i ens9 10.0.0.2 And this is exact route path: [root@da1 ~]# ip route get 10.0.0.2 from 10.0.0.1 And this ping results from exactly same private interface: [root@da1 ~]# ping -I ens9 -c 100 10.0.0.2 Interestingly even when I ping a VM's public IP inside its own KVM host, I get same high ping result. |
|
We found out that the KVM host is experiencing extremely high CPU utilization so that no cpu time was left for real-time network packet processing. Further investigation revealed that we has a security incident on the host where xmrig, a crypto miner was installed on the host. Further investigation, showed no sign of successful SSH login from untrusted IPs, So that we suspect that the attacker might have been able to execute remote commands using libvirt remote management port 16514, 8250 or 9090. We have blocked ports 16514, 5900–6100, 8250, 9090, 49152–49216 in public zone and added to trusted zone. Also, because we only have one NIC on the host, all traffic types are going through cloudbr0 bridge. We needed to manually edit Network Manager config and change zone to trusted. At this time, all services are working fine and all critical ports are filtered from public Internet. Also, significant reduction of CPU utilization on KVM host, actually fixed the network latency between VMs. |
We found out that the KVM host is experiencing extremely high CPU utilization so that no cpu time was left for real-time network packet processing. Further investigation revealed that we has a security incident on the host where xmrig, a crypto miner was installed on the host.
Further investigation, showed no sign of successful SSH login from untrusted IPs, So that we suspect that the attacker might have been able to execute remote commands using libvirt remote management port 16514, 8250 or 9090.
We have blocked ports 16514, 5900–6100, 8250, 9090, 49152–49216 in public zone and added to trusted zone. Also, because we only have one NIC on the host, all traffic types are going through clou…