Once more - I tried on x86 and ppc64 for this this morning.
The same case as outlined in comment #7.

TL;DR:
- x86 works now, the reported issue of virSecurityManagerSetMemoryLabel missing 
is fixed
- ppc64 also passes the reported issue
- ppc64 hangs further down on the attach at bug 1679704


ppc:
ubuntu@wichita:~$ virsh attach-device cpaelzer-bionic hp512.xml
error: Failed to attach device from hp512.xml
error: cannot limit locked memory of process 10121 to 96468992: Permission 
denied

x86:
ubuntu@node-horsea:~$ virsh attach-device cpaelzer-bionic hp512.xml
Device attached successfully

For the apparmor issue:
[  774.341567] audit: type=1400 audit(1522915593.238:41): apparmor="DENIED" 
operation="setrlimit" info="cap_sys_resource" error=-13 
profile="/usr/sbin/libvirtd" pid=8376 comm="libvirtd" rlimit=memlock 
value=96468992 peer="libvirt-70a586a2-ef34-4954-91ea-9a6ecab52da3"
[  774.341606] audit: type=1400 audit(1522915593.238:42): apparmor="DENIED" 
operation="setrlimit" info="cap_sys_resource" error=-13 
profile="/usr/sbin/libvirtd" pid=8376 comm="libvirtd" rlimit=memlock 
value=96468992 peer="libvirt-70a586a2-ef34-4954-91ea-9a6ecab52da3"

Both are on a 4.15 kernel of Bionic.
Memory allocation works differently on these arches, which likely is the reason 
it follow-on fails at bug 1679704 while x86 is good.

But that still means the bug here is solved, I'm happy that you chime in on bug 
1679704 and help me to raise the prio.
But lets stop updating this bug here, unless you really (=REALLY) think the 
problem reported here is reoccurring.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1755153

Title:
  [Ubuntu 18.04] Memory hotplug fails with error
  'virSecurityManagerSetMemoryLabel'

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-power-systems/+bug/1755153/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to