bug fixing uCPE 32/1932/2
authorSrinivasan Selvam <srinivasan.s.n@huawei.com>
Thu, 7 Nov 2019 12:21:26 +0000 (17:51 +0530)
committerSrinivasan Selvam <srinivasan.s.n@huawei.com>
Mon, 11 Nov 2019 10:34:44 +0000 (16:04 +0530)
Signed-off-by: Srinivasan Selvam <srinivasan.s.n@huawei.com>
Change-Id: I385213a7fc1c8d23d43e0d155705a34ad6ca5f6e

25 files changed:
blueprints/uCPE/scripts/cadvisorsetup.sh [moved from blueprints/uCPE/cadvisorsetup.sh with 100% similarity]
blueprints/uCPE/scripts/ci_management/cleanup_control.sh [moved from blueprints/uCPE/ci_management/cleanup_control.sh with 81% similarity]
blueprints/uCPE/scripts/ci_management/cleanup_edge.sh [moved from blueprints/uCPE/ci_management/cleanup_edge.sh with 100% similarity]
blueprints/uCPE/scripts/ci_management/cleanup_edge_final.sh [moved from blueprints/uCPE/ci_management/cleanup_edge_final.sh with 100% similarity]
blueprints/uCPE/scripts/ci_management/cleanup_master.sh [moved from blueprints/uCPE/ci_management/cleanup_master.sh with 100% similarity]
blueprints/uCPE/scripts/ci_management/cleanup_prom_cadvisor.sh [moved from blueprints/uCPE/ci_management/cleanup_prom_cadvisor.sh with 91% similarity]
blueprints/uCPE/scripts/ci_management/uninstall_cadvisor.sh [moved from blueprints/uCPE/ci_management/uninstall_cadvisor.sh with 100% similarity]
blueprints/uCPE/scripts/ci_management/uninstall_prometheus.sh [moved from blueprints/uCPE/ci_management/uninstall_prometheus.sh with 100% similarity]
blueprints/uCPE/scripts/cni/calico/calico.yaml [moved from blueprints/uCPE/cni/calico/calico.yaml with 100% similarity]
blueprints/uCPE/scripts/cni/calico/rbac.yaml [moved from blueprints/uCPE/cni/calico/rbac.yaml with 100% similarity]
blueprints/uCPE/scripts/cni/calico/v38/calico.yaml [moved from blueprints/uCPE/cni/calico/v38/calico.yaml with 100% similarity]
blueprints/uCPE/scripts/common.sh [moved from blueprints/uCPE/common.sh with 100% similarity]
blueprints/uCPE/scripts/common_centos.sh [moved from blueprints/uCPE/common_centos.sh with 98% similarity]
blueprints/uCPE/scripts/generatePromeyml.sh [moved from blueprints/uCPE/generatePromeyml.sh with 100% similarity]
blueprints/uCPE/scripts/k8smaster.sh [moved from blueprints/uCPE/k8smaster.sh with 100% similarity]
blueprints/uCPE/scripts/k8smaster_centos.sh [moved from blueprints/uCPE/k8smaster_centos.sh with 98% similarity]
blueprints/uCPE/scripts/k8sworker.sh [moved from blueprints/uCPE/k8sworker.sh with 100% similarity]
blueprints/uCPE/scripts/kubernetes_cleanup.sh [moved from blueprints/uCPE/kubernetes_cleanup.sh with 100% similarity]
blueprints/uCPE/scripts/kubernetes_reset.sh [moved from blueprints/uCPE/kubernetes_reset.sh with 100% similarity]
blueprints/uCPE/scripts/nodelist [moved from blueprints/uCPE/nodelist with 100% similarity]
blueprints/uCPE/scripts/prometheus.sh [moved from blueprints/uCPE/prometheus.sh with 100% similarity]
blueprints/uCPE/scripts/setup.sh [moved from blueprints/uCPE/setup.sh with 94% similarity]
blueprints/uCPE/scripts/src/config_kubeedge [moved from blueprints/uCPE/src/config_kubeedge with 100% similarity]
blueprints/uCPE/scripts/src/kubeedge_setup.sh [moved from blueprints/uCPE/src/kubeedge_setup.sh with 93% similarity]
blueprints/uCPE/scripts/verifyk8s.sh [moved from blueprints/uCPE/verifyk8s.sh with 100% similarity]

