Skip to content

Conversation

khalford
Copy link
Member

  • Updates to the container config for cAdvisor and ChatOps
  • Fix logstash config path
  • Remove volume facts from play
  • Add missing role play into deploy.yml

Minor updates to container config including typos. Also, create 3 containers instead of one as we are running on the same host
Fixing logstash config path
We cannot rely on the OpenStack API to provide accurate information about where the device is mounted. This is due to a discrepancy between OpenStack and the OS of the VM. To work around this we will try the two most common devices, sdb and vdb. If both of these fail intervention will be required. A bonus to this is it removes the convoluted ansible fact solution previously used.
@khalford khalford requested review from a team, RJaliliSTFC, RWhiting78, dev-0pz and meoflynn and removed request for a team, RJaliliSTFC and meoflynn October 14, 2025 09:11
Comment on lines 45 to +63
- name: Start ChatOps container
community.docker.docker_container:
image: harbor.stfc.ac.uk/stfc-cloud/cloud-chatops:7.0.0
name: chatops
image: "{{ chatops_image }}"
name: "chatops-{{ count }}"
pull: always
state: started
restart: true
ports:
- "3000:3000"
- "{{ item }}:3000"
volumes:
- /etc/chatops/config.yml:/usr/src/app/cloud_chatops/config/config.yml
- /etc/chatops/secrets.yml:/usr/src/app/cloud_chatops/secrets/secrets.yml
network_mode: host
- /etc/chatops/config.yml:/usr/src/app/config.yml
- /etc/chatops/secrets.yml:/usr/src/app/secrets.yml
restart_policy: "always"
loop:
- 3030
- 3031
- 3032
loop_control:
index_var: count
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How come you are creating 3 containers here with a unique name? Is this so that ChatOps with have high availability?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants