Bug 1226333 - targetcli fails with error: name 'glob' is not defined
Summary: targetcli fails with error: name 'glob' is not defined
Status: RESOLVED DUPLICATE of bug 1226388
Alias: None
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: Other (show other bugs)
Version: Current
Hardware: Other Other
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: Lee Duncan
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-06-14 10:24 UTC by Thomas Blume
Modified: 2024-07-01 15:52 UTC (History)
1 user (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Blume 2024-06-14 10:24:44 UTC
After the latest update of python311-rtslib-fb python-rtslib-fb-common the targetcli command (from python311-targetcli-fb) fails with error:

name 'glob' is not defined

Culprit is apparently: rtslib-refactor-to-python3.patch

Reverting that patch make targetcli work again.
Comment 1 Miika Alikirri 2024-06-17 09:25:38 UTC
I'm having the same issue. I tried adding glob into fabric.py and I got pass the glob issue but then it gave the following error:


File "/usr/lib/python3.11/site-packages/rtslib_fb/fabric.py", line 490, in __init__
    super.__init__('vhost')
TypeError: descriptor '__init__' requires a 'super' object but received a 'str'
Comment 2 Lee Duncan 2024-07-01 15:52:31 UTC
Your analysis is correct.

This is already fixed, though, in factory rtslib, for tumbleweed. I verified last Friday.

Marking this as a duplicate of bsc#1226388.

*** This bug has been marked as a duplicate of bug 1226388 ***