ceph/qa/workunits/rbd
Ilya Dryomov 5a425927ed mgr/rbd_support: avoid wedging the task queue if pool is removed
rados.ObjectNotFound exception handler was referencing ioctx variable
which is assigned only if the pool exists and rados.open_ioctx() call
succeeds.  This lead to a fatal error

  mgr[rbd_support] Failed to locate pool mypool
  mgr[rbd_support] execute_task: [errno 2] error opening pool 'b'mypool''
  mgr[rbd_support] Fatal runtime error: local variable 'ioctx' referenced before assignment

and wedged the task queue.  No other commands were processed until
ceph-mgr daemon restart.

Fixes: https://tracker.ceph.com/issues/52932
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
2022-11-23 23:11:42 +01:00
..
cli_generic.sh mgr/rbd_support: avoid wedging the task queue if pool is removed 2022-11-23 23:11:42 +01:00
cli_migration.sh
concurrent.sh
diff_continuous.sh
diff.sh
huge-tickets.sh
image_read.sh
import_export.sh
issue-20295.sh
journal.sh
kernel.sh
krbd_data_pool.sh
krbd_exclusive_option.sh
krbd_fallocate.sh
krbd_huge_osdmap.sh
krbd_latest_osdmap_on_map.sh
krbd_namespaces.sh
krbd_rxbounce.sh
krbd_stable_writes.sh
krbd_udev_enumerate.sh
krbd_udev_netlink_enobufs.sh
krbd_udev_netns.sh
krbd_udev_symlinks.sh
krbd_wac.sh
luks-encryption.sh tools/rbd: add encryption format support for cloned image 2022-08-25 18:41:47 +03:00
map-snapshot-io.sh
map-unmap.sh
merge_diff.sh
notify_master.sh
notify_slave.sh
permissions.sh
qemu_dynamic_features.sh
qemu_rebuild_object_map.sh
qemu-iotests.sh
qos.sh
rbd_groups.sh
rbd_mirror_bootstrap.sh
rbd_mirror_fsx_compare.sh
rbd_mirror_fsx_prepare.sh
rbd_mirror_ha.sh
rbd_mirror_helpers.sh
rbd_mirror_journal.sh
rbd_mirror_snapshot.sh
rbd_mirror_stress.sh
rbd-ggate.sh
rbd-nbd.sh qa/workunits/rbd-nbd: also test map/unmap with --namespace option 2022-10-10 20:19:17 +02:00
read-flags.sh
simple_big.sh
test_admin_socket.sh
test_librbd_python.sh
test_librbd.sh
test_lock_fence.sh
test_rbd_mirror.sh
test_rbd_tasks.sh
test_rbdmap_RBDMAPFILE.sh
verify_pool.sh