def get_bootstrap_hostname(self):
    hosts = self.get_hosts_by_role(consts.NodeRoles.MASTER)
    for host in hosts:
        if host.get('bootstrap'):
            log.info('Bootstrap node is: %s', host['requested_hostname'])
            return host['requested_hostname']
def get_bootstrap_hostname(self):
    hosts = self.get_hosts_by_role(consts.NodeRoles.MASTER)
    for host in hosts:
        if host.get('bootstrap'):
            log.info('Bootstrap node is: %s', host['requested_hostname'])
            return host['requested_hostname']