diff options
author | Tim Rozet <trozet@redhat.com> | 2016-07-22 02:41:29 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@172.30.200.206> | 2016-07-22 02:41:29 +0000 |
commit | 66f4a30987f870d5a6416b2c46c7dfb95130b4d9 (patch) | |
tree | b3a74e79b5e145379dbe3995a71bce65847e22bc /build/overcloud-full.sh | |
parent | 605514ba7d4d1d251aaae7018589629cd6e2a1c7 (diff) | |
parent | 58f428fdf5b0688fc5a8c5348154da62e087f769 (diff) |
Merge "Adding tacker support"
Diffstat (limited to 'build/overcloud-full.sh')
-rwxr-xr-x | build/overcloud-full.sh | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/build/overcloud-full.sh b/build/overcloud-full.sh index 675343db..7eb22d1d 100755 --- a/build/overcloud-full.sh +++ b/build/overcloud-full.sh @@ -67,6 +67,14 @@ enabled=1 gpgcheck=0 EOF +cat > /tmp/tacker.repo << EOF +[tacker-trozet] +name=Tacker RPMs built from https://github.com/trozet/ tacker repositories +baseurl=http://radez.fedorapeople.org/tacker/ +enabled=1 +gpgcheck=0 +EOF + # tar up the fd.io module rm -rf puppet-fdio git clone https://github.com/radez/puppet-fdio @@ -79,6 +87,13 @@ rm -rf vsperf vsperf.tar.gz git clone https://gerrit.opnfv.org/gerrit/vswitchperf vsperf tar czf vsperf.tar.gz vsperf +# tar up the tacker puppet module +rm -rf puppet-tacker +git clone https://github.com/radez/puppet-tacker +pushd puppet-tacker > /dev/null +git archive --format=tar.gz --prefix=tacker/ HEAD > ../puppet-tacker.tar.gz +popd > /dev/null + # installing forked opnfv-puppet-tripleo # enable connection tracking for protocal sctp # upload dpdk rpms but do not install @@ -89,6 +104,8 @@ tar czf vsperf.tar.gz vsperf # install fd.io yum repo and packages # upload puppet fdio # git clone vsperf into the overcloud image +# upload tacker repo and install the packages +# upload the tacker puppet module and untar it LIBGUESTFS_BACKEND=direct virt-customize \ --upload ../opnfv-puppet-tripleo.tar.gz:/etc/puppet/modules \ --run-command "if ! rpm -qa | grep python-redis; then yum install -y python-redis; fi" \ @@ -115,6 +132,10 @@ LIBGUESTFS_BACKEND=direct virt-customize \ --run-command "cd /etc/puppet/modules && tar xzf puppet-fdio.tar.gz" \ --upload vsperf.tar.gz:/var/opt \ --run-command "cd /var/opt && tar xzf vsperf.tar.gz" \ + --upload /tmp/tacker.repo:/etc/yum.repos.d/ \ + --install "openstack-tacker,python-tackerclient" \ + --upload puppet-tacker.tar.gz:/etc/puppet/modules/ \ + --run-command "cd /etc/puppet/modules/ && tar xzf puppet-tacker.tar.gz" \ -a overcloud-full_build.qcow2 mv -f overcloud-full_build.qcow2 overcloud-full.qcow2 |