Skip to content

Commit

Permalink
Merge pull request #798 from leonidc/spdk_load_balancing
Browse files Browse the repository at this point in the history
Spdk load balancing
  • Loading branch information
leonidc authored Aug 28, 2024
2 parents 9653bec + 00740ec commit 2d77886
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
7 changes: 4 additions & 3 deletions control/grpc.py
Original file line number Diff line number Diff line change
Expand Up @@ -1207,13 +1207,14 @@ def namespace_change_load_balancing_group_safe(self, request, context):
return pb2.req_status(status=errno.ENOENT, error_message=errmsg)

try:
ret = rpc_nvmf.nvmf_subsystem_set_ns_anagrpid(
ret = rpc_nvmf.nvmf_subsystem_set_ns_ana_group(
self.spdk_rpc_client,
nqn=request.subsystem_nqn,
nsid=request.nsid,
anagrpid=request.anagrpid
anagrpid=request.anagrpid,
transit_anagrpid=0
)
self.logger.debug(f"nvmf_subsystem_set_ns_anagrpid: {ret}")
self.logger.debug(f"nvmf_subsystem_set_ns_ana_group: {ret}")
except Exception as ex:
errmsg = f"{change_lb_group_failure_prefix}:\n{ex}"
resp = self.parse_json_exeption(ex)
Expand Down
2 changes: 1 addition & 1 deletion spdk

0 comments on commit 2d77886

Please sign in to comment.