Launch command "gwcli" failed with error "ImageNotFound: [errno 2] error opening image <image name> at snapshot None"

Solution Verified - Updated -

Issue

  • Launch command "gwcli" failed with error "ImageNotFound: [errno 2] error opening image at snapshot None"
[root@ceph-iscsi-gw1 ~]# gwcli
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/lib64/python2.7/threading.py", line 812, in __bootstrap_inner
    self.run()
  File "/usr/lib64/python2.7/threading.py", line 765, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/usr/lib/python2.7/site-packages/gwcli/storage.py", line 75, in _get_disk_meta
    with rbd.Image(ioctx, image) as rbd_image:
  File "rbd.pyx", line 1398, in rbd.Image.__init__ (/builddir/build/BUILD/ceph-12.2.12/build/src/pybind/rbd/pyrex/rbd.c:11878)
ImageNotFound: [errno 2] error opening image iscsi1 at snapshot None

KeyError: u'rbd.iscsi1'

Environment

  • Red Hat Ceph Storage 3.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In