Skip to content

Commit 7c0f6eb

Browse files
authored
Merge pull request ceph#60807 from baum/nvmeof_service_ports
🧹cephadm/nvmeof: fix ports when default values are overridden
2 parents c188267 + e717a92 commit 7c0f6eb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/python-common/ceph/deployment/service_spec.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1544,7 +1544,7 @@ def __init__(self,
15441544
self.monitor_client_log_file_dir = monitor_client_log_file_dir
15451545

15461546
def get_port_start(self) -> List[int]:
1547-
return [5500, 4420, 8009]
1547+
return [self.port, 4420, self.discovery_port]
15481548

15491549
def validate(self) -> None:
15501550
# TODO: what other parameters should be validated as part of this function?

0 commit comments

Comments
 (0)