Description of problem: - Edit or new network configuration in guest's interfaces gives the Ooops! error in cockpit. - As a result, the VM and the host both hangs and had to reboot. Version-Release number of selected component (if applicable): RHEL 8.2/8.4 KVM host How reproducible: Always Steps to Reproduce: 1. Configure a KVM environment. 2. Access cockpit interface in any browser. Configure new network interface on a bridge or remove or edit any configuration on KVM cockpit for VM. 3. The host will be hung Actual results: KVM host hangs after changing network configuration from the cockpit. Expected results: Host should not hang. Additional info: Tried with RHVH 4.4.8 and RHVH 4.4.7 (RHEL 8.4) versions.
Hello Ulhas, I am afraid this is too vague for investigating. Can you please - describe exactly what you did - make a screenshot right before you press the action button that causes the crash, and attach the screenshot here, and open the developer console (Ctrl+Shift+J) - after the oops happens: please copy all output from the developer console here; if you still see anything more interesting than a blank page, please add another screenshot. Which browser are you using? Which RHEL version and architecture? Thanks!
(In reply to Martin Pitt from comment #3) > Hello Ulhas, > > I am afraid this is too vague for investigating. Can you please > > - describe exactly what you did > - make a screenshot right before you press the action button that causes > the crash, and attach the screenshot here, and open the developer console > (Ctrl+Shift+J) > - after the oops happens: please copy all output from the developer console > here; if you still see anything more interesting than a blank page, please > add another screenshot. > > Which browser are you using? Which RHEL version and architecture? > > Thanks! Hi Martin, The server I was testing crashed after this and i had to rebuild that KVM guest (nested VM) to keep the environment running. This was my test lab env. So basically, from the cockpit of KVM host, try to edit any network configuration (try to add or modify the network of the VMs) the Oops page will be displayed. I will attach screenshots.
Thanks! So this is really the "Virtual Machines" page, not the "Networking" one. Can you please still check `rpm -q cockpit-system cockpit-machines`? Katerina: The stack trace is hard to decipher (due to minimized code), but it seems to me that this crashes somewhere here: https://github.com/cockpit-project/cockpit/blob/211.3/pkg/machines/reducers.js#L112 That part of the code has not changed significantly, but of course the question is what actually called interfaces()/networks() with that invalid network interface. Any ideas for debugging/reproducing?
In order to reproduce the crash it would be very useful to add here as attachment the XML files of the VMs on your system. (So for each VM virsh -c qemu:///$CONNECTION_NAME dumpxml $VM_NAME > $VM_NAME.xml, or copy them from /etc/libvirt/qemu/ directory if these are on system connection)
One more observation is to set the locale from cockpit to "it_IT.UTF-8" and tried to configure the network.