blockbox lvm-debian-cinder container fails
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
LOCI |
New
|
Undecided
|
Unassigned |
Bug Description
I'm using "generic/
```
ImportError: No module named _ctypes
/scripts/
/scripts/
Traceback (most recent call last):
File "/var/lib/
from cinder.cmd.volume import main
File "/var/lib/
import eventlet # noqa
File "/var/lib/
import monotonic
File "/var/lib/
import ctypes
File "/usr/lib/
from _ctypes import Union, Structure, Array
ImportError: No module named _ctypes
```
I will retry with different image - its related to missing libffi-devel when python is built.
I tested again (vagrant "ubuntu/bionic64" box) running these commands first.
```
yum check-update -y || apt-get update -y
yum install git libffi-devel -y || apt-get install git libffi-dev -y
```
The issue is gone.
The package `libffi-dev` (Ubuntu) and `libffi-devel` (RedHat) are prequisites.