]> git-server-git.apps.pok.os.sepia.ceph.com Git - teuthology.git/commit
teuthology/task/pexec.py: add logs to command executed wip-matanb-pexec-logs 2110/head
authorMatan Breizman <mbreizma@redhat.com>
Wed, 19 Nov 2025 13:49:36 +0000 (15:49 +0200)
committerMatan Breizman <mbreizma@redhat.com>
Wed, 19 Nov 2025 13:55:44 +0000 (15:55 +0200)
commit58575fc849775b6471aa1b87a8683823f500ae16
tree0e75d5ffe61373c07cc9a65fe895c953eb96f6d4
parent960b9b21e04edcfd97b86ad6f6366e7b42180614
teuthology/task/pexec.py: add logs to command executed

The current output by pexec is:
```
INFO:teuthology.run_tasks:Running task pexec...
INFO:teuthology.task.pexec:Executing custom commands...
INFO:teuthology.task.pexec:Running commands on host ubuntu@smithi012.front.sepia.ceph.com
DEBUG:teuthology.orchestra.run.smithi012:> TESTDIR=/home/ubuntu/cephtest bash -s
```

The output should include the acutal command executed, similar to
exec.py:

```
INFO:teuthology.run_tasks:Running task exec...
INFO:teuthology.task.exec:Executing custom commands...
INFO:teuthology.task.exec:Running commands on role client.0 host ubuntu@smithi168.front.sepia.ceph.com
DEBUG:teuthology.orchestra.run.smithi168:> sudo TESTDIR=/home/ubuntu/cephtest bash -c 'sudo ceph osd pool create low_tier 4'
```

Signed-off-by: Matan Breizman <mbreizma@redhat.com>
teuthology/task/pexec.py