-
Notifications
You must be signed in to change notification settings - Fork 535
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
The terminal session goes unresponsive after closing the podman compose session with CTRL+C. Running the latest devel version (1.0.7),
To Reproduce
Steps to reproduce the behavior:
- Bring any compose file up (pick 1 from https://github.com/docker/awesome-compose)
- Close it with CTRL+C
- Terminal session goes unresponsive
Expected behavior
Terminal keeps it's responsiveness and keeps working
Actual behavior
The terminal session either has delayed reaction to input or stops accepting any input at all
Output
❯ podman-compose -f docker-compose.yml -f docker-compose.dev.yml up --build
[...]
TypeError: expected token to be a str, received NoneType instead
[client] | [nodemon] app crashed - waiting for file changes before starting...
^CTraceback (most recent call last):
File "/var/home/john/.local/bin/podman-compose", line 8, in <module>
sys.exit(main())
^^^^^^
File "/var/home/john/.local/pipx/venvs/podman-compose/lib/python3.11/site-packages/podman_compose.py", line 3072, in main
exit code: -2
exit code: -2
podman_compose.run()
File "/var/home/john/.local/pipx/venvs/podman-compose/lib/python3.11/site-packages/podman_compose.py", line 1490, in run
retcode = cmd(self, args)
^^^^^^^^^^^^^^^
File "/var/home/john/.local/pipx/venvs/podman-compose/lib/python3.11/site-packages/podman_compose.py", line 1866, in wrapped
exit code: -2
return func(*args, **kw)
^^^^^^^^^^^^^^^^^
File "/var/home/john/.local/pipx/venvs/podman-compose/lib/python3.11/site-packages/podman_compose.py", line 2246, in compose_up
thread.join(timeout=1.0)
File "/usr/lib/python3.11/threading.py", line 1116, in join
self._wait_for_tstate_lock(timeout=max(timeout, 0))
File "/usr/lib/python3.11/threading.py", line 1132, in _wait_for_tstate_lock
if lock.acquire(block, timeout):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
KeyboardInterrupt
❯ podman --version
podman version 4.4.4
❯ podman-compose --version
podman-compose version: 1.0.7
['podman', '--version', '']
using podman version: 4.4.4
podman-compose version 1.0.7
podman --version
podman version 4.4.4
exit code: 0
Environment:
- OS: Fedora Silverblue 37
- podman version: 4.4.4
- podman compose version: Latest devel 1.0.7 (5d279c4)
Additional context
It's currently semi workable by bringing the container up with the detached (-d) flag and tailing the logs after it's brought up.
pfeileon
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working