@@ -21,17 +21,17 @@ kubectl delete -f $TESTYAML
 exec_edge_master(){
 
    sshpass -p ${EDGENODEPASSWORD} \
-   scp ${PATH_OF_ELIOTFOLDER}/scripts/ci_management/cleanup_edge.sh \
+   scp ${PATH_OF_ELIOTFOLDER}/blueprints/uCPE/scripts/ci_management/cleanup_edge.sh \
    ${EDGENODEUSR}@${EDGENODEIP}:$HOME_EDGENODE
 
    sshpass -p ${EDGENODEPASSWORD} ssh ${EDGENODEUSR}@${EDGENODEIP} \
    source cleanup_edge.sh
 
-   cd $PATH_OF_ELIOTFOLDER/scripts/ci_management
+   cd $PATH_OF_ELIOTFOLDER/blueprints/uCPE/scripts/ci_management
    source cleanup_master.sh
-
+f
    sshpass -p ${EDGENODEPASSWORD} \
-   scp ${PATH_OF_ELIOTFOLDER}/scripts/ci_management/cleanup_edge_final.sh \
+   scp ${PATH_OF_ELIOTFOLDER}/blueprints/uCPE/scripts/ci_management/cleanup_edge_final.sh \
    ${EDGENODEUSR}@${EDGENODEIP}:$HOME_EDGENODE
 
    sshpass -p ${EDGENODEPASSWORD} ssh ${EDGENODEUSR}@${EDGENODEIP} \
@@ -15,7 +15,7 @@
 source uninstall_prometheus.sh | tee uninstall_prometheus.log
 
 #stop cadvisor statement executed at ELIOT Edge Node
-stop_cadvisor_atedge="cd eliot/scripts/ci_management && source uninstall_cadvisor.sh"
+stop_cadvisor_atedge="cd eliot/blueprints/uCPE/scripts/ci_management && source uninstall_cadvisor.sh"
 # Read all the Worker Node details from nodelist file.
 while read line
 do
similarity index 98%
rename from blueprints/uCPE/common_centos.sh
rename to blueprints/uCPE/scripts/common_centos.sh
index 1fb51b3..d833198 100755 (executable)
@@ -12,7 +12,7 @@
 # constants
 
 DOCKER_VERSION=18.09.6
-KUBE_VERSION=1.15.0-0
+KUBE_VERSION=1.16.0-0
 MACHINE=$(uname -m)
 
 # start
similarity index 98%
rename from blueprints/uCPE/k8smaster_centos.sh
rename to blueprints/uCPE/scripts/k8smaster_centos.sh
index c78bc0d..69c3ef9 100755 (executable)
@@ -11,7 +11,7 @@
 # constants
 
 POD_NETWORK_CIDR=192.168.0.0/16
-KUBE_VERSION=1.15.0-0
+KUBE_VERSION=1.16.0-0
 KUBERNETES_CNI=0.7.5-0
 
 # start
similarity index 94%
rename from blueprints/uCPE/setup.sh
rename to blueprints/uCPE/scripts/setup.sh
index b13077f..a4b0b1d 100755 (executable)
@@ -56,9 +56,9 @@ setup_k8sworkers()
   # Install Docker on ELIOT Node
   SETUP_WORKER_COMMON="sudo rm -rf ~/eliot &&\
                        git clone ${ELIOT_REPO} &&\
-                       cd eliot/scripts/ && source common.sh"
+                       cd eliot/blueprints/uCPE/scripts/ && source common.sh"
   #SETUP_WORKER_COMMON="cd eliot/scripts/ && source common.sh"
-  SETUP_WORKER="cd eliot/scripts/ && source k8sworker.sh"
+  SETUP_WORKER="cd eliot/blueprints/uCPE/scripts/ && source k8sworker.sh"
 
   KUBEADM_TOKEN=$(kubeadm token create --print-join-command)
   KUBEADM_JOIN="sudo ${KUBEADM_TOKEN}"
@@ -100,7 +100,7 @@ setup_k8sworkers_centos()
 
   SETUP_WORKER_COMMON_CENTOS="sudo rm -rf ~/eliot &&\
                               git clone ${ELIOT_REPO} &&\
-                              cd eliot/scripts/ && source common_centos.sh"
+                              cd eliot/blueprints/uCPE/scripts/ && source common_centos.sh"
 
   # SETUP_WORKER_COMMON_CENTOS="cd /root/eliot/scripts/ && source common_centos.sh"
 
@@ -130,7 +130,7 @@ verify_k8s_status(){
 
 install_cadvisor_edge(){
  set -o xtrace
- SETUP_CADVISOR_ATEDGE="cd eliot/scripts/ && source cadvisorsetup.sh"
+ SETUP_CADVISOR_ATEDGE="cd eliot/blueprints/uCPE/scripts/ && source cadvisorsetup.sh"
  while read line
  do
      nodeinfo="${line}"
similarity index 93%
rename from blueprints/uCPE/src/kubeedge_setup.sh
rename to blueprints/uCPE/scripts/src/kubeedge_setup.sh
index 86f6bbc..de5b9e6 100755 (executable)
@@ -11,7 +11,7 @@
 #Constants
 KUBEEDGE_SRC="$GOPATH/src/github.com/kubeedge/kubeedge"
 KUBEEDGE_BIN="$GOPATH/src/github.com/kubeedge/kubeedge/keadm"
-VERIFY_K8S="$PATH_OF_ELIOTFOLDER/scripts/verifyk8s.sh"
+VERIFY_K8S="$PATH_OF_ELIOTFOLDER/blueprints/uCPE/scripts/verifyk8s.sh"
 
 { set +x; } > /dev/null 2>&1
 
@@ -72,10 +72,10 @@ execute_keedge_controller(){
 
 exec_edge(){
 
-    cd $PATH_OF_ELIOTFOLDER/scripts/src
+    cd $PATH_OF_ELIOTFOLDER/blueprints/uCPE/scripts/src
 
     sshpass -p ${EDGENODEPASSWORD} \
-    scp $PATH_OF_ELIOTFOLDER/scripts/src/config_kubeedge \
+    scp $PATH_OF_ELIOTFOLDER/blueprints/uCPE/scripts/src/config_kubeedge \
     ${EDGENODEUSR}@${EDGENODEIP}:$HOME_EDGENODE
 
     sshpass -p ${EDGENODEPASSWORD} ssh ${EDGENODEUSR}@${EDGENODEIP} \