[dpdk] [huge] instance start fails if HugePages is requested and DPDK is configured
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
| Fuel for OpenStack |
High
|
Vladimir Kuklin |
Bug Description
1. When HugePages and DPDK is enabled, two mountpoints for hugetlbfs will be created:
# mount | grep hugetlbfs
hugetlbfs on /dev/hugepages type hugetlbfs (rw) # from /etc/init.d/dpdk
hugetlbfs-kvm on /run/hugepages/kvm type hugetlbfs (rw,mode=
2. libvirt is trying to discover hugetlbfs mountpoint and found first one: /dev/hugepages
3. Instance boot fails with next error, because /dev/hugepages is forbidden by permissions and apparmor:
libvirtError: internal error: process exited while connecting to monitor: 2016-03-
If DPDK is not enabled, it will work, because /run/hugepages/kvm will be discovered and it allowed.
/etc/libvirt/
Changed in fuel: | |
assignee: | Fuel Library Team (fuel-library) → Sergey Kolekonov (skolekonov) |
Changed in fuel: | |
status: | New → In Progress |
Changed in fuel: | |
importance: | Undecided → High |
Reviewed: https:/
Committed: https:/
Submitter: Jenkins
Branch: master
commit b2e12dd096c9c96
Author: Sergey Kolekonov <email address hidden>
Date: Mon Mar 14 15:32:47 2016 +0300
Always manage hugetlbfs mountpoint for libvirt
hugetlbfs mountpoint value should be set to the only correct value when huge
pages are enabled (other values are prohibited by apparmor) and removed when
huge pages are disabled
Change-Id: I84dd96c8268e1c
Closes-bug: #1556083
Changed in fuel: | |
status: | In Progress → Fix Committed |
(This check performed automatically)
Please, make sure that bug description contains the following sections filled in with the appropriate data related to the bug you are describing:
actual result
version
expected result
steps to reproduce
For more detailed information on the contents of each of the listed sections see https:/
tags: | added: need-info |
Atsuko Ito (yottatsa) wrote : | #5 |
could not fix with just
require => Package[
because of UCA
Fix proposed to branch: master
Review: https:/
Changed in fuel: | |
assignee: | Sergey Kolekonov (skolekonov) → Vladimir Eremin (yottatsa) |
status: | Confirmed → In Progress |
Changed in fuel: | |
assignee: | Vladimir Eremin (yottatsa) → Vladimir Kuklin (vkuklin) |
Reviewed: https:/
Committed: https:/
Submitter: Jenkins
Branch: master
commit 9a76266a4196ce7
Author: Vladimir Eremin <email address hidden>
Date: Mon Mar 28 21:46:17 2016 +0300
Added requirement between hugetlbfs_mount and libvirt
* Added lost requirement
Change-Id: I468f11772ab142
Closes-Bug: #1556083
Changed in fuel: | |
status: | In Progress → Fix Committed |
Maksym Strukov (unbelll) wrote : | #8 |
Verified as fixed in 9.0-mos-364 and 10.0-224
Changed in fuel: | |
status: | Fix Committed → Fix Released |
Fix proposed to branch: master /review. openstack. org/292357
Review: https:/