Description of problem: Missing sg_utils(command sg_scan) in openstack-cinder-volume container for cinder-backup Version-Release number of selected component (if applicable): https://access.redhat.com/containers/#/registry.access.redhat.com/rhosp13/openstack-cinder-volume/images/13.0-38 As well latest 2018-07-17 08:34:35.204 1 INFO cinder.backup.manager [req-311be1b9-9d79-4e80-b4df-6ab6e04343f2 6cf08dd6758845dbba9823eed224fe66 3461ef6361434f32891688c168cfa271 - default default] Create backup started, backup: fd698730-701c-4ae7-8526-d24e6aabe8db volume: b0830dc8-5f81-40a9-a3ec-37084549bbc0 snapshot: 9a64c262-6ac9-41f0-bd40-342d92be7245. 2018-07-17 08:36:06.098 1 ERROR oslo_messaging.rpc.server [req-311be1b9-9d79-4e80-b4df-6ab6e04343f2 6cf08dd6758845dbba9823eed224fe66 3461ef6361434f32891688c168cfa271 - default default] Exception during message handling: ProcessExecutionError: [Errno 2] No such file or directory Command: sg_scan /dev/sde Exit code: - Stdout: None Stderr: None Actual results: Missing sg_scan command Expected results: Command sg_scan should be available. Additional info:
Confirmed the problem, and it's due to os-brick not having an RPM dependency on sg3_utils.
Fix for RDO Rocky: https://review.rdoproject.org/r/#/c/14898/
RDO Queens: https://review.rdoproject.org/r/#/c/14900/
Verified on: python2-os-brick-2.3.2-1.el7ost.noarch On controller host as well as inside openstack-cinder-volume-docker-0 docker, now I have the missing sg_scan command. ()[root@controller-0 /]# sg_scan Looks OK to verify. Eric/Alan, sg_scan remains missing from Cinder backup's docker, is this OK? Maybe it's not needed/used inside backup docker unsure I'm just mentioning this fact before I technically verify to be on the safe side.
Wops jumped the gun on verified button by mistake. If sg_scan must also reside n backup docker, I'll reset bz status accordingly.
This bug is marked for inclusion in the errata but does not currently contain draft documentation text. To ensure the timely release of this advisory please provide draft documentation text for this bug as soon as possible. If you do not think this bug requires errata documentation, set the requires_doc_text flag to "-". To add draft documentation text: * Select the documentation type from the "Doc Type" drop down field. * A template will be provided in the "Doc Text" field based on the "Doc Type" value selected. Enter draft text in the "Doc Text" field.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2018:2574
Close loop wise we cover this automatically since OPS13, with any test case that does Cinder backup https://polarion.engineering.redhat.com/polarion/#/project/RHELOpenStackPlatform/workitem?id=RHOSP7-3354 These also cover this issue as they include backup for a volume https://polarion.engineering.redhat.com/polarion/#/project/RHELOpenStackPlatform/workitem?id=RHELOSP-11588 https://polarion.engineering.redhat.com/polarion/#/project/RHELOpenStackPlatform/workitem?id=RHOSP7-3357