From: Sebastian Wagner Date: Mon, 18 Jan 2021 11:27:14 +0000 (+0100) Subject: qa/cephadm: Add yaml output to smoke test X-Git-Tag: v16.2.0~232^2~41 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=a6a1304e58d2dbc638db5e56cda403d22b458577;p=ceph.git qa/cephadm: Add yaml output to smoke test this will provide a more detailed output, like ```yaml ...snip... service_type: node-exporter service_name: node-exporter placement: host_pattern: '*' status: created: '2021-01-18T11:21:56.024810Z' last_refresh: '2021-01-18T11:23:24.477672Z' running: 0 size: 1 events: - "2021-01-18T11:23:09.602644Z service:node-exporter [ERROR] \"Failed while placing\ \ node-exporter.ubuntuon ubuntu: cephadm exited with an error code: 1, stderr:Deploy\ \ daemon node-exporter.ubuntu ...\nVerifying port 9100 ...\nTraceback (most recent\ \ call last):\n File \"\", line 7274, in \n File \"\", line\ \ 1563, in _default_image\n File \"\", line 3698, in command_deploy\n File\ \ \"\", line 2338, in deploy_daemon\n File \"\", line 1961, in create_daemon_dirs\n\ AssertionError\"" ...snip... ``` Signed-off-by: Sebastian Wagner (cherry picked from commit 88c6c34e2ba32e38c7fca93722737c3b4d31fe6c) --- diff --git a/qa/suites/rados/cephadm/smoke/start.yaml b/qa/suites/rados/cephadm/smoke/start.yaml index b3eb77e80d38..f45b922bc1a5 100644 --- a/qa/suites/rados/cephadm/smoke/start.yaml +++ b/qa/suites/rados/cephadm/smoke/start.yaml @@ -11,3 +11,4 @@ tasks: - ceph orch ls - ceph orch host ls - ceph orch device ls + - ceph orch ls --format yaml