Action list eats the first character in the listed containers names
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
paunch |
Confirmed
|
Undecided
|
Unassigned | ||
tripleo |
Incomplete
|
Medium
|
Unassigned |
Bug Description
> /usr/lib/
-> name = i.get('Name', '/')[1:] # strip the leading slash
(Pdb) i.get('Name')
u'test'
(Pdb) i.get('Name', '/')[1:]
u'est'
And the output looks like:
[root@localhost paunch]# /usr/bin/paunch -v list --default-runtime podman --managed-by paunch
+------
| config | container | image | command | status |
+------
| tripleo_step4 | est | docker.
+------
Changed in paunch: | |
status: | New → Confirmed |
Changed in tripleo: | |
status: | New → Triaged |
importance: | Undecided → Medium |
milestone: | none → stein-2 |
Changed in tripleo: | |
milestone: | stein-2 → stein-3 |
Changed in tripleo: | |
milestone: | stein-3 → train-1 |
Changed in tripleo: | |
milestone: | train-1 → train-2 |
Changed in tripleo: | |
milestone: | train-2 → train-3 |
Changed in tripleo: | |
milestone: | train-3 → ussuri-1 |
Changed in tripleo: | |
milestone: | ussuri-1 → ussuri-2 |
Changed in tripleo: | |
milestone: | ussuri-2 → ussuri-3 |
Changed in tripleo: | |
status: | Triaged → Incomplete |
Changed in tripleo: | |
milestone: | ussuri-3 → ussuri-rc3 |
Changed in tripleo: | |
milestone: | ussuri-rc3 → victoria-1 |
Changed in tripleo: | |
milestone: | victoria-1 → victoria-3 |
maybe using os.path.basename is a more secure thing?