Cinder requires lsscsi to be installed

Bug #1916601 reported by cyrille babon
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kolla
Triaged
Medium
Unassigned
Victoria
New
Medium
Unassigned
Wallaby
Triaged
Medium
Unassigned

Bug Description

**Bug Report**
What Happened :
When try to create volume from image on Openstack (with Cinder connect to HP3par), receive an error :
oslo_concurrency.processutils.ProcessExecutionError: [Errno 2] No such file or directory: 'lsscsi'
This is due to the following change: https://opendev.org/openstack/os-brick/commit/5208e7bdc4ca79853f01a4d69d00600f81f75c8c

What you expected to happen :
volume created successfully

How to reproduce it :
Deploy Openstack with Kolla-ansible Victoria (11.0.0 last release) in HP3par environment
PS : need to create custom Cinder-Base image with this parameter :
    {% set cinder_base_pip_packages_append = ['python-3parclient'] %}
Try to create a volume from any image

How to correct it :
add lsscsi to "cinder_base_packages" (tested and worked)

**Environment**:
* OS : Ubuntu 20.04.2 LTS (with last ubuntu-source for containers)
* Kernel : 5.4.0-65-generic
* Docker version if applicable : 20.10.3
* Kolla version : Stable Victoria

Revision history for this message
cyrille babon (cyrille-babon) wrote :

Patch Dockerfile.j2 for cinder-base (Victoria)

Mark Goddard (mgoddard)
Changed in kolla:
importance: Undecided → Medium
status: New → Triaged
Revision history for this message
Marcin Juszkiewicz (hrw) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.