Uploaded image for project: 'Integration'
  1. Integration
  2. INT-1484

cleanup.sh has hardcoded pod-names for cassandra and mariadb

XMLWordPrintable

      deployment/heat/onap-rke/scripts/cleanup.sh

      contains specific DB cleanup actions for SO, SDNC and SDC.
      These actions have hardcoded pod-names and fail e.g. in the E2E Integration lab.

      if [ $COMPONENT == "sdnc" ]; then
              for database in sdnctl; do
                      kubectl -n $NAMESPACE exec dev-mariadb-galera-mariadb-galera-0 -- mysql -uroot -psecretpassword -e "drop database ${database}"
              done
      fi
      

            andreasgeissler Andreas Geissler
            andreasgeissler Andreas Geissler
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: