summaryrefslogtreecommitdiffstats
path: root/apex
AgeCommit message (Collapse)AuthorFilesLines
2018-04-19Merge "Fix nosdn fdio scenario"Tim Rozet3-9/+51
2018-04-17Fix nosdn fdio scenarioFeng Pan3-9/+51
- 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-17Fixes OVN scenarioTim Rozet1-8/+0
The OVN scenario would not deploy due to failures in trying to upgrades to OVS 2.8 from OVS 2.7 JIRA: APEX-594. Change-Id: Id84e488da8d2335f2240930c68119d0e2f6faf9c Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-04-09Enable nosdn-fdio scenarios for Fraser releaseFeng Pan1-0/+3
- 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-06Fixes delorean repo update on undercloudTim Rozet2-2/+2
Previous fix to update delorean repo on undercloud was always failing because the operations passed to virt-customize were not in a list type. JIRA: APEX-565 Change-Id: Ic883309ac1c3aa6027dc252635e404e5355c269d Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-04-05Fixes relative import for utilsTim Rozet1-1/+1
opnfv-pyutil was not working due to this relative import. The script would only work out of the pwd. Change-Id: I1ed5db779dd031d019012a814b2dfe27944a2e2f Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-04-05Fixes log location for pyutilsTim Rozet1-1/+1
Change-Id: I03cda65f58753fc5d55ea4ede78f7d5bd8b7bdce Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-04-04Adds the ability to fetch logs from deploymentTim Rozet4-12/+129
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-28Generalization of recursive functionRicardo Noriega2-5/+13
Now, SDN_MAP is not needed to have a boolean true value, but it will check internally posible value formats such dicts and tuples. Change-Id: Idaf492952a7dd9e48e16f42dcbf5c59d981dd535 Signed-off-by: Ricardo Noriega <rnoriega@redhat.com>
2018-03-16Enables containerized overcloud deploymentsTim Rozet20-107/+1264
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-15Adding SRIOV scenarioRicardo Noriega4-4/+117
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-02-21Typo fix for disabling ipxeDan Radez1-2/+3
JIRA: APEX-535 Change-Id: If1d074d01246407b322d5a4bc27dfde35349e9db Signed-off-by: Dan Radez <dradez@redhat.com>
2018-02-16Merge "Fixes ensuring VBMCs are actually running"Feng Pan3-4/+64
2018-02-16Merge "Fixes stale undercloud delorean repos"Feng Pan4-2/+46
2018-02-16Fixes ensuring VBMCs are actually runningTim Rozet3-4/+64
We currently start VBMCs using CLI due to issues with the VBMC python lib. However when we start them, there is no check to make sure they are actually changed to 'running' status. This patch adds logic to check (up to 5 times) to ensure each VBMC is running or raises an error. Note this is for virtual deployments only. JIRA: APEX-527 Change-Id: Iab7ee3b76292d6fc547f18c83f23c04205e9bb2e Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-02-16Add http(s)_proxy handling to apexDan Radez4-9/+32
JIRA: APEX-512 Change-Id: I875bd99203b425e448e7a3f64eb9a8f99d03ddaf Signed-off-by: Dan Radez <dradez@redhat.com>
2018-02-16Fixes stale undercloud delorean reposTim Rozet4-2/+46
When we build artifacts for release, we try to freeze the disk images and artifacts we use for deployment. This includes the delorean repo which provides OpenStack packages. This repo however expires after a couple months and then if any packages were missing in the Undercloud released artifact, they will attempt to be downloaded during install and fail. This patch adds some logic to detect if there is internet connectivity, and if so then download and update the delorean repo on the undercloud. JIRA: APEX-565 Change-Id: I58c28437fb5c5b179033c939377fd97aefbf427c Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-02-15Fixes python2 docutils req and also installs ansibleTim Rozet3-0/+20
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-09Merge "Adding L2GW Scenario"Tim Rozet3-1/+4
2018-02-07Allow disabling ipxe for provisioningDan Radez3-11/+20
JIRA: APEX-535 Change-Id: I52d17e962fc4a504db1ddbc20df0ac56a208f34b Signed-off-by: Dan Radez <dradez@redhat.com>
2018-02-07Adding L2GW ScenarioRicardo Noriega3-1/+4
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-07Fixes missing CephClientKey generationTim Rozet1-0/+3
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-31wrapping up deploy items for aarchDan Radez3-3/+13
Change-Id: Ib5f4715d851dc91be6a57fcb5d18a0557a7b0c7f Signed-off-by: Dan Radez <dradez@redhat.com>
2018-01-29Merge "Make introspection optional"Tim Rozet1-0/+7
2018-01-11Fixes including default SDN env file in deploy cmdTim Rozet2-0/+33
The latest method to deploy opendaylight features upstream is to include the default SDN file and then add-on the feature env file which should override any default settings in the previous SDN env file. For example for bgpvpn: openstack overcloud deploy -e <tht_dir>/neutron-opendaylight.yaml -e \ <tht_dir>/neutron-bgpvpn-opendaylight.yaml This change documents the recursive function used to find the SDN env files and includes the default for the SDN controller. JIRA: APEX-555 Change-Id: I4270932ca4fbc21ea54e965d9d6491424f4463e2 Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-12-13Enables br-ex on controllers in SFC scenarioTim Rozet1-3/+0
ODL's current behavior is to select a node to serve as the routing/L3 node in a deployment. The selection is random, and it could end up choosing a control node. Therefore the control node needs to have external network connectivity so adding br-ex to the controller which will enable this via default ProviderMappings. JIRA: APEX-558 Change-Id: Ie3044e5711ba62d73b83d69cde369e7452958844 Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-12-05Make introspection optionalDan Radez1-0/+7
- exposes new option to end users to skip introspection - moves the logic to decide to introspect or not into python JIRA: APEX-536 Change-Id: Ieaff11362ff8f906daa98d301d3d473ad549d08f Signed-off-by: Dan Radez <dradez@redhat.com>
2017-12-02Merge "Fix nested kvm detection and enablement"Tim Rozet1-1/+8
2017-11-30Fix nested kvm detection and enablementFeng Pan1-1/+8
- Fix ansible kvm_intel kernel module reload when trying to enable nested kvm - Add "--libvirt-type qemu" to deploy command when nested kvm is not enabled. JIRA: APEX-514 Change-Id: I0e659b1c99b5732854d723e1cb049845cb60ef37 Signed-off-by: Feng Pan <fpan@redhat.com>
2017-11-30Merge "Disable introspection extras"Feng Pan1-0/+1
2017-11-29Disable introspection extrasTim Rozet1-0/+1
According to the documentation introspection extras attempts to collect more hardware info during inspection. This is causing problems for some users and we do not need it for our deployments. JIRA: APEX-534 Change-Id: Ia4a72ed14fb744a10d02ee2d3f4e283cc7208c2b Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-11-29Fixes permissions and owner for undercloud.qcow2Tim Rozet1-1/+2
The undercloud storage disk is copied during our deployment from modified underloud from upstream. We copy it as owner root with wrong permissions. This changes the owner to qemu and sets the permissions the same as the other storage disks that virsh creates for overcloud nodes. Change-Id: Ie884a586f91be3461e4b511e224d061639f04c69 Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-11-28Fixes upstream deploymentsTim Rozet2-2/+3
There was an issue with patching the overcloud where the patch binary is missing, making it impossible to apply patches. This change install patch now on the image. Also, although deployments were successful, storage was not working. This is because by default upstream does not apply Ceph OSDs to compute nodes for hyperconverged Ceph, but we use this as our standard deployment in Apex. This patch inserts CephOSD into the default Compute role. Note: we normally override role's services in regular Apex deployments so we do not hit this issue there. Change-Id: I5bddda4784dc00148395863ae0990343a4159602 Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-11-27Migrate default ODL from Carbon -> NitrogenTim Rozet1-1/+1
Change-Id: If64212b33bf9ad3b9900ca18b39c90839f745843 Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-11-16Migrates Apex to PikeTim Rozet4-14/+11
JIRA: APEX-544 Change-Id: Ibee2068e782da75268ed76beb36ccb5dcd1847d6 Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-11-06Adds ability to deploy from upstream openstackTim Rozet19-90/+885
To deploy with upstream openstack branch, use new deploy setting 'os_version'. A default scenario file for nosdn with pike has been included in this patch. If 'os_version' is a version other than the default version for this OPNFV release, then upstream is used. In order to use upstream with the current OS version use '--upstream' argument to the deploy command, to force an upstream deployment. Also include '-e upstream-environment.yaml' to use default upstream deployment settings. Supports nosdn and odl-nofeature deployments. Change-Id: Ic07e308827b449637b4e86cdd086434e4de2fb69 Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-10-24Fix zrpcd start in the controller nodetomsou1-1/+4
Add sudo into zrpcd process start command Add starting script into /etc/rc.d/rc.local too Change-Id: I3c724ff60d4c3feb7379b1a8bbeca8a928cfe81b Signed-off-by: tomsou <soth@intracom-telecom.com>
2017-10-19Merge "Adapt zrpcd to work for Carbon/Nitrogen"Tim Rozet1-3/+12
2017-10-18Fix interface role mapping config for odl-fdio scenariosFeng Pan2-22/+48
This patch fixes a bug in deploy config function that will make performance parameters overwrite interface role mapping config for honeycomb. apex-os-net-config: Ifa3b18aa6370c79ad6ad3ce983f1648ff0d1d79d Change-Id: Icdb7603577bc7edf1959238ddd3d686c310544ce Signed-off-by: Feng Pan <fpan@redhat.com>
2017-10-18Adapt zrpcd to work for Carbon/Nitrogentomsou1-3/+12
It updates the quagga tar.gz file which is used to install zrpcd/quagga. The new rpms are compiled with thrift-version 4 Zrpcd is installed as a process. Additional changes takwqe place adopting the installation and checking of zrpcd process Note that an extra patch is needed to update or remove the building procedure, which is present within the project but not used actually. JIRA: APEX-508 Change-Id: If6da075d2aafdb8c2ecfc599f595a7201490aa23 Signed-off-by: tomsou <soth@intracom-telecom.com>
2017-10-11Adding unittests for apex/deploy.pyDan Radez1-0/+231
Change-Id: Id108039dcf5d846affe2900706097049b3308e81 Signed-off-by: Dan Radez <dradez@redhat.com>
2017-10-11Adding apex/overcloud/* unittestsDan Radez4-10/+493
Change-Id: I02cd512ba1ddaee2538bee7739e27b136112a0c6 Signed-off-by: Dan Radez <dradez@redhat.com>
2017-10-11Updates to Inventory objectDan Radez3-61/+52
- moved get_node_counts over from overcloud/deploy.py - added more test coverage Change-Id: I7774bebb99169aa1da0f07cb2cfc0c1d197af5ca Signed-off-by: Dan Radez <dradez@redhat.com>
2017-10-11Increase ssh timeout and add retry for AnsibleTim Rozet1-1/+2
Several users have experienced random disconnections from the undercloud during deployment. This should help to stop deployments from aborting. Change-Id: Idb7619d493b329944f21ea6641f6826a8fcc3907 Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-10-10Merge "Cleaning up yamllint warnings"Dan Radez2-0/+2
2017-10-10Cleaning up yamllint warningsDan Radez2-0/+2
apex/tests/config/inventory-virt-1-node.yaml 1:1 warning missing document start "---" (document-start) apex/tests/config/inventory-virt.yaml 1:1 warning missing document start "---" (document-start) build/opnfv-environment.yaml 6:3 warning comment not indented like content (comments-indentation) Change-Id: Ice888464d09831066bb6cd0ac94fbd290b142088 Signed-off-by: Dan Radez <dradez@redhat.com>
2017-10-10Increasing clean.py unittest coverageDan Radez1-45/+82
Change-Id: Iae3e80b399d1431382614449488238475b47b103 Signed-off-by: Dan Radez <dradez@redhat.com>
2017-10-03Pass flags to allow domain undefine with NVRAMDan Radez1-1/+1
Change-Id: I8365dd327d4bf7abebc72922e030b3049cd66de9 Signed-off-by: Dan Radez <dradez@redhat.com>
2017-10-02Adding unittests for undercloud.pyDan Radez1-0/+196
Change-Id: I65d73f7a1ad27f319857a72b7d9f738b04318aa6 Signed-off-by: Dan Radez <dradez@redhat.com>
2017-10-02Merge "nosdn-fdio scenarios fixes"Tim Rozet1-0/+6