Some bugs in 2.0.5-12-PRO
Posted: Fri Jun 07, 2019 5:59 pm
Hello,
first thank you for a very good software, which is very helpful in testing out several things in my work and for studying.
I'm running baremetal 2.0.5-12-PRO on ubuntu 16.04.
But I found some minor bugs, I'ld to report and hope you'll fix them in the future.
1. if you create multiple vmx-vcp in a row, all of them end up with the same base-mac address, which lead to errors if you do lacp bundeling (all have same system-id).
If you create every vmx-vcp on your own, this problem doesn't exists, so I think there is a mistake in the base-mac creation. Would be cool if this can be fixed. I'm not aware if other image have this problem as well.
2. If you use the HTML Wireshark, only packets till 1518 will be seen, higher packet length will not be seen, reason is because the docker eth has an mtu of 1500.
I changed the /opt/dockers-src/eve-wireshark/Dockerfile
from:
to
and rebuild the docker container, then it's working. I'm not sure if 9000 is the max mtu, at least for me this was ok. Could this be integrated in the container?
3. As I already described in this forum post: viewtopic.php?f=3&t=908&p=3366#p3366
I noticed the vmx had a high cpu load on qemu. Thanks to this site: https://codingpackets.com/blog/kvm-host-high-cpu-fix I was able to drop the vmx cpu usage a lot by changing the file /etc/modprobe.d/kvm.conf to:
To be honest I've no idea what it does and why it's not default, but at least for me it saved a huge amount of cpu cycles and I didn't noticed any problems at all.
4. I tried to create another linux vm with libvirt. As long as no eve-ng image is running the libvirt vm is stable, but as soon I start one machine, the machine will be exited with code 15 and one restart it will fail after 10 seconds. Unfortunately I don't know how to troubleshoot this. If I start the machine by hand with qemu it works fine.
5. At least for my installation about 3 weeks ago, the qemu-3.1 is missing, there is non under /opt
Lastly a some nice to have things as feature request:
a. store a default config in template folder which can be attached directly to the vm. really cool would be with some variables like ip addresses.
b. define a standard cloud for the management interface in a template. I usally connect the fxp to cloud0 for oob access. It would be nice if this could be default.
c. please add https to the forum
I think thats all from now on. Looking forward to hearing from you and thanks in advance
Viets
first thank you for a very good software, which is very helpful in testing out several things in my work and for studying.
I'm running baremetal 2.0.5-12-PRO on ubuntu 16.04.
But I found some minor bugs, I'ld to report and hope you'll fix them in the future.
1. if you create multiple vmx-vcp in a row, all of them end up with the same base-mac address, which lead to errors if you do lacp bundeling (all have same system-id).
Code: Select all
root> show chassis mac-addresses
MAC address information:
Public base address 2c:6b:f5:c5:36:00
Public count 1984
Private base address 2c:6b:f5:c5:3d:c0
Private count 64
2. If you use the HTML Wireshark, only packets till 1518 will be seen, higher packet length will not be seen, reason is because the docker eth has an mtu of 1500.
I changed the /opt/dockers-src/eve-wireshark/Dockerfile
from:
Code: Select all
RUN \
echo "setcap 'CAP_NET_RAW+eip CAP_NET_ADMIN+eip' /usr/bin/dumpcap" >> /etc/my_init.d/00_config.sh
Code: Select all
RUN \
echo "setcap 'CAP_NET_RAW+eip CAP_NET_ADMIN+eip' /usr/bin/dumpcap" >> /etc/my_init.d/00_config.sh &&\
echo "/sbin/ip link set dev eth0 mtu 9000" >> /etc/my_init.d/00_config.sh
3. As I already described in this forum post: viewtopic.php?f=3&t=908&p=3366#p3366
I noticed the vmx had a high cpu load on qemu. Thanks to this site: https://codingpackets.com/blog/kvm-host-high-cpu-fix I was able to drop the vmx cpu usage a lot by changing the file /etc/modprobe.d/kvm.conf to:
Code: Select all
options kvm halt_poll_ns=0
4. I tried to create another linux vm with libvirt. As long as no eve-ng image is running the libvirt vm is stable, but as soon I start one machine, the machine will be exited with code 15 and one restart it will fail after 10 seconds. Unfortunately I don't know how to troubleshoot this. If I start the machine by hand with qemu it works fine.
5. At least for my installation about 3 weeks ago, the qemu-3.1 is missing, there is non under /opt
Lastly a some nice to have things as feature request:
a. store a default config in template folder which can be attached directly to the vm. really cool would be with some variables like ip addresses.
b. define a standard cloud for the management interface in a template. I usally connect the fxp to cloud0 for oob access. It would be nice if this could be default.
c. please add https to the forum
I think thats all from now on. Looking forward to hearing from you and thanks in advance
Viets