import logging from etcd3_wrapper import Etcd3Wrapper from decouple import config logging.basicConfig( level=logging.DEBUG, filename="log.txt", filemode="a", format="%(asctime)s: %(levelname)s - %(message)s", datefmt="%d-%b-%y %H:%M:%S", ) WITHOUT_CEPH = config("WITHOUT_CEPH", False, cast=bool) VM_PREFIX = config("VM_PREFIX") HOST_PREFIX = config("HOST_PREFIX") REQUEST_PREFIX = config("REQUEST_PREFIX") FILE_PREFIX = config("FILE_PREFIX") IMAGE_PREFIX = config("IMAGE_PREFIX") IMAGE_STORE_PREFIX = config("IMAGE_STORE_PREFIX") etcd_client = Etcd3Wrapper(host=config("ETCD_URL"))