Skip to content

Commit

Permalink
Merge pull request #1605 from grycap/devel
Browse files Browse the repository at this point in the history
Devel
  • Loading branch information
micafer authored Jul 31, 2024
2 parents 20021c1 + de3e772 commit df011de
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
5 changes: 4 additions & 1 deletion IM/connectors/OpenStack.py
Original file line number Diff line number Diff line change
Expand Up @@ -152,9 +152,12 @@ def get_driver(self, auth_data):

protocol = self.cloud.protocol or "http"
port = self.cloud.get_port()
path = self.cloud.path
if path in ["/", "/v3", "/v3/"]:
path = ""

parameters = {"auth_version": self.DEFAULT_AUTH_VERSION,
"auth_url": protocol + "://" + self.cloud.server + ":" + str(port),
"auth_url": protocol + "://" + self.cloud.server + ":" + str(port) + path,
"auth_token": None,
"service_type": None,
"service_name": None,
Expand Down
1 change: 1 addition & 0 deletions IM/tosca/Tosca.py
Original file line number Diff line number Diff line change
Expand Up @@ -795,6 +795,7 @@ def _gen_configure_from_interfaces(self, node, compute, interfaces):
return None
if not compute:
Tosca.logger.warning("Node %s has not compute node to host in." % node.name)
return None

variables = ""
tasks = ""
Expand Down

0 comments on commit df011de

Please sign in to comment.