Comment 1 for bug 2054604

Revision history for this message
Noel Ashford (nashford77) wrote :

 Is there any update here ?

           |__Flow 'volume_create_manager': cinder.exception.ImageCopyFailure: Failed to copy image to volume: Cannot use device /dev/sdl which is in use (already mapped or mounted).
2024-04-14 19:30:34.134 737 ERROR cinder.volume.manager Traceback (most recent call last):
2024-04-14 19:30:34.134 737 ERROR cinder.volume.manager File "/var/lib/kolla/venv/lib/python3.10/site-packages/os_brick/encryptors/luks.py", line 130, in attach_volume
2024-04-14 19:30:34.134 737 ERROR cinder.volume.manager self._open_volume(passphrase, **kwargs)
2024-04-14 19:30:34.134 737 ERROR cinder.volume.manager File "/var/lib/kolla/venv/lib/python3.10/site-packages/os_brick/encryptors/luks.py", line 112, in _open_volume
2024-04-14 19:30:34.134 737 ERROR cinder.volume.manager self._execute('cryptsetup', 'luksOpen', '--key-file=-',
2024-04-14 19:30:34.134 737 ERROR cinder.volume.manager File "/var/lib/kolla/venv/lib/python3.10/site-packages/os_brick/executor.py", line 55, in _execute
2024-04-14 19:30:34.134 737 ERROR cinder.volume.manager result = self.__execute(*args, **kwargs)
2024-04-14 19:30:34.134 737 ERROR cinder.volume.manager File "/var/lib/kolla/venv/lib/python3.10/site-packages/os_brick/privileged/rootwrap.py", line 172, in execute
2024-04-14 19:30:34.134 737 ERROR cinder.volume.manager return execute_root(*cmd, **kwargs)
2024-04-14 19:30:34.134 737 ERROR cinder.volume.manager File "/var/lib/kolla/venv/lib/python3.10/site-packages/oslo_privsep/priv_context.py", line 271, in _wrap
2024-04-14 19:30:34.134 737 ERROR cinder.volume.manager return self.channel.remote_call(name, args, kwargs,
2024-04-14 19:30:34.134 737 ERROR cinder.volume.manager File "/var/lib/kolla/venv/lib/python3.10/site-packages/oslo_privsep/daemon.py", line 215, in remote_call
2024-04-14 19:30:34.134 737 ERROR cinder.volume.manager raise exc_type(*result[2])
2024-04-14 19:30:34.134 737 ERROR cinder.volume.manager oslo_concurrency.processutils.ProcessExecutionError: Unexpected error while running command.
2024-04-14 19:30:34.134 737 ERROR cinder.volume.manager Command: cryptsetup luksOpen --key-file=- /dev/sdl crypt-os-brick+dev+sdl
2024-04-14 19:30:34.134 737 ERROR cinder.volume.manager Exit code: 1
2024-04-14 19:30:34.134 737 ERROR cinder.volume.manager Stdout: ''
2024-04-14 19:30:34.134 737 ERROR cinder.volume.manager Stderr: 'Device /dev/sdl is not a valid LUKS device.\n'