Bug 1432303
Summary: | targetcli ls command will fail with 'TERM' not defined in os.enviorn | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | Wayne Sun <gsun> |
Component: | python-configshell | Assignee: | Andy Grover <agrover> |
Status: | CLOSED ERRATA | QA Contact: | Martin Hoyer <mhoyer> |
Severity: | urgent | Docs Contact: | |
Priority: | medium | ||
Version: | 7.4 | CC: | agrover, cfeist, dzheng, hliu, jess.calciano, mhoyer, mnovacek, oalbrigt, tgill, xuzhang |
Target Milestone: | rc | Keywords: | Regression |
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2017-08-01 20:54:35 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Wayne Sun
2017-03-15 03:32:19 UTC
I've also recently run into this - any updates on a fix or an official workaround? It's definitely a problem in Jenkins, like the original description states. To manually reproduce the problem: 1. Run targetcli from a remote host: # ssh user@host 'targetcli ls' 2. The Python KeyError and traceback above appears. This breaks HA resource-agents (iSCSITarget and iSCSILogicalUnit) which are using targetcli. This needs to be fixed in 7.4 timeframe. Reproducible with python-configshell-1.1.fb23-1.el7 Working well with python-configshell-1.1.fb23-2.el7 Regression tests did not found any new issue. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2017:2031 |