|
|
a3a2ad |
From 772b48493eb19f2d9e25579740edd6216c9f8ed0 Mon Sep 17 00:00:00 2001
|
|
|
a3a2ad |
From: Tomas Jelinek <tojeline@redhat.com>
|
|
|
a3a2ad |
Date: Thu, 4 Jan 2018 13:22:03 +0100
|
|
|
a3a2ad |
Subject: [PATCH] fix a crash in 'pcs booth sync'
|
|
|
a3a2ad |
|
|
|
a3a2ad |
---
|
|
|
a3a2ad |
pcs/lib/communication/booth.py | 5 +++--
|
|
|
a3a2ad |
1 file changed, 3 insertions(+), 2 deletions(-)
|
|
|
a3a2ad |
|
|
|
a3a2ad |
diff --git a/pcs/lib/communication/booth.py b/pcs/lib/communication/booth.py
|
|
|
a3a2ad |
index 240738a..a3aa918 100644
|
|
|
a3a2ad |
--- a/pcs/lib/communication/booth.py
|
|
|
a3a2ad |
+++ b/pcs/lib/communication/booth.py
|
|
|
a3a2ad |
@@ -10,6 +10,7 @@ import os
|
|
|
a3a2ad |
|
|
|
a3a2ad |
from pcs.common.node_communicator import RequestData
|
|
|
a3a2ad |
from pcs.lib import reports
|
|
|
a3a2ad |
+from pcs.lib.booth import reports as reports_booth
|
|
|
a3a2ad |
from pcs.lib.communication.tools import (
|
|
|
a3a2ad |
AllAtOnceStrategyMixin,
|
|
|
a3a2ad |
AllSameDataMixin,
|
|
|
a3a2ad |
@@ -51,12 +52,12 @@ class BoothSendConfig(
|
|
|
a3a2ad |
)
|
|
|
a3a2ad |
|
|
|
a3a2ad |
def _get_success_report(self, node_label):
|
|
|
a3a2ad |
- return reports.booth_config_accepted_by_node(
|
|
|
a3a2ad |
+ return reports_booth.booth_config_accepted_by_node(
|
|
|
a3a2ad |
node_label, [self._booth_name]
|
|
|
a3a2ad |
)
|
|
|
a3a2ad |
|
|
|
a3a2ad |
def before(self):
|
|
|
a3a2ad |
- self._report(reports.booth_config_distribution_started())
|
|
|
a3a2ad |
+ self._report(reports_booth.booth_config_distribution_started())
|
|
|
a3a2ad |
|
|
|
a3a2ad |
|
|
|
a3a2ad |
class ProcessJsonDataMixin(object):
|
|
|
a3a2ad |
--
|
|
|
a3a2ad |
1.8.3.1
|
|
|
a3a2ad |
|