]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
ceph-daemon: only pass podman -it if need an interactive shell
authorSage Weil <sage@redhat.com>
Sun, 27 Oct 2019 17:29:36 +0000 (12:29 -0500)
committerSage Weil <sage@redhat.com>
Tue, 29 Oct 2019 14:41:16 +0000 (09:41 -0500)
commit8c7dbeca8d154aa88a036594c3e6fb5c543a41df
tree1f0b842903ccd23c3279ca34f5c7b0cf96b9d813
parentf5bc2bd74a05bb486fbbca2de4dbe9a1cacd605c
ceph-daemon: only pass podman -it if need an interactive shell

Otherwise, we get errors like

2019-10-26T17:29:42.004 INFO:tasks.workunit.client.0.mira109.stderr:+ sudo /usr/sbin/ceph-daemon shell -- ceph -v
2019-10-26T17:29:42.004 INFO:tasks.workunit.client.0.mira109.stderr:+ grep 'ceph version'
2019-10-26T17:29:42.149 INFO:tasks.workunit.client.0.mira109.stderr:the input device is not a TTY

Fixes: https://tracker.ceph.com/issues/42499
Signed-off-by: Sage Weil <sage@redhat.com>
src/ceph-daemon