From f43317cb54777f76265414e14b668e84566e7f69 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Harald=20Jens=C3=A5s?= Date: Tue, 13 Apr 2021 13:59:12 +0200 Subject: [PATCH] Baremetal deploy - user playbook interface This is a partial cherry-pick of the commit 1d2547cc7f9bd28a1dde447c93ec7f0ec9dd4af4 to include `InvalidPlaybook` exception class used in validate_roles_playbooks method in utils.py. This is not a clean cherry pick because part of the code was refactored in [1] and was cherry-picked accordingly in wallaby [2] validate_playbook method and `PlaybookNotFound` exception is not used anymore and will be removed with[3]. Conflicts: tripleoclient/v2/overcloud_node.py [1] https://review.opendev.org/c/openstack/python-tripleoclient/+/794017/10/tripleoclient/v2/overcloud_node.py [2] https://review.opendev.org/c/openstack/python-tripleoclient/+/797231/4/tripleoclient/v2/overcloud_node.py [3] https://review.opendev.org/c/openstack/python-tripleoclient/+/814117 Implements: blueprint network-data-v2-ports Change-Id: I67a15f637a62e2cb683e6e160483201f7ba093e9 (cherry picked from commit 1d2547cc7f9bd28a1dde447c93ec7f0ec9dd4af4) --- tripleoclient/exceptions.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tripleoclient/exceptions.py b/tripleoclient/exceptions.py index f4af206a5..aac367bc7 100644 --- a/tripleoclient/exceptions.py +++ b/tripleoclient/exceptions.py @@ -139,3 +139,7 @@ class BannedParameters(Base): class HeatPodMessageQueueException(Base): """Heat messaging queue not created""" + + +class InvalidPlaybook(Base): + """Invalid playbook path specified"""