Merge "removing unused bash parser functions"
authorDan Radez <dradez@redhat.com>
Fri, 23 Sep 2016 12:43:21 +0000 (12:43 +0000)
committerGerrit Code Review <gerrit@172.30.200.206>
Fri, 23 Sep 2016 12:43:21 +0000 (12:43 +0000)
build/build_ovs_nsh.sh [new file with mode: 0755]
build/overcloud-full.sh
build/overcloud-onos.sh
build/overcloud-opendaylight-sfc.sh
build/set_perf_images.sh
build/variables.sh
ci/PR_revision.log
docs/installationprocedure/architecture.rst
docs/installationprocedure/requirements.rst
docs/releasenotes/release-notes.rst

diff --git a/build/build_ovs_nsh.sh b/build/build_ovs_nsh.sh
new file mode 100755 (executable)
index 0000000..834df5b
--- /dev/null
@@ -0,0 +1,22 @@
+#!/usr/bin/env bash
+##############################################################################
+# Copyright (c) 2016 Tim Rozet (Red Hat) and others.
+#
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# which accompanies this distribution, and is available at
+# http://www.apache.org/licenses/LICENSE-2.0
+##############################################################################
+set -e
+
+yum -y install  rpm-build autoconf automake libtool systemd-units openssl openssl-devel python python-twisted-core python-zope-interface python-six desktop-file-utils groff graphviz  procps-ng libcap-ng libcap-ng-devel PyQt4 selinux-policy-devel kernel-devel kernel-headers kernel-tools
+./boot.sh
+libtoolize --force
+aclocal
+autoheader
+automake --force-missing --add-missing
+autoconf
+./configure
+yum -y install rpmdevtools
+make rpm-fedora RPMBUILD_OPT="\"-D kversion `rpm -q kernel | rpmdev-sort  | tail -n -1 | sed  's/^kernel-//'`\" --without check"
+make rpm-fedora-kmod RPMBUILD_OPT="\"-D kversion `rpm -q kernel | rpmdev-sort  | tail -n -1 | sed  's/^kernel-//'`\""
index 2166707..88f9685 100755 (executable)
@@ -154,5 +154,44 @@ LIBGUESTFS_BACKEND=direct virt-customize \
     --upload ../puppet-neutron/manifests/plugins/ml2/networking-vpp.pp:/etc/puppet/modules/neutron/manifests/plugins/ml2/ \
     -a overcloud-full_build.qcow2
 
+rm -rf ovs_nsh_patches
+rm -rf ovs
+git clone https://github.com/yyang13/ovs_nsh_patches.git
+git clone https://github.com/openvswitch/ovs.git
+pushd ovs > /dev/null
+git reset --hard 7d433ae57ebb90cd68e8fa948a096f619ac4e2d8
+cp ../ovs_nsh_patches/*.patch ./
+# Hack for build servers that have no git config
+git config user.email "apex@opnfv.com"
+git config user.name "apex"
+git am *.patch
+popd > /dev/null
+tar czf ovs.tar.gz ovs
+
+# Required packages to redirect stdin with virt-customize
+virt_pkg_str="./$libguestfs_pkg "
+wget $virt_uri_base/$libguestfs_pkg
+for package in ${virt_pkgs[@]}; do
+  wget "$virt_uri_base/$package"
+  virt_pkg_str+=" ./$package"
+done
+
+if ! sudo yum -y install ${virt_pkg_str}; then
+  if [ "$(rpm -q libguestfs)" != "$(rpm -qpf $libguestfs_pkg)" ]; then
+    echo "ERROR: Failed to update libguestfs"
+    exit 1
+  fi
+fi
+
+
+
+# BUILD NSH OVS
+LIBGUESTFS_BACKEND=direct virt-customize \
+    --upload ../build_ovs_nsh.sh:/root/ \
+    --upload ovs.tar.gz:/root/ \
+    --run-command "cd /root/ && tar xzf ovs.tar.gz" \
+    --run-command "cd /root/ovs && /root/build_ovs_nsh.sh" \
+    -a overcloud-full_build.qcow2
+
 mv -f overcloud-full_build.qcow2 overcloud-full.qcow2
 popd > /dev/null
index 7b5e3df..b695983 100755 (executable)
@@ -19,12 +19,8 @@ cp -f overcloud-full.qcow2 overcloud-full-onos_build.qcow2
 #######################################
 
 # upgrade ovs into ovs 2.5.90 with NSH function
-curl -L -O ${onos_ovs_uri}/${onos_ovs_pkg}
-tar -xzf ${onos_ovs_pkg}
-LIBGUESTFS_BACKEND=direct virt-customize --upload ${ovs_kmod_rpm_name}:/root/ \
-                                         --run-command "yum install -y /root/${ovs_kmod_rpm_name}" \
-                                         --upload ${ovs_rpm_name}:/root/ \
-                                         --run-command "yum upgrade -y /root/${ovs_rpm_name}" \
+LIBGUESTFS_BACKEND=direct virt-customize --run-command "yum install -y /root/ovs/rpm/rpmbuild/RPMS/x86_64/${ovs_kmod_rpm_name}" \
+                                         --run-command "yum upgrade -y /root/ovs/rpm/rpmbuild/RPMS/x86_64/${ovs_rpm_name}" \
                                          -a overcloud-full-onos_build.qcow2
 
 
index 612f483..444d284 100755 (executable)
@@ -19,15 +19,8 @@ pushd images > /dev/null
 cp -f overcloud-full-opendaylight.qcow2 overcloud-full-opendaylight-sfc_build.qcow2
 
 # upgrade ovs into ovs 2.5.90 with NSH function
-if ! [[ -f "$ovs_rpm_name"  &&  -f "$ovs_kmod_rpm_name" ]]; then
-  curl -L -O ${onos_ovs_uri}/${onos_ovs_pkg}
-  tar -xzf ${onos_ovs_pkg}
-fi
-
-LIBGUESTFS_BACKEND=direct virt-customize --upload ${ovs_kmod_rpm_name}:/root/ \
-                                         --run-command "yum install -y /root/${ovs_kmod_rpm_name}" \
-                                         --upload ${ovs_rpm_name}:/root/ \
-                                         --run-command "yum upgrade -y /root/${ovs_rpm_name}" \
+LIBGUESTFS_BACKEND=direct virt-customize --run-command "yum install -y /root/ovs/rpm/rpmbuild/RPMS/x86_64/${ovs_kmod_rpm_name}" \
+                                         --run-command "yum upgrade -y /root/ovs/rpm/rpmbuild/RPMS/x86_64/${ovs_rpm_name}" \
                                          -a overcloud-full-opendaylight-sfc_build.qcow2
 
 mv overcloud-full-opendaylight-sfc_build.qcow2 overcloud-full-opendaylight-sfc.qcow2
index 0025cc7..d91c20e 100644 (file)
@@ -19,6 +19,7 @@ for ROLE in $@; do
     KERNEL=$(glance image-show overcloud-full | grep 'kernel_id' | cut -d '|' -f 3 | xargs)
     RAMDISK_ID=$(glance image-show ${RAMDISK} | grep id | awk {'print $4'})
     glance image-create --name $ROLE-overcloud-full --disk-format qcow2 --file $ROLE-overcloud-full.qcow2 --container-format bare --property ramdisk_id=$RAMDISK_ID --property kernel_id=$KERNEL --is-public True
+    rm -f $ROLE-overcloud-full.qcow2
   fi
 
   if [ "$ROLE" == "Controller" ]; then
index 990ac83..0308580 100644 (file)
@@ -39,3 +39,15 @@ honeycomb_pkg='honeycomb-1.0.0-1609.noarch.rpm'
 
 ovs_rpm_name=openvswitch-2.5.90-1.el7.centos.x86_64.rpm
 ovs_kmod_rpm_name=openvswitch-kmod-2.5.90-1.el7.centos.x86_64.rpm
+
+virt_uri_base=https://people.redhat.com/~rjones/libguestfs-RHEL-7.3-preview
+libguestfs_pkg='libguestfs-1.32.7-3.el7.x86_64.rpm'
+virt_pkgs=(
+'libguestfs-tools-1.32.7-3.el7.noarch.rpm'
+'libguestfs-tools-c-1.32.7-3.el7.x86_64.rpm'
+'supermin-5.1.16-4.el7.x86_64.rpm'
+'supermin5-5.1.16-4.el7.x86_64.rpm'
+'supermin-helper-5.1.16-4.el7.x86_64.rpm'
+'perl-Sys-Guestfs-1.32.7-3.el7.x86_64.rpm'
+'python-libguestfs-1.32.7-3.el7.x86_64.rpm'
+)
index f8b11a7..f7b832e 100644 (file)
@@ -41,3 +41,4 @@
 79,Fix controller and compute ip array
 80,Change TenantNIC and PublicNIC to be role specific
 81,Fix duplicate NeutronServicePlugins
+82,Fixes neutron sdnvpn config resource
index f1861d0..c2b38d0 100644 (file)
@@ -105,31 +105,32 @@ the installer as a (-d) deploy setting.  Read further in the Apex documentation
 to learn more about invoking the deploy command.  Below is quick reference
 matrix for OPNFV scenarios supported in Apex.  Please refer to the respective
 OPNFV Docs documentation for each scenario in order to see a full scenario
-description.  The following scenarios correspond to a supported <Scenario>.yaml
-deploy settings file:
+description.  Also, please refer to release-notes for information about known
+issues per scenario.  The following scenarios correspond to a supported
+<Scenario>.yaml deploy settings file:
 
 +-------------------------+------------+-----------------+
-| **Scenario**            | **Owner**  | **Known Issues**|
+| **Scenario**            | **Owner**  | **Supported**   |
 +-------------------------+------------+-----------------+
-| os-nosdn-nofeature-ha   | Apex       |                 |
+| os-nosdn-nofeature-ha   | Apex       | Yes             |
 +-------------------------+------------+-----------------+
-| os-nosdn-nofeature-noha | Apex       |                 |
+| os-nosdn-nofeature-noha | Apex       | Yes             |
 +-------------------------+------------+-----------------+
-| os-nosdn-ovs-noha       | OVS for NFV|                 |
+| os-nosdn-ovs-noha       | OVS for NFV| Yes             |
 +-------------------------+------------+-----------------+
-| os-nosdn-fdio-noha      | FDS        |                 |
+| os-nosdn-fdio-noha      | FDS        | Yes             |
 +-------------------------+------------+-----------------+
-| os-odl_l2-nofeature-ha  | Apex       |                 |
+| os-odl_l2-nofeature-ha  | Apex       | Yes             |
 +-------------------------+------------+-----------------+
-| os-odl_l3-nofeature-ha  | Apex       | APEX-112        |
+| os-odl_l3-nofeature-ha  | Apex       | Yes             |
 +-------------------------+------------+-----------------+
-| os-odl_l2-sfc-noha      | SFC        |                 |
+| os-odl_l2-sfc-noha      | SFC        | Yes             |
 +-------------------------+------------+-----------------+
-| os-odl_l2-bgpvpn-noha   | SDNVPN     |                 |
+| os-odl_l2-bgpvpn-ha     | SDNVPN     | No              |
 +-------------------------+------------+-----------------+
-| os-odl_l2-fdio-noha     | FDS        |                 |
+| os-odl_l2-fdio-noha     | FDS        | Yes             |
 +-------------------------+------------+-----------------+
-| os-onos-nofeature-ha    | ONOSFW     |                 |
+| os-onos-nofeature-ha    | ONOSFW     | Yes             |
 +-------------------------+------------+-----------------+
-| os-onos-sfc-ha          | ONOSFW     |                 |
+| os-onos-sfc-ha          | ONOSFW     | Yes             |
 +-------------------------+------------+-----------------+
index d54d584..1b3fe87 100644 (file)
@@ -46,14 +46,13 @@ Network requirements include:
        deployment. The External network is where public internet access would
        reside if available.
 
-\* *These networks can be combined with each other or all combined on the
-    Control Plane network.*
-\* *Non-External networks will be consolidated to the Control Plane network
-    if not specifically configured.*
-\*\* *Internal API network, by default, is collapsed with provisioning in IPv4
-     deployments, this is not possible with the current lack of PXE boot
-     support and therefore the API network is required to be its own
-     network in an IPv6 deployment.*
+\*These networks can be combined with each other or all combined on the
+Control Plane network.
+
+\*\*Internal API network, by default, is collapsed with provisioning in IPv4
+deployments, this is not possible with the current lack of PXE boot
+support and therefore the API network is required to be its own
+network in an IPv6 deployment.
 
 Bare Metal Node Requirements
 ----------------------------
index 96d654a..52b676e 100644 (file)
@@ -300,6 +300,18 @@ Scenario os-odl_l2-nofeature known issues
 * `APEX-149 <https://jira.opnfv.org/browse/APEX-149>`_:
    Openflow rules are populated very slowly
 
+Scenario os-odl_l2-bgpvpn known issues
+--------------------------------------
+
+* `APEX-278 <https://jira.opnfv.org/browse/APEX-278>`_:
+   Duplicate neutron config class declaration for SDNVPN
+
+Scenario os-onos-nofeatures/os-onos-sfc known issues
+----------------------------------------------------
+
+* `APEX-281 <https://jira.opnfv.org/browse/APEX-281>`_:
+   ONOS sometimes fails to provide addresses to instances
+
 Scenario os-odl_l2-sfc-noha known issues
 ----------------------------------------