Can't open gwcli after a pool is deleted
- Dominant language
- Python
- Stars
- 26
- Forks
- 21
- PR merge metrics
- No merged PRs in 30d
Description
Hello,
I found that gwcli fails to open after I have removed a pool.
[user@server ~]# 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 74, in _get_disk_meta
with cluster_ioctx.open_ioctx(pool) as ioctx:
File "rados.pyx", line 498, in rados.requires.wrapper.validate_func (/home/jenkins-build/build/workspace/ceph-build/ARCH/x86_64/AVAILABLE_ARCH/x86_64/AVAILABLE_DIST/centos7/DIST/centos7/MACHINE_SIZE/huge/release/12.2.5/rpm/el7/BUILD/ceph-12.2.5/build/src/pybind/rados/pyrex/rados.c:4651)
File "rados.pyx", line 1193, in rados.Rados.open_ioctx (/home/jenkins-build/build/workspace/ceph-build/ARCH/x86_64/AVAILABLE_ARCH/x86_64/AVAILABLE_DIST/centos7/DIST/centos7/MACHINE_SIZE/huge/release/12.2.5/rpm/el7/BUILD/ceph-12.2.5/build/src/pybind/rados/pyrex/rados.c:12602)
ObjectNotFound: [errno 2] error opening pool 'THEPOOLNAME'
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.