summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorDan Radez <dradez@redhat.com>2017-03-30 23:03:43 -0400
committerDan Radez <dradez@redhat.com>2017-05-09 15:09:42 -0400
commitac3a86983e4c049a3115c7bd77eeacaeb19d0ca3 (patch)
treeed0c27aa4853848b0e47e3ce3de25dfb23bfc8df /build
parentef3dc1ce0323fa0881e416cd4b9028fb4250b719 (diff)
Updating Apex to OpenStack Ocata
- power management updated to virtualbmc, pxe_ssh is deprecated - removing custom tacker build - removing custom congress build - disabling yum update in undercloud on the cli instead of in a patch - Undercloud is direct kernel booted now, there are no kernel and initrd in the disk image from upstream - remove OpenDaylight previous to Carbon JIRA: APEX-433 JIRA: APEX-432 JIRA: APEX-431 Change-Id: I6963f16e65eacade5607a3082b58b6150331406c Signed-off-by: Dan Radez <dradez@redhat.com>
Diffstat (limited to 'build')
-rw-r--r--build/Makefile77
-rw-r--r--build/cache.sh2
-rw-r--r--build/functions.sh2
-rw-r--r--build/opnfv-environment.yaml46
-rwxr-xr-xbuild/overcloud-full.sh47
-rwxr-xr-xbuild/overcloud-opendaylight.sh34
-rw-r--r--build/patches/0001-Removes-doing-yum-update.patch25
-rw-r--r--build/patches/puppet-neutron-add-odl-settings.patch47
-rw-r--r--build/patches/puppet-neutron-vpp-ml2.patch244
-rw-r--r--build/rpm_specs/openstack-congress-server.service13
-rw-r--r--build/rpm_specs/openstack-congress.spec77
-rw-r--r--build/rpm_specs/openstack-tacker-server.service15
-rw-r--r--build/rpm_specs/openstack-tacker.spec84
-rw-r--r--build/rpm_specs/opnfv-apex-common.spec8
-rw-r--r--build/rpm_specs/opnfv-apex-release.spec2
-rw-r--r--build/rpm_specs/opnfv-apex-undercloud.spec2
-rw-r--r--build/rpm_specs/python-tackerclient.spec44
-rwxr-xr-xbuild/undercloud.sh18
-rw-r--r--build/variables.sh20
19 files changed, 56 insertions, 751 deletions
diff --git a/build/Makefile b/build/Makefile
index ed983256..2df41424 100644
--- a/build/Makefile
+++ b/build/Makefile
@@ -13,18 +13,6 @@ export RELEASE = "0"
export RPM_DIST = $(shell rpm -E %dist)
-export TACKER_REPO := $(shell awk -F\= '/^tacker_repo/ {print $$2}' variables.sh )
-export TACKER_BRANCH := $(shell awk -F\= '/^tacker_branch/ {print $$2}' variables.sh )
-export TACKER_COMMIT := $(shell git ls-remote $(TACKER_REPO) $(TACKER_BRANCH) | awk '{print substr($$1,1,7)}')
-
-export TACKERCLIENT_REPO := $(shell awk -F\= '/^tackerclient_repo/ {print $$2}' variables.sh )
-export TACKERCLIENT_BRANCH := $(shell awk -F\= '/^tackerclient_branch/ {print $$2}' variables.sh )
-export TACKERCLIENT_COMMIT := $(shell git ls-remote $(TACKERCLIENT_REPO) $(TACKERCLIENT_BRANCH) | awk '{print substr($$1,1,7)}')
-
-export CONGRESS_REPO := $(shell awk -F\= '/^congress_repo/ {print $$2}' variables.sh )
-export CONGRESS_BRANCH := $(shell awk -F\= '/^congress_branch/ {print $$2}' variables.sh )
-export CONGRESS_COMMIT := $(shell git ls-remote $(CONGRESS_REPO) $(CONGRESS_BRANCH) | awk '{print substr($$1,1,7)}')
-
export NETVPP_VERS := $(shell grep Version $(shell pwd)/rpm_specs/networking-vpp.spec | head -n 1 | awk '{ print $$2 }')
export NETVPP_REPO := $(shell awk -F\= '/^netvpp_repo/ {print $$2}' variables.sh )
export NETVPP_BRANCH := $(shell awk -F\= '/^netvpp_branch/ {print $$2}' variables.sh )
@@ -129,61 +117,6 @@ python-pep8-check:
pep8 ../lib/python
pep8 ../tests
-###############
-# TACKER #
-###############
-
-$(BUILD_DIR)/openstack-tacker.tar.gz:
- @echo "Preparing the Tacker RPM prerequisites"
- git clone $(TACKER_REPO) -b $(TACKER_BRANCH) $(BUILD_DIR)/openstack-tacker-2016.2
- cp rpm_specs/openstack-tacker-server.service $(BUILD_DIR)/openstack-tacker-2016.2
- tar czf $(BUILD_DIR)/openstack-tacker.tar.gz -C $(BUILD_DIR) openstack-tacker-2016.2
-
-.PHONY: tacker-rpm
-tacker-rpm: $(BUILD_DIR)/openstack-tacker.tar.gz $(BUILD_DIR)/noarch/openstack-tacker-2016.2-1.git$(TACKER_COMMIT).noarch.rpm
-
-$(BUILD_DIR)/noarch/openstack-tacker-2016.2-1.git$(TACKER_COMMIT).noarch.rpm:
- @echo "Building the Tacker RPM"
- rpmbuild --clean -ba --target noarch rpm_specs/openstack-tacker.spec $(RPM_DIR_ARGS) -D 'git .git$(TACKER_COMMIT)'
-
-#################
-# TACKERCLIENT #
-#################
-
-$(BUILD_DIR)/python-tackerclient.tar.gz:
- @echo "Preparing the TackerClient RPM prerequisites"
- git clone $(TACKERCLIENT_REPO) -b $(TACKERCLIENT_BRANCH) $(BUILD_DIR)/python-tackerclient-2016.2
- tar czf $(BUILD_DIR)/python-tackerclient.tar.gz -C $(BUILD_DIR) python-tackerclient-2016.2
-
-.PHONY: tackerclient-rpm
-tackerclient-rpm: $(BUILD_DIR)/python-tackerclient.tar.gz $(BUILD_DIR)/noarch/python-tackerclient-2016.2-1.git$(TACKERCLIENT_COMMIT).noarch.rpm
-
-$(BUILD_DIR)/noarch/python-tackerclient-2016.2-1.git$(TACKERCLIENT_COMMIT).noarch.rpm:
- @echo "Building the TackerClient RPM"
- rpmbuild --clean -ba --target noarch rpm_specs/python-tackerclient.spec $(RPM_DIR_ARGS) -D 'git .git$(TACKERCLIENT_COMMIT)'
-
-###############
-# CONGRESS #
-###############
-
-.PHONY: congress-clean
-congress-clean:
- @rm -rf $(BUILD_DIR)/openstack-congress-2016.2
- @rm -f $(BUILD_DIR)/openstack-congress.tar.gz
-
-$(BUILD_DIR)/openstack-congress.tar.gz:
- @echo "Preparing the Congress RPM prerequisites"
- git clone $(CONGRESS_REPO) -b $(CONGRESS_BRANCH) $(BUILD_DIR)/openstack-congress-2016.2
- cp rpm_specs/openstack-congress-server.service $(BUILD_DIR)/openstack-congress-2016.2
- tar czf $(BUILD_DIR)/openstack-congress.tar.gz -C $(BUILD_DIR) openstack-congress-2016.2
-
-.PHONY: congress-rpm
-congress-rpm: $(BUILD_DIR)/noarch/openstack-congress-2016.2-1.git$(CONGRESS_COMMIT).noarch.rpm
-
-$(BUILD_DIR)/noarch/openstack-congress-2016.2-1.git$(CONGRESS_COMMIT).noarch.rpm: $(BUILD_DIR)/openstack-congress.tar.gz
- @echo "Building the Congress RPM"
- rpmbuild --clean -ba --target noarch rpm_specs/openstack-congress.spec $(RPM_DIR_ARGS) -D 'git .git$(CONGRESS_COMMIT)'
-
##################
# NETWORKING-VPP #
##################
@@ -194,9 +127,9 @@ $(BUILD_DIR)/python-networking-vpp.tar.gz:
tar czf $(BUILD_DIR)/python-networking-vpp.tar.gz -C $(BUILD_DIR) python-networking-vpp-$(NETVPP_VERS)
.PHONY: networking-vpp-rpm
-networking-vpp-rpm: $(BUILD_DIR)/noarch/python-networking-vpp-$(NETVPP_VERS)-1.git$(NETVPP_COMMIT)$(RPM_DIST).noarch.rpm
+networking-vpp-rpm: $(BUILD_DIR)/noarch/python-networking-vpp-*.noarch.rpm
-$(BUILD_DIR)/noarch/python-networking-vpp-$(NETVPP_VERS)-1.git$(NETVPP_COMMIT)$(RPM_DIST).noarch.rpm: $(BUILD_DIR)/python-networking-vpp.tar.gz
+$(BUILD_DIR)/noarch/python-networking-vpp-*.noarch.rpm: $(BUILD_DIR)/python-networking-vpp.tar.gz
@echo "Building the Networking VPP RPM"
rpmbuild --clean -ba --target noarch rpm_specs/networking-vpp.spec $(RPM_DIR_ARGS) -D 'git .git$(NETVPP_COMMIT)'
@@ -207,7 +140,7 @@ $(BUILD_DIR)/noarch/python-networking-vpp-$(NETVPP_VERS)-1.git$(NETVPP_COMMIT)$(
.PHONY: undercloud
undercloud: $(BUILD_DIR)/undercloud.qcow2
-$(BUILD_DIR)/undercloud.qcow2: tackerclient-rpm
+$(BUILD_DIR)/undercloud.qcow2:
@echo "Building the Apex Undercloud Image"
@./undercloud.sh
@@ -236,7 +169,7 @@ $(RPMUDR):
.PHONY: overcloud-full
overcloud-full: $(BUILD_DIR)/overcloud-full.qcow2
-$(BUILD_DIR)/overcloud-full.qcow2: congress-rpm tacker-rpm networking-vpp-rpm
+$(BUILD_DIR)/overcloud-full.qcow2: $(BUILD_DIR)/noarch/python-networking-vpp-*.noarch.rpm
@echo "Building the Apex Base Overcloud Image"
@./overcloud-full.sh
@@ -329,7 +262,7 @@ iso: iso-clean images rpms $(CENTISO)
@ln $(RPMUDR) $(BUILD_DIR)/centos/Packages
@ln $(RPMODL) $(BUILD_DIR)/centos/Packages
# add packages to the centos packages
- cd $(BUILD_DIR)/centos/Packages && yumdownloader openvswitch openstack-tripleo jq python34 python34-libs python34-yaml python34-setuptools ipxe-roms-qemu
+ cd $(BUILD_DIR)/centos/Packages && yumdownloader openvswitch openstack-tripleo jq python34 python34-libs python34-PyYAML python34-setuptools ipxe-roms-qemu
cd $(BUILD_DIR)/centos/Packages && curl -O https://radez.fedorapeople.org/python34-markupsafe-0.23-9.el7.centos.x86_64.rpm
cd $(BUILD_DIR)/centos/Packages && curl -O https://radez.fedorapeople.org/python3-jinja2-2.8-5.el7.centos.noarch.rpm
cd $(BUILD_DIR)/centos/Packages && curl -O http://artifacts.opnfv.org/apex/dependencies/python3-ipmi-0.3.0-1.noarch.rpm
diff --git a/build/cache.sh b/build/cache.sh
index 4c530b02..17f0db2e 100644
--- a/build/cache.sh
+++ b/build/cache.sh
@@ -21,7 +21,7 @@ function cache_dir {
# $2 = filename to write to
function curl_file {
if [ -f $CACHE_DIR/$2 ]; then
- echo "Removing stale $2"
+ echo "Removing stale $2"
rm -f $CACHE_DIR/$2
fi
echo "Downloading $1"
diff --git a/build/functions.sh b/build/functions.sh
index 7ace4b0d..becc0df1 100644
--- a/build/functions.sh
+++ b/build/functions.sh
@@ -14,7 +14,7 @@ clone_fork () {
# Use apex tripleo-heat-templates fork
local ghcreds=""
local pr_num=""
- local ref="stable/danube"
+ local ref="stable/euphrates"
local repo="https://github.com/trozet/$1"
if git log -1 | grep "${1}-pr:" | grep -o '[0-9]*'; then
diff --git a/build/opnfv-environment.yaml b/build/opnfv-environment.yaml
index 8eeb1265..6289e2d9 100644
--- a/build/opnfv-environment.yaml
+++ b/build/opnfv-environment.yaml
@@ -2,6 +2,7 @@
#types
parameters:
+ # value updated via lib/overcloud-deploy-functions.sh
#CloudDomain:
parameter_defaults:
@@ -9,17 +10,17 @@ parameter_defaults:
NeutronEnableForceMetadata: true
NeutronEnableDHCPMetadata: true
NeutronEnableIsolatedMetadata: true
+ # the following parameters are given values via
+ # lib/overcloud-deploy-functions.sh when they are used by a scenario
#NeutronVPPAgentPhysnets: 'datacentre:GigabitEthernet2/2/0'
- #NovaSchedulerDefaultFilters: "RamFilter,ComputeFilter,AvailabilityZoneFilter,ComputeCapabilitiesFilter,ImagePropertiesFilter,NUMATopologyFilter"
- # Kernel arguments, this value will be set to kernel arguments specified for compute nodes in deploy setting file.
- #ComputeKernelArgs: "intel_iommu=on iommu=pt default_hugepagesz=2MB hugepagesz=2MB hugepages=2048"
- #PmdCoreList: 1
- #OvsDpdkCoreList: 2
- #OvsDpdkSocketMemory: 1024
+ #NovaSchedulerDefaultFilters:
+ #ComputeKernelArgs:
+ #PmdCoreList:
+ #OvsDpdkCoreList:
+ #OvsDpdkSocketMemory:
#ControllerExtraConfig:
#NovaComputeExtraConfig:
ExtraConfig:
- tripleo::ringbuilder::build_ring: False
nova::nova_public_key:
type: 'ssh-rsa'
replace_public_key:
@@ -31,11 +32,11 @@ parameter_defaults:
key: 'os_compute_api:servers:show:host_status'
value: 'rule:admin_or_owner'
nova::api::default_floating_pool: 'external'
- #VPP routing node, used for odl-fdio only.
+ # VPP routing node, used for odl-fdio only.
+ # value updated via lib/overcloud-deploy-functions.sh
#opendaylight::vpp_routing_node: overcloud-novacompute-0.opnfvlf.org
ControllerServices:
- OS::TripleO::Services::CACerts
-# - OS::TripleO::Services::CephClient
- OS::TripleO::Services::CephMon
- OS::TripleO::Services::CephOSD
- OS::TripleO::Services::CephExternal
@@ -44,7 +45,6 @@ parameter_defaults:
- OS::TripleO::Services::CinderBackup
- OS::TripleO::Services::CinderScheduler
- OS::TripleO::Services::CinderVolume
- - OS::TripleO::Services::Core
- OS::TripleO::Services::Kernel
- OS::TripleO::Services::Keystone
- OS::TripleO::Services::GlanceApi
@@ -70,13 +70,11 @@ parameter_defaults:
- OS::TripleO::Services::MongoDb
- OS::TripleO::Services::NovaApi
- OS::TripleO::Services::NovaMetadata
+ - OS::TripleO::Services::NovaPlacement
- OS::TripleO::Services::NovaScheduler
- OS::TripleO::Services::NovaConsoleauth
- OS::TripleO::Services::NovaVncProxy
- OS::TripleO::Services::Ntp
- - OS::TripleO::Services::SwiftProxy
- - OS::TripleO::Services::SwiftStorage
- - OS::TripleO::Services::SwiftRingBuilder
- OS::TripleO::Services::Snmp
- OS::TripleO::Services::Timezone
- OS::TripleO::Services::CeilometerApi
@@ -107,19 +105,18 @@ parameter_defaults:
- OS::TripleO::Services::TripleoFirewall
- OS::TripleO::Services::OpenDaylightApi
- OS::TripleO::Services::OpenDaylightOvs
- - OS::TripleO::Services::ONOSApi
- - OS::TripleO::Services::ONOSOvs
+# - OS::TripleO::Services::ONOSApi
+# - OS::TripleO::Services::ONOSOvs
- OS::TripleO::Services::SensuClient
- OS::TripleO::Services::FluentdClient
- - OS::TripleO::Services::VipHosts
- OS::TripleO::Services::Etcd
- - OS::TripleO::Services::Gluon
+# - OS::TripleO::Services::Gluon
- OS::TripleO::Services::Tacker
- - OS::TripleO::Services::NeutronHoneycombAgent
+# - OS::TripleO::Services::NeutronHoneycombAgent
- OS::TripleO::Services::Congress
- - OS::TripleO::Services::NeutronVppAgent
+# - OS::TripleO::Services::NeutronVppAgent
- OS::TripleO::Services::OVNDBs
- - OS::TripleO::Services::Vpp
+# - OS::TripleO::Services::Vpp
ComputeServices:
- OS::TripleO::Services::CACerts
- OS::TripleO::Services::CephClient
@@ -140,10 +137,9 @@ parameter_defaults:
- OS::TripleO::Services::TripleoFirewall
- OS::TripleO::Services::NeutronSriovAgent
- OS::TripleO::Services::OpenDaylightOvs
- - OS::TripleO::Services::ONOSOvs
+# - OS::TripleO::Services::ONOSOvs
- OS::TripleO::Services::SensuClient
- OS::TripleO::Services::FluentdClient
- - OS::TripleO::Services::VipHosts
- - OS::TripleO::Services::NeutronHoneycombAgent
- - OS::TripleO::Services::NeutronVppAgent
- - OS::TripleO::Services::Vpp
+# - OS::TripleO::Services::NeutronHoneycombAgent
+# - OS::TripleO::Services::NeutronVppAgent
+# - OS::TripleO::Services::Vpp
diff --git a/build/overcloud-full.sh b/build/overcloud-full.sh
index 9ecb1c32..c03ae2c2 100755
--- a/build/overcloud-full.sh
+++ b/build/overcloud-full.sh
@@ -42,13 +42,6 @@ for package in ${dpdk_rpms[@]}; do
dpdk_pkg_str+=" --upload ${BUILD_DIR}/${package}:/root/dpdk_rpms"
done
-# tar up the congress puppet module
-rm -rf puppet-congress
-git clone https://github.com/openstack/puppet-congress
-pushd puppet-congress > /dev/null
-git archive --format=tar.gz --prefix=congress/ HEAD > ${BUILD_DIR}/puppet-congress.tar.gz
-popd > /dev/null
-
# tar up the fd.io module
rm -rf puppet-fdio
git clone https://git.fd.io/puppet-fdio
@@ -61,12 +54,14 @@ 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/openstack/puppet-tacker
-pushd puppet-tacker > /dev/null
-git archive --format=tar.gz --prefix=tacker/ origin/stable/ocata > ${BUILD_DIR}/puppet-tacker.tar.gz
-popd > /dev/null
+# Master FD.IO Repo
+cat > ${BUILD_DIR}/fdio.repo << EOF
+[fdio-master]
+name=fd.io master branch latest merge
+baseurl=https://nexus.fd.io/content/repositories/fd.io.master.centos7/
+enabled=1
+gpgcheck=0
+EOF
# Get Real Time Kernel from kvm4nfv
populate_cache $kvmfornfv_uri_base/$kvmfornfv_kernel_rpm
@@ -84,19 +79,16 @@ qemu-img resize overcloud-full_build.qcow2 +900MB
# expand file system to max disk size
# installing forked opnfv-puppet-tripleo
# upload dpdk rpms but do not install
-# install the congress rpms
-# upload and explode the congress puppet module
# install fd.io yum repo and packages
# upload puppet fdio
# git clone vsperf into the overcloud image
-# upload the tacker puppet module and untar it
-# install tacker
# upload the rt_kvm kernel
LIBGUESTFS_BACKEND=direct virt-customize \
--run-command "xfs_growfs /dev/sda" \
--upload ${BUILD_DIR}/opnfv-puppet-tripleo.tar.gz:/etc/puppet/modules \
--run-command "cd /etc/puppet/modules && rm -rf tripleo && tar xzf opnfv-puppet-tripleo.tar.gz" \
- --run-command "yum update -y python-ipaddress rabbitmq-server erlang*" \
+ --upload ${BUILD_DIR}/os-net-config.tar.gz:/usr/lib/python2.7/site-packages \
+ --run-command "cd /usr/lib/python2.7/site-packages/ && rm -rf os_net_config && tar xzf os-net-config.tar.gz" \
--run-command "if ! rpm -qa | grep python-redis; then yum install -y python-redis; fi" \
--run-command "sed -i 's/^#UseDNS.*$/UseDNS no/' /etc/ssh/sshd_config" \
--run-command "sed -i 's/^GSSAPIAuthentication.*$/GSSAPIAuthentication no/' /etc/ssh/sshd_config" \
@@ -109,39 +101,20 @@ LIBGUESTFS_BACKEND=direct virt-customize \
--run-command "yum install -y etcd" \
--install python-etcd \
--run-command "puppet module install cristifalcas/etcd" \
- --run-command "yum update -y puppet" \
--install "centos-release-qemu-ev" \
--run-command "yum install -y qemu-kvm-ev-2.3.0-31.el7_2.21.1.x86_64" \
--run-command "yum remove -y qemu-system-x86" \
- --upload ${BUILD_DIR}/os-net-config.tar.gz:/usr/lib/python2.7/site-packages \
- --run-command "cd /usr/lib/python2.7/site-packages/ && rm -rf os_net_config && tar xzf os-net-config.tar.gz" \
- --upload ${BUILD_DIR}/noarch/$congress_pkg:/root/ \
- --install /root/$congress_pkg \
- --install "python2-congressclient" \
- --upload ${BUILD_DIR}/puppet-congress.tar.gz:/etc/puppet/modules/ \
- --run-command "cd /etc/puppet/modules/ && tar xzf puppet-congress.tar.gz" \
--run-command "rm -f /etc/sysctl.d/80-vpp.conf" \
--install unzip \
--upload ${BUILD_DIR}/puppet-fdio.tar.gz:/etc/puppet/modules \
--run-command "cd /etc/puppet/modules && tar xzf puppet-fdio.tar.gz" \
--upload ${BUILD_DIR}/vsperf.tar.gz:/var/opt \
--run-command "cd /var/opt && tar xzf vsperf.tar.gz" \
- --upload ${BUILD_DIR}/puppet-tacker.tar.gz:/etc/puppet/modules/ \
- --run-command "cd /etc/puppet/modules/ && tar xzf puppet-tacker.tar.gz" \
- --upload ${BUILD_DIR}/noarch/$tacker_pkg:/root/ \
- --install /root/$tacker_pkg \
- --upload ${BUILD_DIR}/noarch/$tackerclient_pkg:/root/ \
- --install /root/$tackerclient_pkg \
--run-command "curl -f https://copr.fedorainfracloud.org/coprs/leifmadsen/ovs-master/repo/epel-7/leifmadsen-ovs-master-epel-7.repo > /etc/yum.repos.d/leifmadsen-ovs-master-epel-7.repo" \
--run-command "mkdir /root/ovs27" \
--run-command "yumdownloader --destdir=/root/ovs27 openvswitch*2.7* python-openvswitch-2.7*" \
- --run-command "pip install python-senlinclient" \
--run-command "sed -i -E 's/timeout=[0-9]+/timeout=60/g' /usr/share/openstack-puppet/modules/rabbitmq/lib/puppet/provider/rabbitmqctl.rb" \
- --upload ${BUILD_ROOT}/patches/puppet-neutron-add-odl-settings.patch:/usr/share/openstack-puppet/modules/neutron/ \
- --run-command "cd /usr/share/openstack-puppet/modules/neutron && patch -p1 < puppet-neutron-add-odl-settings.patch" \
--upload ${CACHE_DIR}/$kvmfornfv_kernel_rpm:/root/ \
- --upload ${BUILD_ROOT}/patches/puppet-neutron-vpp-ml2.patch:/usr/share/openstack-puppet/modules/neutron/ \
- --run-command "cd /usr/share/openstack-puppet/modules/neutron && patch -p1 < puppet-neutron-vpp-ml2.patch" \
-a overcloud-full_build.qcow2
mv -f overcloud-full_build.qcow2 overcloud-full.qcow2
diff --git a/build/overcloud-opendaylight.sh b/build/overcloud-opendaylight.sh
index d61c1f2e..bacf5360 100755
--- a/build/overcloud-opendaylight.sh
+++ b/build/overcloud-opendaylight.sh
@@ -19,26 +19,7 @@ cp -f overcloud-full.qcow2 overcloud-full-opendaylight_build.qcow2
##### Adding OpenDaylight to overcloud #####
###############################################
-# Beryllium Repo
cat > ${BUILD_DIR}/opendaylight.repo << EOF
-[opendaylight-4-release]
-name=CentOS CBS OpenDaylight Beryllium repository
-baseurl=http://cbs.centos.org/repos/nfv7-opendaylight-4-release/\$basearch/os/
-enabled=1
-gpgcheck=0
-EOF
-
-# Boron Repo
-cat > ${BUILD_DIR}/opendaylight_boron.repo << EOF
-[opendaylight-5-release]
-name=CentOS CBS OpenDaylight Boron repository
-baseurl=http://cbs.centos.org/repos/nfv7-opendaylight-5-testing/\$basearch/os/
-enabled=1
-gpgcheck=0
-EOF
-
-# Master Repo
-cat > ${BUILD_DIR}/opendaylight_master.repo << EOF
[opendaylight-6-release]
name=CentOS CBS OpenDaylight Carbon repository
baseurl=http://cbs.centos.org/repos/nfv7-opendaylight-6-testing/\$basearch/os/
@@ -85,20 +66,12 @@ populate_cache http://artifacts.opnfv.org/apex/danube/fdio_netvirt/odl-netvirt-v
# install quagga/zrpc
# upload neutron patch for generic NS linux interface driver + OVS for external networks
LIBGUESTFS_BACKEND=direct virt-customize \
- --upload ${BUILD_DIR}/opendaylight_boron.repo:/etc/yum.repos.d/opendaylight.repo \
- --run-command "yum install --downloadonly --downloaddir=/root/boron/ opendaylight" \
- --upload ${BUILD_DIR}/opendaylight_master.repo:/etc/yum.repos.d/opendaylight.repo \
- --run-command "yum install --downloadonly --downloaddir=/root/master/ opendaylight" \
--upload ${BUILD_DIR}/opendaylight.repo:/etc/yum.repos.d/opendaylight.repo \
- --run-command "wget https://nexus.fd.io/content/repositories/fd.io.stable.1704.centos7/io/fd/hc2vpp/honeycomb/1.17.04-2048.noarch/honeycomb-1.17.04-2048.noarch.rpm -O /root/fdio/honeycomb-1.17.04-2048.noarch.rpm" \
+ --run-command "curl -L https://nexus.fd.io/content/repositories/fd.io.stable.1704.centos7/io/fd/hc2vpp/honeycomb/1.17.04-2048.noarch/honeycomb-1.17.04-2048.noarch.rpm > /root/fdio/honeycomb-1.17.04-2048.noarch.rpm" \
--install opendaylight,python-networking-odl \
--run-command "yum install -y /root/fdio/honeycomb-1.17.04-2048.noarch.rpm" \
--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 && yum localinstall -y *networking-bgpvpn*.rpm" \
- --run-command "rm -f /etc/neutron/networking_bgpvpn.conf" \
- --run-command "touch /etc/neutron/networking_bgpvpn.conf" \
--upload ${BUILD_DIR}/puppet-gluon.tar.gz:/etc/puppet/modules/ \
--run-command "cd /etc/puppet/modules/ && tar xzf puppet-gluon.tar.gz" \
--install epel-release \
@@ -116,5 +89,10 @@ LIBGUESTFS_BACKEND=direct virt-customize \
--upload ${CACHE_DIR}/odl-netvirt-vpp-distribution.tar.gz:/root/ \
-a overcloud-full-opendaylight_build.qcow2
+ # TODO: Put bgpvpn back into the build
+ #--upload ${BUILD_DIR}/networking-bgpvpn.tar.gz:/root/ \
+ #--run-command "cd /root/ && tar xzf networking-bgpvpn.tar.gz && yum localinstall -y *networking-bgpvpn*.rpm" \
+ #--run-command "rm -f /etc/neutron/networking_bgpvpn.conf" \
+ #--run-command "touch /etc/neutron/networking_bgpvpn.conf" \
LIBGUESTFS_BACKEND=direct virt-sparsify --compress overcloud-full-opendaylight_build.qcow2 overcloud-full-opendaylight.qcow2
popd > /dev/null
diff --git a/build/patches/0001-Removes-doing-yum-update.patch b/build/patches/0001-Removes-doing-yum-update.patch
deleted file mode 100644
index 86e6ea3f..00000000
--- a/build/patches/0001-Removes-doing-yum-update.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-From d04e8f730de074bafefea4c105a8270100efd9c1 Mon Sep 17 00:00:00 2001
-From: Tim Rozet <tdrozet@gmail.com>
-Date: Wed, 25 Jan 2017 09:53:17 -0500
-Subject: [PATCH] Removes doing yum update
-
-Signed-off-by: Tim Rozet <tdrozet@gmail.com>
----
- instack_undercloud/undercloud.py | 1 -
- 1 file changed, 1 deletion(-)
-
-diff --git a/instack_undercloud/undercloud.py b/instack_undercloud/undercloud.py
-index 2b9ff8c..b26cb49 100644
---- a/instack_undercloud/undercloud.py
-+++ b/instack_undercloud/undercloud.py
-@@ -1209,7 +1209,6 @@ def install(instack_root):
- _validate_configuration()
- instack_env = _generate_environment(instack_root)
- _generate_init_data(instack_env)
-- _run_yum_update(instack_env)
- _run_instack(instack_env)
- _run_orc(instack_env)
- _post_config(instack_env)
---
-2.9.3
-
diff --git a/build/patches/puppet-neutron-add-odl-settings.patch b/build/patches/puppet-neutron-add-odl-settings.patch
deleted file mode 100644
index aa0b35a1..00000000
--- a/build/patches/puppet-neutron-add-odl-settings.patch
+++ /dev/null
@@ -1,47 +0,0 @@
-diff --git a/manifests/plugins/ml2/opendaylight.pp b/manifests/plugins/ml2/opendaylight.pp
-index a27c4d6..13b56c4 100644
---- a/manifests/plugins/ml2/opendaylight.pp
-+++ b/manifests/plugins/ml2/opendaylight.pp
-@@ -29,12 +29,22 @@
- # (optional) The URI used to connect to the local OVSDB server
- # Defaults to 'tcp:127.0.0.1:6639'
- #
-+# [*port_binding_controller*]
-+# (optional) Name of the controller to be used for port binding.
-+# Defaults to $::os_service_default
-+#
-+# [*odl_hostconf_uri*]
-+# (optional) Path for ODL host configuration REST interface.
-+# Defaults to $::os_service_default
-+#
- class neutron::plugins::ml2::opendaylight (
-- $package_ensure = 'present',
-- $odl_username = $::os_service_default,
-- $odl_password = $::os_service_default,
-- $odl_url = $::os_service_default,
-- $ovsdb_connection = 'tcp:127.0.0.1:6639',
-+ $package_ensure = 'present',
-+ $odl_username = $::os_service_default,
-+ $odl_password = $::os_service_default,
-+ $odl_url = $::os_service_default,
-+ $ovsdb_connection = 'tcp:127.0.0.1:6639',
-+ $port_binding_controller = $::os_service_default,
-+ $odl_hostconf_uri = $::os_service_default,
- ) {
-
- include ::neutron::deps
-@@ -48,9 +58,11 @@ class neutron::plugins::ml2::opendaylight (
- )
-
- neutron_plugin_ml2 {
-- 'ml2_odl/username': value => $odl_username;
-- 'ml2_odl/password': value => $odl_password;
-- 'ml2_odl/url': value => $odl_url;
-+ 'ml2_odl/username': value => $odl_username;
-+ 'ml2_odl/password': value => $odl_password;
-+ 'ml2_odl/url': value => $odl_url;
-+ 'ml2_odl/port_binding_controller': value => $port_binding_controller;
-+ 'ml2_odl/odl_hostconf_uri': value => $odl_hostconf_uri;
- }
-
- neutron_config {
diff --git a/build/patches/puppet-neutron-vpp-ml2.patch b/build/patches/puppet-neutron-vpp-ml2.patch
deleted file mode 100644
index 5e1313f8..00000000
--- a/build/patches/puppet-neutron-vpp-ml2.patch
+++ /dev/null
@@ -1,244 +0,0 @@
-From 72afc22fbba73fdb474bd6e5c1c47ab31219a9b9 Mon Sep 17 00:00:00 2001
-From: Feng Pan <fpan@redhat.com>
-Date: Tue, 28 Feb 2017 18:07:53 -0500
-Subject: [PATCH] Add support for networking-vpp ML2 driver
-
-Change-Id: Ib45681b1e414001c42070a32e8f81778b4e9f15f
----
- .../provider/neutron_agent_vpp/ini_settings.rb | 15 ++++
- lib/puppet/type/neutron_agent_vpp.rb | 28 +++++++
- manifests/agents/ml2/vpp.pp | 91 ++++++++++++++++++++++
- manifests/deps.pp | 1 +
- manifests/params.pp | 3 +
- manifests/plugins/ml2/vpp.pp | 38 +++++++++
- 6 files changed, 176 insertions(+)
- create mode 100644 lib/puppet/provider/neutron_agent_vpp/ini_settings.rb
- create mode 100644 lib/puppet/type/neutron_agent_vpp.rb
- create mode 100644 manifests/agents/ml2/vpp.pp
- create mode 100644 manifests/plugins/ml2/vpp.pp
-
-diff --git a/lib/puppet/provider/neutron_agent_vpp/ini_settings.rb b/lib/puppet/provider/neutron_agent_vpp/ini_settings.rb
-new file mode 100644
-index 0000000..d8da7ab
---- /dev/null
-+++ b/lib/puppet/provider/neutron_agent_vpp/ini_settings.rb
-@@ -0,0 +1,15 @@
-+Puppet::Type.type(:neutron_agent_vpp).provide(
-+ :ini_setting,
-+ :parent => Puppet::Type.type(:openstack_config).provider(:ini_setting)
-+) do
-+
-+ def self.file_path
-+ '/etc/neutron/plugins/ml2/vpp_agent.ini'
-+ end
-+
-+ # added for backwards compatibility with older versions of inifile
-+ def file_path
-+ self.class.file_path
-+ end
-+
-+end
-diff --git a/lib/puppet/type/neutron_agent_vpp.rb b/lib/puppet/type/neutron_agent_vpp.rb
-new file mode 100644
-index 0000000..0718db8
---- /dev/null
-+++ b/lib/puppet/type/neutron_agent_vpp.rb
-@@ -0,0 +1,28 @@
-+Puppet::Type.newtype(:neutron_agent_vpp) do
-+
-+ ensurable
-+
-+ newparam(:name, :namevar => true) do
-+ desc 'Section/setting name to manage from vpp agent config.'
-+ newvalues(/\S+\/\S+/)
-+ end
-+
-+ newproperty(:value) do
-+ desc 'The value of the setting to be defined.'
-+ munge do |value|
-+ value = value.to_s.strip
-+ value.capitalize! if value =~ /^(true|false)$/i
-+ value
-+ end
-+ end
-+
-+ newparam(:ensure_absent_val) do
-+ desc 'A value that is specified as the value property will behave as if ensure => absent was specified'
-+ defaultto('<SERVICE DEFAULT>')
-+ end
-+
-+ autorequire(:package) do
-+ 'neutron-vpp-agent'
-+ end
-+
-+end
-diff --git a/manifests/agents/ml2/vpp.pp b/manifests/agents/ml2/vpp.pp
-new file mode 100644
-index 0000000..faae279
---- /dev/null
-+++ b/manifests/agents/ml2/vpp.pp
-@@ -0,0 +1,91 @@
-+# == Class: neutron::agents::ml2::vpp
-+#
-+# Configure networking-vpp Neutron agent for ML2 plugin.
-+#
-+# === Parameters
-+#
-+# [*package_ensure*]
-+# (optional) Package ensure state.
-+# Defaults to 'present'.
-+#
-+# [*enabled*]
-+# (required) Whether or not to enable the agent.
-+# Defaults to true.
-+#
-+# [*manage_service*]
-+# (optional) Whether to start/stop the service
-+# Defaults to true
-+#
-+# [*physnets*]
-+# (optional) Comma-separated list of <physical_network>:<physical_interface>
-+# tuples mapping physical network names to agent's node-specific physical
-+# network interfaces. Defaults to $::os_service_default.
-+#
-+# [*etcd_host*]
-+# (optional) etcd server host name/ip
-+# Defaults to $::os_service_default.
-+#
-+# [*etcd_port*]
-+# (optional) etcd server listening port.
-+# Defaults to $::os_service_default.
-+#
-+# [*etcd_user*]
-+# (optional) User name for etcd authentication
-+# Defaults to $::os_service_default.
-+#
-+# [*etcd_pass*]
-+# (optional) Password for etcd authentication
-+# Defaults to $::os_service_default.
-+#
-+# [*purge_config*]
-+# (optional) Whether to set only the specified config options
-+# in the vpp config.
-+# Defaults to false.
-+#
-+class neutron::agents::ml2::vpp (
-+ $package_ensure = 'present',
-+ $enabled = true,
-+ $manage_service = true,
-+ $physnets = $::os_service_default,
-+ $etcd_host = $::os_service_default,
-+ $etcd_port = $::os_service_default,
-+ $etcd_user = $::os_service_default,
-+ $etcd_pass = $::os_service_default,
-+ $purge_config = false,
-+) {
-+ include ::neutron::deps
-+ include ::neutron::params
-+
-+ resources { 'neutron_agent_vpp':
-+ purge => $purge_config,
-+ }
-+
-+ neutron_agent_vpp {
-+ 'ml2_vpp/physnets': value => $physnets;
-+ 'ml2_vpp/etcd_host': value => $etcd_host;
-+ 'ml2_vpp/etcd_port': value => $etcd_port;
-+ 'ml2_vpp/etcd_user': value => $etcd_user;
-+ 'ml2_vpp/etcd_pass': value => $etcd_pass;
-+ }
-+
-+ package { 'neutron-vpp-agent':
-+ ensure => $package_ensure,
-+ name => $::neutron::params::vpp_plugin_package,
-+ tag => ['openstack', 'neutron-package'],
-+ }
-+
-+ if $manage_service {
-+ if $enabled {
-+ $service_ensure = 'running'
-+ } else {
-+ $service_ensure = 'stopped'
-+ }
-+ }
-+
-+ service { 'neutron-vpp-agent-service':
-+ ensure => $service_ensure,
-+ name => $::neutron::params::vpp_agent_service,
-+ enable => $enabled,
-+ tag => ['neutron-service'],
-+ }
-+}
-diff --git a/manifests/deps.pp b/manifests/deps.pp
-index 94b6f78..835e906 100644
---- a/manifests/deps.pp
-+++ b/manifests/deps.pp
-@@ -35,6 +35,7 @@ class neutron::deps {
- # All other inifile providers need to be processed in the config block
- Anchor['neutron::config::begin'] -> Neutron_agent_linuxbridge<||> ~> Anchor['neutron::config::end']
- Anchor['neutron::config::begin'] -> Neutron_agent_ovs<||> ~> Anchor['neutron::config::end']
-+ Anchor['neutron::config::begin'] -> Neutron_agent_vpp<||> ~> Anchor['neutron::config::end']
- Anchor['neutron::config::begin'] -> Neutron_api_config<||> ~> Anchor['neutron::config::end']
- Anchor['neutron::config::begin'] -> Neutron_api_paste_ini<||> ~> Anchor['neutron::config::end']
- Anchor['neutron::config::begin'] -> Neutron_config<||> ~> Anchor['neutron::config::end']
-diff --git a/manifests/params.pp b/manifests/params.pp
-index 05ef627..02b9be1 100644
---- a/manifests/params.pp
-+++ b/manifests/params.pp
-@@ -86,6 +86,9 @@ class neutron::params {
-
- $kernel_headers = "linux-headers-${::kernelrelease}"
-
-+ $vpp_plugin_package = 'python-networking-vpp'
-+ $vpp_agent_service = 'neutron-vpp-agent'
-+
- } elsif($::osfamily == 'Debian') {
-
- $nobody_user_group = 'nogroup'
-diff --git a/manifests/plugins/ml2/vpp.pp b/manifests/plugins/ml2/vpp.pp
-new file mode 100644
-index 0000000..837a614
---- /dev/null
-+++ b/manifests/plugins/ml2/vpp.pp
-@@ -0,0 +1,38 @@
-+#
-+# Install the networking-vpp ML2 mechanism driver and generate config file
-+# from parameters in the other classes.
-+#
-+# === Parameters
-+#
-+# [*etcd_host*]
-+# (optional) etcd server host name or IP.
-+# Defaults to $::os_service_default
-+#
-+# [*etcd_port*]
-+# (optional) etcd server listening port.
-+# Defaults to $::os_service_default.
-+#
-+# [*etcd_user*]
-+# (optional) User name for etcd authentication
-+# Defaults to $::os_service_default.
-+#
-+# [*etcd_pass*]
-+# (optional) Password for etcd authentication
-+# Defaults to $::os_service_default.
-+#
-+class neutron::plugins::ml2::vpp (
-+ $etcd_host = $::os_service_default,
-+ $etcd_port = $::os_service_default,
-+ $etcd_user = $::os_service_default,
-+ $etcd_pass = $::os_service_default,
-+) {
-+ include ::neutron::deps
-+ require ::neutron::plugins::ml2
-+
-+ neutron_plugin_ml2 {
-+ 'ml2_vpp/etcd_host': value => $etcd_host;
-+ 'ml2_vpp/etcd_port': value => $etcd_port;
-+ 'ml2_vpp/etcd_user': value => $etcd_user;
-+ 'ml2_vpp/etcd_pass': value => $etcd_pass;
-+ }
-+}
---
-2.9.3
-
diff --git a/build/rpm_specs/openstack-congress-server.service b/build/rpm_specs/openstack-congress-server.service
deleted file mode 100644
index 20c3a67b..00000000
--- a/build/rpm_specs/openstack-congress-server.service
+++ /dev/null
@@ -1,13 +0,0 @@
-[Unit]
-Description=OpenStack Congress Server
-After=syslog.target network.target
-
-[Service]
-Type=simple
-User=congress
-ExecStart=/usr/bin/congress-server --config-file /etc/congress/congress.conf --log-file /var/log/congress/congress.log
-Restart=on-failure
-
-[Install]
-WantedBy=multi-user.target
-
diff --git a/build/rpm_specs/openstack-congress.spec b/build/rpm_specs/openstack-congress.spec
deleted file mode 100644
index 21211932..00000000
--- a/build/rpm_specs/openstack-congress.spec
+++ /dev/null
@@ -1,77 +0,0 @@
-%define debug_package %{nil}
-
-Name: openstack-congress
-Version: 2016.2
-Release: 1%{?git}%{?dist}
-Summary: OpenStack servicevm/device manager
-
-Group: Applications/Internet
-License: Apache 2.0
-URL: https://wiki.openstack.org/wiki/Congress/Installation
-Source0: openstack-congress.tar.gz
-
-BuildArch: noarch
-
-BuildRequires: python-setuptools python2-oslo-config python2-debtcollector libffi-devel python-devel openssl-devel python2-oslo-config python2-debtcollector python34-devel
-
-%description
-OpenStack policy manager
-
-%prep
-%setup -q
-rm requirements.txt
-
-
-%build
-#rm requirements.txt
-#/usr/bin/python setup.py build
-
-
-%install
-/usr/bin/python setup.py install --root=%{buildroot}
-
-rm -rf %{buildroot}/usr/lib/python2.7/site-packages/congress_tempest_tests
-
-install -d -m 755 %{buildroot}/var/log/congress/
-install -d -m 755 %{buildroot}/etc/congress/snapshot/
-
-install etc/api-paste.ini %{buildroot}/etc/congress/api-paste.ini
-install etc/policy.json %{buildroot}/etc/congress/policy.json
-tox -e genconfig --workdir ../.tox
-install etc/congress.conf.sample %{buildroot}/etc/congress/congress.conf
-
-install -p -D -m 644 openstack-congress-server.service %{buildroot}%{_unitdir}/openstack-congress-server.service
-install -d -m 755 %{buildroot}%{_sharedstatedir}/congress
-
-%pre
-getent group congress >/dev/null || groupadd -r congress
-if ! getent passwd congress >/dev/null; then
- useradd -r -g congress -G congress,nobody -d %{_sharedstatedir}/congress -s /sbin/nologin -c "OpenStack Congress Daemon" congress
-fi
-exit 0
-
-%post
-%systemd_post openstack-congress
-
-%preun
-%systemd_preun openstack-congress
-
-%postun
-%systemd_postun_with_restart openstack-congress
-
-%files
-%{python2_sitelib}/congress-*.egg-info
-/etc/congress/api-paste.ini
-/etc/congress/congress.conf
-/etc/congress/policy.json
-/usr/bin/congress-db-manage
-/usr/bin/congress-server
-%{_unitdir}/openstack-congress-server.service
-/usr/lib/python2.7/site-packages/congress
-/usr/lib/python2.7/site-packages/congress_dashboard
-/usr/lib/python2.7/site-packages/antlr3runtime
-
-%dir %attr(0750, congress, root) %{_localstatedir}/log/congress
-
-%changelog
-
diff --git a/build/rpm_specs/openstack-tacker-server.service b/build/rpm_specs/openstack-tacker-server.service
deleted file mode 100644
index 9bf16cd5..00000000
--- a/build/rpm_specs/openstack-tacker-server.service
+++ /dev/null
@@ -1,15 +0,0 @@
-[Unit]
-Description=OpenStack Tacker Server
-After=syslog.target network.target
-
-[Service]
-Type=simple
-User=tacker
-ExecStart=/usr/bin/openstack-tacker-server --config-file /usr/share/tacker/tacker-dist.conf --config-file /etc/tacker/tacker.conf --log-file /var/log/tacker/tacker.log
-PrivateTmp=true
-NotifyAccess=all
-KillMode=process
-Restart=on-failure
-
-[Install]
-WantedBy=multi-user.target
diff --git a/build/rpm_specs/openstack-tacker.spec b/build/rpm_specs/openstack-tacker.spec
deleted file mode 100644
index 0ec4d518..00000000
--- a/build/rpm_specs/openstack-tacker.spec
+++ /dev/null
@@ -1,84 +0,0 @@
-%define debug_package %{nil}
-
-Name: openstack-tacker
-Version: 2016.2
-Release: 1%{?git}
-Summary: OpenStack servicevm/device manager
-
-Group: Applications/Internet
-License: Apache 2.0
-URL: https://wiki.openstack.org/wiki/Tacker/Installation
-Source0: openstack-tacker.tar.gz
-
-BuildArch: noarch
-BuildRequires: python-setuptools
-
-%description
-OpenStack servicevm/device manager
-
-%prep
-%setup -q
-
-
-%build
-rm requirements.txt
-#/usr/bin/python setup.py build
-
-
-%install
-/usr/bin/python setup.py install --root=%{buildroot}
-#remove tests
-rm -rf %{buildroot}/usr/lib/python2.7/site-packages/tacker/tests
-# Move config files from /usr/etc/ to /etc
-mv %{buildroot}/usr/etc %{buildroot}
-#remove init script
-rm -fr %{buildroot}/etc/init.d
-
-# Install systemd script
-install -p -D -m 644 openstack-tacker-server.service %{buildroot}%{_unitdir}/openstack-tacker-server.service
-
-# Remove egg-info
-rm -rf %{buildroot}/usr/lib/python2.7/site-packages/*egg-info
-
-install -d -m 755 %{buildroot}%{_localstatedir}/cache/tacker
-install -d -m 755 %{buildroot}%{_sharedstatedir}/tacker
-install -d -m 755 %{buildroot}%{_localstatedir}/log/tacker
-
-%pre
-getent group tacker >/dev/null || groupadd -r tacker
-if ! getent passwd tacker >/dev/null; then
- useradd -r -g tacker -G tacker,nobody -d %{_sharedstatedir}/tacker -s /sbin/nologin -c "OpenStack Tacker Daemon" tacker
-fi
-exit 0
-
-%post
-%systemd_post openstack-tacker-server
-
-%preun
-%systemd_preun openstack-tacker-server
-
-%postun
-%systemd_postun_with_restart openstack-tacker-server
-
-%files
-/usr/bin/tacker-server
-/usr/bin/tacker-db-manage
-/usr/bin/tacker-rootwrap
-%{_unitdir}/openstack-tacker-server.service
-/usr/lib/python2.7/site-packages/tacker/*
-
-#%config(noreplace) %attr(-, root, tacker) %{_sysconfdir}/tacker/tacker.conf`
-%{_sysconfdir}/rootwrap.d/tacker.filters
-%{_sysconfdir}/tacker/api-paste.ini
-%{_sysconfdir}/tacker/policy.json
-%{_sysconfdir}/tacker/rootwrap.conf
-%dir %attr(0750, tacker, root) %{_localstatedir}/cache/tacker
-%dir %attr(0750, tacker, root) %{_sharedstatedir}/tacker
-%dir %attr(0750, tacker, root) %{_localstatedir}/log/tacker
-
-%changelog
-* Wed Nov 30 2016 Dan Radez <dradez@redhat.com> - 2016.2-1
-- Version update for Newton
-
-* Mon Jul 25 2016 Tim Rozet <trozet@redhat.com> - 2015.2-1
-- Initial Commit
diff --git a/build/rpm_specs/opnfv-apex-common.spec b/build/rpm_specs/opnfv-apex-common.spec
index 13a04817..541c1fec 100644
--- a/build/rpm_specs/opnfv-apex-common.spec
+++ b/build/rpm_specs/opnfv-apex-common.spec
@@ -10,8 +10,8 @@ Source0: opnfv-apex-common.tar.gz
BuildArch: noarch
BuildRequires: python-docutils python34-devel
-Requires: openstack-tripleo opnfv-apex-sdn opnfv-apex-undercloud openvswitch qemu-kvm bridge-utils libguestfs-tools
-Requires: initscripts net-tools iputils iproute iptables python34 python34-yaml python3-jinja2 python3-ipmi
+Requires: opnfv-apex-sdn opnfv-apex-undercloud openvswitch qemu-kvm bridge-utils libguestfs-tools
+Requires: initscripts net-tools iputils iproute iptables python34 python34-yaml python3-jinja2 python3-ipmi python2-virtualbmc
Requires: ipxe-roms-qemu >= 20160127-1
%description
@@ -77,6 +77,7 @@ install lib/undercloud-functions.sh %{buildroot}%{_var}/opt/opnfv/lib/
install lib/overcloud-deploy-functions.sh %{buildroot}%{_var}/opt/opnfv/lib/
install lib/post-install-functions.sh %{buildroot}%{_var}/opt/opnfv/lib/
install lib/utility-functions.sh %{buildroot}%{_var}/opt/opnfv/lib/
+install lib/configure-vm %{buildroot}%{_var}/opt/opnfv/lib/
install lib/python/apex_python_utils.py %{buildroot}%{_var}/opt/opnfv/lib/python/
mkdir -p %{buildroot}%{python3_sitelib}/apex/
install lib/python/apex/__init__.py %{buildroot}%{python3_sitelib}/apex/
@@ -117,6 +118,7 @@ install config/inventory/pod_example_settings.yaml %{buildroot}%{_docdir}/opnfv/
%{_var}/opt/opnfv/lib/overcloud-deploy-functions.sh
%{_var}/opt/opnfv/lib/post-install-functions.sh
%{_var}/opt/opnfv/lib/utility-functions.sh
+%{_var}/opt/opnfv/lib/configure-vm
%{_var}/opt/opnfv/lib/python/
%{python3_sitelib}/apex/
%{_var}/opt/opnfv/lib/installer/domain.xml
@@ -161,6 +163,8 @@ install config/inventory/pod_example_settings.yaml %{buildroot}%{_docdir}/opnfv/
%doc %{_docdir}/opnfv/inventory.yaml.example
%changelog
+* Mon May 08 2017 Dan Radez <dradez@redhat.com> - 5.0-2
+- adding configure-vm
* Tue Apr 04 2017 Dan Radez <dradez@redhat.com> - 5.0-1
- Version update for Euphrates
- rename to ovs_dpdk
diff --git a/build/rpm_specs/opnfv-apex-release.spec b/build/rpm_specs/opnfv-apex-release.spec
index 1be58a1c..5f84a4fc 100644
--- a/build/rpm_specs/opnfv-apex-release.spec
+++ b/build/rpm_specs/opnfv-apex-release.spec
@@ -9,7 +9,7 @@ URL: https://gerrit.opnfv.org/gerrit/apex.git
Source0: opnfv-apex-release.tar.gz
BuildArch: noarch
-Requires: rdo-release = newton epel-release libvirt-python
+Requires: rdo-release = ocata epel-release libvirt-python
%description
RPM Release file that provides a yum repo file to install OPNFV Apex
diff --git a/build/rpm_specs/opnfv-apex-undercloud.spec b/build/rpm_specs/opnfv-apex-undercloud.spec
index 55a614d0..93fc6e0d 100644
--- a/build/rpm_specs/opnfv-apex-undercloud.spec
+++ b/build/rpm_specs/opnfv-apex-undercloud.spec
@@ -9,7 +9,7 @@ URL: https://gerrit.opnfv.org/gerrit/apex.git
Source0: opnfv-apex-undercloud.tar.gz
BuildArch: noarch
-BuildRequires: openvswitch libvirt qemu-kvm python-docutils
+BuildRequires: python-docutils
Requires: openvswitch libvirt qemu-kvm bridge-utils libguestfs-tools
%description
diff --git a/build/rpm_specs/python-tackerclient.spec b/build/rpm_specs/python-tackerclient.spec
deleted file mode 100644
index 5758f7c0..00000000
--- a/build/rpm_specs/python-tackerclient.spec
+++ /dev/null
@@ -1,44 +0,0 @@
-%define debug_package %{nil}
-
-Name: python-tackerclient
-Version: 2016.2
-Release: 1%{?git}
-Summary: CLI and Client Library for OpenStack Networking
-
-Group: Applications/Internet
-License: Apache 2.0
-URL: https://wiki.openstack.org/wiki/Tacker/Installation
-Source0: python-tackerclient.tar.gz
-
-BuildArch: noarch
-BuildRequires: python-setuptools
-#Requires: stevedore>=1.5.0 http oslo.config>=1.11.0 oslo.messaging!=1.17.0!=1.17.1>=1.16.0 oslo.rootwrap>=2.0.0 python-novaclient>=2.22.0
-
-%description
-CLI and Client Library for OpenStack Networking
-
-%prep
-%setup -q
-
-
-%build
-rm requirements.txt
-#/usr/bin/python setup.py build
-
-
-%install
-/usr/bin/python setup.py install --prefix=%{buildroot} --install-lib=%{buildroot}/usr/lib/python2.7/site-packages
-#rm -rf %{buildroot}/usr/lib/python2.7/site-packages/tacker/tests
-
-
-%files
-/bin/tacker
-/usr/lib/python2.7/site-packages/tackerclient/*
-/usr/lib/python2.7/site-packages/python_tackerclient-*
-
-%changelog
-* Wed Nov 30 2016 Dan Radez <dradez@redhat.com> - 2016.2-1
-- Version update for Newton
-
-* Mon Jul 25 2016 Tim Rozet <trozet@redhat.com> - 2015.2-1
-- Initial Commit
diff --git a/build/undercloud.sh b/build/undercloud.sh
index 6d8937ff..8d82bcac 100755
--- a/build/undercloud.sh
+++ b/build/undercloud.sh
@@ -27,15 +27,11 @@ popd > /dev/null
# inject rt_kvm kernel rpm name into the enable file
sed "s/kvmfornfv_kernel.rpm/$kvmfornfv_kernel_rpm/" ${BUILD_ROOT}/enable_rt_kvm.yaml | tee ${BUILD_DIR}/enable_rt_kvm.yaml
+# Turn off GSSAPI Auth in sshd
# installing forked opnfv-tht
# enabling ceph OSDs to live on the controller
# seeding configuration files specific to OPNFV
-# add congress client
-# add congress password to python-tripleoclient
-# add tacker password to tripleo-common
-# upload tacker repo and install the client package
# Add performance image scripts
-# hack for disabling undercloud package update
LIBGUESTFS_BACKEND=direct virt-customize \
--run-command "sed -i 's/^#UseDNS.*$/UseDNS no/' /etc/ssh/sshd_config" \
--run-command "sed -i 's/^GSSAPIAuthentication.*$/GSSAPIAuthentication no/' /etc/ssh/sshd_config" \
@@ -53,17 +49,7 @@ LIBGUESTFS_BACKEND=direct virt-customize \
--upload ${BUILD_ROOT}/ovs-dpdk-preconfig.yaml:/home/stack/ \
--upload ${BUILD_ROOT}/csit-environment.yaml:/home/stack/ \
--upload ${BUILD_ROOT}/virtual-environment.yaml:/home/stack/ \
- --install "python2-congressclient" \
- --run-command "sed -i '/SwiftPassword/a\ \x27TackerPassword\x27,' /usr/lib/python2.7/site-packages/tripleo_common/constants.py" \
- --run-command "sed -i '/CinderPassword/a\ \x27CongressPassword\x27,' /usr/lib/python2.7/site-packages/tripleo_common/constants.py" \
- --upload ${BUILD_DIR}/noarch/$tackerclient_pkg:/root/ \
- --install /root/$tackerclient_pkg \
- --install "python2-aodhclient" \
- --install "openstack-heat-engine" \
- --install "openstack-heat-api-cfn" \
- --install "openstack-heat-api" \
- --upload ${BUILD_ROOT}/patches/0001-Removes-doing-yum-update.patch:/usr/lib/python2.7/site-packages/ \
- --run-command "cd /usr/lib/python2.7/site-packages/ && patch -p1 < 0001-Removes-doing-yum-update.patch" \
+ --install "libguestfs-tools" \
-a undercloud_build.qcow2
mv -f undercloud_build.qcow2 undercloud.qcow2
diff --git a/build/variables.sh b/build/variables.sh
index a496608a..9d85e7a1 100644
--- a/build/variables.sh
+++ b/build/variables.sh
@@ -15,11 +15,10 @@ CACHE_DIR="$(dirname ${BUILD_ROOT})/.cache"
CACHE_HISTORY=".cache_history"
PATCHES_DIR="${BUILD_ROOT}/patches"
+rdo_images_uri=${RDO_IMAGES_URI:-https://images.rdoproject.org/ocata/delorean/current-tripleo/stable/}
+
onos_release_uri=https://downloads.onosproject.org/release/
onos_release_file=onos-1.8.4.tar.gz
-# CBS is broken for now, as a workaround use backup file server
-#rdo_images_uri=${RDO_IMAGES_URI:-http://buildlogs.centos.org/centos/7/cloud/$(uname -p)/tripleo_images/newton/delorean}
-rdo_images_uri=${RDO_IMAGES_URI:-https://images.rdoproject.org/newton/delorean/consistent/stable}
onos_jdk_uri=http://artifacts.opnfv.org/apex/colorado
onos_ovs_uri=http://artifacts.opnfv.org/apex/colorado
onos_ovs_pkg=package_ovs_rpm3.tar.gz
@@ -37,21 +36,6 @@ dpdk_rpms=(
kvmfornfv_uri_base="http://artifacts.opnfv.org/kvmfornfv/danube"
kvmfornfv_kernel_rpm="kvmfornfv-8e1bfc88-apex-kernel-4.4.50_rt62_centos.x86_64.rpm"
-tacker_repo="http://github.com/openstack/tacker"
-tacker_branch="stable/newton"
-tacker_commit=$(git ls-remote ${tacker_repo} ${tacker_branch} | awk '{print substr($1,1,7)}')
-tacker_pkg=openstack-tacker-2016.2-1.git${tacker_commit}.noarch.rpm
-
-tackerclient_repo="http://github.com/openstack/python-tackerclient"
-tackerclient_branch="stable/newton"
-tackerclient_commit=$(git ls-remote ${tackerclient_repo} ${tackerclient_branch} | awk '{print substr($1,1,7)}')
-tackerclient_pkg=python-tackerclient-2016.2-1.git${tackerclient_commit}.noarch.rpm
-
-congress_repo="http://github.com/openstack/congress"
-congress_branch="stable/newton"
-congress_commit=$(git ls-remote ${congress_repo} ${congress_branch} | awk '{print substr($1,1,7)}')
-congress_pkg=openstack-congress-2016.2-1.git${congress_commit}$(rpm -E %dist).noarch.rpm
-
netvpp_repo="https://github.com/openstack/networking-vpp"
netvpp_branch="master"
netvpp_commit=$(git ls-remote ${netvpp_repo} ${netvpp_branch} | awk '{print substr($1,1,7)}')