Minigraph generator is broken. The root cause is:
[testbed] Fix YAML spacing issue in config_sonic_based_on_testbed #1736
which breaks the original implementation:
[telemetry] add telemetry certs on DUT #1716
TASK [Init telemetry keys] ********************************************************************************************************************************************
Friday 05 June 2020 10:35:39 +0000 (0:00:00.897) 0:00:09.017 ***********
ok: [sonic]
TASK [read server key] ************************************************************************************************************************************************
Friday 05 June 2020 10:35:39 +0000 (0:00:00.080) 0:00:09.098 ***********
ok: [sonic]
TASK [read server csr] ************************************************************************************************************************************************
Friday 05 June 2020 10:35:39 +0000 (0:00:00.085) 0:00:09.183 ***********
ok: [sonic]
TASK [read server cer] ************************************************************************************************************************************************
Friday 05 June 2020 10:35:39 +0000 (0:00:00.087) 0:00:09.270 ***********
ok: [sonic]
TASK [read dsmsroot key] **********************************************************************************************************************************************
Friday 05 June 2020 10:35:39 +0000 (0:00:00.085) 0:00:09.355 ***********
ok: [sonic]
TASK [read dsmsroot csr] **********************************************************************************************************************************************
Friday 05 June 2020 10:35:39 +0000 (0:00:00.085) 0:00:09.441 ***********
ok: [sonic]
TASK [read dsmsroot cer] **********************************************************************************************************************************************
Friday 05 June 2020 10:35:39 +0000 (0:00:00.086) 0:00:09.527 ***********
ok: [sonic]
TASK [read directory path] ********************************************************************************************************************************************
Friday 05 June 2020 10:35:39 +0000 (0:00:00.086) 0:00:09.614 ***********
ok: [sonic]
TASK [Create telemetry directory] *************************************************************************************************************************************
Friday 05 June 2020 10:35:39 +0000 (0:00:00.088) 0:00:09.702 ***********
changed: [sonic]
TASK [Create telemetry server private key] ****************************************************************************************************************************
Friday 05 June 2020 10:35:40 +0000 (0:00:00.340) 0:00:10.043 ***********
changed: [sonic]
TASK [create telemetry server csr] ************************************************************************************************************************************
Friday 05 June 2020 10:35:41 +0000 (0:00:00.793) 0:00:10.837 ***********
changed: [sonic]
TASK [Generate a Self Signed OpenSSL telemetry server certificate] ****************************************************************************************************
Friday 05 June 2020 10:35:41 +0000 (0:00:00.794) 0:00:11.631 ***********
changed: [sonic]
TASK [Create telemetry dsmsroot private key] **************************************************************************************************************************
Friday 05 June 2020 10:35:42 +0000 (0:00:00.841) 0:00:12.473 ***********
changed: [sonic]
TASK [create telemetry dsmsroot csr] **********************************************************************************************************************************
Friday 05 June 2020 10:35:43 +0000 (0:00:00.721) 0:00:13.195 ***********
changed: [sonic]
TASK [Generate a Self Signed OpenSSL telemetry dsmsroot certificate] **************************************************************************************************
Friday 05 June 2020 10:35:43 +0000 (0:00:00.389) 0:00:13.584 ***********
changed: [sonic]
TASK [Creates telemetry directory] ************************************************************************************************************************************
Friday 05 June 2020 10:35:44 +0000 (0:00:00.386) 0:00:13.970 ***********
ok: [sonic]
TASK [copy server_key from local to remote] ***************************************************************************************************************************
Friday 05 June 2020 10:35:44 +0000 (0:00:00.360) 0:00:14.331 ***********
An exception occurred during task execution. To see the full traceback, use -vvv. The error was: If you are using a module and expect the file to exist on the remote, see the remote_src option
fatal: [sonic]: FAILED! => {"changed": false, "msg": "Could not find or access '/etc/sonic/telemetry/streamingtelemetryserver.key' on the Ansible Controller.\nIf you are using a module and expect the file to exist on the remote, see the remote_src option"}
PLAY RECAP ************************************************************************************************************************************************************
sonic : ok=35 changed=8 unreachable=0 failed=1 skipped=3 rescued=0 ignored=0
Steps to reproduce the issue:
Run ./testbed-cli.sh gen-mg <hostname>-<topo> lab vault
Describe the results you received:
Minigraph generator fails
Describe the results you expected:
Minigraph generator shouldn't fail
Description
Minigraph generator is broken. The root cause is: [testbed] Fix YAML spacing issue in config_sonic_based_on_testbed #1736 which breaks the original implementation: [telemetry] add telemetry certs on DUT #1716
Steps to reproduce the issue:
./testbed-cli.sh gen-mg <hostname>-<topo> lab vault
Describe the results you received: Minigraph generator fails
Describe the results you expected: Minigraph generator shouldn't fail
Additional information you deem important: