from teuthology.exceptions import VersionNotFoundError
from teuthology.job_status import get_status, set_status
from teuthology.orchestra import cluster, remote, run
-
+from .redhat import setup_cdn_repo, setup_base_repo, setup_additional_repo, setup_stage_cdn # noqa
log = logging.getLogger(__name__)
raise ConfigError("Provide rhbuild attribute")
teuthconfig.rhbuild = str(rhbuild)
with parallel() as p:
- for remote in ctx.cluster.remotes.iterkeys():
+ for remote in ctx.cluster.remotes.keys():
if remote.os.name == 'rhel':
log.info("subscribing stage cdn on : %s", remote.shortname)
p.spawn(_subscribe_stage_cdn, remote)
yield
finally:
with parallel() as p:
- for remote in ctx.cluster.remotes.iterkeys():
+ for remote in ctx.cluster.remotes.keys():
p.spawn(_unsubscribe_stage_cdn, remote)