make iso fails: some packages fail to install in Ubuntu chroot
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
Fix Committed
|
Undecided
|
Alexei Sheplyakov |
Bug Description
make iso fails when creating Ubuntu chroot (used for image based provisioning) with the following error:
Selecting previously unselected package linux-image-
Preparing to unpack .../linux-
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
grep: /proc/cpuinfo: No such file or directory
This kernel does not support a non-PAE CPU.
dpkg: error processing archive /tmp/mirror/
subprocess new pre-installation script returned error exit status 1
The root cause is that /proc is not mounted in the staging chroot, hence the configuration scripts which need /proc fail.
Fix proposed to branch: master /review. openstack. org/142409
Review: https:/