The iscsi-disk/pool remained in the consul after deleting via web UI
zidex
6 Posts
June 3, 2024, 4:08 pmQuote from zidex on June 3, 2024, 4:08 pmHello. I encountered this problem
I deleted the disk (00004) via the web interface, no errors were displayed.
Then I deleted the pool (rbd2-ssd) that was only used for this disk. Also without errors.
But now I see messages in the logs that it seems that information about this disk remains in the consul:
03/06/2024 18:33:27 INFO iSCSIServer : Found pool:rbd2-ssd for disk:00004 via CONSUL
03/06/2024 18:33:27 ERROR Error in getting header object = rbd: error opening image image-00004: (2) No such file or directory
03/06/2024 18:33:27 ERROR Cannot get image meta object from rbd header.
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/PetaSAN/core/ceph/api.py", line 934, in __get_header_object
raise MetadataException("Cannot get image meta object from rbd header.")
PetaSAN.core.common.CustomException.MetadataException: Cannot get image meta object from rbd header.
03/06/2024 18:33:27 INFO ---------------------------------
03/06/2024 18:33:27 ERROR iSCSIServer Exception : __acquire_path() : Cannot get metadata.
03/06/2024 18:33:27 ERROR Cannot get metadata.
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/PetaSAN/core/ceph/api.py", line 934, in __get_header_object
raise MetadataException("Cannot get image meta object from rbd header.")
PetaSAN.core.common.CustomException.MetadataException: Cannot get image meta object from rbd header.
How to properly remove information from consul?
P.S. PetaSAN version - 3.3.0
Hello. I encountered this problem
I deleted the disk (00004) via the web interface, no errors were displayed.
Then I deleted the pool (rbd2-ssd) that was only used for this disk. Also without errors.
But now I see messages in the logs that it seems that information about this disk remains in the consul:
03/06/2024 18:33:27 INFO iSCSIServer : Found pool:rbd2-ssd for disk:00004 via CONSUL
03/06/2024 18:33:27 ERROR Error in getting header object = rbd: error opening image image-00004: (2) No such file or directory
03/06/2024 18:33:27 ERROR Cannot get image meta object from rbd header.
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/PetaSAN/core/ceph/api.py", line 934, in __get_header_object
raise MetadataException("Cannot get image meta object from rbd header.")
PetaSAN.core.common.CustomException.MetadataException: Cannot get image meta object from rbd header.
03/06/2024 18:33:27 INFO ---------------------------------
03/06/2024 18:33:27 ERROR iSCSIServer Exception : __acquire_path() : Cannot get metadata.
03/06/2024 18:33:27 ERROR Cannot get metadata.
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/PetaSAN/core/ceph/api.py", line 934, in __get_header_object
raise MetadataException("Cannot get image meta object from rbd header.")
PetaSAN.core.common.CustomException.MetadataException: Cannot get image meta object from rbd header.
How to properly remove information from consul?
P.S. PetaSAN version - 3.3.0
Last edited on June 3, 2024, 4:10 pm by zidex · #1
admin
2,929 Posts
June 3, 2024, 7:40 pmQuote from admin on June 3, 2024, 7:40 pmTo delete disk 00004 from consul
consul kv delete -recurse PetaSAN/Disks/00004
Maybe consul was down during the deletion, but it is not likely. Can you try to reproduce this ? Do you have any hardware limitations ?
To delete disk 00004 from consul
consul kv delete -recurse PetaSAN/Disks/00004
Maybe consul was down during the deletion, but it is not likely. Can you try to reproduce this ? Do you have any hardware limitations ?
Last edited on June 3, 2024, 7:41 pm by admin · #2
zidex
6 Posts
June 4, 2024, 8:39 amQuote from zidex on June 4, 2024, 8:39 amThank you
I ran the command and the problem was solved.
I tried to reproduce the problem, but it didn't happen again.
Thank you
I ran the command and the problem was solved.
I tried to reproduce the problem, but it didn't happen again.
The iscsi-disk/pool remained in the consul after deleting via web UI
zidex
6 Posts
Quote from zidex on June 3, 2024, 4:08 pmHello. I encountered this problem
I deleted the disk (00004) via the web interface, no errors were displayed.
Then I deleted the pool (rbd2-ssd) that was only used for this disk. Also without errors.
But now I see messages in the logs that it seems that information about this disk remains in the consul:03/06/2024 18:33:27 INFO iSCSIServer : Found pool:rbd2-ssd for disk:00004 via CONSUL 03/06/2024 18:33:27 ERROR Error in getting header object = rbd: error opening image image-00004: (2) No such file or directory 03/06/2024 18:33:27 ERROR Cannot get image meta object from rbd header. Traceback (most recent call last): File "/usr/lib/python3/dist-packages/PetaSAN/core/ceph/api.py", line 934, in __get_header_object raise MetadataException("Cannot get image meta object from rbd header.") PetaSAN.core.common.CustomException.MetadataException: Cannot get image meta object from rbd header. 03/06/2024 18:33:27 INFO --------------------------------- 03/06/2024 18:33:27 ERROR iSCSIServer Exception : __acquire_path() : Cannot get metadata. 03/06/2024 18:33:27 ERROR Cannot get metadata. Traceback (most recent call last): File "/usr/lib/python3/dist-packages/PetaSAN/core/ceph/api.py", line 934, in __get_header_object raise MetadataException("Cannot get image meta object from rbd header.") PetaSAN.core.common.CustomException.MetadataException: Cannot get image meta object from rbd header.How to properly remove information from consul?
P.S. PetaSAN version - 3.3.0
Hello. I encountered this problem
I deleted the disk (00004) via the web interface, no errors were displayed.
Then I deleted the pool (rbd2-ssd) that was only used for this disk. Also without errors.
But now I see messages in the logs that it seems that information about this disk remains in the consul:
03/06/2024 18:33:27 INFO iSCSIServer : Found pool:rbd2-ssd for disk:00004 via CONSUL 03/06/2024 18:33:27 ERROR Error in getting header object = rbd: error opening image image-00004: (2) No such file or directory 03/06/2024 18:33:27 ERROR Cannot get image meta object from rbd header. Traceback (most recent call last): File "/usr/lib/python3/dist-packages/PetaSAN/core/ceph/api.py", line 934, in __get_header_object raise MetadataException("Cannot get image meta object from rbd header.") PetaSAN.core.common.CustomException.MetadataException: Cannot get image meta object from rbd header. 03/06/2024 18:33:27 INFO --------------------------------- 03/06/2024 18:33:27 ERROR iSCSIServer Exception : __acquire_path() : Cannot get metadata. 03/06/2024 18:33:27 ERROR Cannot get metadata. Traceback (most recent call last): File "/usr/lib/python3/dist-packages/PetaSAN/core/ceph/api.py", line 934, in __get_header_object raise MetadataException("Cannot get image meta object from rbd header.") PetaSAN.core.common.CustomException.MetadataException: Cannot get image meta object from rbd header.
How to properly remove information from consul?
P.S. PetaSAN version - 3.3.0
admin
2,929 Posts
Quote from admin on June 3, 2024, 7:40 pmTo delete disk 00004 from consul
consul kv delete -recurse PetaSAN/Disks/00004
Maybe consul was down during the deletion, but it is not likely. Can you try to reproduce this ? Do you have any hardware limitations ?
To delete disk 00004 from consul
consul kv delete -recurse PetaSAN/Disks/00004
Maybe consul was down during the deletion, but it is not likely. Can you try to reproduce this ? Do you have any hardware limitations ?
zidex
6 Posts
Quote from zidex on June 4, 2024, 8:39 amThank you
I ran the command and the problem was solved.I tried to reproduce the problem, but it didn't happen again.
Thank you
I ran the command and the problem was solved.
I tried to reproduce the problem, but it didn't happen again.