From /usr/lib/python3/dist-packages/designate/coordination.py:
from oslo_config import cfg
CONF = cfg.CONF
class CoordinationMixin(object):
def __init__(self, *args, **kwargs): super(CoordinationMixin, self).__init__(*args, **kwargs)
self._coordinator = None
def start(self): self._coordination_id = ":".join([CONF.host, generate_uuid()]) # <------ this line seems to match up with the logs above where CONF.host is bytes and str type
It looks like that might be defined in one of these places:
From /usr/lib/ python3/ dist-packages/ designate/ coordination. py:
from oslo_config import cfg in(object) :
super( CoordinationMix in, self)._ _init__ (*args, **kwargs)
CONF = cfg.CONF
class CoordinationMix
def __init__(self, *args, **kwargs):
def start(self):
self._ coordination_ id = ":".join( [CONF.host, generate_uuid()]) # <------ this line seems to match up with the logs above where CONF.host is bytes and str type
It looks like that might be defined in one of these places:
ubuntu@ juju-3d28eb- coreycb2- 7:/usr/ lib/python3/ dist-packages/ designate$ grep -r StrOpt | grep \'host\' socket. gethostname( ), __init_ _.py: cfg.StrOpt('host'),
__init__.py: cfg.StrOpt('host', default=
pool_manager/