RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 820461 - numad support is lost in the 6.3 build.
Summary: numad support is lost in the 6.3 build.
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: libvirt
Version: 6.3
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Osier Yang
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-05-10 03:43 UTC by Osier Yang
Modified: 2014-03-27 01:03 UTC (History)
10 users (show)

Fixed In Version: libvirt-0.9.10-19.el6
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-06-20 06:58:15 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2012:0748 0 normal SHIPPED_LIVE Low: libvirt security, bug fix, and enhancement update 2012-06-19 19:31:38 UTC

Description Osier Yang 2012-05-10 03:43:25 UTC
Description of problem:
There was a typo in configure.ac, strange thing is there is no problem
when building on Fedora, "$with_numad" willbe "yes" even with the typo. But on
RHEL, things are different. and it will cause numad support to be lost while
building. 

Patch posted internally. 

http://post-office.corp.redhat.com/archives/rhvirt-patches/2012-May/msg00243.html

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 6 Wayne Sun 2012-05-16 06:43:06 UTC
pkgs:
libvirt-0.9.10-20.el6.x86_64
qemu-kvm-rhev-0.12.1.2-2.292.el6.x86_64
numad-0.5-3.20120316git.el6.x86_64
kernel-2.6.32-270.el6.x86_64

steps:
1. start numad service
# service numad start

# numactl --hardware
available: 1 nodes (0)
node 0 cpus: 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
node 0 size: 12278 MB
node 0 free: 8243 MB
node distances:
node   0 
  0:  10 

2. prepare a domain
# virsh list --all
 Id    Name                           State
----------------------------------------------------
 1     rhel6u2                        running

# virsh dumpxml rhel6u2
...
  <vcpu placement='static'>1</vcpu>
...

3. destroy domain and edit domain xml as:
# virsh destroy rhel6u2

# virsh edit rhel6u2
...
  <vcpu placement='auto'>8</vcpu>
  <numatune>
    <memory mode='interleave'/>
  </numatune>
...

4. start domain and check xml
# virsh start rhel6u2
Domain rhel6u2 started

# virsh dumpxml rhel6u2
...
  <vcpu placement='auto'>8</vcpu>
  <numatune>
    <memory mode='interleave' placement='auto'/>
  </numatune>
...

5. check log
# cat /tmp/libvirtd.log | grep Nodeset 
2012-05-16 06:26:09.423+0000: 31593: debug : qemuProcessStart:3356 : Nodeset returned from numad: 0

5. check domain proc
# cat /proc/31707/status
...
Cpus_allowed:	0000ffff
Cpus_allowed_list:	0-15
Mems_allowed:	00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001
Mems_allowed_list:	0
...

libvirt with numad is working now.
So, this is fixed.

Comment 8 errata-xmlrpc 2012-06-20 06:58:15 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHSA-2012-0748.html


Note You need to log in before you can comment on or make changes to this bug.