diff --git a/ansible/roles/hasp/tasks/main.yml b/ansible/roles/hasp/tasks/main.yml index 3a46d326..dd0c1ef1 100644 --- a/ansible/roles/hasp/tasks/main.yml +++ b/ansible/roles/hasp/tasks/main.yml @@ -43,4 +43,9 @@ copy: src: "{{ role_path }}/files/hasp.sh" dest: /etc/profile.d/ - mode: 0755 \ No newline at end of file + mode: 0755 + +- name: "start hasp_monitor.service" + systemd: + name: hasp_monitor.service + enabled: yes diff --git a/ansible/roles/traffic-engine/files/helm/templates/_config.tpl b/ansible/roles/traffic-engine/files/helm/templates/_config.tpl index 7dc8e7b4..465f6dc7 100644 --- a/ansible/roles/traffic-engine/files/helm/templates/_config.tpl +++ b/ansible/roles/traffic-engine/files/helm/templates/_config.tpl @@ -559,4 +559,15 @@ enable_breakpad_upload=0 {{- if eq .Values.external_resources.cm.connectivity "local_cache" }} sed -Ei "s|CM_POLICY_LOCAL_CACHE_IP_LOCATION|${CM_POLICY_LOCAL_CACHE_IP?}|g" /opt/tsg/shaping_engine/conf/shaping.conf {{- end }} -{{- end -}} \ No newline at end of file +{{- end -}} + +{{- define "traffic-engine.volume.dev-shm" -}} + - name: dev-shm + hostPath: + path: /dev/shm +{{- end -}} + +{{- define "traffic-engine.mount.dev-shm" -}} + - name: dev-shm + mountPath: /dev/shm +{{- end -}} diff --git a/ansible/roles/traffic-engine/files/helm/templates/deployment-firewall.yaml b/ansible/roles/traffic-engine/files/helm/templates/deployment-firewall.yaml index 0a5aae00..22983160 100644 --- a/ansible/roles/traffic-engine/files/helm/templates/deployment-firewall.yaml +++ b/ansible/roles/traffic-engine/files/helm/templates/deployment-firewall.yaml @@ -94,6 +94,7 @@ spec: {{ template "traffic-engine.firewall.mount.prestart" . }} {{ template "traffic-engine.firewall.mount.hostpath" . }} {{ template "traffic-engine.mount.dev-bus-usb" . }} + {{ template "traffic-engine.mount.dev-shm" . }} - name: telegraf image: "registry.gdnt-cloud.website/tsg-telegraf:{{ .Chart.AppVersion }}" @@ -178,3 +179,4 @@ spec: {{ template "traffic-engine.firewall.volume.prestart" . }} {{ template "traffic-engine.volume.hostpath" . }} {{ template "traffic-engine.volume.dev-bus-usb" . }} + {{ template "traffic-engine.volume.dev-shm" . }} \ No newline at end of file diff --git a/make/Makefile.TSGXBUILDCONTAINERP0906 b/make/Makefile.TSGXBUILDCONTAINERP0906 index 7444aa5c..0c41b007 100644 --- a/make/Makefile.TSGXBUILDCONTAINERP0906 +++ b/make/Makefile.TSGXBUILDCONTAINERP0906 @@ -52,7 +52,7 @@ builddir: tar -zxvf $(PROJECTDIR)/ansible/roles/traffic-engine/files/helm-linux-amd64.tar.gz -C /tmp/helm installer: builddir - sed -i '/sapp-pr:/d;/tfe-pr:/d;/mrzcpd:/d' $(PROJECTDIR)/ansible/install_config/group_vars/rpm_version.yml + sed -i '/sapp:/d;/tfe-pr:/d;/mrzcpd:/d' $(PROJECTDIR)/ansible/install_config/group_vars/rpm_version.yml container-images-generate: builddir podman load < $(PROJECTDIR)/package/rockylinux8.tar