]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
ceph-volume: process: disable stdin param of run() 20244/head
authorKefu Chai <kchai@redhat.com>
Fri, 1 Dec 2017 16:43:21 +0000 (00:43 +0800)
committerAndrew Schoen <aschoen@redhat.com>
Thu, 1 Feb 2018 22:37:05 +0000 (16:37 -0600)
commit0aa31d29d5eb3b2071dbdb678fc3f1dc303a64ea
tree7bc535d473e7fab7de349ba8b197c73b9aee416e
parenta67d46b63228517cd9ce37617a7e0f5f79ab16f1
ceph-volume: process: disable stdin param of run()

we cannot use process.communicate() to feed the Popen with input,
because, upon return of process.communicate() the stdout,stderr are
closed. see https://docs.python.org/2/library/subprocess.html#subprocess.Popen.communicate .

Signed-off-by: Kefu Chai <kchai@redhat.com>
(cherry picked from commit 6df444cf33a251f5dcb536606b44af696cdb4ed5)

Conflicts:
src/ceph-volume/ceph_volume/process.py
src/ceph-volume/ceph_volume/process.py