Comment 11 for bug 1828534

Revision history for this message
Corey Bryant (corey.bryant) wrote :

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:

ubuntu@juju-3d28eb-coreycb2-7:/usr/lib/python3/dist-packages/designate$ grep -r StrOpt | grep \'host\'
__init__.py: cfg.StrOpt('host', default=socket.gethostname(),
pool_manager/__init__.py: cfg.StrOpt('host'),