summaryrefslogtreecommitdiffstats
path: root/build/variables.sh
AgeCommit message (Collapse)AuthorFilesLines
2018-05-21Migrates master to use direct upstreamTim Rozet1-60/+0
We now move master to deploy from upstream. That means we do not need to build undercloud/overcloud images anymore. Changes-Include: - Remove bash build scripts as we do not need to build anything other than the python package anymore - Remove building images or iso from build.py - Remove building of images and iso from Makefile - Rename/refactor deploy settings files for nosdn and odl. The new convention is that the typical scenario names we use will deploy master. We also support n-1 OS, so in that case we use the branch name for the "feature" in the scenario name: os-odl-queens-noha. - Tacker/Congress are disabled in settings files until we fix that with upstream. Containers are now enabled by default. - Disable TLS for undercloud (was changed upstream to default enabled) - Fix environments docker directory for master THT (was changed upstream) - Includes fix for LP#1768901 - Includes workaround for LP#1770692 - Moves to docker.io for container images as it is more stable and should contain the same images - Removes the term 'common' from apex packaging for referencing the Python Apex package Change-Id: If6b433860b3ff882686c78d0f24a2f0c52b9b57a Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-04-17Fix nosdn fdio scenarioFeng Pan1-3/+4
- Update networking-vpp to use master branch - Update THT vpp ml2 environment file with correct parameters - Update external network creation command to use 'externa' as provider network name. - Remove vpp network settings file as it's not used apex-tripleo-heat-templates: Ia25db8456f1ad6beb96c7b9b5f318b166ef4576a apex-puppet-tripleo: I231054a433eb7e598a6e24f6eaea02d476e776de Change-Id: I4a1f68c75ae3b7d2a5b347d05abf0d025e8b116b Signed-off-by: Feng Pan <fpan@redhat.com>
2018-04-09Enable nosdn-fdio scenarios for Fraser releaseFeng Pan1-6/+6
- Update neutron NSDriver patch - Update os-net-config to fix config errors for vpp uio-driver - Update puppet-tripleo to add configuration of physnets and type_driver in vpp agent - Update THT to change VPP environment file for vpp-agent, and add common.yaml for vpp interface mapping - Update VPP and networking-vpp version to 18.01 - Fix networking-vpp rpm build to enable proper uninstall. - Update networking settings file to use ovs_bridge as default external interface type JIRA: APEX-578 JIRA: APEX-568 JIRA: APEX-576 JIRA: APEX-577 apex-os-net-config: I915d5455acb8d496438b9c9e851639d3a43e6fa9 apex-puppet-tripleo: I472879b8f67e64b571638a0385943597a9120e6c apex-tripleo-heat-templates: I5dfaf85d67fb038109edaf5c5d8a3e901b9148f4 Change-Id: I369bee232bfafef260d2ef19ac32614fdc487271 Signed-off-by: Feng Pan <fpan@redhat.com>
2017-11-16Migrates Apex to PikeTim Rozet1-1/+1
JIRA: APEX-544 Change-Id: Ibee2068e782da75268ed76beb36ccb5dcd1847d6 Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-10-05Increase memory size for virt-customizeMichael Chapman1-1/+4
Some of the bigger commands can exceed the default, so increase all instances for consistency. It's unlikely build machines won't have 4G of memory available. Change-Id: Ifa575b6e6faef9ba038900ab0e080da15d5680aa JIRA: APEX-520 Signed-off-by: Michael Chapman <michapma@redhat.com>
2017-10-02Merge "nosdn-fdio scenarios fixes"Tim Rozet1-2/+9
2017-09-30nosdn-fdio scenarios fixesFeng Pan1-2/+9
- pin vpp/networking-vpp versions - Add external_network_bridge config back to puppet-neutron Change-Id: Ia58fb55638390757ea3350b2921897c4d315f9b5 Signed-off-by: Feng Pan <fpan@redhat.com>
2017-09-29Adds Calipso scenarioTim Rozet1-0/+3
Change-Id: Icc8a23e49c9ccc011481f6b97599d4f75873ebb1 Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-09-28re-enable support for fdio dvr scenarioFeng Pan1-9/+0
- Update FDIO scenarios to use master branch images - Update VPP/HC version to master for all fdio scenarios apex-os-net-config: Ie6aee86eaccad5fc98820a28f10adc7475cc5e33 apex-tripleo-heat-templates: Ie8b284f64bd6491c389129d8afdaeae8a399b607 apex-puppet-tripleo: I9954240529278e74d93fdf89d2ebc2536249245a Change-Id: I31740f97052947b5e4688cca47320bc49a902d7c Signed-off-by: Feng Pan <fpan@redhat.com>
2017-09-23Adding unittests for buildDan Radez1-1/+1
- covers build.py - covers build_utils.py - moved build_utils out of build module, it wasn't possible to import build.py while build_utils was in a module Change-Id: I42f08a475d9ca219a62c421d4bdd2d1d3c49691a Signed-off-by: Dan Radez <dradez@redhat.com>
2017-09-21Revert "Adds Calipso scenario"Tim Rozet1-3/+0
This reverts commit 433961f8c0b816f19aa858654261fa87d2f02a19. Change-Id: Ic8a14d2e0ad8d1006625af401fde2f365890650b Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-09-20Adds Calipso scenarioTim Rozet1-0/+3
Calipso uses docker containers and is post deployment feature that can be used to monitor pieces of the stack. This patch installs it to the undercloud rather than the jumphost as it is easier to manage for cleanup and dependencies. Change-Id: Ie2dacc4f14b391a864fafb2e75ebcd15facb19f1 Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-09-19Freezes RDO images for EuphratesTim Rozet1-1/+1
Change-Id: Ie20e7d0c52efc2497c7c9975f88be0a9bfa7aa07 Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-08-23Migrates Apex to PythonTim Rozet1-2/+2
Removes all bash libraries and converts almost all of the code to a mixture of Python and Ansible. utils.sh and clean.sh still exist. clean.sh will be migrated fully to clean.py in another patch. The Apex Python package is now built into the opnfv-apex-common RPM. To install locally do 'pip3 install .'. To deploy: opnfv-deploy -d <file> -n <file> --image-dir /root/apex/.build -v --debug Non-python files (THT yaml, settings files, ansible playbooks) are all installed into /usr/share/opnfv-apex/. The RPM will copy settings files into /etc/opnfv-apex/. JIRA: APEX-317 Change-Id: I3232f0329bcd13bce5a28da6a8c9c84d0b048024 Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-07-29Add support for fdio scenariosFeng Pan1-5/+5
Add support for the following scenarios: - os-odl-fdio-ha - os-odl-fdio-noha - os-nosdn-fdio-noha - os-nosdn-fdio-ha apex-tripleo-heat-templates: If11092e6581445a70e63c8f6c48518698b3cc8fc apex-puppet-tripleo: If498c41d706c8f14a5b0bbee64cb4d26cd78c2d0 apex-os-net-config: If7a2c6119bf613f1fc8846237b077cd8f0e26015 Change-Id: Id3fdd09f6e0d2b7666d08c0dc7802165797eefdc Signed-off-by: Feng Pan <fpan@redhat.com>
2017-05-30Moving to forks on gerrit.opnfv.orgDan Radez1-0/+2
Migrating off of github onto opnfv.org to host our forked projects that are side loaded into our builds apex-tripleo-heat-templates: Ic65cfeee4a55e993629f831c8c9d9addf6f3dff4 apex-puppet-tripleo: If498c41d706c8f14a5b0bbee64cb4d26cd78c2d0 apex-os-net-config: I5281a57640f388e984b061702362f9c82d08da78 Change-Id: Ieb5cf293ad06d90fce7a9467e32ac0f2d8731a0a Signed-off-by: Dan Radez <dradez@redhat.com> Signed-off-by: Feng Pan <fpan@redhat.com>
2017-05-25Fixes missing permissions on configure-vmTim Rozet1-1/+1
Also updates dpdk package location Change-Id: I123c3d8593b623f45273845726870224ff9f7ca8 Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-05-18Updates the real time kvm kerneldavidjchou1-1/+1
Reduce the real time kvm kernel by stripping debug info. Change-Id: I33335b8a9bd241ee83bc6f30bb2e819403bad491 Signed-off-by: davidjchou <david.j.chou@intel.com>
2017-05-09Updating Apex to OpenStack OcataDan Radez1-18/+2
- 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>
2017-05-08Moves RDO images URI to working serverTim Rozet1-2/+4
CBS has been broken and the overcloud and undercloud artifacts are not getting updated there. The new URI is a workaround because it is a single file server acting as a backup until the CBS repo is fixed. JIRA: APEX-458 Change-Id: I743747015d69b17d75aa7b231bc07c935788ea20 Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-05-08Merge "add onos deployment steps"Dan Radez1-2/+2
2017-04-28Merge "Updates the real time kvm kernel from 4.4.6-rt14 to 4.4.50-rt62."Tim Rozet1-2/+2
2017-04-27Updates the real time kvm kernel from 4.4.6-rt14 to 4.4.50-rt62.davidjchou1-2/+2
Change-Id: Iee42eb2533fe8c8336113613ab578aa56abb37fb Signed-off-by: davidjchou <david.j.chou@intel.com>
2017-04-27Update VPP/ODL versions for FDIO scenariosFeng Pan1-22/+6
Pin the same set of FDIO and OpenDaylight versions for all fdio scenarios. Note that fdio_netvirt-fdio still uses a customized ODL version. os-net-config-pr: 7 JIRA: APEX-451 Change-Id: Ic5ac5aeead9967fe383447e23653276cde2dfe60 Signed-off-by: Feng Pan <fpan@redhat.com>
2017-04-13add onos deployment stepsbobzhou1-2/+2
opnfv-tht-pr: 128 opnfv-puppet-tripleo-pr: 23 Change-Id: Ib99f7e3968ed03bd86ca0de9c6c37c9871921486 Signed-off-by: bobzhou <bob.zh@huawei.com>
2017-04-06nosdn fdio scenario fixesTim Rozet1-0/+8
- pins nosdn fdio packages that work - disable l3 agent ha mode opnfv-tht-pr: 130 Change-Id: I9470565768611f83cbd6e34f567a0aec58fa65ef Signed-off-by: Tim Rozet <trozet@redhat.com> Signed-off-by: Feng Pan <fpan@redhat.com>
2017-03-29Pins ODL L3 VPP/HC packagesTim Rozet1-0/+9
JIRA: APEX-421 Change-Id: I18a1624af96be772820938e3138666c51b10301c Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-03-24Fixes OVS DPDK scenariosTim Rozet1-6/+5
This fixes nosdn OVS DPDK scenarios to work with OVS 2.6. It also adds support for the ODL DPDK scenario. OVS DPDK configuration is done during preconfig on compute nodes. All nodes make use of first boot script to get kernel params like hugepages. The network settings are modified to use real nic names for the virtual network settings file. This is required due to a timing bug with os-net-config and using first-boot script. The network settings file also contains the UIO driver to use with DPDK. JIRA: APEX-314 opnfv-tht-pr: 117 Change-Id: I46b6fca71ecec38981968133ba2411f64d7c6445 Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-03-16Removes vpp-devel from package installTim Rozet1-1/+0
Change-Id: I16f5defdd47f19095f97414f46cd9e12d3c53b19 Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-03-15Final bump of Gluon to upstream release v1.0.1Georg Kunz1-1/+2
Change-Id: I7b220a332a8738054bcb569c3fa01b5d401a167e Signed-off-by: Georg Kunz <georg.kunz@ericsson.com>
2017-03-10Fixes mismatch for Java APIs between HC and VPP and L2 pkgsTim Rozet1-0/+8
This copies the same API jars used for VPP to the Honeycomb to help workaround the issues we are facing of incompatible Java APIs between HC and VPP versions. It also locks vpp/honeycomb/odl to known working packages for L2 scenarios. Also increases overcloud disk +400MB to accomodate more vpp pkgs. opnfv-tht-pr: 122 Change-Id: Id803834e1f1fa352778784da9ac246ab9c58a3b1 Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-03-09Adding "Real Time KVM" supportdavidjchou1-0/+3
Adding the support to run the "Real Time KVM" kernel in the compute node(s) to reduce the network latency caused by the virtualization of the network functions. Since the current "Real Time KVM" kernel doesn't support physical to logical network interface mapping yet, we need to use the real physical interface name rather than the logical interface name for all compute interfaces in network_settings.yaml. Also updates tests for the network settings changes and fixes a bug where interface was being queried on the controller nics before it interfaces were validated. JIRA: APEX-128 Change-Id: Iccb6c9fbdcf7e3b482f4283039ef17c38e0a6df7 Signed-off-by: davidjchou <david.j.chou@intel.com> Signed-off-by: Tim Rozet <trozet@redhat.com> Signed-off-by: Dan Radez <dradez@redhat.com>
2017-03-08Adding to build cache and removing jolokia tarballDan Radez1-0/+2
Change-Id: I23bf0ebda3a75a348383c1b5372698bf0e1d47b1 Signed-off-by: Dan Radez <dradez@redhat.com>
2017-03-03Allow RDO_IMAGE_URI env var to override RDO images sourceDan Radez1-1/+1
JIRA: APEX-381 Change-Id: If740f376fefc325d54c7477f8c97af0b51201354 Signed-off-by: Dan Radez <dradez@redhat.com>
2017-02-18Merge "Adding Quagga to build"Tim Rozet1-0/+2
2017-02-17Adding Quagga to buildRomanos Skiadas1-0/+2
Builds 6Wind ZRPC, Quagga, and dependencies required for OpenDaylight with BGPVPN scenario. Packages are built into RPMs, and left on the overcloud disk in /root/quagga. They are then installed at deploy time if VPN feature flag is enabled. Note, for proper upstream we should create a zrpc OOO service, but that can be a follow up patch. For that we would also need official packaging/build system upstream somewhere. JIRA: APEX-357 Changes Include: - Build thrift rpm - Build c-capnproto rpm - Build quagga rpm - Build zrpcd rpm - Configure bgpd - Detect deploy with VPN and install pkgs - Enable zrpcd with systemd Change-Id: I9825694f46aaab48a3d1cd5fc4d9a24c7370e8fa Signed-off-by: Tim Rozet <trozet@redhat.com> Signed-off-by: Nikolas Hermanns <nikolas.hermanns@ericsson.com> Signed-off-by: Romanos Skiadas <rski@intracom-telecom.com>
2017-02-17onos 1.8 upgradationrssaravana1-1/+1
Change-Id: I5e9b8dd51be347f08e8ab8205a70121b903347fd Signed-off-by: rssaravana <saravanakumar.somaskandan@huawei.com>
2016-12-22Updating Congress version to NewtonDan Radez1-3/+2
- Congress is not in THT now so this will not install yet - Removing doctor driver sideload in build The doctor driver is upstream in Newton. No need to side load the driver into the congress codebase anymore. - moving to upstream puppet module Change-Id: Ia60d7d33039dddda634cb5485a3c40ce6ec2b261 Signed-off-by: Dan Radez <dradez@redhat.com>
2016-12-12Update networking-vpp packagingFeng Pan1-1/+1
- Change package to python-networking-vpp - Turn off autoreq for /bin/python - Update vpp to 17.01 - Disables undercloud package updating Change-Id: I9743e73ca9c36cc5162076580dc0a6b8861c7149 Signed-off-by: Feng Pan <fpan@redhat.com>
2016-12-11Fixes broken git tag variablesTim Rozet1-4/+4
Change-Id: Ie935dd6ddad5866e208a470765030e6d1246a0e9 Signed-off-by: Tim Rozet <trozet@redhat.com>
2016-12-08Fixes and cleans up build/cache directory usageTim Rozet1-0/+5
Changes include: - Building is isolated to a .build directory that is git ignored - Caching is isolated to a .cache directory that is git ignored - Build scripts have been variablized, and relative paths have been removed - Unused files removed - build.sh, make file cleaned up - Fixed broken building of markupsafe and jinja2 packages - make clean-cache will remove the cache now - per item cleans are removed in place of simple clean .build now - includes fix for OSC issue with LP# 1642301 Change-Id: I42b8e4eb694bf0a2c398858814f8b73785931896 Signed-off-by: Tim Rozet <trozet@redhat.com>
2016-12-02updating the tacker build to use upstreamDan Radez1-3/+8
Change-Id: Ice900ffa840d6aac4fe31459432cbf95ff945d84 Signed-off-by: Dan Radez <dradez@redhat.com>
2016-11-29Adding git commit to RPM releasesDan Radez1-1/+15
Preparing for better caching by adding the git hash to the rpm release We can skip building the RPMs if they are cached and would be built off the same hash JIRA: APEX-325 Change-Id: I9b0e26f123667673d126362a2501abb13830e44b Signed-off-by: Dan Radez <dradez@redhat.com>
2016-11-29Updates VPP packages to latest master versionTim Rozet1-9/+0
JIRA: APEX-344 Change-Id: Ib1bf1ac6b76af3a4cbbc2b7a20753c232ff5fa16 Signed-off-by: Tim Rozet <trozet@redhat.com>
2016-11-11Merge "Migrate to stable/newton"Tim Rozet1-1/+1
2016-11-11Migrate to stable/newtonTim Rozet1-1/+1
os-odl_l2_nofeature is now deprecated since new netvirt only supports odl_l3. JIRA: APEX-299 Change-Id: I3557ecb85fa4cd11bba96aa9410e56a8e8cceb00 Signed-off-by: Tim Rozet <trozet@redhat.com>
2016-10-21Moving custom rpm packages to dev_dep_checkDan Radez1-12/+0
These only need to be installed once so no need to check them every run. Change-Id: I288fb52625cad1f11b3b3ca7f0f29a30095646f9 Signed-off-by: Dan Radez <dradez@redhat.com>
2016-10-18Merge "Consolidate ODL SFC RPM into ODL RPM"Tim Rozet1-4/+0
2016-10-13Fix openstack-congress package namezshi1-0/+1
JIRA: APEX-287 openstack-congress rpm-spec use '%dist' macro as name suffix, '%dist' macro is different over various distros which may cause name mismatch when uploading package to overcloud images; fix it by using '%dist' macro in package name to avoid possible mismatch. Change-Id: Iaa7068d7da3e5fe3728baf2fa3c67eb45355c74a Signed-off-by: zshi <zshi@redhat.com>
2016-10-12Consolidate ODL SFC RPM into ODL RPMDan Radez1-4/+0
OVS NSH can be installed at deploy time. Change-Id: Ie875ada99053df95c6534e269f4dd627396489bc JIRA: APEX-324 Signed-off-by: Dan Radez <dradez@redhat.com>