summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2018-12-19Attempting to fix NFS issuesTim Rozet7-28/+109
Issues still persist where sometimes instances fail to start due to a failure with os.utime to read the file path. This could be some bad race condition between qemu/nova while copying images on the NFS. This patch adds more ports to open in firewall, and changes initial directory owner to nfsnobody. Also, includes a patch to fix an apparent race condition when nova sends a remote call to the privsep helper daemon to modify the time of the base file owned by qemu: https://review.openstack.org/#/c/625741/ Includes another fix for patching container images where the docker image was not being detected correctly because the full gerrit project name including 'openstack/' prefix was being used to search tripleo docker images. Additionally, there were more bugs around patching openstack python containers where the patch was not being applied correctly. JIRA: APEX-654 Change-Id: I1d011035486298d5906038922e69d478c383c3f7 Signed-off-by: Tim Rozet <trozet@redhat.com> (cherry picked from commit e1d286e89e04577bda2569a5909dfe8182d953ba)
2018-12-14Fix NFS issues with NovaTim Rozet5-16/+19
There are problems with Nova launching instantces due to permissions with nova being able to read/write certain directories on the NFS. The permissions are right on the NFS and the folders the NFS mounts to, but there still seems to be issues. The cause may be using a directory under /root as the NFS mount. This patch moves the NFS mounts to be individual folders under /. The patch also restart nova_compute docker container as NFS problems still persist unless this is done. JIRA: APEX-654 Change-Id: I25eee98c1a6516dfa44c686c2e614f6dc7000d98 Signed-off-by: Tim Rozet <trozet@redhat.com> (cherry picked from commit 32b3b5dd6290ae5c33edee2860a3edd9f3044d43)
2018-12-14Bump RPM version for Gambia SR1opnfv-7.1.0Tim Rozet1-1/+3
Bumping version to 7.1 for Apex RPM. Change-Id: Ide0333e15dfe73aac4954056f4586a9ddb840425 Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-12-14Bump versions for 7.1 releaseTim Rozet8-13/+13
Version bump for docs in prep for Gambia SR1. Change-Id: Iba4abf1e3196072e4b0228f9874aa14c57adc09f Signed-off-by: Tim Rozet <trozet@redhat.com> (cherry picked from commit 654de7804b2264ef4729c22caa82f2d821938513)
2018-12-10Fixes mount issues with NFSTim Rozet2-4/+6
There were issues related to moving to NFS for CSIT that included random failures when mounting the NFS. Big thanks to radez for figuring out that the issue was because the mounts were sharing the same root dir, and thus the same context. Using nosharecache fixes the problem. JIRA: APEX-654 Change-Id: Ic52d91a4abfe3db6289ce6a880c1f85ce5af7d0e Signed-off-by: Tim Rozet <trozet@redhat.com> (cherry picked from commit 0e0a291295998e77820e4b55f380d845fb509842)
2018-12-10Fix broken Gambia reposTim Rozet3-0/+18
The undercloud disk image repos look to be stale. This patch updates the repos at deploy time to ensure the latest repos are always used. Similar to what was done in: https://gerrit.opnfv.org/gerrit/#/c/64493/ JIRA: APEX-656 Change-Id: I4eb2d0a8486b47a583434a9b83e1cc9d7274d9ad Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-12-08Merge "Fix using ODL versions other than oxygen" into stable/gambiaTim Rozet3-4/+7
2018-12-08Fix using ODL versions other than oxygenTim Rozet3-4/+7
Fixes a bug where oxygen was always being used even if a different ODL version was specified in the deploy settings. Also updates the valid ODL versions with fluorine and neon. JIRA: APEX-648 Change-Id: Ie49c28d1757cd7e57802d67e48904ce04864feaf Signed-off-by: Tim Rozet <trozet@redhat.com> (cherry picked from commit 46bf00b967844dc712dfe409e55fc5fe18fa119f)
2018-12-08Enable CSIT deployments to use NFS backendTim Rozet3-0/+39
In order to support HA as well as live migration a shared storage backend needs to be used. This patch preps the overcloud image to start with an NFS server sharing out of /root/nfs. If csit environment file is used then NFS parameters will be passed to the deployment, configuring Nova and Glance to use NFS hosted by controller0. JIRA: APEX-654 Change-Id: I049d84bfd454013fc7ba5048939ee17100197624 Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-12-07Upgrade OVS in undercloudTim Rozet2-6/+15
The OVS in the frozen undercloud disk image for Gambia is no longer working (perhaps due to kernel upgrade or package changes during deployment). This patch builds OVS the same way as is done for the SFC scenario in the undercloud disk image. JIRA: APEX-655 Change-Id: I6fa3e009a25806e299c7be88d6d3ee8db4c2648b Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-12-03Use correct URL for opnfv-apex.repoDaniel Balsiger1-1/+1
JIRA: APEX-652 Change-Id: I4651707265c1184026cf5ed06805997615d2db95 Signed-off-by: Daniel Balsiger <Daniel.Balsiger@swisscom.com> (cherry picked from commit 5c41b8486a46e3c86a573b7130792624b3f5ed26)
2018-11-20Make util support more than 10 compute nodesDaniel Balsiger1-1/+1
JIRA: APEX-644 The grep command used in the original code matches multiple nodes when deploying 10+ compute nodes. This makes opnfv-util fail to connect to those nodes. Proposed fix is to grep for "$node " instead. Change-Id: I952664f6f3cab3a98681684cd354513bb3c0ab12 Signed-off-by: Daniel Balsiger <Daniel.Balsiger@swisscom.com> (cherry picked from commit 859fb4703b3f0359e80b35aaa62a94e752707bae)
2018-11-09Updates documentation for Gambiaopnfv-7.0.0Tim Rozet19-208/+111
Changes-Include: - Remove references to Apex ISO and disk image RPMs - Update supported scenarios - Update using upstream documentation Change-Id: If2b66d1d5a861bd1f90b0e8829de37d84e656619 Signed-off-by: Tim Rozet <trozet@redhat.com> (cherry picked from commit b188263699077102e956929970cc20191dafd312)
2018-11-06Fix Undercloud URL pathTim Rozet2-1/+7
Modify the URL path for undercloud disk image to opnfv artifacts. The undercloud image was removed from upstream TripleO, so we need to use the latest known good version for Gambia release, stored in OPNFV artifacts. In the future we will remove downloading undercloud image and just use the overcloud image for undercloud. Change-Id: I17a3bbaf67d55de05c195712d7fee6e89676bc16 Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-11-01Adds SDN Port variables to overcloudrcTim Rozet1-0/+11
Functest needs these values to be set in overcloudrc to know which ports to query ODL on. JIRA: APEX-621 Change-Id: I41e34efccedc26edd98c6dd3f45e553ea76db195 Signed-off-by: Tim Rozet <trozet@redhat.com> (cherry picked from commit 63792906e8681bef2f0e03ee12ea422af53d9c12)
2018-10-31Change OPNFV Artifacts URLTim Rozet1-1/+1
This change allows downloading of files larger than 20GB. Change-Id: I881ea35316e67980d4144e46bfbd41501e80f497 Signed-off-by: Tim Rozet <trozet@redhat.com> (cherry picked from commit 498356c9efb765a5714845ce8303dc8a264eb300)
2018-10-31Downgrade ceph-ansible packageTim Rozet1-0/+5
Ceph Ansible is failing deployments with: https://bugzilla.redhat.com/show_bug.cgi?id=1644713 Change-Id: I4e1cad9330f77472e52b5d790b008e9d238cc48e Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-10-23Gambia Branch Configuration for Docs and GitreviewTrevor Bramwell2-1/+4
Update the docs to use 'Gambia' as the version and release, and sets the default gitreview branch to 'stable/gambia' so it doesn't need to be explicly passed every time. Change-Id: Id5cbfb581cb232af5541f58df8c95e4b0918713e Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
2018-10-17Fixes undercloud accidentally using wrong images/containersTim Rozet3-4/+5
Our undercloud initial install was failing with queens because the --use-heat arg does not work the same way as master/rocky. Therefore the undercloud install would fail, and then try to reinstall on the next ansible task. This one would succeed, via container installation because we were using the wrong undercloud/overcloud disk images. Change-Id: Ifb829aeeec991ba6dbe582fda3e9ee6b9bc733df Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-10-03Local Documentation BuildsAric Gardner6-2/+43
This adds configuration for performing local documentation builds with the following simple command: tox -e docs This patch is part of our documentation effor to Move away from submodules https://docs.opnfv.org/en/latest/how-to-use-docs/local-build-transition.html added index.rst so that docs build succsesfully Change-Id: I2d28f03ad4d5c9c14de095dc544257af9d1e51d9 Signed-off-by: Aric Gardner <agardner@linuxfoundation.org> (cherry picked from commit 9666d8bb3df726d88d08d5811d2a99e713908396)
2018-09-28Migrates deploy settings for GambiaTim Rozet22-151/+16
With branching to gambia we need to move the settings back to their proper names and remove OpenStack branch as Queens is the default for Gambia. Change-Id: Ia6101289629d89fa349f6554436ccd7c0f8b3c0c Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-09-28Enable OVN scenariosTim Rozet9-15/+72
As of Queens only HA OVN deployments are supported. Change-Id: I184c5a096fec9cbc3cf2ec06218700138ea3ed57 Signed-off-by: Tim Rozet <trozet@redhat.com> (cherry picked from commit ee58a24647df8eec2418735b038e5035bdffe10d)
2018-09-17Fix per-network routes to NIC templates dependencyRicardo Noriega2-24/+88
Change-Id: I9e01f1164fc72915b92dfb1c0aad7414c484567e Signed-off-by: Ricardo Noriega <rnoriega@redhat.com>
2018-09-06Updates Calipso deploy settingsTim Rozet7-1/+46
Change-Id: Ibfbd08dc2fa5fca95668fd0590707cfebd92099f Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-08-23Adds deployment via snapshotTim Rozet18-96/+1304
New arguments are added to allow snapshot deployment: --snapshot, --snap-cache The previous tripleo-quickstart code has been removed/replaced with the snapshot option. Snapshot deployments are supported on CentOS and Fedora, and snapshot artifacts use a similar caching system as the standard deployment. Snapshots are produced daily by Apex, and include latest as well as n-1 OpenStack versions. The os-odl-nofeature scenario is used for the snapshots. Additionally multiple topology verions of Snapshots are available. The Snapshot pulled at deploy time depends on the deploy-settings and number of virtual-computes used at deploy time. Since there is only one network used with snapshot deployments (admin), there is no reason to pass in network settings for snapshot deployments. That argument is now optional. Previously we required even in Standard virtual deployments that the network settings be provided. However that is also unnecessary, as we can default to the virtual network settings. Includes minor fix to the tox.ini to allow specifying test cases to run (useful for developers writing tests). Default behavior of tox is unchanged. JIRA: APEX-548 Change-Id: I1e08c4e54eac5aae99921f61ab7f69693ed12b47 Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-08-23Recover fix to install custom OVSRicardo Noriega3-20/+47
Need this fix to make VLAN tenant networks to work. Change-Id: Ie2dea9f0145c576e1b36280e6340ed2cc0460179 Signed-off-by: Ricardo Noriega <rnoriega@redhat.com>
2018-08-22Merge "Enable SFC scenarios for Gambia"Tim Rozet14-41/+138
2018-08-22Enable SFC scenarios for GambiaRicardo Noriega14-41/+138
- 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-20Fixes unit test failuresTim Rozet1-0/+4
Adds mocking some file opens introduced by: https://gerrit.opnfv.org/gerrit/#/c/60991/ Change-Id: I013b9c96a7c3f678c6e227f98cd58f9547d79ecb Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-08-20Merge "Add Nova migration params to upstream env file"Tim Rozet2-0/+7
2018-08-20Add Nova migration params to upstream env fileRicardo Noriega2-0/+7
JIRA: APEX-635 Change-Id: I488dd5d9b114aba5f4bb4591a0cdd8c19b692ce9 Signed-off-by: Ricardo Noriega <rnoriega@redhat.com>
2018-08-17Fix ipv6 deployment failuresFeng Pan4-12/+10
- fix ipv6 enable command on bridge interfaces - fix external subnet creation command - enable NAT when admin is ipv4 - fix network settings file for ipv6 for br-ex interface type Change-Id: Ibd2dbe1d0c8e8df72ad1b0b3713a19f8bbc56eef Signed-off-by: Feng Pan <fpan@redhat.com>
2018-08-15Modify common patches schema to per branchTim Rozet13-44/+68
The common patch design doesn't really work across branches very well. This patch makes it so the common patches are specified in the same file, but on a per branch basis. Making it easier to manage common patches per branch. Also, includes a fix and adds test coverage to the prep_image method where we were referencing 'undercloud_admin_ip' before assignment in a case where we were not using ODL and had patches to overcloud. Change-Id: I7672947afd826fdc0042361a0139e22d6d5dd864 Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-08-14Allow common patches fileTim Rozet15-20/+174
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-10Allow all in one deploymentsTim Rozet9-45/+127
This patch adds the ability to deploy all in one single nodes (Control + Compute). To enable this functionality do the following for each deployment type: - Baremetal: do not tag any nodes as compute in the inventory file - Virtual: use argument '--virtual-computes 0' JIRA: APEX-548 Change-Id: I22525c9eb21d331129c819449316c26a6fcf522d Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-08-09Fix broken clean due to virtualbmc changeTim Rozet1-1/+1
Apex clean is failing when trying to clean vbmcs because the function was changed in new virtualbmc version. Adding the working version to our constraints. JIRA: APEX-631 Change-Id: I62971183669e4a51e841d79892e78b10ea380a1e Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-08-08Bump deploy timeoutTim Rozet8-12/+18
We are seeing queens baremetal deployments are all failing in step 5 due to timeout. Not sure why the sudden increase in deployment time, but we can try increasing the deploy timeout to see if it fixes it. Also includes a revert for a commit that broke OOO master: https://bugs.launchpad.net/tripleo/+bug/1785872 Change-Id: I0bcfd5b3ca49b176f901c13b8b432fa29c899188 Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-08-06Revert "Fix BGPVPN Queens scenario files to be consistent"Ricardo Noriega3-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 Noriega3-2/+2
Change-Id: Id5b932246020676e1e53438db689e32bc124939e Signed-off-by: Ricardo Noriega <rnoriega@redhat.com>
2018-08-02Enable BGPVPN for master deploymentsRicardo Noriega11-29/+124
- 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-31Use metadata IP instead of FQDNTim Rozet1-0/+11
There is an issue with loss of external network connectivity that prevents cloud init to instances working. This becomes a big problem with snapshots where there is no external network connectivity. Cloud init fails because each request takes over 30 seconds to get a response. This is because in the background neutron metadata agent is proxying the request to nova metadata agent with an HTTP GET using the FQDN. For whatever reason, a DNS lookup happens even though the entry exists for the FQDN in /etc/hosts and waits 30 seconds until timing out. After this timeout, a 200 OK is sent and metadata works. This patch modifies the config file for metadata to use nova metadata server's internal IP rather than FQDN as there is no option in OOO to use IPs instead of FQDN. Change-Id: I6960181a227d0002c99aeae5112f59807dc41d7a 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-27Merge "Increasing loop device size for baremetal deployments"Tim Rozet2-1/+6
2018-07-26Increasing loop device size for baremetal deploymentsRicardo Noriega2-1/+6
Change-Id: Ib3779733ac27183def6a59f3404cfbe9a3e9a211 Signed-off-by: Ricardo Noriega <rnoriega@redhat.com>
2018-07-26Update OVS in overcloudTim Rozet2-9/+26
This bug fix is not present in the RDO versions of OVS: https://bugzilla.redhat.com/show_bug.cgi?id=1544892 The impact of this is that traffic sent through a patch port (like from br-int to br-ex) will not be sent correctly with OF groups (which ODL uses). This would cause tenant vlan traffic not to work in our case. Change-Id: Ia477b174118dcd2d7fb24189c2d093218eb97053 Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-07-26Disable undercloud as containers for nowTim Rozet2-2/+2
Upstream has moved to install undercloud as containers which breaks our post undercloud configuration for some services. Disable it for now and then move to it gracefully in a future patch. Change-Id: I0cd1a8ddac4ba92734750265d2a16d3ef008f236 Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-07-26Merge "Remove obsolete Ceph tags"Tim Rozet5-48/+18
2018-07-26Remove obsolete Ceph tagsRicardo Noriega5-48/+18
This patch removes the logic to use an specific tag for Ceph containers. We will use whatever docker image TripleO upstream uses. For aarch64, an ansible task will replace the tag to pull the proper container image. This patch also refactors the preparation of the local registry. In Queens, there is no need to execute twice the overcloud container image prepare command. JIRA: APEX-622 Change-Id: I947d931609e58505675bb460a59d08c1d10d1d0b Signed-off-by: Ricardo Noriega <rnoriega@redhat.com>
2018-07-24Open port 8101 on controllers for karafTim Rozet1-0/+15
By default 8101 (karaf shell) is blocked on controllers. In Apex we advertise in our user guide (and tools scripts) the ability to connect to karaf shell. It is also required to run CSIT. This patch opens the port when ODL is deployed. Change-Id: Ib3ece41f19607bafc329d9de390cf774766a26cd Signed-off-by: Tim Rozet <trozet@redhat.com>