ceph / ceph/ceph-iscsi-tools

gwtop fails

Open
#3 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
Python
Stars
12
Forks
9
PR merge metrics
No merged PRs in 30d

Description

> Traceback (most recent call last):
> File "/bin/gwtop", line 280, in
> device_map = get_device_info()
> File "/usr/lib/python2.7/site-packages/gwtop/config/local.py", line 49, in get_device_info
> return get_lio_devices()
> File "/usr/lib/python2.7/site-packages/gwtop/config/local.py", line 123, in get_lio_devices
> storage_type, pool_name, image_name = cfg_data.split('/')
> ValueError: too many values to unpack
>

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the traceback from /bin/gwtop and read gwtop/config/local.py, especially get_device_info() and get_lio_devices() around line 123. Trace the configuration value passed to cfg_data.split('/'); done means gwtop can load the device map without the ValueError for the reported configuration.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.