summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2018-04-10Fix functional issues after nosdn deploymentTim Rozet1-0/+17
After deploying with nosdn, it looks like there is some out of state issue between the services. First guess looks like something is going on with the services and timing of registering to each other through rabbit. Simply restarting the services seems to sync them back up correctly. Change-Id: I417911067c841725ee12eb9354e5759054724e01 Signed-off-by: Tim Rozet <trozet@redhat.com> (cherry picked from commit fc3f52862e181967e861eb8bce4604ac47c176ac)
2018-04-07Merge "Fixes deleting security group in SNAPS for ODL scenarios" into ↵Feng Pan2-0/+235
stable/fraser
2018-04-07Merge "Fixes delorean repo update on undercloud" into stable/fraserTim Rozet2-2/+2
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> (cherry picked from commit 3812d0987d078a8a0ad93724e8188994b7579e50)
2018-04-06Fixes deleting security group in SNAPS for ODL scenariosTim Rozet2-0/+235
Sometimes API check was failing for ODL scenarios on security group deletes. This patch backports a fix from upstream to fix the issue: https://review.openstack.org/#/c/538352/4 JIRA: APEX-586 Change-Id: I36a3547228cdcb1883140f17de7b5a713298d366 Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-04-06Freeze overcloud/undercloud images for Fraser releaseTim Rozet1-1/+1
Images are latest built on 3/25 Change-Id: If0d6e190ce65f0c9cac3c0056848d589db9c68dc Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-04-06Fixes 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> (cherry picked from commit c8f07fda6445b9b3b1fcb9d97f05cd40fffe8daf)
2018-04-05Fixes log location for pyutilsTim Rozet1-1/+1
Change-Id: I03cda65f58753fc5d55ea4ede78f7d5bd8b7bdce Signed-off-by: Tim Rozet <trozet@redhat.com> (cherry picked from commit 4d537d8b9edf67057cc28656583bbfb7dd489779)
2018-04-05Adds the ability to fetch logs from deploymentTim Rozet8-12/+171
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> (cherry picked from commit 382fa452e0c9a8189911f615416e1b24badaf5e4)
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 Rozet34-347/+1779
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 Rozet11-6/+183
2018-03-15Adding SRIOV scenarioRicardo Noriega11-6/+183
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-13Merge "Enabling extra bridge for native external network"Feng Pan1-0/+4
2018-03-13Merge "Adds OS_REGION_NAME into overcloudrc files"Feng Pan1-0/+15
2018-03-12Merge "Cherry-pick of L2GW environment file"Tim Rozet1-0/+2
2018-03-12Adds OS_REGION_NAME into overcloudrc filesTim Rozet1-0/+15
Although this is not required to be able to access overcloud, it is required by some tests in Functest. JIRA: APEX-570 Change-Id: I45deaa8061f1be44ce80eed4810537eaf6841803 Signed-off-by: Tim Rozet <trozet@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-03-08Merge "Fix URL anchor in apex document."Feng Pan2-4/+4
2018-03-07Merge "Adding libguestfs-tools as dependency"Feng Pan1-0/+1
2018-02-24Cherry-pick of L2GW environment fileRicardo Noriega1-0/+2
It includes ODL L3 service plugin and trunk ports apex-tripleo-heat-templates: I37039207bc7cf9965d26e6dfa034e84bf9b7224d Change-Id: I29c398aabf9a2d1b98f76895ed73c01dcc008c19 Signed-off-by: Ricardo Noriega <rnoriega@redhat.com>
2018-02-23Merge "barometer: fix barometer apex build"Tim Rozet3-21/+57
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 Radez9-9/+60
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-15Ensures v4/v6 iptables filters are loadedTim Rozet1-0/+6
We configure host iptables to open different ports for VBMC. This may fail if the iptables filters are not loaded. JIRA: APEX-521 Change-Id: Ia33032c29aba3555551e39b4f819087aeafe05d9 Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-02-15Adding libguestfs-tools as dependencyRicardo Noriega1-0/+1
Needed for virt-customize the images Change-Id: Ide3fff2c6b850047add6eeed4082c518c36e6e74 Signed-off-by: Ricardo Noriega <rnoriega@redhat.com>
2018-02-15Fixes python2 docutils req and also installs ansibleTim Rozet6-2/+26
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-09Merge "Adding L2GW Scenario"Tim Rozet7-1/+34
2018-02-07Allow disabling ipxe for provisioningDan Radez5-16/+25
JIRA: APEX-535 Change-Id: I52d17e962fc4a504db1ddbc20df0ac56a208f34b Signed-off-by: Dan Radez <dradez@redhat.com>
2018-02-07Adding L2GW ScenarioRicardo Noriega7-1/+34
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 Rozet3-33/+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-02-01Fix URL anchor in apex document.Tomofumi Hayashi2-4/+4
The latest OPNFV document template makes html file separately, hence index.html#<something> is invalid. This fix changes anchor URL to support separate file. Change-Id: Ic48c062e118d2faede53e8c9eaecbb99e58fddfb Signed-off-by: Tomofumi Hayashi <tohayash@redhat.com>
2018-01-31wrapping up deploy items for aarchDan Radez4-3/+15
Change-Id: Ib5f4715d851dc91be6a57fcb5d18a0557a7b0c7f Signed-off-by: Dan Radez <dradez@redhat.com>
2018-01-29Merge "Make introspection optional"Tim Rozet3-5/+13
2018-01-18Enables trunk ports with bgpvpn scenarioTim Rozet1-0/+1
This is enabled in regular ODL deployments but is missing from the bgpvpn scenario. Trunk ports are requested by SDNVPN team for testing with bgpvpn. apex-tripleo-heat-templates: I1b4d3eea61e29e1ede0e06d78fde842ef13b7b8e Change-Id: I00a36b56045fa1114d8407fe5005128c46ecefb4 Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-01-15Merge "Fixes including default SDN env file in deploy cmd"Tim Rozet2-0/+33
2018-01-11Merge "barometer: move to opnfv puppet repo"Tim Rozet1-2/+3
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>
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-12-21Merge "Updates OpenDaylight BGPVPN driver"Tim Rozet1-1/+2