Missing dependency: lsscsi
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Nova Compute Charm |
Fix Released
|
Undecided
|
Unassigned | ||
Ubuntu Cloud Archive |
Fix Released
|
High
|
Unassigned | ||
os-brick |
Invalid
|
Low
|
Unassigned | ||
python-os-brick (Ubuntu) |
Fix Released
|
High
|
Unassigned |
Bug Description
When resizing a volume, cinder will notify nova that a volume has changed its size. For iSCSI attached volumes (ie: Dell Unity), the package lsscsi is required for that to work. Without it, you get this error:
2021-08-10 09:44:02.400 1816368 INFO os_brick.
2021-08-10 09:44:02.424 1816368 WARNING nova.compute.
Command: lsscsi
Exit code: -
Stdout: None
Stderr: None: oslo_concurrenc
2021-08-10 09:44:02.497 1816368 ERROR oslo_messaging.
Command: lsscsi
Exit code: -
Stdout: None
Stderr: None
2021-08-10 09:44:02.497 1816368 ERROR oslo_messaging.
2021-08-10 09:44:02.497 1816368 ERROR oslo_messaging.
2021-08-10 09:44:02.497 1816368 ERROR oslo_messaging.
2021-08-10 09:44:02.497 1816368 ERROR oslo_messaging.
2021-08-10 09:44:02.497 1816368 ERROR oslo_messaging.
2021-08-10 09:44:02.497 1816368 ERROR oslo_messaging.
2021-08-10 09:44:02.497 1816368 ERROR oslo_messaging.
2021-08-10 09:44:02.497 1816368 ERROR oslo_messaging.
2021-08-10 09:44:02.497 1816368 ERROR oslo_messaging.
2021-08-10 09:44:02.497 1816368 ERROR oslo_messaging.
2021-08-10 09:44:02.497 1816368 ERROR oslo_messaging.
2021-08-10 09:44:02.497 1816368 ERROR oslo_messaging.
2021-08-10 09:44:02.497 1816368 ERROR oslo_messaging.
2021-08-10 09:44:02.497 1816368 ERROR oslo_messaging.
2021-08-10 09:44:02.497 1816368 ERROR oslo_messaging.
2021-08-10 09:44:02.497 1816368 ERROR oslo_messaging.
2021-08-10 09:44:02.497 1816368 ERROR oslo_messaging.
2021-08-10 09:44:02.497 1816368 ERROR oslo_messaging.
2021-08-10 09:44:02.497 1816368 ERROR oslo_messaging.
2021-08-10 09:44:02.497 1816368 ERROR oslo_messaging.
2021-08-10 09:44:02.497 1816368 ERROR oslo_messaging.
2021-08-10 09:44:02.497 1816368 ERROR oslo_messaging.
2021-08-10 09:44:02.497 1816368 ERROR oslo_messaging.
2021-08-10 09:44:02.497 1816368 ERROR oslo_messaging.
2021-08-10 09:44:02.497 1816368 ERROR oslo_messaging.
2021-08-10 09:44:02.497 1816368 ERROR oslo_messaging.
2021-08-10 09:44:02.497 1816368 ERROR oslo_messaging.
2021-08-10 09:44:02.497 1816368 ERROR oslo_messaging.
2021-08-10 09:44:02.497 1816368 ERROR oslo_messaging.
2021-08-10 09:44:02.497 1816368 ERROR oslo_messaging.
2021-08-10 09:44:02.497 1816368 ERROR oslo_messaging.
2021-08-10 09:44:02.497 1816368 ERROR oslo_messaging.
2021-08-10 09:44:02.497 1816368 ERROR oslo_messaging.
2021-08-10 09:44:02.497 1816368 ERROR oslo_messaging.
2021-08-10 09:44:02.497 1816368 ERROR oslo_messaging.
2021-08-10 09:44:02.497 1816368 ERROR oslo_messaging.
2021-08-10 09:44:02.497 1816368 ERROR oslo_messaging.
2021-08-10 09:44:02.497 1816368 ERROR oslo_messaging.
2021-08-10 09:44:02.497 1816368 ERROR oslo_messaging.
2021-08-10 09:44:02.497 1816368 ERROR oslo_messaging.
2021-08-10 09:44:02.497 1816368 ERROR oslo_messaging.
2021-08-10 09:44:02.497 1816368 ERROR oslo_messaging.
2021-08-10 09:44:02.497 1816368 ERROR oslo_messaging.
2021-08-10 09:44:02.497 1816368 ERROR oslo_messaging.
2021-08-10 09:44:02.497 1816368 ERROR oslo_messaging.
2021-08-10 09:44:02.497 1816368 ERROR oslo_messaging.
2021-08-10 09:44:02.497 1816368 ERROR oslo_messaging.
2021-08-10 09:44:02.497 1816368 ERROR oslo_messaging.
2021-08-10 09:44:02.497 1816368 ERROR oslo_messaging.
2021-08-10 09:44:02.497 1816368 ERROR oslo_messaging.
2021-08-10 09:44:02.497 1816368 ERROR oslo_messaging.
2021-08-10 09:44:02.497 1816368 ERROR oslo_messaging.
2021-08-10 09:44:02.497 1816368 ERROR oslo_messaging.
2021-08-10 09:44:02.497 1816368 ERROR oslo_messaging.
2021-08-10 09:44:02.497 1816368 ERROR oslo_messaging.
2021-08-10 09:44:02.497 1816368 ERROR oslo_messaging.
2021-08-10 09:44:02.497 1816368 ERROR oslo_messaging.
2021-08-10 09:44:02.497 1816368 ERROR oslo_messaging.
2021-08-10 09:44:02.497 1816368 ERROR oslo_messaging.
2021-08-10 09:44:02.497 1816368 ERROR oslo_messaging.
2021-08-10 09:44:02.497 1816368 ERROR oslo_messaging.
2021-08-10 09:44:02.497 1816368 ERROR oslo_messaging.
2021-08-10 09:44:02.497 1816368 ERROR oslo_messaging.
2021-08-10 09:44:02.497 1816368 ERROR oslo_messaging.
2021-08-10 09:44:02.497 1816368 ERROR oslo_messaging.
2021-08-10 09:44:02.497 1816368 ERROR oslo_messaging.
2021-08-10 09:44:02.497 1816368 ERROR oslo_messaging.
2021-08-10 09:44:02.497 1816368 ERROR oslo_messaging.
2021-08-10 09:44:02.497 1816368 ERROR oslo_messaging.
2021-08-10 09:44:02.497 1816368 ERROR oslo_messaging.
2021-08-10 09:44:02.497 1816368 ERROR oslo_messaging.
2021-08-10 09:44:02.497 1816368 ERROR oslo_messaging.
2021-08-10 09:44:02.497 1816368 ERROR oslo_messaging.
2021-08-10 09:44:02.497 1816368 ERROR oslo_messaging.
2021-08-10 09:44:02.497 1816368 ERROR oslo_messaging.
2021-08-10 09:44:02.497 1816368 ERROR oslo_messaging.
Running:
sudo apt install lsscsi
on the compute node fixes this issue.
Steps to reproduce:
openstack volume create --type my-iscsi-
openstack server add volume test-server test-resize
openstack volume set --size 20 test-resize
Check the logs on the compute node where the instance is running. There should be an entry similar to the above snippet.
Check volume size on instance using parted or fdisk. It should be the same size as before.
description: | updated |
description: | updated |
Changed in charm-nova-compute: | |
milestone: | none → 22.04 |
Changed in charm-nova-compute: | |
status: | Fix Committed → Fix Released |
Changed in os-brick: | |
importance: | Undecided → Low |
Changed in python-os-brick (Ubuntu): | |
status: | Confirmed → Triaged |
importance: | Undecided → High |
Changed in cloud-archive: | |
status: | New → Triaged |
importance: | Undecided → High |
Changed in cloud-archive: | |
status: | Triaged → Fix Committed |
This seems like is might be an optional feature. I'm not sure whether this should just be a default install, or a config option to bring it in as needed?