diff options
author | Dan Radez <dradez@redhat.com> | 2016-06-30 11:59:28 -0400 |
---|---|---|
committer | Dan Radez <dradez@redhat.com> | 2016-07-20 15:28:34 -0400 |
commit | 58f428fdf5b0688fc5a8c5348154da62e087f769 (patch) | |
tree | 73183a3fa5990ea1fd461faae95ae16fed4b1c69 /build/overcloud-full.sh | |
parent | e255c4e1bfc2ab88a8bf0636cd7ca43d30ffb52c (diff) |
Adding tacker support
opnfv-tht-pr: 34
opnfv-puppet-tripleo-pr: 4
JIRA: APEX-126
Change-Id: I050e7ae2e94779c1886f670841aa4e2dec4aa8d2
Signed-off-by: Dan Radez <dradez@redhat.com>
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 |