From 17e3108b0c447e4124d973f8458a08d057d30f15 Mon Sep 17 00:00:00 2001 From: Aleksandr Didenko Date: Thu, 30 Jun 2016 12:08:14 +0200 Subject: [PATCH] Save output of mcp-microservice to separate logs --- ccp/ccp-build.sh | 2 +- ccp/ccp-deploy.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ccp/ccp-build.sh b/ccp/ccp-build.sh index 351ec434d..5c7446e01 100755 --- a/ccp/ccp-build.sh +++ b/ccp/ccp-build.sh @@ -38,7 +38,7 @@ build_images() { fi sleep 1 done - mcp-microservices --config-file /root/mcp.conf build + mcp-microservices --config-file /root/mcp.conf build &> /var/log/mcp-build.log } create_mcp_conf diff --git a/ccp/ccp-deploy.sh b/ccp/ccp-deploy.sh index 2f909e842..f59c5ac4a 100755 --- a/ccp/ccp-deploy.sh +++ b/ccp/ccp-deploy.sh @@ -23,5 +23,5 @@ assign_node_roles kubectl delete namespace openstack && while kubectl get namespace | grep -q ^openstack ; do sleep 5; done -mcp-microservices --config-file=/root/mcp.conf deploy -t /root/cluster-topology.yaml +mcp-microservices --config-file=/root/mcp.conf deploy -t /root/cluster-topology.yaml &> /var/log/mcp-deploy.log