aboutsummaryrefslogtreecommitdiff
path: root/tests/test-openstack.sh
AgeCommit message (Collapse)AuthorFilesLines
2019-11-26CI: Refactor a lotRadosław Piliszek1-134/+0
Separate upgrade logic to is_upgrade job var and rename scenarios to match. Rename "ACTION" to "SCENARIO" (as it is a scenario). Separate testing of dashboard (aka Horizon) and increase its timeout to 5 minutes (CentOS 7 slow as always). Separate initialization of core OpenStack. Use gate setup script from ./tests/ Remove useless tox setupenv. Do not deploy Heat when not really necessary. Change-Id: I4fca319ccc3de7188f8b7b44c9c71321e3899467
2019-11-15CI: Add more service list checks to OS "smoke testing"Radosław Piliszek1-0/+4
Change-Id: Ie7ee70e19536c2d8f4300df55c9c6ca38abb7ae4
2019-09-19CI: Use VXLAN overlay networkMark Goddard1-0/+1
VXLAN is necessary to run HA in CI (due to floating VIP address handled by keepalived). It also turned out to be required to have private IPv6 address assignments. This patch is based on linux bridge rather than OVS to avoid problems with OVS deployed in containers. This patch enables haproxy in multinode jobs. Includes saving of linux networking details. Makes DASHBOARD_URL agree with OS_AUTH_URL - properly uses the pre-upgrade value for testing. Co-authored-by: Radosław Piliszek <radoslaw.piliszek@gmail.com> Depends-on: https://review.opendev.org/683068 Depends-on: https://review.opendev.org/682957 Change-Id: I66888712da80c3d6f84ee4949762961664d3adea
2019-09-14CI: Test accessing dashboardMark Goddard1-4/+43
Also slightly refactor test-openstack.sh script. Change-Id: I7f10f073e89d2b66367bbb700201b3cd412fc433 Depends-On: https://review.opendev.org/#/c/674241 Depends-On: https://review.opendev.org/#/c/668410 Depends-On: https://review.opendev.org/#/c/668409
2019-08-16CI: Zun jobsRadosław Piliszek1-24/+0
- Test Zun on CentOS too - Make etcd change also trigger Zun jobs (like kuryr and zun) - Test multinode Zun deployments instead of AIO (more likely to break) - In Zun scenario, stop configuring docker for legacy swarm mode (Zun is no swarm) - Separate test-zun.sh testing script - Show appcontainer to see which node it has been started on Change-Id: I289b1009fe00aedb9b78cbd83298b14da5fd9670 Depends-On: https://review.opendev.org/676736 Signed-off-by: Radosław Piliszek <radoslaw.piliszek@gmail.com>
2019-07-16CI: clean up requirements installationRadosław Piliszek1-0/+1
We install kolla-ansible requirements in Zuul's Ansible playbooks. This patch cleans up the installation in scripts so that they are only concerned with auxiliary requirements: - ansible (since we do not track it in requirements) - ara (for log summaries) - openstack clients (for first init and tests after deployment) Additionally this patch installs openstack clients in a separate virtualenv. Note that all kolla-ansible requirements, ansible and ara are still installed system-wide. Change-Id: Iac04082ad39a9d823c515ba11c5db9af50ed225f Signed-off-by: Radosław Piliszek <radoslaw.piliszek@gmail.com>
2019-06-11Add CI job for ironicMark Goddard1-1/+0
Adds four new CI jobs for testing centos/ubuntu binary/source deploys with ironic enabled. These are run only when there are changes to the ironic role. Performs some simple testing by creating a node using the fake-hardware hardware type and creating a server. Change-Id: Ie669e57ce2af53257b4ca05f45193cb73f48827a Depends-On: https://review.opendev.org/664011
2019-06-03Test Ceph upgrade in CIMark Goddard1-2/+18
Add CI jobs for testing an upgrade of a multinode system with Ceph enabled. As for the existing upgrade job, we upgrade from the previous release to the current release. Change-Id: I931772ca4c63757769467a57c80dc0726a11167a Depends-On: https://review.opendev.org/658163
2019-03-21Wait for cinder volume to become available in CIMark Goddard1-0/+11
Fixes a race condition where sometimes a volume would still be in the 'creating' state when trying to attach it to a server. Invalid volume: Volume <id> status must be available or downloading to reserve, but the current status is creating. Change-Id: I0687ddfd78c384650cb361ff07aa64c5c3806a93
2019-03-01Add cinder-lvm CI jobMark Goddard1-1/+1
Tests Cinder with an LVM/iSCSI backend, including attaching a volume to an instance. Change-Id: I6963b5e81d7ac88dd1bdfb94b62d9d63028b9786
2019-01-18Wait for volume attachment in CI before detachMark Goddard1-0/+11
In some cases the volume attachment is not finished by the time we attempt to detach it, causing the following error: Volume status must be 'in-use' and attach_status must be 'attached' to detach. This change waits for the volume to be attached before detaching. Change-Id: Id23d114cf8a2b40f8f0784cbfb84e9fa0829adc0
2018-12-21Add NFV orchestration services CI jobEduardo Gonzalez1-10/+0
Change-Id: I33484d0961f1cd17ed05dd124eba68d99b4db83f
2018-12-19Test zun container creation in gatesEduardo Gonzalez1-4/+19
Change-Id: If5b4ba975a65e07d2704eb6bdb9d841d6a9c3d42
2018-11-29Use openstack command in CIMark Goddard1-6/+43
Switch the CI test script to use the openstack command rather than nova etc. Change-Id: Id1c6d35e1e50987d230adb7942da6a7ae5c0f050
2018-11-26Remove the memcache container restartcaoyuan1-4/+0
the bug[0] has beed fix, restart container is unncessary, remove it is safe. [0]: https://bugs.launchpad.net/oslo.cache/+bug/1590779 Change-Id: Iadfb3666bad8160b5c071fa1a512e2dcdda84043
2018-11-06Refactor CI testing scriptsMark Goddard1-0/+38
This change is intended to ease the addition of new test scenarios, by splitting the existing setup_gate.sh script up into several smaller scripts. We may wish to further break these scripts up in future, depending on the requirements of new test jobs. Change-Id: Ifa442ac79a54f749c56d20f5f7383c3852d95268