Commit 9783c96a authored by Fabio Luchetti's avatar Fabio Luchetti
Browse files

mgm: add some notes on qos engine disabled

parent ea350478
Pipeline #2144550 passed with stage
in 30 seconds
......@@ -47,13 +47,16 @@ data:
# TODO: Removing this breaks the link between FSTs and MGM. Check!
mgmofs.broker root://eos-mq-0.eos-mq.{{ .Release.Namespace }}.svc.cluster.local:1097//eos/
# configuration and namespace location @note `mgmofs.cfgtype quarkdb` will move it to qdb
# configuration and namespace location @note `mgmofs.cfgtype quarkdb` will move some to qdb
mgmofs.configdir /var/eos/config
mgmofs.metalog /var/eos/md
mgmofs.txdir /var/eos/tx
mgmofs.authdir /var/eos/auth
# mgmofs.qosdir /var/eos/qos
# mgmofs.qosdir /var/eos/qos # @note (faluchet) see note on Qos Support
# QoS configuration file
# mgmofs.qoscfg /var/eos/qos/qos.conf # @note (faluchet) see note on Qos Support
# report store path
mgmofs.reportstorepath /var/eos/report
......@@ -69,9 +72,6 @@ data:
# this enables that every change get's immedeatly stored to the active configuration - can be overwritten by EOS_AUTOSAVE_CONFIG defined in /etc/sysconfig/eos
mgmofs.autosaveconfig true
# QoS configuration file
# mgmofs.qoscfg /var/eos/qos/qos.conf
# this has to be defined if we have a failover configuration via alias - can be overwritten by EOS_MGM_ALIAS in /etc/sysconfig/eos
#mgmofs.alias eosdev.cern.ch
......@@ -81,10 +81,6 @@ data:
# Set the front end port number for incoming authentication requests
mgmofs.authport 15555
# Set the drain configuration
# TODO: remove this config optino once 4.5.y branch is retired
mgmofs.centraldrain true
##### Namespace plugin implementation #####################
#mgmofs.nslib /usr/lib64/libEosNsInMemory.so
mgmofs.nslib /usr/lib64/libEosNsQuarkdb.so
......@@ -140,7 +136,11 @@ data:
#EOS_NOTIFY: "mail -s `date +%s`-`hostname`-eos-notify $EOS_MAIL_CC"
# Allow UTF-8 path names excluding only CR,LF
EOS_UTF8: ""
# Enable QoS support @todo (faluchet) /var/eos/qos/ and /var/eos/qos/qos.conf are not found on the container.. investigate
# Enable QoS support
# @note (faluchet) requires mgmofs.qos* path to exists.
# By default, they are on /var/eos/ with all the "rest"; but they are shadowed if /var/eos is an emptyDir{}!
# And, btw, why do we accept to shadow them in the first place?
# Disable QoS support (for the moment)
# EOS_ENABLE_QOS: ""
# Enable Converter Engine
EOS_CONVERTER_DRIVER: !!integer 1
......
......@@ -114,6 +114,11 @@ spec:
mountPath: /root/mgm_init.sh
subPath: mgm_init.sh
volumes:
# @note having an `emptyDir: {}` mounted at `mountPath: /some/path` will "mask/erase"
# everything pre-existing in the container located at /some/path.
# i.e. the eos-server puts by default some necessary files and folder in /var/eos/;
# mounting an emptyDir there, will thus mask/erase those files, leaving indeed just an empty directory!
# Bitten with /var/eos/qos* with eos v4.8.20+, QoS support enabled, and default mgmofs.qos* paths...
- name: mgm-cfgmap-xrd-cf-mgm
configMap:
name: {{ include "mgm.fullname" . }}-cfgmap-xrd-cf-mgm
......@@ -124,8 +129,11 @@ spec:
defaultMode: 0755
- name: mgm-data
emptyDir: {}
#hostPath:
# path: /var/k8s/data/{{ include "mgm.name" . }}-dataX_001
# type: DirectoryOrCreate
# hostPath:
# path: /var/k8s/volumes/{{ include "mgm.name" . }}/mgm-data
# type: DirectoryOrCreate
- name: mgm-logs
emptyDir: {}
# hostPath:
# path: /var/k8s/volumes/{{ include "mgm.name" . }}-mgm-logs
# type: DirectoryOrCreate
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment