Skip to content

Commit

Permalink
Merge pull request #13866 from rook/mergify/bp/release-1.13/pr-13856
Browse files Browse the repository at this point in the history
external: enable the use of only v2 mon port (backport #13856)
  • Loading branch information
travisn committed Mar 4, 2024
2 parents 6302f39 + 1efd789 commit 3b96697
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions deploy/examples/create-external-cluster-resources.py
Original file line number Diff line number Diff line change
Expand Up @@ -699,14 +699,6 @@ def get_ceph_external_mon_data(self):
q_leader_details = q_leader_matching_list[0]
# get the address vector of the quorum-leader
q_leader_addrvec = q_leader_details.get("public_addrs", {}).get("addrvec", [])
# if the quorum-leader has only one address in the address-vector
# and it is of type 'v2' (ie; with <IP>:3300),
# raise an exception to make user aware that
# they have to enable 'v1' (ie; with <IP>:6789) type as well
if len(q_leader_addrvec) == 1 and q_leader_addrvec[0]["type"] == "v2":
raise ExecutionFailureException(
"Only 'v2' address type is enabled, user should also enable 'v1' type as well"
)
ip_addr = str(q_leader_details["public_addr"].split("/")[0])

if self._arg_parser.v2_port_enable:
Expand Down

0 comments on commit 3b96697

Please sign in to comment.