-
Notifications
You must be signed in to change notification settings - Fork 617
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This commit enables ovn-octavia in the CI by: * Updating DevStack to stable/2023.1 (Antelope) * Switches CI to use OVN as a Neutron backend. It's the default, we should use it. * Enables ovn-octavia installation. * Adds some debugging info to LB tests, so that debugging issues with this code will be easier in the future.
- Loading branch information
Showing
4 changed files
with
55 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -116,6 +116,7 @@ | |
|
||
- name: Run functional tests for openstack-cloud-controller-manager | ||
when: run_e2e | ||
register: run_tests | ||
shell: | ||
executable: /bin/bash | ||
cmd: | | ||
|
@@ -125,3 +126,34 @@ | |
GATEWAY_IP=172.24.5.1 \ | ||
DEVSTACK_OS_RC={{ devstack_workdir }}/openrc \ | ||
bash tests/e2e/cloudprovider/test-lb-service.sh | ||
timeout: 3600 | ||
ignore_errors: true | ||
|
||
- name: Print logs for debugging | ||
when: | ||
- run_e2e | ||
- run_tests.failed | ||
block: | ||
- name: Show openstack-cloud-controller-manager pod logs | ||
shell: | ||
executable: /bin/bash | ||
cmd: | | ||
kubectl -n kube-system logs daemonset/openstack-cloud-controller-manager | ||
- name: Show Octavia logs | ||
become: true | ||
shell: | ||
executable: /bin/bash | ||
cmd: | | ||
sudo journalctl -u [email protected] --no-pager | ||
- name: Show Neutron logs | ||
become: true | ||
shell: | ||
executable: /bin/bash | ||
cmd: | | ||
sudo journalctl -u [email protected] --no-pager | ||
- name: &failmsg2 Stop due to prior failure of tests | ||
fail: | ||
msg: *failmsg2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,6 +18,7 @@ | |
- cinder | ||
- neutron | ||
- octavia | ||
- ovn-octavia | ||
- barbican | ||
- role: install-k3s | ||
worker_node_count: 0 | ||
|