X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=build%2Fovercloud-opendaylight.sh;h=8d5a2b9ffacff69f88a90dfb800c8755fb56c797;hb=2a2cc6e1196e1ed54e7c4a27418fa44d24b155af;hp=3ce88349bb37ac099511a226a8985583caea681b;hpb=e45742b51011e726f13739698bdae94594709ecd;p=apex.git diff --git a/build/overcloud-opendaylight.sh b/build/overcloud-opendaylight.sh index 3ce88349..8d5a2b9f 100755 --- a/build/overcloud-opendaylight.sh +++ b/build/overcloud-opendaylight.sh @@ -27,18 +27,19 @@ gpgcheck=0 EOF # install ODL packages -# patch puppet-neutron: ODL Bug, Url check reports ODL is up but it's not quite up +# install Jolokia for ODL HA +# Patch in OPNFV custom puppet-tripleO LIBGUESTFS_BACKEND=direct virt-customize \ --upload /tmp/opendaylight.repo:/etc/yum.repos.d/opendaylight.repo \ --install opendaylight,python-networking-odl \ --install https://github.com/michaeltchapman/networking_rpm/raw/master/openstack-neutron-bgpvpn-2015.2-1.el7.centos.noarch.rpm \ + --run-command "wget https://github.com/rhuss/jolokia/releases/download/v1.3.3/jolokia-1.3.3-bin.tar.gz -O /tmp/jolokia-1.3.3-bin.tar.gz" \ + --run-command "tar -xvf /tmp/jolokia-1.3.3-bin.tar.gz -C /opt/opendaylight/system/org" \ -a overcloud-full-opendaylight_build.qcow2 -# install Jolokia for ODL HA -LIBGUESTFS_BACKEND=direct virt-customize \ - --upload ${odl_artifacts_cache}/jolokia.tar.gz:/tmp/ \ - --run-command "tar -xvf /tmp/jolokia.tar.gz -C /opt/opendaylight/system/org" \ - -a overcloud-full-opendaylight_build.qcow2 + # Move these two lines above the -a overcloud-full-opendaylight_build.qcow2 when the patch has been rebased + #--upload ../opnfv-puppet-tripleo.patch:/tmp \ + #--run-command "cd /etc/puppet/modules/tripleo && patch -Np1 < /tmp/opnfv-puppet-tripleo.patch" \ ## WORK AROUND ## when OpenDaylight lands in upstream RDO manager this can be removed