mirror of
https://github.com/ceph/ceph
synced 2025-02-21 09:57:26 +00:00
cephadm: add some log lines
Signed-off-by: Michael Fritch <mfritch@suse.com>
This commit is contained in:
parent
f13f25669d
commit
2c13694bed
@ -287,6 +287,7 @@ class NFSGanesha(object):
|
||||
data_dir = get_data_dir(self.fsid, self.daemon_type, self.daemon_id)
|
||||
volume_mounts = self.get_container_mounts(data_dir)
|
||||
|
||||
logger.info('Creating RADOS grace for action: %s' % (action))
|
||||
c = CephContainer(
|
||||
image=self.image,
|
||||
entrypoint=entrypoint,
|
||||
@ -325,7 +326,7 @@ def attempt_bind(s, address, port):
|
||||
def port_in_use(port_num):
|
||||
# type (int) -> bool
|
||||
"""Detect whether a port is in use on the local machine - IPv4 and IPv6"""
|
||||
|
||||
logger.info('Verifying port %d ...' % (port_num))
|
||||
try:
|
||||
s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
|
||||
attempt_bind(s, '0.0.0.0', port_num)
|
||||
@ -2323,6 +2324,8 @@ def command_deploy():
|
||||
if daemon_type not in get_supported_daemons():
|
||||
raise Error('daemon type %s not recognized' % daemon_type)
|
||||
|
||||
logger.info('Deploying daemon %s.%s ...' % (daemon_type, daemon_id))
|
||||
|
||||
if daemon_type in Ceph.daemons:
|
||||
(config, keyring) = get_config_and_keyring()
|
||||
(uid, gid) = extract_uid_gid()
|
||||
|
Loading…
Reference in New Issue
Block a user