yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #89150
[Bug 1979259] [NEW] glance with cinder backend, we i download the same image server times at the same time,the download request may be failed
Public bug reported:
I use the master branch;
The glance-api node has 6 workers in my test environment;
My image use cinder as backend and cinder use iscsi volume type. When i download an image server times at the same time,one of the requests is failed,as below message:
2022-06-20 11:11:28.101 18 ERROR glance_store._drivers.cinder [None req-94870f62-c42e-4037-abf6-4d19d79c4d4e 218bcc59c6ca47f49e6d9a8282deb307 e55dac2d24f74b5e99e95afc95c069c4 - default default] Exception while accessing to cinder volume 9ffa69c2-10aa-4104-b88d-8b5c7f7fe9e9.: FileNotFoundError: [Errno 2] No such file or directory: '/dev/sdh'
2022-06-20 11:11:28.101 18 ERROR glance_store._drivers.cinder Traceback (most recent call last):
2022-06-20 11:11:28.101 18 ERROR glance_store._drivers.cinder File "/var/lib/kolla/venv/lib/python3.6/site-packages/glance_store/_drivers/cinder.py", line 566, in _open_cinder_volume
2022-06-20 11:11:28.101 18 ERROR glance_store._drivers.cinder backend=self.backend_group), \
2022-06-20 11:11:28.101 18 ERROR glance_store._drivers.cinder File "/usr/lib64/python3.6/contextlib.py", line 81, in __enter__
2022-06-20 11:11:28.101 18 ERROR glance_store._drivers.cinder return next(self.gen)
2022-06-20 11:11:28.101 18 ERROR glance_store._drivers.cinder File "/var/lib/kolla/venv/lib/python3.6/site-packages/glance_store/_drivers/cinder.py", line 414, in temporary_chown
2022-06-20 11:11:28.101 18 ERROR glance_store._drivers.cinder orig_uid = os.stat(path).st_uid
2022-06-20 11:11:28.101 18 ERROR glance_store._drivers.cinder FileNotFoundError: [Errno 2] No such file or directory: '/dev/sdh'
2022-06-20 11:11:28.101 18 ERROR glance_store._drivers.cinder
2022-06-20 11:11:28.102 18 DEBUG glance_store.common.attachment_state_manager [None req-94870f62-c42e-4037-abf6-4d19d79c4d4e 218bcc59c6ca47f49e6d9a8282deb307 e55dac2d24f74b5e99e95afc95c069c4 - default default] Got _AttachmentState get_state /var/lib/kolla/venv/lib/python3.6/site-packages/glance_store/common/attachment_state_manager.py:110
** Affects: glance
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/1979259
Title:
glance with cinder backend, we i download the same image server times
at the same time,the download request may be failed
Status in Glance:
New
Bug description:
I use the master branch;
The glance-api node has 6 workers in my test environment;
My image use cinder as backend and cinder use iscsi volume type. When i download an image server times at the same time,one of the requests is failed,as below message:
2022-06-20 11:11:28.101 18 ERROR glance_store._drivers.cinder [None req-94870f62-c42e-4037-abf6-4d19d79c4d4e 218bcc59c6ca47f49e6d9a8282deb307 e55dac2d24f74b5e99e95afc95c069c4 - default default] Exception while accessing to cinder volume 9ffa69c2-10aa-4104-b88d-8b5c7f7fe9e9.: FileNotFoundError: [Errno 2] No such file or directory: '/dev/sdh'
2022-06-20 11:11:28.101 18 ERROR glance_store._drivers.cinder Traceback (most recent call last):
2022-06-20 11:11:28.101 18 ERROR glance_store._drivers.cinder File "/var/lib/kolla/venv/lib/python3.6/site-packages/glance_store/_drivers/cinder.py", line 566, in _open_cinder_volume
2022-06-20 11:11:28.101 18 ERROR glance_store._drivers.cinder backend=self.backend_group), \
2022-06-20 11:11:28.101 18 ERROR glance_store._drivers.cinder File "/usr/lib64/python3.6/contextlib.py", line 81, in __enter__
2022-06-20 11:11:28.101 18 ERROR glance_store._drivers.cinder return next(self.gen)
2022-06-20 11:11:28.101 18 ERROR glance_store._drivers.cinder File "/var/lib/kolla/venv/lib/python3.6/site-packages/glance_store/_drivers/cinder.py", line 414, in temporary_chown
2022-06-20 11:11:28.101 18 ERROR glance_store._drivers.cinder orig_uid = os.stat(path).st_uid
2022-06-20 11:11:28.101 18 ERROR glance_store._drivers.cinder FileNotFoundError: [Errno 2] No such file or directory: '/dev/sdh'
2022-06-20 11:11:28.101 18 ERROR glance_store._drivers.cinder
2022-06-20 11:11:28.102 18 DEBUG glance_store.common.attachment_state_manager [None req-94870f62-c42e-4037-abf6-4d19d79c4d4e 218bcc59c6ca47f49e6d9a8282deb307 e55dac2d24f74b5e99e95afc95c069c4 - default default] Got _AttachmentState get_state /var/lib/kolla/venv/lib/python3.6/site-packages/glance_store/common/attachment_state_manager.py:110
To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/1979259/+subscriptions
Follow ups