summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTim Rozet <trozet@redhat.com>2018-07-21 08:49:24 -0400
committerTim Rozet <trozet@redhat.com>2018-07-21 08:49:24 -0400
commitd3b659a9df9f19dc24242fdd3a232d38de6eb4e4 (patch)
treef9a43dc53c52b1508932c9d63206d7262eef42d2
parentc1137281ace0fc072df1f7d22c982737015b8913 (diff)
Apex: Remove snapshot workarounds
There's no need to install java or do the docker workaround anymore after fixes into Apex: https://gerrit.opnfv.org/gerrit/#/c/60053/ Change-Id: I3d7d5fcc066bfb4416fcd3404c89e6e814dbf31e Signed-off-by: Tim Rozet <trozet@redhat.com>
-rw-r--r--jjb/apex/apex-snapshot-deploy.sh5
1 files changed, 0 insertions, 5 deletions
diff --git a/jjb/apex/apex-snapshot-deploy.sh b/jjb/apex/apex-snapshot-deploy.sh
index a6dc190fa..3b8f3ac12 100644
--- a/jjb/apex/apex-snapshot-deploy.sh
+++ b/jjb/apex/apex-snapshot-deploy.sh
@@ -136,11 +136,6 @@ for node_def in ${virsh_vm_defs}; do
sudo virsh define ${node_def}
node=$(echo ${node_def} | awk -F '.' '{print $1}')
sudo cp -f ${node}.qcow2 /var/lib/libvirt/images/
- # FIXME (trozet) install java on each disk image as required to upgrade ODL
- # should be added to Apex as part of the deployment. Remove this after that
- # is complete
- sudo LIBGUESTFS_BACKEND=direct virt-customize --install java-1.8.0-openjdk \
- --run-command "docker update --restart=always opendaylight_api" -a /var/lib/libvirt/images/${node}.qcow2
sudo virsh start ${node}
echo "Node: ${node} started"
done