Merge "dovetail: add dovetail debug testsuite into apex daily loop"
authorTim Rozet <trozet@redhat.com>
Thu, 2 Mar 2017 03:57:31 +0000 (03:57 +0000)
committerGerrit Code Review <gerrit@opnfv.org>
Thu, 2 Mar 2017 03:57:31 +0000 (03:57 +0000)
jjb/compass4nfv/compass-verify-jobs.yml
jjb/infra/bifrost-cleanup-job.yml
jjb/releng/opnfv-lint.yml
modules/opnfv/deployment/fuel/adapter.py
utils/fetch_os_creds.sh

index d581380..039b30a 100644 (file)
                   node-parameters: true
                   kill-phase-on: FAILURE
                   abort-all-job: true
+                - name: 'opnfv-yamllint-verify-{stream}'
+                  current-parameters: true
+                  node-parameters: true
+                  kill-phase-on: FAILURE
+                  abort-all-job: true
         - multijob:
             name: deploy-virtual
             condition: SUCCESSFUL
index 0ee906f..f1b38ca 100644 (file)
                 file-paths:
                   - compare-type: ANT
                     pattern: 'prototypes/bifrost/**'
-                  - compare-type: ANT
-                    pattern: 'jjb/infra/**'
             readable-message: true
index 37cdef2..166aea8 100644 (file)
                     comment-contains-value: 'reverify'
             projects:
               - project-compare-type: 'REG_EXP'
-                project-pattern: 'compass4nfv'
+                project-pattern: ''
                 branches:
                   - branch-compare-type: 'ANT'
                     branch-pattern: '**/{branch}'
index a71d6cb..a217767 100644 (file)
@@ -176,7 +176,7 @@ class FuelAdapter(manager.DeploymentHandler):
         return version
 
     def get_sdn_version(self):
-        cmd = "apt-cache show opendaylight|grep Version"
+        cmd = "apt-cache policy opendaylight|grep Installed"
         version = None
         for node in self.nodes:
             if manager.Role.ODL in node.roles and node.is_active():
index f00e022..c99afac 100755 (executable)
@@ -201,6 +201,17 @@ elif [ "$installer_type" == "foreman" ]; then
         'source keystonerc_admin;keystone endpoint-list'" \
         | grep $admin_ip | sed 's/ /\n/g' | grep ^http | head -1) &> /dev/null
 
+elif [ "$installer_type" == "daisy" ]; then
+    verify_connectivity $installer_ip
+    cluster=$(sshpass -p r00tme ssh 2>/dev/null $ssh_options root@${installer_ip} \
+            "source ~/daisyrc_admin; daisy cluster-list"|grep active|head -1|awk -F "|" '{print $3}') &> /dev/null
+    if [ -z $cluster ]; then
+        echo "No active cluster detected in daisy"
+        exit 1
+    fi
+
+    sshpass -p r00tme scp 2>/dev/null $ssh_options root@${installer_ip}:/etc/kolla/admin-openrc.sh $dest_path &> /dev/null
+
 else
     error "Installer $installer is not supported by this script"
 fi