Apex: Remove snapshot workarounds 71/60071/1
authorTim Rozet <trozet@redhat.com>
Sat, 21 Jul 2018 12:49:24 +0000 (08:49 -0400)
committerTim Rozet <trozet@redhat.com>
Sat, 21 Jul 2018 12:49:24 +0000 (08:49 -0400)
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>
jjb/apex/apex-snapshot-deploy.sh

index a6dc190..3b8f3ac 100644 (file)
@@ -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