summaryrefslogtreecommitdiffstats
path: root/build
AgeCommit message (Collapse)AuthorFilesLines
2017-10-10Fixes OVS NSH build with increased memoryTim Rozet1-1/+1
Only exists in stable/euphrates Change-Id: I506dd1ed551ea8b69b2b75c520f7d45bd73f4328 Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-10-09Removing the downloaded libvirt-client for the iso buildDan Radez1-1/+1
JIRA: APEX-529 Change-Id: I09970847833d3e182a7485c051e2e46d394cfeff Signed-off-by: Dan Radez <dradez@redhat.com> (cherry picked from commit a9ba058e7711379157ae5f99d08cc793b18f8793)
2017-10-06Use stable/17.10 branch for VPPFeng Pan1-4/+4
also add retry and timeout for VPP interface check in os-net-config apex-os-net-config: Idaf03d78d2ce657ac484c1285a795d98760d0112 Change-Id: I3dca43d263923e2ae7ff84781d3f7aa64fad6b5d Signed-off-by: Feng Pan <fpan@redhat.com> (cherry picked from commit 89932c44597ae86e8460939896f978862005596f)
2017-10-05Increase memory size for virt-customizeMichael Chapman6-13/+17
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> (cherry picked from commit 0220094bfe4abdc964f282f4f01190897e3065e4)
2017-10-04Merge "baro: update collectd-openstack branch" into stable/euphratesTim Rozet1-2/+2
2017-10-04Install honeycomb and vpp in a single stepFeng Pan1-2/+1
We currently install Honeycomb and VPP in 2 steps, this could potentially cause version conflicts. Change-Id: I1e54a576bced07f5115b12fef3bbdf2e95e9ab90 Signed-off-by: Feng Pan <fpan@redhat.com> (cherry picked from commit e915d21073b5b780f9abfc7ab50d6fede6b1d93a)
2017-10-03Updating the iso build to CentOS 7.4Dan Radez2-52/+162
JIRA: APEX-522 Change-Id: I03efc6ccad708d12f3fdabd9ace9935edb31d4bb Signed-off-by: Dan Radez <dradez@redhat.com> (cherry picked from commit 1f8cf744499c5a97c88c02e949593c5bb203e2b0)
2017-10-03baro: update collectd-openstack branchEmma Foley1-2/+2
COLLECTD_OPENSTACK_GIT_BRANCH has been updated to stable/pike so that aodh changes will be picked up Previously, the branch was not actually being checked out, but was being used as a name for a new branch. This behaviour has been corrected. Change-Id: I516c4311d2a0cedcca6ec293b62c21234b1e1975 Signed-off-by: Emma Foley <emma.l.foley@intel.com>
2017-10-02nosdn-fdio scenarios fixesFeng Pan5-6/+128
- 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-10-02Fixes python-networking-sfc installTim Rozet2-2/+2
Change-Id: Ib86cd5845e94e351615c3eb7db07b6a3bcec966f Signed-off-by: Tim Rozet <trozet@redhat.com> (cherry picked from commit 38907e27e354e2c7806b63d9482b6246c6685022)
2017-09-30Adds Calipso scenarioTim Rozet3-0/+14
Change-Id: Icc8a23e49c9ccc011481f6b97599d4f75873ebb1 Signed-off-by: Tim Rozet <trozet@redhat.com> (cherry picked from commit 1a824cf106f1996f184a7f699c754a7b72c501be)
2017-09-30Fixes nova migrationTim Rozet2-8/+26
Nova migration was failing in rally sanity test. Looking at the keys nova is configured with, the newlines in the private key were being converted to spaces in hieradata, thus making the key invalid. This patch corrects the yaml so it is multiline data. Also, corrects the parameter being set to the right THT parameter and adds sshd service to the control/compute roles which is required for migration to work. JIRA: APEX-525 Change-Id: Ic57db5c0b27df2e1f584f3c1a379e067291d892d Signed-off-by: Tim Rozet <trozet@redhat.com> (cherry picked from commit 8a8cb8e901db314fa59ed5275040b9e49b36663c)
2017-09-29Merge "re-enable support for fdio dvr scenario" into stable/euphratesTim Rozet4-27/+16
2017-09-29Update zrpcd version for Carbon/ Nitrogentomsou1-1/+1
JIRA: APEX-508 Compile zrpcd --with-thrift-version=4 to support carbon/nitrogen Note that version number stands for the thrift vpnservice.thrift model to use with ODL and not the thrift package version. Change-Id: I3ab13d0b62f56747249bfdee1c0766cd43de935a Signed-off-by: tomsou <soth@intracom-telecom.com> (cherry picked from commit 118f817b458e4fd3e08a360caf81187967c92adc)
2017-09-29re-enable support for fdio dvr scenarioFeng Pan4-27/+16
- 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> (cherry picked from commit a3c2c8c746470c993d70d92d13415e2b4263cc25)
2017-09-29Increase overcloud qcow2 size by 1500mbFeng Pan1-2/+2
We are seeing build failures with 1200mb qcow2 size expansion, increasing to 1500mb. Change-Id: Ib177525559c7905c78fe5931c172fce01846b4c3 Signed-off-by: Feng Pan <fpan@redhat.com>
2017-09-28Fix RT KVM scenarioFeng Pan3-18/+52
Also change first-boot.yaml to handle updated kernel for rt kvm Change-Id: I66b7159731dd286c4a97ba4f3583e229afbb73b3 Signed-off-by: Feng Pan <fpan@redhat.com> (cherry picked from commit 68095d704d1aea94f5890f54eefa13929aab737c)
2017-09-27Fixes BgpVpn service name and tht fixesTim Rozet1-1/+1
BgpVpn service was spelled incorrectly and there were syntax issues with the corresponding heat templates. apex-tripleo-heat-templates: If39072c687dcfb3fcb5c2dab33ecc3755b3396df Change-Id: I94155f4a32af2338bcd58afe3fb602860346a555 Signed-off-by: Tim Rozet <trozet@redhat.com> (cherry picked from commit ff7707530cc80b0d2d039029f97a5ab0048353d4)
2017-09-26Fix Neutron data_plane_status extension pathCarlos Goncalves1-1/+2
This way is easier to patch than patching file neutron.egg-info/entry_points.txt, plus this feature is backported to Ocata so it's temporary and only applicable for Euphrates. From Pike we can move it back to 'data_plane_status' as it was before. Change-Id: I1c2ebc55e782463793e7a8e463cc17fdf899457a Signed-off-by: Carlos Goncalves <mail@cgoncalves.pt> (cherry picked from commit 3ad85e5753dd4b0bf621f5d92f45725d18070e54)
2017-09-26Applies Tacker upstream patches and fixes fernet dir permsTim Rozet4-0/+177
We need a couple patches to Tacker upstream that we will not get now that our images are frozen in RDO. We should remove them on upgrade to Pike. Also this patch fixes the permissions on the fernet keys dir so that the Tacker group can write. Change-Id: I6468356f1d16d3b8ab58d46f653431e29960e190 Signed-off-by: Tim Rozet <trozet@redhat.com> (cherry picked from commit 91a5fa414d46b5b2215bf823166babd034e92503)
2017-09-25Adding 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> (cherry picked from commit c876e9d261a7c3189cc8374c995014309c5b9881)
2017-09-24Merge "Fixes Tacker auth and fernet keys dir" into stable/euphratesTim Rozet1-0/+1
2017-09-24Add python-passlib in iso buildFeng Pan1-1/+1
python-passlib is required for ansible Change-Id: Ifca73ed759211c6fff4a039d121b3c4d5c388415 Signed-off-by: Feng Pan <fpan@redhat.com> (cherry picked from commit 493876c4933b5eac8a5026bdd79f2a3a4ae7ac20)
2017-09-23Fixes Tacker auth and fernet keys dirTim Rozet1-0/+1
Tacker authtoken was missing password which is now added in the tht patch. Tacker also needs 'etc/tacker/vim/fernet_keys' in order to be able to create VIMs. The real fix to this missing directory is to the rpm itself: https://review.rdoproject.org/r/#/c/9725/ However in this patch we ensure it is created in Ansible because RDO images are frozen in for now in Apex so we would not pick up new RDO packages. apex-tripleo-heat-templates: I2b347cbc4595e6651b0d4be032cb862fde72e15f Change-Id: I76959cbfd581b9fec69749ccbcbcb39dc959a883 Signed-off-by: Tim Rozet <trozet@redhat.com> (cherry picked from commit 0c3445f1201cee43f0a167e4c877d95e2c650b50)
2017-09-23Use the right branch for apex forks with euphratesTim Rozet2-3/+3
Change-Id: Iee95bfbf4ac4beb4057403422de8e48a047d33ca Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-09-23Fixes missing bgpvpn service on controllerTim Rozet1-0/+1
Change-Id: I943fc99d539aca9bc66204a75dbd2ae8fa7033fd Signed-off-by: Tim Rozet <trozet@redhat.com> (cherry picked from commit 935f36ff80663ecc4617969c1f214201e8dde5a4)
2017-09-20Fixes missing libvirt-client in ISOTim Rozet1-1/+1
This was causing ISO install to fail because the libvirt modules were missing for python-libvirt. JIRA: APEX-517 Change-Id: Iaf127340864da58b2bace720293e515c8e9db426 Signed-off-by: Tim Rozet <trozet@redhat.com> (cherry picked from commit add79730ea98607c814786235168a43c35d01444)
2017-09-19Freezes RDO images for EuphratesTim Rozet1-1/+1
Change-Id: Ie20e7d0c52efc2497c7c9975f88be0a9bfa7aa07 Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-09-15Merge "Cleaning up yamllint warnings"Dan Radez2-6/+7
2017-09-14baro: updating refs to collectd-ceilometerEmma Foley1-13/+13
Since Ceilometer support was removed from the collectd-ceilometer-plugin[1], the repo name and ceiloemter are misleading. A change was submitted to openstack-infra to rename the repo [2] This change removes references to collectd-ceilometer from apex. These changes are independant of the repo rename. [1] https://review.openstack.org/#/c/490823/ [2] https://review.openstack.org/#/c/500768/ Depends-On: I6cf22c081aa1e40f64995be40b6225855faf4092 Change-Id: Ib3a7766e28fd03a86a995eea4b9abc996498200e Signed-off-by: Emma Foley <emma.l.foley@intel.com>
2017-09-14Cleaning up yamllint warningsDan Radez2-6/+7
yamllint output: build/baremetal-environment.yaml 1:1 warning missing document start "---" (document-start) build/opnfv-environment.yaml 6:3 warning comment not indented like content (comments-indentation) 14:4 warning missing starting space in comment (comments) 123:1 warning comment not indented like content (comments-indentation) 128:1 warning comment not indented like content (comments-indentation) 156:1 warning comment not indented like content (comments-indentation) config/deploy/os-odl-fdio-dvr-ha.yaml 1:1 warning missing document start "---" (document-start) config/deploy/os-odl-fdio-dvr-noha.yaml 1:1 warning missing document start "---" (document-start) config/network/network_settings_v6.yaml 225:6 warning missing starting space in comment (comments) Change-Id: I3985ce0b6740ce4694b5d75b477cb03c3dc49c28 Signed-off-by: Dan Radez <dradez@redhat.com>
2017-09-14Fix broken build dependencyTim Rozet4-2/+15
libguestfs-tools is failing to install because libvirt-client is installed and there is a package conflict. Removing libvirt-client from image before installing libguestfs-tools. NSH build is failing in overcloud because the CentOS repos updated with newer kernel source and headers, and we are still using older kernel. This patch adds the old kernel source and headers. Upgrading to new kernel causes NSH OVS to fail when compiling. Change-Id: Ifd500ad138116cfecafb2268ccb580bd44d5efd5 Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-09-13Merge "Migrates clean to python"Feng Pan1-1/+2
2017-09-13Migrates clean to pythonTim Rozet1-1/+2
ci/clean.sh will be removed in a future patch after releng is updated to use python. JIRA: APEX-509 JIRA: APEX-319 Change-Id: If890db2fc5a31833ad28ec6f04589e25457bd380 Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-09-11Updates SFC to use nitrogenTim Rozet1-0/+3
Also fixes issue where openvswitch NSH rpm was not getting installed because we needed to downgrade now that default OVS is 2.7 and NSH OVS is 2.6.1 Change-Id: I1b639ca80214032e93aacb3332e9588d49e74127 Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-09-07Adds missing packages for undercloudTim Rozet1-0/+1
JIRA: APEX-511 Change-Id: If8ed2b5409e450c39f4fffd5a0b3cb96560c5d26 Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-09-06Remove deploy.sh and referencesTim Rozet1-1/+1
Deploy is now pip/rpm installed as opnfv-deploy in /bin. Alternatively the deploy.py script can be invoked via python. The legacy deploy.sh was only being used for CI, which has now been updated to remove the need for the Apex repo containing ci/deploy.sh. Change-Id: I1fb93bd9de23a97a09bedb8ac014ef81955875f2 Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-08-30Merge "Change qemu-img resize unit"Tim Rozet1-1/+1
2017-08-29Fixes missing iso packages and idempotency of virt resourcesTim Rozet1-1/+5
Python packages for ansible (py2.x) were missing causing ansible to fail. This patch adds those packages to the ISO and deploy dependencies playbook. Also includes fixes for deploy_dependencies playbook for virt resources to make them idempotent by removing using 'command' and instead just declaring 'state'. Change-Id: I9311184a6f3c40ead0a8ba16fa0b61667876cf12 Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-08-29Change qemu-img resize unitDan Radez1-1/+1
Docs read: size is the disk image size in bytes. Optional suffixes "k" or "K" (kilobyte, 1024) "M" (megabyte, 1024k) and "G" (gigabyte, 1024M) and T (terabyte, 1024G) are supported. "b" is ignored. MB is technically invalid and for somereason only aarch has complained thus far Change-Id: Ic152a0edab17ac1cdb5afc0791bb0353b95f94b8 Signed-off-by: Dan Radez <dradez@redhat.com>
2017-08-26Add missing iso build dependenciesFeng Pan1-1/+1
Change-Id: Ie7c07d34819ea29575f94ecac3da046758415da6 Signed-off-by: Feng Pan <fpan@redhat.com>
2017-08-25Merge "Updates and additions to handle aarch64"Dan Radez1-4/+4
2017-08-24Merge "Updates RPM specs and building"Tim Rozet4-10/+25
2017-08-24Updates and additions to handle aarch64Dan Radez1-4/+4
- move patches from x86 only to common virt-customize - updates to undercloud to configure pxe and external network - initial updates to overcloud deploy functions JIRA: APEX-381 Change-Id: I496e196535e63bfd31654d0f501fe3f00fa5ca3f Signed-off-by: Dan Radez <dradez@redhat.com>
2017-08-24Updates RPM specs and buildingTim Rozet4-10/+25
Changes Include: - Disables ONOS from rpm and image building - Fixes opnfv-apex package dependency for python34-opnfv-apex - Updates requirements for python34-opnfv-apex - Updates docs - Removes temporary build qcow2 for odl which was being bundled into our dev tars unnecessarily Change-Id: Ief668067181fc35a54553ae118b7950bddce1940 Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-08-24Merge "Change destination of snmp mibs files from /usr/share/mibs/ietf to ↵Tim Rozet1-3/+3
/usr/share/snmp/mibs, and create symbolic link from ietf to snmp/mibs."
2017-08-23Migrates Apex to PythonTim Rozet4-92/+59
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-08-22Change destination of snmp mibs files fromjhinman11-3/+3
/usr/share/mibs/ietf to /usr/share/snmp/mibs, and create symbolic link from ietf to snmp/mibs. Change-Id: Icf3ff3659f63222cc3a5e8f1f93fe183a2b86f45 Signed-off-by: jhinman1 <john.hinman@intel.com>
2017-08-21Bumps OVS version to 2.8 for OVNTim Rozet1-2/+2
OVS 2.7 does not seem to be available anymore in the copr repo and has been replaced by 2.8. Change-Id: I7ba98f14e9c9c34f6802f8a890876363c839ab9b Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-08-14Fixes OpenDaylight versionTim Rozet1-5/+16
The default version is now Carbon with the option of using nitrogen (master) for puppet-odl and opendaylight. JIRA: APEX-500 Change-Id: I44d02ec0db5fb8e6342e5ab6802a5a3f302b8511 Signed-off-by: Tim Rozet <trozet@redhat.com>