summary refs log tree commit diff stats
path: root/results/classifier/118/all/1477
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--results/classifier/118/all/1477321
-rw-r--r--results/classifier/118/all/1477538172
2 files changed, 493 insertions, 0 deletions
diff --git a/results/classifier/118/all/1477 b/results/classifier/118/all/1477
new file mode 100644
index 00000000..f2a0eb1e
--- /dev/null
+++ b/results/classifier/118/all/1477
@@ -0,0 +1,321 @@
+performance: 0.938
+register: 0.930
+graphic: 0.919
+virtual: 0.914
+permissions: 0.908
+KVM: 0.908
+user-level: 0.908
+hypervisor: 0.907
+debug: 0.906
+PID: 0.906
+architecture: 0.901
+semantic: 0.901
+device: 0.900
+arm: 0.895
+socket: 0.894
+assembly: 0.887
+ppc: 0.885
+kernel: 0.885
+boot: 0.883
+risc-v: 0.876
+vnc: 0.874
+x86: 0.866
+VMM: 0.858
+TCG: 0.857
+network: 0.846
+peripherals: 0.838
+files: 0.799
+mistranslation: 0.794
+i386: 0.523
+
+hot-plugged interface are not working after live migration
+Description of problem:
+After a live migration are perform for a vm then hot-plug interface pci didn't show up, but did found a SCSI storage controller is created. I checked libvirt did send qmp command to qemu `[pid 320011] 1673945683.378537 write(42, "{"execute":"device_add","arguments":{"driver":"virtio-net-pci","netdev":"hostua-test","id":"ua-test","mac":"00:e0:4c:6a:3b:51","bus":"pci.7","addr":"0x0"},"id":"libvirt-200"}rn", 176) = 176
+`
+Steps to reproduce:
+1. Perform a live migration by issue command `virsh migrate --live --persistent --verbose --unsafe --p2p demo-vm qemu+tls://node8/system?pkipath=/etc/pki/libvirt/private/`
+2. Then on the destination node that vm moved, create a bridge deivce `ip link add br-test1 type bridge`
+3. Create a tap.xml file with following code
+   ```
+   <interface type='bridge'>
+     <mac address='00:e0:4c:6a:3b:51'/>
+     <source bridge='br-test1'/>
+     <model type="virtio"/>
+     <alias name='ua-test'/>
+   </interface>
+   ```
+4. Save origin pci information
+```
+$ virsh console demo-vm
+# Save origin pci information 
+[root@demo-vm ~]# lshw > before
+```
+5. Hot-plug an interface `virsh attach-device demo-vm tap.xml-backup --live --config`
+6. Dumpxml of demo-vm
+```
+<domain type='kvm' id='226'>
+  <name>demo-vm</name>
+  <uuid>cc74b867-3fb4-5e4f-bbce-33df21a89416</uuid>
+  <metadata>
+    <kubevirt xmlns="http://kubevirt.io">
+      <uid>79db3d82-ce8f-44e8-96a5-940cc37c0064</uid>
+      <graceperiod>
+        <deletionGracePeriodSeconds>30</deletionGracePeriodSeconds>
+      </graceperiod>
+    </kubevirt>
+  </metadata>
+  <maxMemory slots='16' unit='KiB'>134217728</maxMemory>
+  <memory unit='KiB'>1048576</memory>
+  <currentMemory unit='KiB'>1048576</currentMemory>
+  <vcpu placement='static' current='1'>128</vcpu>
+  <iothreads>1</iothreads>
+  <resource>
+    <partition>/machine</partition>
+  </resource>
+  <sysinfo type='smbios'>
+    <system>
+      <entry name='uuid'>cc74b867-3fb4-5e4f-bbce-33df21a89416</entry>
+    </system>
+  </sysinfo>
+  <os>
+    <type arch='x86_64' machine='pc-q35-rhel8.6.0'>hvm</type>
+    <smbios mode='sysinfo'/>
+  </os>
+  <features>
+    <acpi/>
+  </features>
+  <cpu mode='custom' match='exact' check='full'>
+    <model fallback='forbid'>Skylake-Server-IBRS</model>
+    <vendor>Intel</vendor>
+    <topology sockets='128' dies='1' cores='1' threads='1'/>
+    <feature policy='require' name='ss'/>
+    <feature policy='require' name='vmx'/>
+    <feature policy='require' name='pdcm'/>
+    <feature policy='require' name='hypervisor'/>
+    <feature policy='require' name='tsc_adjust'/>
+    <feature policy='require' name='clflushopt'/>
+    <feature policy='require' name='umip'/>
+    <feature policy='require' name='pku'/>
+    <feature policy='require' name='md-clear'/>
+    <feature policy='require' name='stibp'/>
+    <feature policy='require' name='arch-capabilities'/>
+    <feature policy='require' name='ssbd'/>
+    <feature policy='require' name='xsaves'/>
+    <feature policy='require' name='ibpb'/>
+    <feature policy='require' name='ibrs'/>
+    <feature policy='require' name='amd-stibp'/>
+    <feature policy='require' name='amd-ssbd'/>
+    <feature policy='require' name='skip-l1dfl-vmentry'/>
+    <feature policy='require' name='pschange-mc-no'/>
+    <feature policy='disable' name='mpx'/>
+    <numa>
+      <cell id='0' cpus='0-127' memory='1048576' unit='KiB'/>
+    </numa>
+  </cpu>
+  <clock offset='utc'/>
+  <on_poweroff>destroy</on_poweroff>
+  <on_reboot>restart</on_reboot>
+  <on_crash>destroy</on_crash>
+  <devices>
+    <emulator>/usr/libexec/qemu-kvm</emulator>
+    <disk type='network' device='disk' model='virtio-non-transitional'>
+      <driver name='qemu' type='raw' error_policy='stop' discard='unmap'/>
+      <auth username='rbd-provisioner'>
+        <secret type='ceph' uuid='8fedf300-282c-4531-a66d-ca2691aaa88b'/>
+      </auth>
+      <source protocol='rbd' name='demo-pool/vol-5e83bed9-a2a3-11ed-bee4-3cfdfee07278' index='2'>
+        <host name='xx.xx.xx.xx' port='6789'/>
+        <host name='xx.xx.xx.xx' port='6789'/>
+        <host name='xx.xx.xx.xx' port='6789'/>
+      </source>
+      <target dev='vda' bus='virtio'/>
+      <boot order='1'/>
+      <alias name='ua-bootdisk'/>
+      <address type='pci' domain='0x0000' bus='0x04' slot='0x00' function='0x0'/>
+    </disk>
+    <disk type='file' device='disk' model='virtio-non-transitional'>
+      <driver name='qemu' type='raw' cache='writethrough' error_policy='stop' discard='unmap'/>
+      <source file='/var/run/kubevirt-ephemeral-disks/cloud-init-data/demo-vm/configdrive.iso' index='1'/>
+      <backingStore/>
+      <target dev='vdb' bus='virtio'/>
+      <alias name='ua-cloudinitdisk'/>
+      <address type='pci' domain='0x0000' bus='0x05' slot='0x00' function='0x0'/>
+    </disk>
+    <controller type='usb' index='0' model='none'>
+      <alias name='usb'/>
+    </controller>
+    <controller type='scsi' index='0' model='virtio-non-transitional'>
+      <alias name='scsi0'/>
+      <address type='pci' domain='0x0000' bus='0x02' slot='0x00' function='0x0'/>
+    </controller>
+    <controller type='virtio-serial' index='0' model='virtio-non-transitional'>
+      <alias name='virtio-serial0'/>
+      <address type='pci' domain='0x0000' bus='0x03' slot='0x00' function='0x0'/>
+    </controller>
+    <controller type='pci' index='0' model='pcie-root'>
+      <alias name='pcie.0'/>
+    </controller>
+    <controller type='pci' index='1' model='pcie-root-port'>
+      <model name='pcie-root-port'/>
+      <target chassis='1' port='0x10'/>
+      <alias name='pci.1'/>
+      <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0' multifunction='on'/>
+    </controller>
+    <controller type='pci' index='2' model='pcie-root-port'>
+      <model name='pcie-root-port'/>
+      <target chassis='2' port='0x11'/>
+      <alias name='pci.2'/>
+      <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x1'/>
+    </controller>
+    <controller type='pci' index='3' model='pcie-root-port'>
+      <model name='pcie-root-port'/>
+      <target chassis='3' port='0x12'/>
+      <alias name='pci.3'/>
+      <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x2'/>
+    </controller>
+    <controller type='pci' index='4' model='pcie-root-port'>
+      <model name='pcie-root-port'/>
+      <target chassis='4' port='0x13'/>
+      <alias name='pci.4'/>
+      <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x3'/>
+    </controller>
+    <controller type='pci' index='5' model='pcie-root-port'>
+      <model name='pcie-root-port'/>
+      <target chassis='5' port='0x14'/>
+      <alias name='pci.5'/>
+      <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x4'/>
+    </controller>
+    <controller type='pci' index='6' model='pcie-root-port'>
+      <model name='pcie-root-port'/>
+      <target chassis='6' port='0x15'/>
+      <alias name='pci.6'/>
+      <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x5'/>
+    </controller>
+    <controller type='pci' index='7' model='pcie-root-port'>
+      <model name='pcie-root-port'/>
+      <target chassis='7' port='0x16'/>
+      <alias name='pci.7'/>
+      <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x6'/>
+    </controller>
+    <controller type='pci' index='8' model='pcie-root-port'>
+      <model name='pcie-root-port'/>
+      <target chassis='8' port='0x18'/>
+      <alias name='pci.8'/>
+      <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0' multifunction='on'/>
+    </controller>
+    <controller type='pci' index='9' model='pcie-root-port'>
+      <model name='pcie-root-port'/>
+      <target chassis='9' port='0x19'/>
+      <alias name='pci.9'/>
+      <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x1'/>
+    </controller>
+    <controller type='pci' index='10' model='pcie-root-port'>
+      <model name='pcie-root-port'/>
+      <target chassis='10' port='0x1a'/>
+      <alias name='pci.10'/>
+      <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x2'/>
+    </controller>
+    <controller type='pci' index='11' model='pcie-root-port'>
+      <model name='pcie-root-port'/>
+      <target chassis='11' port='0x1b'/>
+      <alias name='pci.11'/>
+      <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x3'/>
+    </controller>
+    <controller type='pci' index='12' model='pcie-root-port'>
+      <model name='pcie-root-port'/>
+      <target chassis='12' port='0x1c'/>
+      <alias name='pci.12'/>
+      <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x4'/>
+    </controller>
+    <controller type='sata' index='0'>
+      <alias name='ide'/>
+      <address type='pci' domain='0x0000' bus='0x00' slot='0x1f' function='0x2'/>
+    </controller>
+    <interface type='ethernet'>
+      <mac address='00:00:00:6a:d3:bc'/>
+      <target dev='e6250550b78a43a' managed='yes'/>
+      <model type='virtio'/>
+      <mtu size='1500'/>
+      <alias name='ua-attachnet1'/>
+      <rom enabled='no'/>
+      <address type='pci' domain='0x0000' bus='0x01' slot='0x00' function='0x0'/>
+    </interface>
+    <interface type='bridge'>
+      <mac address='00:e0:4c:6a:3b:51'/>
+      <source bridge='br-test1'/>
+      <target dev='vnet5'/>
+      <model type='virtio'/>
+      <alias name='ua-test'/>
+      <address type='pci' domain='0x0000' bus='0x07' slot='0x00' function='0x0'/>
+    </interface>
+    <serial type='pty'>
+      <source path='/dev/pts/31'/>
+      <log file='/var/log/vm/79db3d82-ce8f-44e8-96a5-940cc37c0064/console.log' append='off'/>
+      <target type='isa-serial' port='0'>
+        <model name='isa-serial'/>
+      </target>
+      <alias name='serial0'/>
+    </serial>
+    <console type='pty' tty='/dev/pts/31'>
+      <source path='/dev/pts/31'/>
+      <log file='/var/log/vm/79db3d82-ce8f-44e8-96a5-940cc37c0064/console.log' append='off'/>
+      <target type='serial' port='0'/>
+      <alias name='serial0'/>
+    </console>
+    <channel type='unix'>
+      <source mode='bind' path='/var/lib/libvirt/qemu/channel/target/domain-226-demo-vm/org.qemu.guest_agent.0'/>
+      <target type='virtio' name='org.qemu.guest_agent.0' state='connected'/>
+      <alias name='channel0'/>
+      <address type='virtio-serial' controller='0' bus='0' port='1'/>
+    </channel>
+    <input type='mouse' bus='ps2'>
+      <alias name='input0'/>
+    </input>
+    <input type='keyboard' bus='ps2'>
+      <alias name='input1'/>
+    </input>
+    <graphics type='vnc' port='5920' autoport='yes' listen='0.0.0.0'>
+      <listen type='address' address='0.0.0.0'/>
+    </graphics>
+    <audio id='1' type='none'/>
+    <video>
+      <model type='vga' vram='16384' heads='1' primary='yes'/>
+      <alias name='video0'/>
+      <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x0'/>
+    </video>
+    <memballoon model='virtio-non-transitional'>
+      <alias name='balloon0'/>
+      <address type='pci' domain='0x0000' bus='0x06' slot='0x00' function='0x0'/>
+    </memballoon>
+  </devices>
+  <seclabel type='dynamic' model='dac' relabel='yes'>
+    <label>+107:+107</label>
+    <imagelabel>+107:+107</imagelabel>
+  </seclabel>
+</domain>
+``` 
+7. Console to vm and check pci
+```
+$ virsh console demo-vm
+# no additional nic found in `ip a` list
+[root@demo-vm ~]# ip a
+# Compare pci
+[root@demo-vm ~]# lshw > after
+# instead of a virtio network pci i saw a virtio SCSI is created
+[root@demo-vm ~]# diff before after
+# output
+  *-scsi                    
+       description: SCSI storage controller
+       product: Virtio SCSI
+       vendor: Red Hat, Inc.
+       physical id: 0
+       bus info: pci@0000:02:00.0
+       version: 01
+       width: 64 bits
+       clock: 33MHz
+       capabilities: scsi msix pm pciexpress bus_master cap_list
+       configuration: driver=virtio-pci latency=0
+       resources: irq:22 memory:fe600000-fe600fff memory:fc400000-fc403fff
+```
+Additional information:
+
diff --git a/results/classifier/118/all/1477538 b/results/classifier/118/all/1477538
new file mode 100644
index 00000000..9ed6e356
--- /dev/null
+++ b/results/classifier/118/all/1477538
@@ -0,0 +1,172 @@
+device: 0.967
+virtual: 0.966
+register: 0.965
+assembly: 0.960
+hypervisor: 0.960
+arm: 0.960
+semantic: 0.957
+architecture: 0.955
+network: 0.954
+permissions: 0.952
+user-level: 0.951
+graphic: 0.950
+PID: 0.949
+vnc: 0.946
+performance: 0.946
+socket: 0.941
+debug: 0.939
+files: 0.937
+KVM: 0.936
+peripherals: 0.928
+VMM: 0.926
+ppc: 0.925
+kernel: 0.921
+risc-v: 0.913
+boot: 0.912
+TCG: 0.910
+x86: 0.909
+mistranslation: 0.898
+i386: 0.670
+
+Windows QEMU Guest Agent VSS Provider service stops during qemu backup
+
+I’m currently implementing the QEMU Guest Agent on all my KVM Windows guests.
+
+I’m using the stable VirtIO drivers and Guest agent from Fedora: https://fedoraproject.org/wiki/Windows_Virtio_Drivers
+
+Both the stable and latest release do provide Qemu Windows Guest agent 7.0.0.10.
+
+After the Guest agent installation I initially received VSS events with ID 8194:
+
+ Volume Shadow Copy Service error: Unexpected error querying for the IVssWriterCallback interface.  hr = 0x80070005, Access is denied.
+
+This is often caused by incorrect security settings in either the writer or requestor process.
+Operation:
+   Gathering Writer Data
+Context:
+
+   Writer Class Id: {e8132975-6f93-4464-a53e-1050253ae220}
+
+   Writer Name: System Writer
+
+   Writer Instance ID: {6c777a34-53dd-4fb3-a4c9-b85d7e183e27}
+ 
+
+I was able to fix this issue by adding local access permissions for the “Network Service” account at the Dcom security permissions:
+
+On the client computer from the Start Menu, select Run
+The Run dialog opens.
+In the Open field type dcomcnfg and click OK.
+The Component Services dialog opens.
+Expand Component Services, Computers, and My Computer.
+Right-click My Computer and click Properties on the pop-up menu.
+The My Computer Properties dialog opens.
+Click the COM Security tab.
+Under Access Permission click Edit Default.
+The Access Permissions dialog opens.
+From the Access Permissions dialog, add the "Network Service" account with Local Access allowed.
+Close all open dialogs.
+
+Now an initial backup runs without any errors but this is causing the QEMU Guest Agent VSS Provider service to stop running without any error in the event log.
+
+As a result a second backup will cause an error: MSDTC Client 2 with event ID: 4879:
+
+MSDTC encountered an error (HR=0x80000171) while attempting to establish a secure connection with system SERVERNAME.
+
+This is probably caused because the QEMU Guest Agent VSS Provider service isn’t running anymore.
+
+I can manually start the QEMU Guest Agent VSS Provider service but every backup is causing the service to stop.
+
+I’m seeing this behavior at all my Windows based guests running both Windows Server 2012 R2 and Windows Server 2008 R2.
+
+ Since I can’t find any logging or troubleshooting possibilities for this particular service I'm open for suggestions how to troubleshoot this issue to receive detailed information about the reason why this services stops running during a backup.
+
+
+qemu-server   3.4-3    amd64
+Guest agent 7.0.0.10
+
+After upgrading to QEMU guest agent 7.2.1 this issue disappeared.
+
+The only minor "issue" that remains is that the QEMU Guest Agent VSS Provider service is being installed with start-up type: Automatic.
+
+After a backup the service is automatically being stopped causing monitoring systems like the Windows server manager to complain about stopped services with start-up type automatic.
+
+Because the Qemu guest agent starts the VSS provider service automatically when a backup is being triggered this can easily be solved by changing the start-up type to: manual.
+
+I have now changed the start-up type to manual using GPO for all my Qemu Windows guests.
+
+I have filed a bug report at Redhat with the request to change the service start-up type to manual for the provided MSI install packages.
+https://bugzilla.redhat.com/show_bug.cgi?id=1286672
+
+
+
+
+
+ 
+
+Hi Joop,
+
+From where did you find QEMU guest agent 7.2.1 ? I am looking for one for RHEL 7. Any idea where can I find it ?
+
+Thanks,
+Ravi
+
+
+
+Hello Ravi,
+
+You can find it at the Fedora Windows VirtIO Drivers wiki page that I provided in my first post.
+
+Here's a direct link to the latest 7.2.1 guest agent:
+https://fedorapeople.org/groups/virt/virtio-win/direct-downloads/archive-qemu-ga/qemu-ga-win-7.2.1-1/
+
+Hello Ravi,
+
+Just noticed that you are looking for a RHEL 7 guest agent instead of the Windows version.
+Not sure what the latest Linux release is but the standard repos currently provide release 2.3.0.
+
+If you need a newer version you need to search for a 3th party rpm or compile it yourself from source.
+
+
+Thanks Joop, I am looking for Windows 2012 guest agent only. Let me try the 7.2.1 guest agent.
+
+Well, I am still getting this error.
+Volume Shadow Copy Service error: Unexpected error querying for the IVssWriterCallback interface.  hr = 0x80070005, Access is denied.
+. This is often caused by incorrect security settings in either the writer or requestor process. 
+
+Operation:
+   Gathering Writer Data
+
+Context:
+   Writer Class Id: {e8132975-6f93-4464-a53e-1050253ae220}
+   Writer Name: System Writer
+   Writer Instance ID: {07dc130c-35da-4bd1-9948-2b4501249c3b}
+
+
+Finally it worked.
+
+I had to carry out DCOM config that you suggested earlier in addition to installation of 7.2.1
+
+Thanks,
+Ravi
+
+
+
+
+Have you tried my manual steps to fix this issue?
+
+On the client computer from the Start Menu, select Run
+The Run dialog opens.
+In the Open field type dcomcnfg and click OK.
+The Component Services dialog opens.
+Expand Component Services, Computers, and My Computer.
+Right-click My Computer and click Properties on the pop-up menu.
+The My Computer Properties dialog opens.
+Click the COM Security tab.
+Under Access Permission click Edit Default.
+The Access Permissions dialog opens.
+From the Access Permissions dialog, add the "Network Service" account with Local Access allowed.
+Close all open dialogs.
+
+If the issue has not been fixed for you I suggest to reopen the bug (I'm the original bug reporter not the bug fixer)
+