Since teuthology initializes stderr to None by default, absence of this
breaks the tests accessing stderr of commands executed within the test
when the execution is using teuthology.
Fixes: https://tracker.ceph.com/issues/42806
Signed-off-by: Rishabh Dave <ridave@redhat.com>
log.info("Running command: {}".format(" ".join(args)))
return mount_x.client_remote.run(args=args, stdout=StringIO(),
- stdin=stdin)
+ stderr=StringIO(), stdin=stdin)
def get_cephfs_shell_cmd_output(self, cmd, mount_x=None, opts=None,
stdin=None):