Also includes minor change for tox working directory to move up one dir
(build dir) for congress. This is due to https://github.com/tox-dev/tox/issues/66
Removes networking_bgpvpn.conf, and uses neutron service_providers to
set. This is because we do not have upstream patches to configure
bgpvpn conf file via OOO and having 2 definitions breaks deploy.
Change-Id: I9846bd959c1ed8e2e81f3ae30470ec357da3fc8f
Signed-off-by: Tim Rozet <trozet@redhat.com>
--upload ${BUILD_DIR}/puppet-opendaylight.tar.gz:/etc/puppet/modules/ \
--run-command "cd /etc/puppet/modules/ && tar xzf puppet-opendaylight.tar.gz" \
--upload ${BUILD_DIR}/networking-bgpvpn.tar.gz:/root/ \
- --run-command "cd /root/ && tar xzf networking-bgpvpn.tar.gz && cd networking-bgpvpn/ && yum localinstall python2-networking-bgpvpn && rm -rf /root/networking-bgpvpn*" \
+ --run-command "cd /root/ && tar xzf networking-bgpvpn.tar.gz && cd networking-bgpvpn/ && yum localinstall -y *.rpm && rm -rf /root/networking-bgpvpn*" \
+ --run-command "rm -f /etc/neutron/networking_bgpvpn.conf" \
+ --run-command "touch /etc/neutron/networking_bgpvpn.conf" \
-a overcloud-full-opendaylight_build.qcow2
mv overcloud-full-opendaylight_build.qcow2 overcloud-full-opendaylight.qcow2
install etc/api-paste.ini %{buildroot}/etc/congress/api-paste.ini
install etc/policy.json %{buildroot}/etc/congress/policy.json
-tox -egenconfig
+tox -e genconfig --workdir ../.tox
install etc/congress.conf.sample %{buildroot}/etc/congress/congress.conf
install -p -D -m 644 openstack-congress.service %{buildroot}%{_unitdir}/openstack-congress.service