From fc11d8d39a756cb66ae353c16f7fa6c4eb405e82 Mon Sep 17 00:00:00 2001 From: Gorka Eguileor Date: Fri, 17 Jan 2020 14:15:17 +0100 Subject: Add cinderlib RPM to cinder-volume Finding the root cause of attach/detach operation on volumes can be very complicated. This patch adds the cinderlib RPM to the cinder-volume container, which can, in many scenarios, really help debug these issues on live nodes (controller and compute) without affecting our running services. Change-Id: I5f55c892b1ae9eba9b6af8a45ef7dfad515c7b05 (cherry picked from commit a1b74b76977f8300938c6a6a9adf67af6cd50086) --- docker/cinder/cinder-volume/Dockerfile.j2 | 2 ++ 1 file changed, 2 insertions(+) (limited to 'docker/cinder') diff --git a/docker/cinder/cinder-volume/Dockerfile.j2 b/docker/cinder/cinder-volume/Dockerfile.j2 index 77748fd1a..a5f3af756 100644 --- a/docker/cinder/cinder-volume/Dockerfile.j2 +++ b/docker/cinder/cinder-volume/Dockerfile.j2 @@ -15,10 +15,12 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build {% if distro_python_version.startswith('3') %} {% set cinder_volume_packages = cinder_volume_packages + [ 'python3-rtslib', + 'python3-cinderlib', ] %} {% else %} {% set cinder_volume_packages = cinder_volume_packages + [ 'python-rtslib', + 'python2-cinderlib', ] %} {% endif %} {{ macros.install_packages(cinder_volume_packages | customizable("packages")) }} -- cgit v1.2.3