summaryrefslogtreecommitdiffstats
path: root/build
AgeCommit message (Collapse)AuthorFilesLines
2017-09-25Merge "Adding unittests for build"Tim Rozet1-1/+1
2017-09-23Add 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>
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-23Merge "Fixes Tacker auth and fernet keys dir"Tim Rozet1-0/+1
2017-09-23Merge "Fixes missing bgpvpn service on controller"Tim Rozet1-0/+1
2017-09-22Fixes missing bgpvpn service on controllerTim Rozet1-0/+1
Change-Id: I943fc99d539aca9bc66204a75dbd2ae8fa7033fd Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-09-22Fixes 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>
2017-09-22Add kubernetes repo and install RPMS into overcloud imagesTomofumi Hayashi1-0/+14
This change introduces k8s into overcloud images. It just installs kubernetes rpms only, so further configuration is required to activate k8s at overcloud nodes and it will be taken care of other diffs. Change-Id: I606d176812705802790243ae4e95988a591c5fe6 Signed-off-by: Tomofumi Hayashi <s1061123@gmail.com>
2017-09-21Revert "Adds Calipso scenario"Tim Rozet3-10/+0
This reverts commit 433961f8c0b816f19aa858654261fa87d2f02a19. Change-Id: Ic8a14d2e0ad8d1006625af401fde2f365890650b Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-09-20Adds Calipso scenarioTim Rozet3-0/+10
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-20Merge "Fixes missing libvirt-client in ISO"Feng Pan1-1/+1
2017-09-19Removes building OVS 2.6.1 with NSHTim Rozet2-56/+0
For master(Pike) we wont need this anymore since OVS 2.8 will have built in support for NSH. Change-Id: I51e2f4abf282ddb83d3edef9e5b827363a4d68be Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-09-19Fixes 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>
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>
2017-08-14Merge "Change install directory for collectd-ceilometer from /opt to ↵Feng Pan1-2/+2
/opt/stack."
2017-08-14Merge "Backport of Congress parallel execution"Tim Rozet2-1/+90
2017-08-12Backport of Congress parallel executionCarlos Goncalves2-1/+90
JIRA: APEX-480 JIRA: DOCTOR-78 Change-Id: I6b5b3e7f2daaec7e2ead76d74f8d3713378a5200 Signed-off-by: Carlos Goncalves <carlos.goncalves@neclab.eu>
2017-08-11Add os-odl-fdio-dvr supportFeng Pan5-10/+18
apex-tripleo-heat-templates: I6a83c9e2deeb0df9a3ab09a707c9c64aa84da55e apex-puppet-tripleo: I2025e3157b97b376b63002003ca17c7206aba546 JIRA: APEX-466 Change-Id: Iedb75994d35b5dc1dd5d5ce1a57277c8f3729dfd Signed-off-by: Feng Pan <fpan@redhat.com>
2017-08-11Change install directory for collectd-ceilometer from /opt to /opt/stack.jhinman11-2/+2
Change-Id: I9dd9d69a7efa7c037b776a416bf54df8d2c7b712 Signed-off-by: jhinman1 <john.hinman@intel.com>
2017-08-11Merge "Remove extra VPP interface from fdio-nosdn scenarios"Tim Rozet1-0/+2
2017-08-10Remove extra VPP interface from fdio-nosdn scenariosFeng Pan1-0/+2
Also set NeutronNetworkVLANRanges for daily environment. JIRA: APEX-502 Change-Id: I0a53ad8b0bce7a721104b84a2aa7ea38c510a7e7 Signed-off-by: Feng Pan <fpan@redhat.com>
2017-08-10moving OVS NSH build to x86_64 specificDan Radez1-19/+19
Change-Id: I85ae26a26d6fb07620f5ba7419cb375e6c5fd411 Signed-off-by: Dan Radez <dradez@redhat.com>
2017-08-10Merge "Add collectd-snmp and collect-rdt installation. Use the Intel RDT ↵Feng Pan1-8/+29
version which is current (the version in the package set specified by the latest.properties file)."
2017-08-09Merge "Sets baremetal workers to 12"Tim Rozet2-0/+10
2017-08-09Sets baremetal workers to 12Feng Pan2-0/+10
There is an issue where in Newton the number of workers (sub processes) opened per openstack service scales with the number of logical cores on the system. On servers with large amount of processors this causes the cloud to fail after some time due to running out of RAM. This patch will limit the number of worker processes to 12, which is the limit in Ocata and onwards. JIRA: APEX-410 Change-Id: I28c4762830c19cd758a0729017f2d4a9ebe372b4 Signed-off-by: Tim Rozet <trozet@redhat.com> Signed-off-by: Feng Pan <fpan@redhat.com>
2017-08-08Add collectd-snmp and collect-rdt installation.jhinman11-8/+29
Use the Intel RDT version which is current (the version in the package set specified by the latest.properties file). Change-Id: I3f176572edaa5d3df5b3cc31b39253025d81e808 Signed-off-by: jhinman1 <john.hinman@intel.com>
2017-08-09Enables SFC scenariosTim Rozet5-0/+479
apex-tripleo-heat-templates: I230b31dc9ed0ecc5046064628ba2f2505e589522 apex-puppet-tripleo: Icd433ddc6ae7de19a09f9e33b410a362c317138a Change-Id: I0b17b4e86eb90b949bd62f7e73944adad77ef1a3 Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-08-08[KVMFORNFV]kvm+ovs+dpdk scenario for E-releaseNavya1-0/+4
This patch consists of implementation of the KVMFORNFV os-nosdn-kvm_ovs_dpdk-ha and os-nosdn-kvm_ovs_dpdk-ha scenarios. Format of comment to trigger gate should be as follows: start-gate-scenario: os-nosdn-kvm_ovs_dpdk-noha Change-Id: Ia320ed8ac44f6b62c3875efe5e44a1df7a0fc777 Signed-off-by: Navya Bathula <navyax.bathula@intel.com>