stop the disk on the web UI, Displays "stoping" status
lushangshiyi
8 Posts
September 24, 2019, 12:49 amQuote from lushangshiyi on September 24, 2019, 12:49 amWhen I stop ISCSI disk on the web UI, the "stoping" status displayed and I cannot start or edit the ISCSI disk.
rbd unmap failed: (16) Device or resource busy
When I stop ISCSI disk on the web UI, the "stoping" status displayed and I cannot start or edit the ISCSI disk.
rbd unmap failed: (16) Device or resource busy
Last edited on September 26, 2019, 2:43 am by lushangshiyi · #1
admin
2,930 Posts
September 24, 2019, 11:25 amQuote from admin on September 24, 2019, 11:25 amcan you start / stop other disk, is the issue with 1 disk only ?
what is the ceph cluster health status ?
do you see errors in the logs ?
can you start / stop other disk, is the issue with 1 disk only ?
what is the ceph cluster health status ?
do you see errors in the logs ?
lushangshiyi
8 Posts
September 24, 2019, 2:18 pmQuote from lushangshiyi on September 24, 2019, 2:18 pm
Quote from admin on September 24, 2019, 11:25 am
can you start / stop other disk, is the issue with 1 disk only ?
what is the ceph cluster health status ?
do you see errors in the logs ?
It seems that only cloned iscsi disks cannot edit stop/start in the web ui
cluster: health: HEALTH_OK
When I in the webui stop the iscsi disk, the log shows:
24/09/2019 14:02:51 ERROR Could not find ips for image-00025
24/09/2019 14:02:51 ERROR LIO error deleting Target None, maybe the iqn is not exists.
24/09/2019 14:02:51 ERROR Cannot unmap image image-00025. error, no mapped images found.
Is there any way to stop it again, or force unmap them?
Quote from admin on September 24, 2019, 11:25 am
can you start / stop other disk, is the issue with 1 disk only ?
what is the ceph cluster health status ?
do you see errors in the logs ?
It seems that only cloned iscsi disks cannot edit stop/start in the web ui
cluster: health: HEALTH_OK
When I in the webui stop the iscsi disk, the log shows:
24/09/2019 14:02:51 ERROR Could not find ips for image-00025
24/09/2019 14:02:51 ERROR LIO error deleting Target None, maybe the iqn is not exists.
24/09/2019 14:02:51 ERROR Cannot unmap image image-00025. error, no mapped images found.
Is there any way to stop it again, or force unmap them?
admin
2,930 Posts
September 24, 2019, 4:00 pmQuote from admin on September 24, 2019, 4:00 pmcurrently we do not support cloned images, are these cloned images you created manually via cmd line ? then you attached them via ui ? do they show up via rbd showmapped ? what do you get if you do rbd unmap from cli ?
currently we do not support cloned images, are these cloned images you created manually via cmd line ? then you attached them via ui ? do they show up via rbd showmapped ? what do you get if you do rbd unmap from cli ?
lushangshiyi
8 Posts
September 24, 2019, 4:17 pmQuote from lushangshiyi on September 24, 2019, 4:17 pm
Quote from admin on September 24, 2019, 4:00 pm
currently we do not support cloned images, are these cloned images you created manually via cmd line ? then you attached them via ui ? do they show up via rbd showmapped ? what do you get if you do rbd unmap from cli ?
Yeah, I create with cmd line rbd clone , and attach them through the UI.
when i rbd unmap from cli,show that it's in use,rbd unmap failed: (16) Device or resource busy.
How do I stop/start the iscsi disk with cmd line ?
Quote from admin on September 24, 2019, 4:00 pm
currently we do not support cloned images, are these cloned images you created manually via cmd line ? then you attached them via ui ? do they show up via rbd showmapped ? what do you get if you do rbd unmap from cli ?
Yeah, I create with cmd line rbd clone , and attach them through the UI.
when i rbd unmap from cli,show that it's in use,rbd unmap failed: (16) Device or resource busy.
How do I stop/start the iscsi disk with cmd line ?
Last edited on September 24, 2019, 4:29 pm by lushangshiyi · #5
admin
2,930 Posts
September 24, 2019, 5:31 pmQuote from admin on September 24, 2019, 5:31 pmCannot say for sure since it is not something we test. i would check if the disk is mapped in iSCSI using targetcli tool, check in /backstores/rbd if there is an entry delete it. Else if you can afford a reboot, it will probably solve this,
This is to clean local mapped disk, in addition to remove it from Consul cluster
consul kv delete -recurse PetaSAN/Disks/00025
Cannot say for sure since it is not something we test. i would check if the disk is mapped in iSCSI using targetcli tool, check in /backstores/rbd if there is an entry delete it. Else if you can afford a reboot, it will probably solve this,
This is to clean local mapped disk, in addition to remove it from Consul cluster
consul kv delete -recurse PetaSAN/Disks/00025
Last edited on September 24, 2019, 5:35 pm by admin · #6
lushangshiyi
8 Posts
September 26, 2019, 2:33 amQuote from lushangshiyi on September 26, 2019, 2:33 am
Quote from admin on September 24, 2019, 5:31 pm
Cannot say for sure since it is not something we test. i would check if the disk is mapped in iSCSI using targetcli tool, check in /backstores/rbd if there is an entry delete it. Else if you can afford a reboot, it will probably solve this,
This is to clean local mapped disk, in addition to remove it from Consul cluster
consul kv delete -recurse PetaSAN/Disks/00025
thank you for the hints.This workaround works for me. thanks -_-
Quote from admin on September 24, 2019, 5:31 pm
Cannot say for sure since it is not something we test. i would check if the disk is mapped in iSCSI using targetcli tool, check in /backstores/rbd if there is an entry delete it. Else if you can afford a reboot, it will probably solve this,
This is to clean local mapped disk, in addition to remove it from Consul cluster
consul kv delete -recurse PetaSAN/Disks/00025
thank you for the hints.This workaround works for me. thanks -_-
stop the disk on the web UI, Displays "stoping" status
lushangshiyi
8 Posts
Quote from lushangshiyi on September 24, 2019, 12:49 amWhen I stop ISCSI disk on the web UI, the "stoping" status displayed and I cannot start or edit the ISCSI disk.
rbd unmap failed: (16) Device or resource busy
When I stop ISCSI disk on the web UI, the "stoping" status displayed and I cannot start or edit the ISCSI disk.
rbd unmap failed: (16) Device or resource busy
admin
2,930 Posts
Quote from admin on September 24, 2019, 11:25 amcan you start / stop other disk, is the issue with 1 disk only ?
what is the ceph cluster health status ?
do you see errors in the logs ?
can you start / stop other disk, is the issue with 1 disk only ?
what is the ceph cluster health status ?
do you see errors in the logs ?
lushangshiyi
8 Posts
Quote from lushangshiyi on September 24, 2019, 2:18 pmQuote from admin on September 24, 2019, 11:25 amcan you start / stop other disk, is the issue with 1 disk only ?
what is the ceph cluster health status ?
do you see errors in the logs ?
It seems that only cloned iscsi disks cannot edit stop/start in the web ui
cluster: health: HEALTH_OK
When I in the webui stop the iscsi disk, the log shows:24/09/2019 14:02:51 ERROR Could not find ips for image-00025
24/09/2019 14:02:51 ERROR LIO error deleting Target None, maybe the iqn is not exists.
24/09/2019 14:02:51 ERROR Cannot unmap image image-00025. error, no mapped images found.Is there any way to stop it again, or force unmap them?
Quote from admin on September 24, 2019, 11:25 amcan you start / stop other disk, is the issue with 1 disk only ?
what is the ceph cluster health status ?
do you see errors in the logs ?
It seems that only cloned iscsi disks cannot edit stop/start in the web ui
cluster: health: HEALTH_OK
When I in the webui stop the iscsi disk, the log shows:
24/09/2019 14:02:51 ERROR Could not find ips for image-00025
24/09/2019 14:02:51 ERROR LIO error deleting Target None, maybe the iqn is not exists.
24/09/2019 14:02:51 ERROR Cannot unmap image image-00025. error, no mapped images found.
Is there any way to stop it again, or force unmap them?
admin
2,930 Posts
Quote from admin on September 24, 2019, 4:00 pmcurrently we do not support cloned images, are these cloned images you created manually via cmd line ? then you attached them via ui ? do they show up via rbd showmapped ? what do you get if you do rbd unmap from cli ?
currently we do not support cloned images, are these cloned images you created manually via cmd line ? then you attached them via ui ? do they show up via rbd showmapped ? what do you get if you do rbd unmap from cli ?
lushangshiyi
8 Posts
Quote from lushangshiyi on September 24, 2019, 4:17 pmQuote from admin on September 24, 2019, 4:00 pmcurrently we do not support cloned images, are these cloned images you created manually via cmd line ? then you attached them via ui ? do they show up via rbd showmapped ? what do you get if you do rbd unmap from cli ?
Yeah, I create with cmd line rbd clone , and attach them through the UI.
when i rbd unmap from cli,show that it's in use,rbd unmap failed: (16) Device or resource busy.
How do I stop/start the iscsi disk with cmd line ?
Quote from admin on September 24, 2019, 4:00 pmcurrently we do not support cloned images, are these cloned images you created manually via cmd line ? then you attached them via ui ? do they show up via rbd showmapped ? what do you get if you do rbd unmap from cli ?
Yeah, I create with cmd line rbd clone , and attach them through the UI.
when i rbd unmap from cli,show that it's in use,rbd unmap failed: (16) Device or resource busy.
How do I stop/start the iscsi disk with cmd line ?
admin
2,930 Posts
Quote from admin on September 24, 2019, 5:31 pmCannot say for sure since it is not something we test. i would check if the disk is mapped in iSCSI using targetcli tool, check in /backstores/rbd if there is an entry delete it. Else if you can afford a reboot, it will probably solve this,
This is to clean local mapped disk, in addition to remove it from Consul cluster
consul kv delete -recurse PetaSAN/Disks/00025
Cannot say for sure since it is not something we test. i would check if the disk is mapped in iSCSI using targetcli tool, check in /backstores/rbd if there is an entry delete it. Else if you can afford a reboot, it will probably solve this,
This is to clean local mapped disk, in addition to remove it from Consul cluster
consul kv delete -recurse PetaSAN/Disks/00025
lushangshiyi
8 Posts
Quote from lushangshiyi on September 26, 2019, 2:33 amQuote from admin on September 24, 2019, 5:31 pmCannot say for sure since it is not something we test. i would check if the disk is mapped in iSCSI using targetcli tool, check in /backstores/rbd if there is an entry delete it. Else if you can afford a reboot, it will probably solve this,
This is to clean local mapped disk, in addition to remove it from Consul cluster
consul kv delete -recurse PetaSAN/Disks/00025
thank you for the hints.This workaround works for me. thanks -_-
Quote from admin on September 24, 2019, 5:31 pmCannot say for sure since it is not something we test. i would check if the disk is mapped in iSCSI using targetcli tool, check in /backstores/rbd if there is an entry delete it. Else if you can afford a reboot, it will probably solve this,
This is to clean local mapped disk, in addition to remove it from Consul cluster
consul kv delete -recurse PetaSAN/Disks/00025
thank you for the hints.This workaround works for me. thanks -_-