)]}'
{"cinder/templates/bin/_backup-storage-init.sh.tpl":[{"author":{"_account_id":28883,"name":"Irina Mihai","email":"irina.mihai@windriver.com","username":"irina.mihai.wrs"},"change_message_id":"19d0cb7d17cf7653c5e25a907a37b1e892907981","unresolved":false,"context_lines":[{"line_number":31,"context_line":"     [ \"x$STORAGE_BACKEND\" \u003d\u003d \"xcinder.backup.drivers.posix\" ]; then"},{"line_number":32,"context_line":"  echo \"INFO: no action required to use $STORAGE_BACKEND\""},{"line_number":33,"context_line":"elif [ \"x$STORAGE_BACKEND\" \u003d\u003d \"xcinder.backup.drivers.ceph\" ]; then"},{"line_number":34,"context_line":"  ceph -s"},{"line_number":35,"context_line":"  function ensure_pool () {"},{"line_number":36,"context_line":"    ceph osd pool stats $1 || ceph osd pool create $1 $2"},{"line_number":37,"context_line":"    local test_version\u003d$(ceph tell osd.* version | egrep -c \"mimic|luminous\" | xargs echo)"}],"source_content_type":"text/x-smarty","patch_set":3,"id":"9fdfeff1_d1b2a549","line":34,"range":{"start_line":34,"start_character":2,"end_line":34,"end_character":9},"updated":"2019-02-08 15:44:59.000000000","message":"Every ceph command in here needs to also pass the ceph configuration file so that it will differentiate between the ceph clusters:\n\nEx: ceph -c ${RBD_CEPH_CONF} -s","commit_id":"483cbecefd64d84cfc024629334013ea51c78a28"}],"cinder/templates/bin/_storage-init.sh.tpl":[{"author":{"_account_id":28883,"name":"Irina Mihai","email":"irina.mihai@windriver.com","username":"irina.mihai.wrs"},"change_message_id":"19d0cb7d17cf7653c5e25a907a37b1e892907981","unresolved":false,"context_lines":[{"line_number":28,"context_line":""},{"line_number":29,"context_line":"set -ex"},{"line_number":30,"context_line":"if [ \"x$STORAGE_BACKEND\" \u003d\u003d \"xcinder.volume.drivers.rbd.RBDDriver\" ]; then"},{"line_number":31,"context_line":"  ceph -s"},{"line_number":32,"context_line":"  function ensure_pool () {"},{"line_number":33,"context_line":"    ceph osd pool stats $1 || ceph osd pool create $1 $2"},{"line_number":34,"context_line":"    local test_version\u003d$(ceph tell osd.* version | egrep -c \"mimic|luminous\" | xargs echo)"}],"source_content_type":"text/x-smarty","patch_set":3,"id":"9fdfeff1_5180f546","line":31,"range":{"start_line":31,"start_character":2,"end_line":31,"end_character":9},"updated":"2019-02-08 15:44:59.000000000","message":"Every ceph command in here needs to also pass the ceph configuration file so that it will differentiate between the ceph clusters:\n\nEx: ceph -c ${RBD_CEPH_CONF} -s","commit_id":"483cbecefd64d84cfc024629334013ea51c78a28"}],"cinder/templates/deployment-volume.yaml":[{"author":{"_account_id":28883,"name":"Irina Mihai","email":"irina.mihai@windriver.com","username":"irina.mihai.wrs"},"change_message_id":"19d0cb7d17cf7653c5e25a907a37b1e892907981","unresolved":false,"context_lines":[{"line_number":121,"context_line":"            {{- if include \"cinder.utils.is_ceph_volume_configured\" $envAll }}"},{"line_number":122,"context_line":"            - name: etcceph"},{"line_number":123,"context_line":"              mountPath: /etc/ceph"},{"line_number":124,"context_line":"            {{- range $backend_section, $backend_values :\u003d .Values.conf.backends }}"},{"line_number":125,"context_line":"            - name: ceph-etc"},{"line_number":126,"context_line":"              mountPath: {{ $backend_values.rbd_ceph_conf }}"},{"line_number":127,"context_line":"              subPath: {{ base $backend_values.rbd_ceph_conf }}"}],"source_content_type":"text/x-yaml","patch_set":3,"id":"9fdfeff1_5648eb85","line":124,"range":{"start_line":124,"start_character":12,"end_line":124,"end_character":83},"updated":"2019-02-08 15:44:59.000000000","message":"We need\n\n{{- if tuple $backend_section $envAll | include \"cinder.utils.is_rbd_backend\" }}\n\nafter, so the install doesn\u0027t fail if \u0027rbd1\u0027 is overwritten with \"null.\"","commit_id":"483cbecefd64d84cfc024629334013ea51c78a28"},{"author":{"_account_id":28883,"name":"Irina Mihai","email":"irina.mihai@windriver.com","username":"irina.mihai.wrs"},"change_message_id":"19d0cb7d17cf7653c5e25a907a37b1e892907981","unresolved":false,"context_lines":[{"line_number":174,"context_line":"          configMap:"},{"line_number":175,"context_line":"            name: {{ .Values.ceph_client.configmap }}"},{"line_number":176,"context_line":"            defaultMode: 0444"},{"line_number":177,"context_line":"        {{- range $backend_section, $backend_values :\u003d .Values.conf.backends }}"},{"line_number":178,"context_line":"        - name: ceph-keyring-{{- $backend_section }}"},{"line_number":179,"context_line":"          secret:"},{"line_number":180,"context_line":"            secretName: {{ index $envAll.Values.secrets.rbd.volume $backend_section }}"}],"source_content_type":"text/x-yaml","patch_set":3,"id":"9fdfeff1_b6583756","line":177,"range":{"start_line":177,"start_character":8,"end_line":177,"end_character":79},"updated":"2019-02-08 15:44:59.000000000","message":"We need\n\n{{- if tuple $backend_section $envAll | include \"cinder.utils.is_rbd_backend\" }}\n\nafter, same as above.","commit_id":"483cbecefd64d84cfc024629334013ea51c78a28"}],"cinder/templates/job-storage-init.yaml":[{"author":{"_account_id":28883,"name":"Irina Mihai","email":"irina.mihai@windriver.com","username":"irina.mihai.wrs"},"change_message_id":"19d0cb7d17cf7653c5e25a907a37b1e892907981","unresolved":false,"context_lines":[{"line_number":100,"context_line":"        - name: cinder-storage-init-{{- $backend_section | lower }}"},{"line_number":101,"context_line":"{{ tuple $envAll \"cinder_storage_init\" | include \"helm-toolkit.snippets.image\" | indent 10 }}"},{"line_number":102,"context_line":"{{ tuple $envAll $envAll.Values.pod.resources.jobs.storage_init | include \"helm-toolkit.snippets.kubernetes_resources\" | indent 10 }}"},{"line_number":103,"context_line":"          env:"},{"line_number":104,"context_line":"            - name: NAMESPACE"},{"line_number":105,"context_line":"              valueFrom:"},{"line_number":106,"context_line":"                fieldRef:"},{"line_number":107,"context_line":"                  fieldPath: metadata.namespace"},{"line_number":108,"context_line":"            - name: STORAGE_BACKEND"},{"line_number":109,"context_line":"              value: {{ $backend_values.volume_driver | quote }}"},{"line_number":110,"context_line":"            - name: RBD_POOL_NAME"},{"line_number":111,"context_line":"              value: {{ $backend_values.rbd_pool | quote }}"},{"line_number":112,"context_line":"            - name: RBD_POOL_USER"},{"line_number":113,"context_line":"              value: {{ $backend_values.rbd_user | quote }}"},{"line_number":114,"context_line":"            - name: RBD_POOL_CRUSH_RULE"},{"line_number":115,"context_line":"              value: {{ index $envAll.Values.volume.ceph $backend_section \"pool_crush_rule\" | quote }}"},{"line_number":116,"context_line":"            - name: RBD_POOL_REPLICATION"},{"line_number":117,"context_line":"              value: {{ index $envAll.Values.volume.ceph $backend_section \"pool_replication\" | quote }}"},{"line_number":118,"context_line":"            - name: RBD_POOL_PG_NUM"},{"line_number":119,"context_line":"              value: {{ index $envAll.Values.volume.ceph $backend_section \"pool_pg_num\" | quote }}"},{"line_number":120,"context_line":"            - name: RBD_POOL_SECRET"},{"line_number":121,"context_line":"              value: {{ index $envAll.Values.secrets.rbd.volume $backend_section | quote }}"},{"line_number":122,"context_line":"          command:"},{"line_number":123,"context_line":"            - /tmp/storage-init.sh"},{"line_number":124,"context_line":"          volumeMounts:"}],"source_content_type":"text/x-yaml","patch_set":3,"id":"9fdfeff1_f6231fbd","line":121,"range":{"start_line":103,"start_character":10,"end_line":121,"end_character":91},"updated":"2019-02-08 15:44:59.000000000","message":"We also need to pass the ceph config file here to be able to run the ceph commands on the right ceph cluster\n\n- name: RBD_CEPH_CONF\n  value: {{ $backend_values.rbd_ceph_conf | quote }}","commit_id":"483cbecefd64d84cfc024629334013ea51c78a28"},{"author":{"_account_id":28883,"name":"Irina Mihai","email":"irina.mihai@windriver.com","username":"irina.mihai.wrs"},"change_message_id":"19d0cb7d17cf7653c5e25a907a37b1e892907981","unresolved":false,"context_lines":[{"line_number":129,"context_line":"            - name: etcceph"},{"line_number":130,"context_line":"              mountPath: /etc/ceph"},{"line_number":131,"context_line":"            - name: ceph-etc"},{"line_number":132,"context_line":"              mountPath: /etc/ceph/ceph.conf"},{"line_number":133,"context_line":"              subPath: {{ base $backend_values.rbd_ceph_conf }}"},{"line_number":134,"context_line":"              readOnly: true"},{"line_number":135,"context_line":"        {{- end }}"}],"source_content_type":"text/x-yaml","patch_set":3,"id":"9fdfeff1_d18b8565","line":132,"range":{"start_line":132,"start_character":14,"end_line":132,"end_character":44},"updated":"2019-02-08 15:44:59.000000000","message":"This needs to be\nmountPath: {{ $backend_values.rbd_ceph_conf }}","commit_id":"483cbecefd64d84cfc024629334013ea51c78a28"}],"cinder/values.yaml":[{"author":{"_account_id":28883,"name":"Irina Mihai","email":"irina.mihai@windriver.com","username":"irina.mihai.wrs"},"change_message_id":"19d0cb7d17cf7653c5e25a907a37b1e892907981","unresolved":false,"context_lines":[{"line_number":274,"context_line":"  configmap: ceph-etc"},{"line_number":275,"context_line":"  # user_secret_name is to use to get keyring when admin keyring is not defined"},{"line_number":276,"context_line":"  user_secret_name:"},{"line_number":277,"context_line":"    backup: pvc-ceph-backup-client-key"},{"line_number":278,"context_line":"    rbd1: pvc-ceph-rbd1-client-key"},{"line_number":279,"context_line":""},{"line_number":280,"context_line":"backup:"},{"line_number":281,"context_line":"  ceph:"}],"source_content_type":"text/x-yaml","patch_set":3,"id":"9fdfeff1_91789d8f","line":278,"range":{"start_line":277,"start_character":4,"end_line":278,"end_character":34},"updated":"2019-02-08 15:44:59.000000000","message":"Where will these secrets be created? The \u0027pvc-ceph-client-key\u0027 is created in the ceph helm chart.","commit_id":"483cbecefd64d84cfc024629334013ea51c78a28"}]}
