From d4d6db14ddc9f18db286918653745f9bc2e29228 Mon Sep 17 00:00:00 2001 From: Yao Lu Date: Thu, 24 Nov 2016 19:51:55 +0800 Subject: [PATCH] keep mariadb and rabbitmq log Change-Id: I7f0f29907f5b18b2648dc699b5e7169c75ca9bbf Signed-off-by: Yao Lu --- tools/setup/uninstall/uninstall_interface.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tools/setup/uninstall/uninstall_interface.sh b/tools/setup/uninstall/uninstall_interface.sh index ccb22508..bda0ee54 100755 --- a/tools/setup/uninstall/uninstall_interface.sh +++ b/tools/setup/uninstall/uninstall_interface.sh @@ -23,7 +23,7 @@ function uninstall_daisy rpm -e pxe_server_install for i in `ps -elf | grep daisy-api |grep -v grep | awk -F ' ' '{print $4}'`;do kill -9 $i;done for j in `ps -elf | grep daisy-registry |grep -v grep | awk -F ' ' '{print $4}'`;do kill -9 $j;done - for j in `ps -elf | grep rabbitmq |grep -v grep | awk -F ' ' '{print $4}'`;do kill -9 $j;done + for j in `ps -elf | grep daisy-orchestration |grep -v grep | awk -F ' ' '{print $4}'`;do kill -9 $j;done for j in `ps -elf | grep ironic-discoverd |grep -v grep | awk -F ' ' '{print $4}'`;do kill -9 $j;done # delect keystone database delete_keystone_sql="drop database IF EXISTS keystone" @@ -53,10 +53,8 @@ function uninstall_daisy rm -rf /etc/ironic-discoverd rm -rf /etc/sudoers.d/daisy rm -rf /var/lib/daisy - rm -rf /var/log/mariadb/* rm -rf /var/log/daisy rm -rf /var/log/ironic/* - rm -rf /var/log/rabbitmq/* rm -rf /root/daisyrc_admin echo "Finish clean daisy!" }