RBD: No such file or directory error on disconnect
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cinderlib |
Fix Released
|
Undecided
|
Gorka Eguileor |
Bug Description
On the RBD driver, when doing a disconnect call inside a container when the "rbd_common" package is installed on the host we can get the following error:
2020-06-26 12:13:46.978 306474 WARNING os_brick.exception [req-d6ad358c-
2020-06-26 12:13:46.979 306474 CRITICAL cinder [req-d6ad358c-
Command: sudo rm /dev/rbd/
Exit code: 1
Stdout: ''
Stderr: "rm: cannot remove '/dev/rbd/
2020-06-26 12:13:46.979 306474 ERROR cinder Traceback (most recent call last):
2020-06-26 12:13:46.979 306474 ERROR cinder File "<stdin>", line 1, in <module>
2020-06-26 12:13:46.979 306474 ERROR cinder File "/usr/local/
2020-06-26 12:13:46.979 306474 ERROR cinder conn.detach(force, ignore_errors, exc)
2020-06-26 12:13:46.979 306474 ERROR cinder File "/usr/local/
2020-06-26 12:13:46.979 306474 ERROR cinder ignore_
2020-06-26 12:13:46.979 306474 ERROR cinder File "/usr/local/
2020-06-26 12:13:46.979 306474 ERROR cinder unlink_
2020-06-26 12:13:46.979 306474 ERROR cinder File "/usr/local/
2020-06-26 12:13:46.979 306474 ERROR cinder root_helper=
2020-06-26 12:13:46.979 306474 ERROR cinder File "/usr/local/
2020-06-26 12:13:46.979 306474 ERROR cinder cmd=sanitized_cmd)
2020-06-26 12:13:46.979 306474 ERROR cinder oslo_concurrenc
2020-06-26 12:13:46.979 306474 ERROR cinder Command: sudo rm /dev/rbd/
2020-06-26 12:13:46.979 306474 ERROR cinder Exit code: 1
2020-06-26 12:13:46.979 306474 ERROR cinder Stdout: ''
2020-06-26 12:13:46.979 306474 ERROR cinder Stderr: "rm: cannot remove '/dev/rbd/
2020-06-26 12:13:46.979 306474 ERROR cinder
Fix proposed to branch: master /review. opendev. org/738226
Review: https:/