Skip to content
This repository has been archived by the owner on May 27, 2024. It is now read-only.

Commit

Permalink
Merge branch 'dev' into staging
Browse files Browse the repository at this point in the history
  • Loading branch information
dweinholz committed Jul 22, 2022
2 parents b3a72b6 + 38ac380 commit 0483c49
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 7 deletions.
6 changes: 5 additions & 1 deletion VirtualMachineService/VirtualMachineHandler.py
Original file line number Diff line number Diff line change
Expand Up @@ -236,6 +236,7 @@ def __init__(self, config):
self.BIBIGRID_ANSIBLE_ROLES = cfg["bibigrid"].get(
"ansibleGalaxyRoles", []
)
LOG.info(f"Loaded Ansible Galaxy Roles for Bibigrid:\n {self.BIBIGRID_ANSIBLE_ROLES}")

LOG.info(msg=f"Bibigrd url loaded: {self.BIBIGRID_URL}")
except Exception as e:
Expand Down Expand Up @@ -1972,6 +1973,9 @@ def get_cluster_status(self, cluster_id):
json_resp = response.json(strict=False)
json_resp["log"] = str(json_resp.get("log", ""))
json_resp["msg"] = str(json_resp.get("msg", ""))
msg=json_resp["msg"]
info=json_resp.get("info","")
LOG.info(f"Cluster {cluster_id} status: - {msg} | {info}")
return json_resp

def bibigrid_available(self):
Expand Down Expand Up @@ -2612,7 +2616,7 @@ def create_security_group(
direction=resenv_metadata.direction,
protocol=resenv_metadata.protocol,
port_range_max=resenv_metadata.port,
port_range_min=resenv_metadata.port,
port_range_miflavorn=resenv_metadata.port,
security_group_id=new_security_group["id"],
remote_group_id=self.FORC_REMOTE_ID,
)
Expand Down
4 changes: 2 additions & 2 deletions VirtualMachineService/config/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ bibigrid:
bibigrid_modes:
- slurm
ansibleGalaxyRoles:
- name: autoscaling,
hosts: master,
- name: autoscaling
hosts: master
git: https://github.com/patricS4/autoscaling-config-ansible


Expand Down
2 changes: 1 addition & 1 deletion docker-compose.bibigrid.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ services:

client_redis:
container_name: client_redis
image: redis:7.0.2
image: redis:7.0.3
expose:
- "6379"
networks:
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.dev.bibigrid.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ services:

client_redis:
container_name: client_redis
image: redis:7.0.2
image: redis:7.0.3
expose:
- "6379"
networks:
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ services:

client_redis:
container_name: client_redis
image: redis:7.0.2
image: redis:7.0.3
expose:
- "6379"
networks:
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ services:

client_redis:
container_name: client_redis
image: redis:7.0.2
image: redis:7.0.3
expose:
- "6379"
networks:
Expand Down

0 comments on commit 0483c49

Please sign in to comment.