nova-compute hugepages breaks the boot process
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
upstart |
New
|
Undecided
|
Unassigned | ||
nova-compute (Juju Charms Collection) |
Fix Released
|
High
|
Liam Young |
Bug Description
Once hugepages are enabled in the charm:
nova-compute:
openstack-origin: cloud:trusty-
enable-
migration-
enable-resize: true
hugepages: "16834"
The reload of the physical host stops at:
An error occurred while mounting /run/hugepages/kvm
keys: Press S to skip mounting or M for manual recovery
pressing S progresses the boot process
Having a look at the log files I can see the following in /var/log/
mount: mount point /run/hugepages/kvm does not exist
mountall: mount /run/hugepages/kvm [704] terminated with status 32
mountall: Filesystem could not be mounted: /run/hugepages/kvm
Skipping /run/hugepages/kvm at user request
hugepages end up being mounted anyway:
# cat /proc/mounts | grep hugepages
nodev /run/hugepages/kvm hugetlbfs rw,relatime,
tags: | added: openstack |
Changed in nova-compute (Juju Charms Collection): | |
assignee: | nobody → Liam Young (gnuoy) |
milestone: | none → 16.04 |
Changed in nova-compute (Juju Charms Collection): | |
status: | Fix Committed → Fix Released |
Thanks for the bug report Pshem
This problem occurs because /run is entirely fungible on a reboot; mounting the hugepage filesystem here is not going to work via an fstab entry for this reason; I suspect that the charm just deals with this post-reboot when the config-changed hook fires.