Unable to create volume from image on Rocky Linux
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kolla |
Fix Released
|
High
|
Maksim Malchuk | ||
Antelope |
Fix Released
|
High
|
Maksim Malchuk | ||
Wallaby |
Fix Released
|
High
|
Maksim Malchuk | ||
Xena |
Fix Released
|
High
|
Maksim Malchuk | ||
Yoga |
Fix Released
|
High
|
Maksim Malchuk | ||
Zed |
Fix Released
|
High
|
Maksim Malchuk |
Bug Description
What happened:
We are running into an issue where it appears that cinder-volume is unable to create an image to the volume as the cinder-volume container is missing the lsscsi package. It appears that Debian images receive the package but rpm based containers (Rocky) currently do not. We ran into this issue using kolla-ansible on Zed connecting to a PowerMax.
What you expected to happen:
Image should be written to volume so we can boot from volume.
**Environment**: kolla-ansible
* OS (e.g. from /etc/os-release): Rocky 9
* Kernel (e.g. `uname -a`): 5.14.0-
* Docker version if applicable (e.g. `docker version`):
Client: Docker Engine - Community
Version: 23.0.5
API version: 1.42
Go version: go1.19.8
Git commit: bc4487a
Built: Wed Apr 26 16:20:15 2023
OS/Arch: linux/amd64
Context: default
Server: Docker Engine - Community
Engine:
Version: 23.0.5
API version: 1.42 (minimum version 1.12)
Go version: go1.19.8
Git commit: 94d3ad6
Built: Wed Apr 26 16:17:08 2023
OS/Arch: linux/amd64
Experimental: false
containerd:
Version: 1.6.20
GitCommit: 2806fc1057397db
runc:
Version: 1.1.5
GitCommit: v1.1.5-0-gf19387a
docker-init:
Version: 0.19.0
GitCommit: de40ad0
* Kolla version (e.g. `git head or tag or stable branch` or pip package version if using release): stable/zed
2023-06-15 11:11:57.530 38 ERROR oslo_messaging.
Chained Exception #1
Traceback (most recent call last):
File "/var/lib/
return custom_
File "/var/lib/
return putils.
File "/var/lib/
obj = subprocess.
File "/var/lib/
subprocess
File "/usr/lib64/
self.
File "/usr/lib64/
raise child_exception
FileNotFoundError: [Errno 2] No such file or directory: 'lsscsi'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/var/lib/
connector.
File "/var/lib/
return f(*args, **kwargs)
File "/var/lib/
return f(*args, **kwargs)
File "/var/lib/
res = func(**call_args)
File "/var/lib/
dev_info = self._linuxscsi
File "/var/lib/
(out, _err) = self._execute(
File "/var/lib/
result = self.__
File "/var/lib/
raise putils.
oslo_concurren
Command: lsscsi
Exit code: -
Stdout: None
Stderr: None
Changed in kolla: | |
importance: | Undecided → High |
assignee: | nobody → Maksim Malchuk (mmalchuk) |
Fix proposed to branch: master /review. opendev. org/c/openstack /kolla/ +/886345
Review: https:/