diff --git a/daemons/ganeti-noded b/daemons/ganeti-noded index 3310171e645fae5967bb174e00d65e323b4feee9..c1dfa1f08ae6300bc298f4b58f43d68b7c212d3f 100755 --- a/daemons/ganeti-noded +++ b/daemons/ganeti-noded @@ -340,7 +340,7 @@ class NodeHttpServer(http.server.HttpServer): # volume -------------------------- @staticmethod - def perspective_volume_list(params): + def perspective_lv_list(params): """Query the list of logical volumes in a given volume group. """ diff --git a/lib/cmdlib.py b/lib/cmdlib.py index 7f47b4528cb316841485e44d2654627cccb9934b..6505f0918c3f46d1de52d14cb6fbbd001047d06b 100644 --- a/lib/cmdlib.py +++ b/lib/cmdlib.py @@ -1335,7 +1335,7 @@ class LUVerifyDisks(NoHooksLU): if not nv_dict: return result - node_lvs = self.rpc.call_volume_list(nodes, vg_name) + node_lvs = self.rpc.call_lv_list(nodes, vg_name) to_act = set() for node in nodes: diff --git a/lib/rpc.py b/lib/rpc.py index 220232c0ace16e00ecef131d5399d433a0d341d2..b19c048cca24331e151a1e6d5c25f3a69eda973e 100644 --- a/lib/rpc.py +++ b/lib/rpc.py @@ -417,13 +417,13 @@ class RpcRunner(object): # Begin RPC calls # - def call_volume_list(self, node_list, vg_name): + def call_lv_list(self, node_list, vg_name): """Gets the logical volumes present in a given volume group. This is a multi-node call. """ - return self._MultiNodeCall(node_list, "volume_list", [vg_name]) + return self._MultiNodeCall(node_list, "lv_list", [vg_name]) def call_vg_list(self, node_list): """Gets the volume group list.