Skip to content
Snippets Groups Projects
Commit 31b46ce4 authored by Lluis Gifre Renom's avatar Lluis Gifre Renom
Browse files

Scripts:

- Corrected show logs automation
- Cosmetic change in deploy crdb
parent 07b8adea
No related branches found
No related tags found
2 merge requests!294Release TeraFlowSDN 4.0,!282Resolve "(CTTC) Auto-start telemetry collection when a device endpoint is activated"
......@@ -175,6 +175,7 @@ function crdb_drop_databases_single() {
--execute "SHOW DATABASES;" --format=tsv | awk '{print $1}' | grep "^tfs"
)
echo "Found TFS databases: ${DATABASES}" | tr '\n' ' '
echo
for DB_NAME in $DATABASES; do
echo "Dropping TFS database: $DB_NAME"
......@@ -369,6 +370,7 @@ function crdb_drop_databases_cluster() {
--execute "SHOW DATABASES;" --format=tsv | awk '{print $1}' | grep "^tfs"
)
echo "Found TFS databases: ${DATABASES}" | tr '\n' ' '
echo
for DB_NAME in $DATABASES; do
echo "Dropping TFS database: $DB_NAME"
......
......@@ -24,4 +24,4 @@ export TFS_K8S_NAMESPACE=${TFS_K8S_NAMESPACE:-"tfs"}
# Automated steps start here
########################################################################################################################
kubectl --namespace $TFS_K8S_NAMESPACE logs deployment/ztpservice
kubectl --namespace $TFS_K8S_NAMESPACE logs deployment/automationservice
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment