diff options
Diffstat (limited to 'src/cephadm')
-rw-r--r-- | src/cephadm/cephadmlib/daemon_identity.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cephadm/cephadmlib/daemon_identity.py b/src/cephadm/cephadmlib/daemon_identity.py index 760401a3e54..52a18092bf0 100644 --- a/src/cephadm/cephadmlib/daemon_identity.py +++ b/src/cephadm/cephadmlib/daemon_identity.py @@ -117,7 +117,7 @@ class DaemonSubIdentity(DaemonIdentity): ) -> None: super().__init__(fsid, daemon_type, daemon_id) self._subcomponent = subcomponent - if not re.match('^[a-zA-Z0-9]{1,15}$', self._subcomponent): + if not re.match('^[a-zA-Z0-9]{1,32}$', self._subcomponent): raise ValueError( f'invalid subcomponent; invalid characters: {subcomponent!r}' ) |