summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
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>
2018-07-21Merge "Fixes for snapshots"Tim Rozet3-1/+10
2018-07-20Fixes for snapshotsTim Rozet3-1/+10
With deploying snapshots with a new ODL, we currently bring down the docker container and bring up the tar.gz distro of ODL on the Overcloud host itself (not rebuilding/using container). Therefore we need java installed so that ODL can run on the host. In the future this may change, but it works well and keeps things simple for now. Additionally, there was a change upstream to make the opendaylight container docker restart policy "unless-stopped" which means it will no longer restart automatically when docker is stopped/started. Therefore on first snapshot bring up (without the previously mentioned ODL reinstallation) the container does not start, and snapshot deployment fails. This patch includes a change to the restart policy to always restart it. Change-Id: Icc712ba147e578a28e371313154ae3190676f0dc Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-07-20Fixes missing csit queens file in setup.cfgTim Rozet1-0/+1
Change-Id: I6d57c88efc88dba311e79a36024683d5a9ade679 Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-07-20Merge "Add tenant vlan support"Tim Rozet10-53/+562
2018-07-18Add tenant vlan supportFeng Pan10-53/+562
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-18Add param for ODL password into overcloudrcTim Rozet2-2/+16
Recent changes upstream have removed the default 'admin' ODL password and now password is randomly generated: https://review.openstack.org/#/c/578505/ So in OPNFV we now store the password in overcloudrc as SDN_CONTROLLER_PASSWORD variable. Also includes minor fixes to unittests. Change-Id: Iabe7e4f902442c80af99ba1603a3927cf13d0393 Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-07-17Update queens ODL to include OF table fixTim Rozet4-5/+11
Also includes minor fix to patching where stable was not being removed from the short hand branch name correctly. Includes fix where path was changed in queens for env files: https://review.openstack.org/#/c/567810/ Change-Id: Ia3a6769be70ea97c9bec9d5539c9ab0373fed30a Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-07-16Merge "Add support for kubernetes deployment"Tim Rozet19-15/+311
2018-07-13Fix OpenDaylight Oxygen deployment failures (master)Tim Rozet2-1/+8
ODL scenarios are failing deployment with oxygen because table 17 from the OpenFlow pipeline is missing. This pulls in an upstream patch to no longer check for table 17. The default table 17 flow has been removed upstream which is why it no longer appears during deployment. This patch fixes master OS branch scenarios only. Once the patch is cherry-picked to queens we can submit a new patch updating the DS settings. Change-Id: If60cf25c75440e3a1998b412ac8b903849507dab Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-07-12Merge "Removes OC condition in dhcp-all-interfaces"Tim Rozet1-0/+5
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 Shi19-15/+311
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-07-06Physical interface type noteTomi Juvonen1-1/+1
add ovs_bridge as needed compared to earlier version Change-Id: I1d0c6df9d1f47b0c98a3c1a8bf3a04eb5f53aff2 Signed-off-by: Tomi Juvonen <tomi.juvonen@nokia.com>
2018-07-06Fix neutron-opendaylight-sriov.yaml pathFeng Pan2-2/+2
In latest THT upstream, environment file neutron-opendaylight-sriov.yaml was moved to services folder. Updating references in Apex to avoid deploy failure. Change-Id: I7065e0d8e13c9add9ead282db2244a27c177e5a4 Signed-off-by: Feng Pan <fpan@redhat.com>
2018-06-25Deprecates the use of '--upstream' argumentTim Rozet4-87/+68
We only support the use of upstream deployments from Gambia onwards. Therefore deprecating the parameter and forcing upstream to always be used. Change-Id: I7926a65a2c32bca2272855ba45fdb6005f67616f Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-06-25Ignore error if network already undefinedTim Rozet1-1/+7
In clean we destroy a network, then undefine it. When running snapshot deploy it uses manual virsh bash commands to create the networks and other virsh resources. This leaves an admin network which our clean eventually tries to delete. However when the libvirt api network destroy command is used it is somehow undefining the newtork at the same time. Therefore just catch that possible scenario and ignore the failure as the network has already been removed. Change-Id: Id1d861fbe2a338f0828e78721c09f110030d3a4a Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-06-20Auto Generated INFO.yaml fileagardner1-0/+59
INFO.yaml meant to be machine readable. This file was auto generated from an ldap lookup and your projects INFO file Meeting times are not currently filled out. please ammend this patchset to complete Going forward comitter promotions should be done against this file. PTLs: Must be merged for you to gain delete access on testresults.opnfv.org Change-Id: Ia3749f55a407fa1dd173021b509123029bcde297 Signed-off-by: agardner <agardner@linuxfoundation.org> Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-06-19Merge "Fixes Ceph PG calculation"Feng Pan4-13/+21
2018-06-18Fixes Ceph PG calculationTim Rozet4-13/+21
Baremetal deployments were failing because the ceph PG size was exceeding the max allowed. Virtual was still working because we lower the number of pools and pg/osd. This patch changes the values to a number which should work for both virtual and baremetal. Also includes a fix which adds the controllers back as OSDs and a few other cleanup issues. JIRA: APEX-614 JIRA: APEX-569 Change-Id: I2ad65727ecdcaa0454eb53d25e32b7f1a53cd3a4 Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-06-18Fetch mistral logs from undercloudTim Rozet2-4/+22
/var/lib/mistral path contains logs for when ansible is invoked by TripleO for Ceph configuration as well as config download. This patch now archives and fetches that directory. Logs in previous releases like Queens store the Ceph logs in /var/log/mistral. Change-Id: I50c43e55efaa5dbcf8b7fb00b0e11cd3288fdd05 Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-06-15Adds missing queens deploy settings filesTim Rozet3-0/+27
Change-Id: I87508e6d486ade6e4acd8dec69a4c867b0d81252 Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-06-14Fixes deployment failure with allNodesConfigTim Rozet9-48/+220
This pulls in upstream patch to revert a bad commit that causes the "Unknown Property controller_ips". Also includes a fix for being able to detect if patches that are merged upstream are also promoted into TripleO images or container images. This happens by comparing the time the patch was submitted to the time when the TripleO Image or Docker Image was last updated. JIRA: APEX-610 JIRA: APEX-612 Change-Id: I1c2ab7fb4425b407acd7b6d9ebab914ed3a24478 Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-05-31Merge "Configure NAT with baremetal when necessary"Feng Pan3-2/+113
2018-05-30Merge "Updates configs for ODL CSIT deployments"Feng Pan6-34/+444
2018-05-30Configure NAT with baremetal when necessaryTim Rozet3-2/+113
We currently only enable NAT on undercloud for virtual deployments. However, there could be a case where a baremetal deployment also needs NAT as it is not using an interface on the overcloud nodes with external access. Therefore this patch changes the behavior to configure NAT when the gateway of either the external or admin (when external is disabled) network matches an IP assigned to the undercloud. JIRA: APEX-605 Change-Id: I9c79af371913e6e5f0d39b433f68205bc7e106c5 Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-05-30Updates configs for ODL CSIT deploymentsTim Rozet6-34/+444
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-29Merge "Default ctlplane to native VLAN"Feng Pan2-2/+8
2018-05-29Merge "Remove pacmeaker workaround"Feng Pan1-27/+0
2018-05-29Merge "Promote Ricky to committer"Tim Rozet1-0/+1
2018-05-25Remove pacmeaker workaroundTim Rozet1-27/+0
There was a compatibility issue with the centos 7.4/7.5 between the host pacemaker version and container. Now that containers have moved to 7.5 we should not need this workaround anymore. Change-Id: I9632c65e87687d4f36130719c6df9af2e913eed8 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-23Default ctlplane to native VLANTim Rozet2-2/+8
We were not setting any vlan type value for the admin network. This caused an issue when deploying and trying to use a single collapsed network (no net isolation). The issue occurred when trying to create an external neutron network. We happen to check if the phys type is flat or vlan using this attribute to decide what kind of phys type to use for the neutron network. JIRA: APEX-606 Change-Id: I4e24dd5e8b99cef920b8203b820a77d0021631cc Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-05-23Promote Ricky to committerTim Rozet1-0/+1
Ricky has been a very active Apex user and contributor over the past few release cycles. He has helped find and fix numerous bugs, along with being responsible for L2GW and SRIOV features for Fraser release. He has shown a willingness to jump in and help whenever there are issues with Apex, and also a willingness to work upstream in TripleO/OpenStack to implement new features. Change-Id: Ifd032fd349a46b0e34b2d77ba56e3c564e70226c Signed-off-by: Tim Rozet <trozet@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-21Fixes ctlplane default routeTim Rozet1-1/+1
Default route was using the undercloud IP, and instead should be using the gateway set for the network in network settings. JIRA: APEX-597 Change-Id: Iff6b18a6553af98cf9da72c278f358922d489958 Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-05-21Migrates master to use direct upstreamTim Rozet47-10744/+339
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-05-01Removes OC condition in dhcp-all-interfacesTim Rozet1-0/+5
Due to this condition, a non-first ctlplane NIC may fail to come up in deployments, causing deployment to fail. This is a temporary workaround until the proper fix can be merged: https://review.openstack.org/#/c/561003/1 JIRA: APEX-588 Change-Id: I3f19afba2618161843ce3b76a03e2dcf1fcb4b99 Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-04-25Updates documentation for Fraser releaseTim Rozet22-476/+189
Change-Id: I19bfaa5b2778baf458df60a4a53d135e57859e04 Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-04-19Merge "Fix nosdn fdio scenario"Tim Rozet9-336/+66