]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
python-common/ceph/deployment/service_spec.py: Allow the cephadm deployment to determ... 59755/head
authorAlexander Indenbaum <aindenba@redhat.com>
Thu, 12 Sep 2024 12:00:55 +0000 (12:00 +0000)
committerAlexander Indenbaum <aindenba@redhat.com>
Thu, 12 Sep 2024 12:01:55 +0000 (12:01 +0000)
Signed-off-by: Alexander Indenbaum <aindenba@redhat.com>
src/python-common/ceph/deployment/service_spec.py

index 75b1ac75573a2b241d5ce179e707d53ae93d24f5..1539d8c42a4021d44f843336e5d88d190438cff3 100644 (file)
@@ -1381,7 +1381,7 @@ class NvmeofServiceSpec(ServiceSpec):
         #: RADOS pool where ceph-nvmeof config data is stored.
         self.pool = pool
         #: ``addr`` address of the nvmeof gateway
-        self.addr = addr or "0.0.0.0"
+        self.addr = addr
         #: ``port`` port of the nvmeof gateway
         self.port = port or 5500
         #: ``name`` name of the nvmeof gateway
@@ -1447,7 +1447,7 @@ class NvmeofServiceSpec(ServiceSpec):
         #: ``tgt_cmd_extra_args`` extra arguments for the nvmf_tgt process
         self.tgt_cmd_extra_args = tgt_cmd_extra_args
         #: ``discovery_addr`` address of the discovery service
-        self.discovery_addr = discovery_addr or "0.0.0.0"
+        self.discovery_addr = discovery_addr
         #: ``discovery_port`` port of the discovery service
         self.discovery_port = discovery_port or 8009
         #: ``log_level`` the nvmeof gateway log level