summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2018-07-04xci: osa: Disable haproxy ssl configurationMarkos Chandras3-3/+9
The self-signed certificates are causing troubles so until we implement a proper certificate chain in XCI we should disable the SSL endpoints. Change-Id: Ife4ef78de1569121c435a806924a3f90917fd85b Signed-off-by: Markos Chandras <mchandras@suse.de>
2018-06-26Pin functest-healthcheck docker image to known shaFatih Degirmenci2-2/+4
Functest changes have significant impact which blocks everything in XCI so this change pins the image to a known sha to get the original set of healthcheck testcases until the impacts are analysed and concerns are raised to Functest and the wider OPNFV Community and addressed based on community consensus. Pinned version of functest-healthcheck contains the test cases below. - connection_check - api_check - snaps_health_check deploy-scenario:os-nosdn-nofeature installer-type:osa Change-Id: Ic9222af8c27e58491b7b60a7504df9d792b5e753 Signed-off-by: Fatih Degirmenci <fdegir@gmail.com>
2018-06-25Merge "xci: vm: start-new-vm: Copy deployment image to clean VM"Markos Chandras1-0/+3
2018-06-22xci: vm: start-new-vm: Copy deployment image to clean VMMarkos Chandras1-0/+3
In order to save us some time and bandwidth we can copy the deployment image to the clean VM in order to be used by bifrost to prepare the virtual machines. Moreover, we also put our key there so we can ssh as the root user. Change-Id: Id21e19aaefde71862c21180129c664c1bf121c32 Signed-off-by: Markos Chandras <mchandras@suse.de>
2018-06-20spec: create k8-calico-onap scenarioVictor Morales1-0/+141
Spec file for the addition of a new XCI scenario which deploys Open Networking Automation Platform (ONAP) on top Kubernetes deployment through ONAP Operations Manager (OOM) tool. Change-Id: I01385fdeeb942154d9cce630552bd3e7713d3cdb Signed-off-by: Victor Morales <victor.morales@intel.com> Signed-off-by: Jack Morgan <jack.morgan@intel.com> Signed-off-by: Fatih Degirmenci <fdegir@gmail.com>
2018-06-15Merge "xci: dynamic_inventory: Add new entry for deployment_host"Markos Chandras1-0/+5
2018-06-13Add k8-odl-coe specDaniel Farrell1-0/+105
This spec proposes adding an XCI senerio that uses OpenDaylight COE and NetVirt with Kubernetes for pod networking. Change-Id: I3418542cf22df0f4d04e167903f2bb59151fa0a6 Signed-off-by: Periyasamy Palanisamy <periyasamy.palanisamy@ericsson.com> Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
2018-06-12xci: dynamic_inventory: Add new entry for deployment_hostMarkos Chandras1-0/+5
The deployment host is normally the host which runs the various playbooks so we add a new entry in the inventory for localhost. Change-Id: I43baddf4fabd69579c1a02f55ece230a062c2d9b Signed-off-by: Markos Chandras <mchandras@suse.de>
2018-06-07Merge "roles: bootstrap-host: Ensure DNS info from IDF is respected"Markos Chandras6-6/+22
2018-06-06xci: osa: switch back from GitHub to OpenStack OSA reposMarkos Chandras3-84/+80
Switching to github.com for the gitclones did not make much of a difference since we are still seeing randomg SSL failures during git clones. So we can switch back to git://git.openstack.org hoping that the git protocol will be more efficient than https. Moreover some projects are moving away from github mirroring and this breaks our tests. Change-Id: I8188ec7cbfbf16eeb4634bd9a44b12a104ce1059 Signed-off-by: Markos Chandras <mchandras@suse.de>
2018-06-06roles: bootstrap-host: Ensure DNS info from IDF is respectedMarkos Chandras6-6/+22
We are configuring static IPs in the various nodes but we don't do anything for DNS assuming that DNS is being configured by another entity. However, the IDF file already contains DNS information for us so we should use that instead. Moreover, we update the IDF file to use the gateway as DNS instead of the Google one in order to make it more usable on restricted networks. Change-Id: Ieba58ec9558080a1296e204c4f99bae859e9daef Signed-off-by: Markos Chandras <mchandras@suse.de>
2018-06-06xci: OSA: Bump Queens SHAs to fix spice-html5 repo relocationMarkos Chandras2-5/+6
The spice-html5 repository moved from github to its own gitlab hosting and that broke everything. As such, we update the OSA roles which contain the correct URL for the new repository. Change-Id: I3e2883c0436c9c93d2a8a338343ca3a75a1431e4 Signed-off-by: Markos Chandras <mchandras@suse.de>
2018-06-04xci: xci-lib.sh: Use the OSA requirements file for pip componentsMarkos Chandras1-3/+2
OpenStack-Ansible maintains a requirements file which ensure that a working combination of pip/setuptools/wheels/virtualenv can be mixed up with distro packages so it's beneficial to take that into consideration when building our environment. Change-Id: Ic5398de3e464e1526f8d9fb6b6460907ac30084a Signed-off-by: Markos Chandras <mchandras@suse.de>
2018-06-01Merge "xci: kubespray: Use bootstrap role for k8s deployments"Markos Chandras3-1/+20
2018-05-23Reorder scenarios in opnfv-scenario-requirements.ymlFatih Degirmenci1-19/+23
Put OpenStack scenarios and Kubernetes scenarios together. installer-type:kubespray deploy-scenario:k8-canal-nofeature Change-Id: I6a47b0b3703e30ac9a2be53012687217a085ee88 Signed-off-by: Fatih Degirmenci <fdegir@gmail.com>
2018-05-23Merge "Unpin all XCI scenarios for development"Fatih Degirmenci1-8/+8
2018-05-23Merge changes from topic 'move-sourcing-files'Markos Chandras2-75/+79
* changes: xci: Move the rest of functions to xci-lib.sh xci: file: xci-lib.sh: Avoid sourcing xci-lib.sh twice xci: Move sourcing of configuration files to the install-lib.sh
2018-05-23Unpin all XCI scenarios for developmentFatih Degirmenci1-8/+8
Change-Id: I73a7c58a27c9018d0b131dc3c8bb65da91488c35 Signed-off-by: Fatih Degirmenci <fdegir@gmail.com>
2018-05-22integrate k8-contiv-nofeature scenario in XCIwutianwei1-0/+17
Change-Id: I5f18e1060cb45246a15584fdd69c6c6bd3427001 Signed-off-by: wutianwei <wutianwei1@huawei.com>
2018-05-18xci: kubespray: Use bootstrap role for k8s deploymentsMarkos Chandras3-1/+20
The bootstrap role configures NTP and networking on hosts so we should use it on k8s deployments as well. installer-type:kubespray deploy-scenario:k8-nosdn-nofeature Change-Id: I04bd1e1c2c325baabfb836bd8cca60c5f59344c7 Signed-off-by: Markos Chandras <mchandras@suse.de>
2018-05-18xci: Move the rest of functions to xci-lib.shMarkos Chandras2-53/+53
The xci-deploy.sh contains several functions used throughout in the XCI deployment so we should move thse to xci-lib.sh file. Change-Id: Iae6751619beea85b894900e5cd2f91a433410f66 Signed-off-by: Markos Chandras <mchandras@suse.de>
2018-05-18xci: file: xci-lib.sh: Avoid sourcing xci-lib.sh twiceMarkos Chandras1-0/+3
The file can be sourced from multiple places so we need to avoid sourcing it twice. Change-Id: I7d47f3d7e461d90d5456c95a1f7a791b4e3a2bde Signed-off-by: Markos Chandras <mchandras@suse.de>
2018-05-18xci: Move sourcing of configuration files to the install-lib.shMarkos Chandras2-22/+23
The install-lib.sh assumes that certain configuration files have been loaded before it's sourced. However, this doesn't work well when other scripts are using install-lib.sh directly since they also need to load the same configuration files. As such, lets source all these configuration files from the install-lib.sh file directly. We also rename this file to 'xci-lib.sh' since it's not just about installation helpers anymore. Change-Id: I35e1e804db06b2bb512e4991e5fdf21a72ffaadb Signed-off-by: Markos Chandras <mchandras@suse.de>
2018-05-18Merge "xci: kubespray: Switch kubespray to dynamic inventory"Markos Chandras9-123/+45
2018-05-18Merge "spec: PDF and IDF support"Fatih Degirmenci1-0/+130
2018-05-18Merge "Pin generic scenarios to project internal tag 6.0.1"6.0.0Fatih Degirmenci1-6/+6
2018-05-17Merge "xci: Wipe repositories at the beginning of the deployment"Markos Chandras2-1/+2
2018-05-17Pin generic scenarios to project internal tag 6.0.1Fatih Degirmenci1-6/+6
deploy-scenario:os-odl-nofeature installer-type:osa Change-Id: I33e10589092ee1027fa2f27fc3c000a0031eaf38 Signed-off-by: Fatih Degirmenci <fdegir@gmail.com>
2018-05-17Merge "xci: bootstrap-host: Fetch netmask information from IDF"Markos Chandras8-35/+38
2018-05-17Merge "xci: get-opnfv-scenario-requirements: Fix stale scenario facts"Fatih Degirmenci1-6/+0
2018-05-17Merge "xci: Bump Kubespray SHAs and install ansible modules"Fatih Degirmenci2-3/+3
2018-05-17Merge "xci: xci-deploy.sh: Only check for xci_overrides files in scenarios ↵Fatih Degirmenci1-2/+2
cache"
2018-05-17xci: Wipe repositories at the beginning of the deploymentMarkos Chandras2-1/+2
We should not wipe the repositories in the localhost playbooks since it makes it somewhat hard to debug problems. We should do that at the beginning of the deployment to ensure that we start without any stale git data. Change-Id: I70b2ac77284a9ca304d6aa68dbf1654f59260dc4 Signed-off-by: Markos Chandras <mchandras@suse.de>
2018-05-17xci: xci-deploy.sh: Only check for xci_overrides files in scenarios cacheMarkos Chandras1-2/+2
xci/scenarios has been removed from releng-xci so there is not point in checking for xci_overrides files there. Change-Id: If6b9306968817b0ba8fb362b532ac8492d274676 Signed-off-by: Markos Chandras <mchandras@suse.de>
2018-05-17Merge "xci: xci-deploy.sh: Print scenario git SHA"Fatih Degirmenci1-15/+31
2018-05-16xci: get-opnfv-scenario-requirements: Fix stale scenario factsMarkos Chandras1-6/+0
We always need to update the local facts for the scenario we are deploying in order to avoid deployments with stale data. Change-Id: I36298d2ebc1b813e95a2f213cd13649a0b4e04bf Signed-off-by: Markos Chandras <mchandras@suse.de>
2018-05-16xci: bootstrap-host: Fetch netmask information from IDFMarkos Chandras8-35/+38
The IDF file contains the netmask for every network so we should use that information instead of using hardcoded values. Change-Id: Ie798cb49563bdb72fdfb7b6e9e269692bf1f7bc9 Signed-off-by: Markos Chandras <mchandras@suse.de>
2018-05-16xci: kubespray: Switch kubespray to dynamic inventoryMarkos Chandras9-123/+45
The kubespray installer contains one inventory per flavor. We can get rid of these files and use the dynamic inventory similar to OSA. Moreover, we extend the dynamic inventory to read additional group variables per flavor if necessary. This way we can still pass additional information to inventory on per-flavor basis. This also fixes a typo in the 'IDF' file. We also need to bump Ansible for kubespray since the version we were using is having troubles with dynamic inventories. Change-Id: Ic58101555f81aec5fee3c193608440aa89bbe445 Signed-off-by: Markos Chandras <mchandras@suse.de>
2018-05-16Pin os-odl-sfc to project internal tag 6.0.1Fatih Degirmenci1-1/+1
deploy-scenario:os-odl-sfc installer-type:osa Change-Id: I583c8620f29b0735a52c64309d2113f56d38be1e Signed-off-by: Fatih Degirmenci <fdegir@gmail.com>
2018-05-16xci: Bump Kubespray SHAs and install ansible moduleswutianwei2-3/+3
1. this change bumps Kubespray SHA to the HEAD of "master" as of 16.05.2018 2. install ansible-modules-hashivault, due to kubespray refactor vault role https://github.com/kubernetes-incubator/kubespray/commit/07cc98197187535619ac8e57ee4e04ae02631a5 installer-type:kubespray deploy-scenario:k8-nosdn-nofeature Change-Id: I2e3ade3b16eac1506e8556fe1820d84d64c09435 Signed-off-by: wutianwei <wutianwei1@huawei.com>
2018-05-16xci: xci-deploy.sh: Print scenario git SHAMarkos Chandras1-15/+31
It's useful to be able to tell which particular version of the scenario we are deploying so we print the git SHA along with the rest of the deployment information. Change-Id: If59651fe01449252a2cebcf24c5278ebeb1ac3ea Signed-off-by: Markos Chandras <mchandras@suse.de>
2018-05-14Merge "xci: osa: Add initial dynamic inventory from PDF/IDF files"Markos Chandras15-149/+167
2018-05-14Merge "xci: idf: Add more information for installers and flavors"Markos Chandras1-11/+58
2018-05-11Merge "xci: scripts: start-new-vm.sh: Fix ID for openSUSE Tumbleweed"Fatih Degirmenci1-1/+1
2018-05-11xci: scripts: start-new-vm.sh: Fix ID for openSUSE TumbleweedMarkos Chandras1-1/+1
Recent openSUSE Tumbleweed releases are now using 'opensuse-tumbleweed' as distro ID so we need to take that into consideration in order to be able to use the script on such systems. ~$ source /etc/os-release && echo ${ID} opensuse-tumbleweed Change-Id: Ibdfb4292d53dc4d20376230a4131b212f9492e54 Signed-off-by: Markos Chandras <mchandras@suse.de>
2018-05-11xci: Connect releng-xci-scenarios repositoryMarkos Chandras26-2591/+12
The releng-xci scenarions have been moved to their own repository so we delete the copies from the releng-xci repository and also update the opnfv-scenario-requirements to point to the new repository. deploy-scenario:os-nosdn-nofeature installer-type:osa Change-Id: I1b7b3182a5e0c5b346c00b5734fd0cd3fdd5c98b Signed-off-by: Markos Chandras <mchandras@suse.de>
2018-05-11Merge "fix k8 aio flavor undefined variable"Markos Chandras2-1/+2
2018-05-11fix k8 aio flavor undefined variablewutianwei2-1/+2
1. fix error that kube_require_packages is undefined 2. add "remote_user: root" in configure-kubenet.yml if don't add this, it will have issue to connect host. fatal: [opnfv]:UNREACHABLE! => {"changed": false, "msg": "Failed to connect to thehost via ssh: Permission denied (publickey,password).\r\n", "unreachable": true"} installer-type:kubespray deploy-scenario:k8-nosdn-nofeature Change-Id: Ia8d1980ad18375c0cff3a97b284b0f53d7539e23 Signed-off-by: wutianwei <wutianwei1@huawei.com>
2018-05-11Merge "New SHA for ODL"Markos Chandras1-1/+1
2018-05-10New SHA for ODLManuel Buil1-1/+1
We need a patch in the ODL role to be able to deploy a stable ODL. Before this patch, it is not possible to deploy with a stable version of ODL and we are always deploying with the tip of the branch. However, it is useful to deploy with a version which we know for sure that it is working. deploy-scenario:os-odl-sfc installer-type:osa Change-Id: I539a5afa41598f54c3eeb2f1096022c73aa942b9 Signed-off-by: Manuel Buil <mbuil@suse.com>