)]}'
{"helm-toolkit/templates/scripts/db-backup-restore/_backup_main.sh.tpl":[{"author":{"_account_id":14029,"name":"Alexander Vlasov","email":"vlasov.alexandr89@gmail.com","username":"avlasov"},"change_message_id":"2d093b855b941b85df050a634b89fef57ee3b892","unresolved":false,"context_lines":[{"line_number":126,"context_line":"    echo $RESULT | grep $CONTAINER_NAME"},{"line_number":127,"context_line":"    if [[ $? !\u003d 0 ]]; then"},{"line_number":128,"context_line":"      # Create the container"},{"line_number":129,"context_line":"      openstack container create $CONTAINER_NAME || log ERROR \"${DB_NAME}_backup\" \"Cannot create container ${CONTAINER_NAME}!\""},{"line_number":130,"context_line":"      openstack container show $CONTAINER_NAME"},{"line_number":131,"context_line":"      if [[ $? !\u003d 0 ]]; then"},{"line_number":132,"context_line":"        log ERROR \"${DB_NAME}_backup\" \"Error retrieving container $CONTAINER_NAME after creation.\""}],"source_content_type":"text/x-smarty","patch_set":8,"id":"ff570b3c_f9c7ba44","line":129,"range":{"start_line":129,"start_character":6,"end_line":129,"end_character":32},"updated":"2020-05-11 18:16:12.000000000","message":"If we want to store data in the correct pool we will need to set correct header.\nExample using opnestack cli and curl(since neither openstack cli nor swift cli \ncan\u0027t do this reliably atm):\n1) first get keystone token\n\u0027openstack token issue\u0027 \nand save id as TOKEN for example\n2) Upload example\n curl -g -i -v -X PUT \\\n  http://ceph-rgw-endpoint:8088/swift/v1/KEY_${PROJECT_ID}/${CONTAINER_NAME} \\\n  -H \"X-Auth-Token: ${TOKEN}\" \\\n  -H \"X-Storage-Policy: ${STORAGE_POLICY}\"\n\nstorage_policy probably should also come from values/overrides and \nrequire env var to be set","commit_id":"23f3fbe59d3155a9e25e175bff1eef2ae0644fcf"},{"author":{"_account_id":14029,"name":"Alexander Vlasov","email":"vlasov.alexandr89@gmail.com","username":"avlasov"},"change_message_id":"dac6d445810a1c5c27958b507032f20b3756bcfd","unresolved":false,"context_lines":[{"line_number":126,"context_line":"    echo $RESULT | grep $CONTAINER_NAME"},{"line_number":127,"context_line":"    if [[ $? !\u003d 0 ]]; then"},{"line_number":128,"context_line":"      # Create the container"},{"line_number":129,"context_line":"      openstack container create $CONTAINER_NAME || log ERROR \"${DB_NAME}_backup\" \"Cannot create container ${CONTAINER_NAME}!\""},{"line_number":130,"context_line":"      openstack container show $CONTAINER_NAME"},{"line_number":131,"context_line":"      if [[ $? !\u003d 0 ]]; then"},{"line_number":132,"context_line":"        log ERROR \"${DB_NAME}_backup\" \"Error retrieving container $CONTAINER_NAME after creation.\""}],"source_content_type":"text/x-smarty","patch_set":10,"id":"ff570b3c_98f823c5","line":129,"range":{"start_line":129,"start_character":26,"end_line":129,"end_character":32},"updated":"2020-05-12 14:25:02.000000000","message":"If we want to store data in the correct pool we will need to set correct header.\nExample using opnestack cli and curl(since neither openstack cli nor swift cli \ncan\u0027t do this reliably atm):\n1) first get keystone token\n\u0027openstack token issue\u0027 \nand save id as TOKEN for example\n2) Upload example\n curl -g -i -v -X PUT \\\n  http://ceph-rgw-endpoint:8088/swift/v1/KEY_${PROJECT_ID}/${CONTAINER_NAME} \\\n  -H \"X-Auth-Token: ${TOKEN}\" \\\n  -H \"X-Storage-Policy: ${STORAGE_POLICY}\"\nstorage_policy probably should also come from values/overrides and \nrequire env var to be set","commit_id":"0fff8891d1635410982784f8653538a06feb54ad"}],"helm-toolkit/templates/scripts/db-backup-restore/_restore_main.sh.tpl":[{"author":{"_account_id":18236,"name":"Sophie Huang","email":"sophieh01@yahoo.com","username":"SophieHuang"},"change_message_id":"90fe5126eaead8f12b42a7a5f0e99de9aaf71856","unresolved":false,"context_lines":[{"line_number":109,"context_line":"  rm -rf $TMP_DIR"},{"line_number":110,"context_line":"  rm -f $DB_FILE"},{"line_number":111,"context_line":""},{"line_number":112,"context_line":"  if [[ \"x${MSG}\" !\u003d \"x\" ]]; then"},{"line_number":113,"context_line":"    echo $MSG"},{"line_number":114,"context_line":"  fi"},{"line_number":115,"context_line":"  exit $RETCODE"}],"source_content_type":"text/x-smarty","patch_set":15,"id":"ff570b3c_996da906","line":112,"range":{"start_line":112,"start_character":18,"end_line":112,"end_character":20},"updated":"2020-05-13 15:25:26.000000000","message":"-ne Please do a global replacement","commit_id":"34b39b4086fda962be2339b81ffee5f79cd6bc10"},{"author":{"_account_id":22636,"name":"Cliff Parsons","email":"cliffhparsons@aol.com","username":"cliffparsons"},"change_message_id":"2e2ebaf73e341b12b2b4dd664af28e7092d1217d","unresolved":false,"context_lines":[{"line_number":109,"context_line":"  rm -rf $TMP_DIR"},{"line_number":110,"context_line":"  rm -f $DB_FILE"},{"line_number":111,"context_line":""},{"line_number":112,"context_line":"  if [[ \"x${MSG}\" !\u003d \"x\" ]]; then"},{"line_number":113,"context_line":"    echo $MSG"},{"line_number":114,"context_line":"  fi"},{"line_number":115,"context_line":"  exit $RETCODE"}],"source_content_type":"text/x-smarty","patch_set":15,"id":"ff570b3c_c45f343f","line":112,"range":{"start_line":112,"start_character":18,"end_line":112,"end_character":20},"in_reply_to":"ff570b3c_996da906","updated":"2020-05-13 15:57:24.000000000","message":"I didn\u0027t want to do global replacement because I want to leave \u003d\u003d and !\u003d for string comparisons.","commit_id":"34b39b4086fda962be2339b81ffee5f79cd6bc10"},{"author":{"_account_id":18236,"name":"Sophie Huang","email":"sophieh01@yahoo.com","username":"SophieHuang"},"change_message_id":"90fe5126eaead8f12b42a7a5f0e99de9aaf71856","unresolved":false,"context_lines":[{"line_number":130,"context_line":"    fi"},{"line_number":131,"context_line":"  else"},{"line_number":132,"context_line":"    echo $RESULT | grep \"HTTP 401\""},{"line_number":133,"context_line":"    if [[ $? \u003d\u003d 0 ]]; then"},{"line_number":134,"context_line":"      echo \"Could not access the container: ${RESULT}\""},{"line_number":135,"context_line":"      return 1"},{"line_number":136,"context_line":"    else"}],"source_content_type":"text/x-smarty","patch_set":15,"id":"ff570b3c_f954a523","line":133,"range":{"start_line":133,"start_character":13,"end_line":133,"end_character":15},"updated":"2020-05-13 15:25:26.000000000","message":"-eq\nPlease do a global replacement","commit_id":"34b39b4086fda962be2339b81ffee5f79cd6bc10"},{"author":{"_account_id":22636,"name":"Cliff Parsons","email":"cliffhparsons@aol.com","username":"cliffparsons"},"change_message_id":"2e2ebaf73e341b12b2b4dd664af28e7092d1217d","unresolved":false,"context_lines":[{"line_number":130,"context_line":"    fi"},{"line_number":131,"context_line":"  else"},{"line_number":132,"context_line":"    echo $RESULT | grep \"HTTP 401\""},{"line_number":133,"context_line":"    if [[ $? \u003d\u003d 0 ]]; then"},{"line_number":134,"context_line":"      echo \"Could not access the container: ${RESULT}\""},{"line_number":135,"context_line":"      return 1"},{"line_number":136,"context_line":"    else"}],"source_content_type":"text/x-smarty","patch_set":15,"id":"ff570b3c_045acc4d","line":133,"range":{"start_line":133,"start_character":13,"end_line":133,"end_character":15},"in_reply_to":"ff570b3c_f954a523","updated":"2020-05-13 15:57:24.000000000","message":"I will change these for numerical comparisons.  But I didn\u0027t want to do global replacement because I want to leave \u003d\u003d and !\u003d for string comparisons.","commit_id":"34b39b4086fda962be2339b81ffee5f79cd6bc10"},{"author":{"_account_id":20466,"name":"Tin Lam","email":"tin@lam.wtf","username":"tinlam"},"change_message_id":"021e6f9110f3799428dd603e96ff2e9001e30441","unresolved":false,"context_lines":[{"line_number":117,"context_line":""},{"line_number":118,"context_line":"# Retrieve a list of archives from the RGW."},{"line_number":119,"context_line":"retrieve_remote_listing() {"},{"line_number":120,"context_line":"  RESULT\u003d$(openstack container show $CONTAINER_NAME 2\u003e\u00261)"},{"line_number":121,"context_line":"  if [[ $? -eq 0 ]]; then"},{"line_number":122,"context_line":"    # Get the list, ensureing that we only pick up the right kind of backups from the"},{"line_number":123,"context_line":"    # requested namespace"}],"source_content_type":"text/x-smarty","patch_set":16,"id":"ff570b3c_5a093c93","line":120,"range":{"start_line":120,"start_character":52,"end_line":120,"end_character":57},"updated":"2020-05-13 19:10:40.000000000","message":"is something expected to go into stderr?","commit_id":"5a2babd514698cf38b94a350510bf27dfcc2c65a"},{"author":{"_account_id":22636,"name":"Cliff Parsons","email":"cliffhparsons@aol.com","username":"cliffparsons"},"change_message_id":"e0652459ef3911b1891cc13b434f8549ef73bdb0","unresolved":false,"context_lines":[{"line_number":117,"context_line":""},{"line_number":118,"context_line":"# Retrieve a list of archives from the RGW."},{"line_number":119,"context_line":"retrieve_remote_listing() {"},{"line_number":120,"context_line":"  RESULT\u003d$(openstack container show $CONTAINER_NAME 2\u003e\u00261)"},{"line_number":121,"context_line":"  if [[ $? -eq 0 ]]; then"},{"line_number":122,"context_line":"    # Get the list, ensureing that we only pick up the right kind of backups from the"},{"line_number":123,"context_line":"    # requested namespace"}],"source_content_type":"text/x-smarty","patch_set":16,"id":"ff570b3c_2b92389f","line":120,"range":{"start_line":120,"start_character":52,"end_line":120,"end_character":57},"in_reply_to":"ff570b3c_5a093c93","updated":"2020-05-13 21:17:00.000000000","message":"Yes.  when there is a problem on cloudharbor, like keystone service not available for example, then the following string is sent to stderr: \"Failed to discover available identity versions when contacting https://iam-nc.auk51z.ti.att.com/v3. Attempting to parse version from URL.\"  There is also some text that prints out to stdout, but not all of it.","commit_id":"5a2babd514698cf38b94a350510bf27dfcc2c65a"}],"postgresql/templates/cron-job-backup-postgres.yaml":[{"author":{"_account_id":30746,"name":"Travis Neely","email":"travis.neely@att.com","username":"travis.neely@att.com"},"change_message_id":"28be37e76d775517abb854cb03fc9357a9d50aa2","unresolved":false,"context_lines":[{"line_number":87,"context_line":"                  value: \"{{ .Values.conf.backup.remote_backup.enabled }}\""},{"line_number":88,"context_line":"{{- if .Values.conf.backup.remote_backup.enabled }}"},{"line_number":89,"context_line":"                - name: POSTGRESQL_REMOTE_BACKUP_DAYS_TO_KEEP"},{"line_number":90,"context_line":"                  value: \"{{ .Values.conf.backup.remote_backup.days_of_backup_to_keep }}\""},{"line_number":91,"context_line":"                - name: CONTAINER_NAME"},{"line_number":92,"context_line":"                  value: \"{{ .Values.conf.backup.remote_backup.container_name }}\""},{"line_number":93,"context_line":"{{- with $env :\u003d dict \"ksUserSecret\" $envAll.Values.secrets.identity.postgresql }}"}],"source_content_type":"text/x-yaml","patch_set":8,"id":"ff570b3c_3e8e3878","line":90,"range":{"start_line":90,"start_character":63,"end_line":90,"end_character":85},"updated":"2020-05-11 17:00:06.000000000","message":"Would it make sense to rename the value to more closely match the name:\ninstead of days_of_backup_to_keep, maybe use days_to_keep?","commit_id":"23f3fbe59d3155a9e25e175bff1eef2ae0644fcf"}],"postgresql/values.yaml":[{"author":{"_account_id":30746,"name":"Travis Neely","email":"travis.neely@att.com","username":"travis.neely@att.com"},"change_message_id":"28be37e76d775517abb854cb03fc9357a9d50aa2","unresolved":false,"context_lines":[{"line_number":374,"context_line":"    remote_backup:"},{"line_number":375,"context_line":"      enabled: false"},{"line_number":376,"context_line":"      container_name: postgresql"},{"line_number":377,"context_line":"      days_of_backup_to_keep: 14"},{"line_number":378,"context_line":""},{"line_number":379,"context_line":"  exporter:"},{"line_number":380,"context_line":"    queries:"}],"source_content_type":"text/x-yaml","patch_set":8,"id":"ff570b3c_be26c8b6","line":377,"range":{"start_line":377,"start_character":6,"end_line":377,"end_character":28},"updated":"2020-05-11 17:00:06.000000000","message":"Same as my other comment.","commit_id":"23f3fbe59d3155a9e25e175bff1eef2ae0644fcf"}]}
