summaryrefslogtreecommitdiffstats
path: root/build
AgeCommit message (Collapse)AuthorFilesLines
2018-11-01Fixes Docker image upload for master/rockyTim Rozet1-0/+26
The API has changed to create/upload the docker container images to be used for deployment. In the past the prepare commands would read the THT environment files passed, to determine which docker images to render into an environment file. The new behavior uses a new "containers-prepare-parameter.yaml" format (included in this patch), which Apex will now configure for deployment. By default docker images will be rendered for all TripleO services identified in the roles_data.yaml file. Therefore we must use several excludes patterns to only pull the docker images needed for a default deployment. JIRA: APEX-642 Change-Id: Iab00fcb874554bb98540dc9a4c3051e58ea68a3b Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-09-28Migrates from queens to rockyTim Rozet2-11/+106
For now we need to retain the ability to deploy odl-queens for CSIT. Change-Id: Idea550ff5e7aeb230aa93d3575de11e5e9656302 Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-09-27Enable OVN scenariosTim Rozet1-1/+4
As of Queens only HA OVN deployments are supported. Change-Id: I184c5a096fec9cbc3cf2ec06218700138ea3ed57 Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-09-17Fix per-network routes to NIC templates dependencyRicardo Noriega1-24/+84
Change-Id: I9e01f1164fc72915b92dfb1c0aad7414c484567e Signed-off-by: Ricardo Noriega <rnoriega@redhat.com>
2018-09-06Updates Calipso deploy settingsTim Rozet1-0/+3
Change-Id: Ibfbd08dc2fa5fca95668fd0590707cfebd92099f Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-08-22Merge "Enable SFC scenarios for Gambia"Tim Rozet2-0/+24
2018-08-22Enable SFC scenarios for GambiaRicardo Noriega2-0/+24
- This patch will install OVS 2.9.2 including its kernel module which allows native NSH headers. - Fix Custom OVS due to bug: https://bugzilla.redhat.com/show_bug.cgi?id=1544892 - Tacker is disable for the time being, tacker-conductor needs to be enabled. JIRA: APEX-630 Change-Id: Ia410309fd7053602ce78eae919839d0f57c9742a Signed-off-by: Ricardo Noriega <rnoriega@redhat.com>
2018-08-20Add Nova migration params to upstream env fileRicardo Noriega1-0/+3
JIRA: APEX-635 Change-Id: I488dd5d9b114aba5f4bb4591a0cdd8c19b692ce9 Signed-off-by: Ricardo Noriega <rnoriega@redhat.com>
2018-08-14Allow common patches fileTim Rozet1-1/+4
This patch adds allowing for common patches that should be applied to every scenario to be included. It by default pulls in a file in the deploy directory 'common-patches.yaml', but can optionally be overridden. This patch also includes a patch upstream to fix OSCLI not working anymore due to breakage with the Cinder version in the overcloudrc. Change-Id: I97b9efb937deff07e085b9ef75b9799fb65bfc57 Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-08-06Revert "Fix BGPVPN Queens scenario files to be consistent"Ricardo Noriega1-2/+2
This reverts commit b88eb3c7a1578cb251282c358fad6d87e7439868. Change-Id: If5a2548e647de099229824761c6c575ca4f2e815 Signed-off-by: Ricardo Noriega <rnoriega@redhat.com>
2018-08-03Fix BGPVPN Queens scenario files to be consistentRicardo Noriega1-2/+2
Change-Id: Id5b932246020676e1e53438db689e32bc124939e Signed-off-by: Ricardo Noriega <rnoriega@redhat.com>
2018-08-02Enable BGPVPN for master deploymentsRicardo Noriega1-0/+2
- Injection of Quagga tarball via overcloud builder. - Extraction and installation of all related packages. - It uses SDNVPN artifact repository to download Quagga tarball, so there is only one source to test. - Modifies bgpvpn scenario files to use OS master branch, ODL master branch and containers. JIRA: APEX-627 Change-Id: Icdbc2853d9531048e23fd6d5e444bd68208d18fc Signed-off-by: Ricardo Noriega <rnoriega@redhat.com>
2018-08-01Fixes missing NovaPlacement for csitTim Rozet2-0/+2
Nova Placement should have been on controller. Change-Id: I9279e56b5cf786c1153af4b09b29e2b215c2f248 Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-07-27Updates CSIT env filesTim Rozet2-2/+6
NovaPlacementApi is not needed on compute nodes and is not default on compute nodes upstream, so removing it. Also adds clustercheck and sql clients to the both roles. Change-Id: Ia9d9fb4f115bc9850be46043a03688b55149f5df Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-07-20Merge "Add tenant vlan support"Tim Rozet3-1/+19
2018-07-18Add tenant vlan supportFeng Pan3-1/+19
Introduces tenant vlan support through configuration of network settings file. JIRA: APEX-272 Change-Id: Ie8e20a92ca4ebb9e0de4c53b5e03856d19ff660c Signed-off-by: Feng Pan <fpan@redhat.com>
2018-07-18Add pacemaker for HA snapshot deploymentsTim Rozet2-0/+2
Change-Id: Ic7b631af3968de8868177efa719f7c6e01628ce9 Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-07-16Merge "Add support for kubernetes deployment"Tim Rozet2-0/+29
2018-07-10Adds IP to external network NIC on computesTim Rozet1-2/+0
Deployments now fail in baremetal because the external NTP server cannot be reached because there is no IP on the extenal interfaces for computes. Change-Id: Ic1e67072b81bb7ca4e15930840dc77d27913737f Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-07-06Add support for kubernetes deploymentZenghui Shi2-0/+29
This patch adds capability to deploy kubernetes cluster instead of openstack. Kubernetes will be deployed using kubespray and is run after TripleO bookstraps overcloud nodes. JIRA: APEX-574 Change-Id: If9c171620c933a052b719e7112a50e22bbab667f Signed-off-by: Feng Pan <fpan@redhat.com> Signed-off-by: Zenghui Shi <zshi@redhat.com>
2018-06-15Adds missing queens deploy settings filesTim Rozet1-0/+4
Change-Id: I87508e6d486ade6e4acd8dec69a4c867b0d81252 Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-05-30Updates configs for ODL CSIT deploymentsTim Rozet3-21/+122
For ODL CSIT we want to deploy with: - Minimum services per role - 2 Compute nodes, 1 controller - Single network enabled Change-Id: If611c4c1ff68629670ef15904930124b5786a569 Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-05-24Adding git as required dependency for Apex RPMsRicardo Noriega1-0/+1
If it's not installed, opnfv-deploy will output an error message. JIRA: APEX-599 Change-Id: Ib826204120f53abce1f4f1e3e4ec3119a71ab650 Signed-off-by: Ricardo Noriega <rnoriega@redhat.com>
2018-05-22Fix RPM buildTim Rozet1-3/+3
networking-vpp was referencing variables from the old variables.sh. Moving those values into the Makefile as the variables.sh file was removed. Change-Id: I8ef5e6988299e7e3855d442657db2ed20086689f Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-05-21Migrates master to use direct upstreamTim Rozet22-10632/+211
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-19Merge "Fix nosdn fdio scenario"Tim Rozet3-7/+7
2018-04-18Adding NovaMigrationTarget serviceRicardo Noriega1-0/+1
Live migration fails due to this missing service in the compute role JIRA: APEX-564 Change-Id: I13d69673204f6157dcbce31507aaa132f8c4ecce Signed-off-by: Ricardo Noriega <rnoriega@redhat.com>
2018-04-17Fix nosdn fdio scenarioFeng Pan3-7/+7
- 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-14Fix barometer install failureFeng Pan1-5/+3
We are seeing pip3 not found and collectd-write_sensu package conflicts with latest pike overcloud images. This patch changes pip3 install to python34-pip3 and updates collectd-write_sensu package version when removing. Change-Id: I7dfe1f2f39c3f21bffde8cfc6066f5bae66677d6 Signed-off-by: Feng Pan <fpan@redhat.com>
2018-04-09Enable nosdn-fdio scenarios for Fraser releaseFeng Pan6-55/+92
- 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>
2018-04-04Adds the ability to fetch logs from deploymentTim Rozet1-0/+3
Usage: opnfv-pyutil --fetch-logs python3 utils.py --fetch-logs --lib-dir ../lib Eventually all utils.sh functions will be migrated here. Note there is no support here for containers. Will be added later. Change-Id: I223b8592ad09e0370e287ee2801072db31f9aa12 Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-03-16Enables containerized overcloud deploymentsTim Rozet3-181/+192
Changes Include: - For upstream deployments, Docker local registry will be updated with latest current RDO containers, regular deployments will use latest stable - Upstream container images will then be patched/modified and then re-uploaded into local docker registry with 'apex' tag - Deployment command modified to deploy with containers - Adds a --no-fetch deployment argument to disable pulling latest from upstream, and instead using what already exists in cache - Moves Undercloud NAT setup to just after undercloud is installed. This provides internet during overcloud install which is now required for upstream container deployments. - Creates loop device for Ceph deployment when no device is provided in deploy settings (for container deployment only) - Updates NIC J2 template to use the new format in OOO since the os-apply-config method is now deprecated in > Queens JIRA: APEX-566 JIRA: APEX-549 Change-Id: I0652c194c059b915a942ac7401936e8f5c69d1fa Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-03-16Merge "Adding SRIOV scenario"Tim Rozet1-0/+2
2018-03-15Adding SRIOV scenarioRicardo Noriega1-0/+2
This scenario should enable SRIOV interfaces to be used by Neutron. Only will be supported in baremetal deployments with SRIOV capable NICs. The name of the interface must be known in advance and the physnet of the SRIOV network is set as nfv_sriov. Change-Id: Ie4295413e0be2197bd9ada4f887f6b47cd486765 Signed-off-by: Ricardo Noriega <rnoriega@redhat.com>
2018-03-12Enabling extra bridge for native external networkRicardo Noriega1-0/+4
If you have a non-vlan external network in a separate interface, you will need to create an extra bridge to hook up the interface. This patch will allow the user to create: - br-isolated: for all the vlan networks - br-ex: for the native external network JIRA: APEX-572 Change-Id: Ie76e2345ce75c77f2925c47451427ae41b6957d1 Signed-off-by: Ricardo Noriega <rnoriega@redhat.com>
2018-03-10Merge "Fixes ceph key import failures"Feng Pan2-0/+78
2018-03-09Fixes ceph key import failuresTim Rozet2-0/+78
There is an issue with HA deployments where sometimes key imports fail for Ceph which seem to occur around 50% of the time. When logging in after a failure, the key import seems to work which indicates it may be a race condition. In addition, sometimes the keyring that is created is missing the "caps" section of the file, which will also fail import. This patch adds a retries for a minute to try to import the key. It also moves creating/importing to the same Exec because there is evidence that the file is being modified by some other process right after the file content is created in the previous exec. JIRA: APEX-563 Change-Id: Ie8cfeb4803f6bed95f9e612eeb37c5cdf2d76617 Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-02-23Merge "barometer: fix barometer apex build"Tim Rozet3-21/+57
2018-02-15Fixes python2 docutils req and also installs ansibleTim Rozet2-2/+5
For some reason we were requiring python2-docutils in to build our rpm instead of python34-docutils. Patch also includes some logic to install ansible. JIRA: APEX-515 Change-Id: I1b85e5b4b29f74f5ff5399296f24831c334c289c Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-02-13Merge "Adds barbican service to deployment"Feng Pan1-0/+2
2018-02-13Adds openstack-utils to overcloudTim Rozet1-0/+2
Package allows user to do openstack-status to see state of services. JIRA: APEX-352 Change-Id: Ie68cad5745786c8764ae20c2d3ad26dd05e5480b Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-02-13Adds barbican service to deploymentTim Rozet1-0/+2
This service is required for creating encrypted volumes for storage. JIRA: APEX-531 Change-Id: Ied5ea1d6921ef96c1a352dba523d6f37245608e2 Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-02-07Adding L2GW ScenarioRicardo Noriega1-0/+2
This scenario allows you to install L2GW Neutron driver and point to OpenDaylight as service provider. apex-tripleo-heat-templates: I37039207bc7cf9965d26e6dfa034e84bf9b7224d Change-Id: I0dfd37bcc5060f0ad8caa95e1f87a7411bd6e723 Signed-off-by: Ricardo Noriega <rnoriega@redhat.com>
2018-02-07barometer: fix barometer apex buildMaryam Tahhan3-21/+57
apex-tripleo-heat-templates: I3250b57316b4ec85e0558f1b512f6f3ed7c349fb apex-puppet-tripleo: I95698d69c58e0c36ae88cc2687073a05b514592c Change-Id: I5f33cd2a2842051a77c89cb11f97e8e37d1d0185 Signed-off-by: Maryam Tahhan <maryam.tahhan@intel.com>
2018-02-07Fixes missing CephClientKey generationTim Rozet2-33/+0
In newer OOO deployments, the keys for ceph are dynamically generated. Also removes tacker client patch for symmetrical as it is already present in stable/pike: https://github.com/openstack/python-tackerclient/commit/682c9651085214a58434ad6016d93b2cdc8f3462 JIRA: APEX-563 Change-Id: I01fb617b026bae5d6e265a4afbac270939627c5a Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-01-11Merge "barometer: move to opnfv puppet repo"Tim Rozet1-2/+3
2018-01-05Disable gpgcheck on the kubernetes repoTim Rozet1-2/+2
JIRA: APEX-560 Change-Id: I0c8da2e841f175a1724b81d73fdf08c706408b9b Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-11-30Add missing packages to iso buildFeng Pan1-0/+5
Change-Id: I5d749a406c5d82f72b0609e85078fe27eb421d60 Signed-off-by: Feng Pan <fpan@redhat.com>
2017-11-30barometer: move to opnfv puppet repoMaryam Tahhan1-2/+3
The barometer puppet scripts have been moved to the barometer repo. This change migrates the Apex builds to using the barometer repo. Change-Id: I064c40746d19e5deb305c503128b357479b7149c Signed-off-by: Maryam Tahhan <maryam.tahhan@intel.com>
2017-11-29Bump RPM versions to 6.0 for FraserTim Rozet4-4/+12
Change-Id: I1bf736107627f0da7a027b460f19b53dac3045c3 Signed-off-by: Tim Rozet <trozet@redhat.com>