From 9fd1743e1defa34debeb94c84176c738fbb7b9f8 Mon Sep 17 00:00:00 2001 From: Kiefer Chang Date: Tue, 11 Feb 2020 23:05:21 +0800 Subject: [PATCH] qa/tasks/mgr/dashboard/test_orchestrator: support addr attribute in inventory The missing attribute `addr` causes error when loading dummy data. Fixes: https://tracker.ceph.com/issues/44054 Signed-off-by: Kiefer Chang --- qa/tasks/mgr/dashboard/test_orchestrator.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/qa/tasks/mgr/dashboard/test_orchestrator.py b/qa/tasks/mgr/dashboard/test_orchestrator.py index b51149f4f0b..9f883fc226a 100644 --- a/qa/tasks/mgr/dashboard/test_orchestrator.py +++ b/qa/tasks/mgr/dashboard/test_orchestrator.py @@ -9,6 +9,7 @@ test_data = { 'inventory': [ { 'name': 'test-host0', + 'addr': '1.2.3.4', 'devices': [ { 'path': '/dev/sda', @@ -17,6 +18,7 @@ test_data = { }, { 'name': 'test-host1', + 'addr': '1.2.3.5', 'devices': [ { 'path': '/dev/sdb',