diff options
Diffstat (limited to 'docker/common/nova-compute/nova-libvirt')
| -rwxr-xr-x | docker/common/nova-compute/nova-libvirt/start.sh | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/docker/common/nova-compute/nova-libvirt/start.sh b/docker/common/nova-compute/nova-libvirt/start.sh index bdbe882b8..1f2ddbed8 100755 --- a/docker/common/nova-compute/nova-libvirt/start.sh +++ b/docker/common/nova-compute/nova-libvirt/start.sh @@ -18,5 +18,14 @@ if [[ -c /dev/kvm ]]; then chown root:kvm /dev/kvm fi +# https://bugs.launchpad.net/kolla/+bug/1461635 +# Cinder requires mounting /dev in the cinder-volume, nova-compute, +# and libvirt containers. If /dev/pts/ptmx does not have proper permissions +# on the host, then libvirt will fail to boot an instance. +# This is a bug in Docker where it is not correctly mounting /dev/pts +# Tech Debt tracker: https://bugs.launchpad.net/kolla/+bug/1468962 +# **Temporary fix** +chmod 666 /dev/pts/ptmx + echo "Starting libvirtd." exec /usr/sbin/libvirtd |
