diff --git a/connectors/OpenStack.py b/connectors/OpenStack.py index 638d46efe..40bd78d93 100644 --- a/connectors/OpenStack.py +++ b/connectors/OpenStack.py @@ -46,7 +46,7 @@ def get_driver(self, auth_data): else: auths = auth_data.getAuthInfo(self.type, self.cloud.server) if not auths: - self.logger.error("No correct auth data has been specified to OpenStack.") + raise Exception("No correct auth data has been specified to OpenStack.") else: auth = auths[0] diff --git a/setup.py b/setup.py index f2e50f959..b52c1b7ba 100644 --- a/setup.py +++ b/setup.py @@ -35,12 +35,12 @@ author='GRyCAP - Universitat Politecnica de Valencia', author_email='micafer1@upv.es', url='http://www.grycap.upv.es/im', - packages=['IM', 'IM.radl', 'IM.ansible','connectors'], + packages=['IM', 'IM.radl', 'IM.ansible','connectors'], scripts=["im_service.py"], - data_files=datafiles, + data_files=datafiles, license="GPL version 3, http://www.gnu.org/licenses/gpl-3.0.txt", long_description="IM is a tool that ease the access and the usability of IaaS clouds by automating the VMI selection, deployment, configuration, software installation, monitoring and update of Virtual Appliances. It supports APIs from a large number of virtual platforms, making user applications cloud-agnostic. In addition it integrates a contextualization system to enable the installation and configuration of all the user required applications providing the user with a fully functional infrastructure.", description="IM is a tool to manage virtual infrastructures on Cloud deployments", platforms=["any"], - install_requires=["ansible >= 1.4","paramiko >= 1.14","PyYAML","SOAPpy","boto >= 2.29","apache-libcloud >= 0.17","ply", "bottle", "netaddr"] + install_requires=["ansible >= 1.4","paramiko >= 1.14","PyYAML","SOAPpy","boto >= 2.29","apache-libcloud >= 0.17","ply", "bottle", "netaddr"] )