Lines Matching refs:multihost
14 def __init__(self, multihost, krb_realm=None):
20 self.multihost = multihost
89 self.multihost.transport.put_file(krb_config_path, self.kdc_conf)
90 self.multihost.transport.put_file(acl_file, self.krb_acl_file)
95 self.multihost.run_command(kdb5_util_create)
107 self.multihost.log.info("created REALM %s" % (self.krb_realm))
111 service_name=self.multihost.sys_hostname)
115 self.multihost.log.info("host principal added")
118 self.multihost.run_command(['kadmin.local', '-r', self.krb_realm,
120 (self.multihost.sys_hostname)])
124 self.multihost.run_command(['kadmin.local', '-r', self.krb_realm,
131 self.multihost.run_command(['kadmin.local', '-r', self.krb_realm,
138 self.multihost.run_command(['systemctl', 'start', 'krb5kdc'])
142 self.multihost.log.info("krb5kdc service start successful")
144 self.multihost.run_command(['systemctl', 'start', 'kadmin'])
148 self.multihost.log.info("kadmin service started successfully")
185 self.multihost.run_command(kadmin_local_cmd)
198 self.multihost.run_command(['systemctl', 'stop', 'krb5kdc'])
202 self.multihost.log.info("stopped krb5kdc service")
206 self.multihost.run_command(['systemctl', 'stop', 'krb5kdc'])
210 self.multihost.log.info("stopped kadmin service")
214 self.multihost.run_command(['kdb5_util', 'destroy', '-f',
219 self.multihost.log.info("Removed krb realm %s" % self.krb_realm)