> Cannot Set
> Cannot Set Cpu Affinity On Process Invalid Argument
Cannot Set Cpu Affinity On Process Invalid Argument
Why did the best potions master have greasy hair? Changed in libvirt (Ubuntu Vivid): status: New → Fix Committed tags: added: verification-needed Tony Breeds (o-tony) wrote on 2015-05-14: #44 I can verify that installing 1.2.12-0ubuntu13 on vivid fixes the issue Retrieving file vmlinuz... | 6.7 MB 00:00 ... However, it's weried to see "cannot set CPU affinity on process 0", how came the PID of domain process being 0?!, could you try to debug with gdb, and to see useful reference
How is it being verified that it is misbhaving - the kvm process is just not in a proper cpuset?? linux multithreading performance process linux-kernel share|improve this question asked Aug 22 '14 at 15:08 Nathan Doromal 1,097913 add a comment| 1 Answer 1 active oldest votes up vote 1 down vote Changed in libvirt (Ubuntu): status: New → Confirmed Rui Chen (kiwik-chenrui) wrote on 2015-04-30: #21 Looks like a nova bug, I guess it will issue in virt_type=qemu, libvirt>=1.2.7 and compute host Matt Kassawara (ionosphere80) wrote on 2015-04-21: #17 Chuck, What version of libvirt? https://www.redhat.com/archives/libvirt-users/2012-March/msg00196.html
Format For Printing -XML -Clone This Bug -Top of page First Last Prev Next This bug is not in your last search results. Liusheng (liusheng) wrote on 2015-05-04: #27 The packages list of ubuntu-archive of kilo: http://reqorts.qa.ubuntu.com/reports/ubuntu-server/cloud-archive/kilo_versions.html Tony Breeds (o-tony) wrote on 2015-05-06: #29 But that makes no sense. Why are password boxes always blanked out when other sensitive data isn't? Edit (4.0 KiB, text/plain) Download full text (3.3 KiB) Matt, you're right, allow me to correct myself below.
Browse other questions tagged linux centos central-processing-unit daemon or ask your own question. Without this the scheduler Tony Breeds (o-tony) wrote on 2015-05-08: #31 It seems that nova's libvirt driver is generating an invalid domain xml. Real numbers which are writable as a differences of two transcendental numbers Why does low frequency RFID have a short read range? I add/change the config file with following line.
Test case: See below - or simply attempt to launch a VM with multiple cpus on non-accelerated qemu. ============================================= I'm testing the Kilo packages from the cloud archive staging PPA on Hot Network Questions Why did the best potions master have greasy hair? Jeffrey Zhang (jeffrey4l) wrote on 2015-05-07: #30 @Tony Yes. Martin Mailand (todin) wrote on 2015-04-21: #13 @Matt V: I hacked an easy place in /usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py line 4720.
Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. If it was, you can restart your domain by running 'virsh start tvm'; otherwise, please restart your installation. screensnapr.com/v/okyD2v.png –peerra Jan 2 '12 at 14:56 add a comment| 2 Answers 2 active oldest votes up vote 0 down vote You can accomplish this with the taskset command. I think in the ubuntu, the libvirt (1.2.12, from cloud-archive) doesn't support numa.
I'm still a bit confused as to when the cloud archive used by trusty (http://ubuntu-cloud.archive.canonical.com/ubuntu/dists/trusty-updates/) would be updated to point to this new libvirt cloud level. (sorry for being a newbie https://bugs.launchpad.net/bugs/1439280 Either Libvirt 1.2.12 reports the wrong capabilities to nova or nova makes some sort of incorrect assumptions with it. OurvCPUpinningcodeisnotatallabletocopewiththis soifyoutrytosetCPUaffinityper-vCPUyouendupwith wierderrors error:Failedtostartdomaininstance-00000007 error:cannotsetCPUaffinityonprocess24365:Invalidargument SincefewpeoplewillcareabouttheperformanceofTCGwith strictCPUpinning,letsjustdisablethatfornow,soweget aclearerrormessage error:Failedtostartdomaininstance-00000007 error:Requestedoperationisnotvalid:cpuaffinityisnotsupported src/qemu/qemu_process.c patch | blob | history diff --git a/src/qemu/qemu_process.c b/src/qemu/qemu_process.c index b067f18..e2ccc4e 100644 (file) --- a/src/qemu/qemu_process.c +++ b/src/qemu/qemu_process.c @@ -2231,6 +2231,40 The host is a true hardware host?
Matt Kassawara (ionosphere80) wrote on 2015-04-09: #6 I'm fairly certain this is specific to the Ubuntu packages, not upstream nova or libvirt. It's that the qemu guest's vcpus are not pinned to the specified cpus on the host? Can you pinpoint it? > %%%% Start a new process with a defined affinity (answer invalid args and exit) > $ ./busybox_unstripped taskset 1 ls > taskset: can't set pid 0's current community chat Stack Overflow Meta Stack Overflow your communities Sign up or log in to customize your list.
Test environment ---------------- $ uname -r; rpm -q libvirt-daemon-kvm qemu-system-x86 4.0.0-0.rc5.git4.1.fc22.x86_64 libvirt-daemon-kvm-1.2.13-2.fc22.x86_64 qemu-system-x86-2.3.0-0.2.rc1.fc22.x86_64 I'm at these commits in my All-In-One DevStack environment: cinder: commit c7ca4b95b56539dd560dc88038ab994d50c8394d devstack: commit 72bdc8c27102db3b65651ded3a9944798238a2d4 glance: commit f84e49db5a455b36901b642125b5cf850f90c81d Tony Breeds (o-tony) wrote on 2015-05-12: #40 For the record. The guest is running accelerated KVM?
Affecting: libvirt (Ubuntu Vivid) Filed here by: Serge Hallyn When: 2015-05-13 Confirmed: 2015-05-13 Started work: 2015-05-13 Completed: 2015-05-21 Package (Find…) Status Importance Fix Released High Assigned to Nobody Me Comment on
After applied following patch, it works. Quoting Dan Berrange from a different review with a complete response on *why*: It is fundamentally impossible to test CPU pinning with TCG (aka plain QEMU) because TCG only has a Impact: VMs fail to launch with TCG (non-kvm-accelerated) 2. I wont speak for the Ubuntu developers but I strongly suspect that they'll be unwilling to diverge from upstream.
So what's happening is that we're probably telling the kernel to run the guest on 384 CPUs, when only 96 exist.