This repository has been archived by the owner on Jun 25, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 47
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Kuttle tests were expanded to new functionality. Signed-off-by: Jiri Podivin <[email protected]>
- Loading branch information
Showing
7 changed files
with
1,415 additions
and
23 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
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
131 changes: 131 additions & 0 deletions
131
tests/kuttl/tests/dataplane-deploy-global-service-test/00-assert.yaml
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 |
---|---|---|
@@ -0,0 +1,131 @@ | ||
apiVersion: dataplane.openstack.org/v1beta1 | ||
kind: OpenStackDataPlaneNodeSet | ||
metadata: | ||
name: edpm-compute-global-service | ||
namespace: openstack | ||
spec: | ||
preProvisioned: true | ||
services: | ||
- download-cache | ||
- bootstrap | ||
- configure-network | ||
- validate-network | ||
- install-os | ||
- configure-os | ||
- run-os | ||
- install-certs | ||
- ovn | ||
- neutron-metadata | ||
- neutron-ovn | ||
- neutron-sriov | ||
- neutron-dhcp | ||
- libvirt | ||
- nova | ||
tlsEnabled: false | ||
env: | ||
- name: ANSIBLE_FORCE_COLOR | ||
value: "True" | ||
nodes: | ||
edpm-compute-0: | ||
hostName: edpm-compute-0 | ||
ansible: | ||
ansibleHost: 192.168.122.100 | ||
ansibleUser: cloud-admin | ||
ansibleVars: | ||
ctlplane_ip: 192.168.122.100 | ||
internalapi_ip: 172.17.0.100 | ||
storage_ip: 172.18.0.100 | ||
tenant_ip: 172.19.0.100 | ||
edpm-compute-1: | ||
hostName: edpm-compute-1 | ||
ansible: | ||
ansibleHost: 192.168.122.200 | ||
ansibleUser: cloud-admin | ||
ansibleVars: | ||
ctlplane_ip: 192.168.122.200 | ||
internalapi_ip: 172.17.0.200 | ||
storage_ip: 172.18.0.200 | ||
tenant_ip: 172.19.0.200 | ||
nodeTemplate: | ||
ansibleSSHPrivateKeySecret: dataplane-ansible-ssh-private-key-secret | ||
managementNetwork: ctlplane | ||
ansible: | ||
ansibleUser: cloud-admin | ||
ansiblePort: 22 | ||
ansibleVars: | ||
service_net_map: | ||
nova_api_network: internalapi | ||
nova_libvirt_network: internalapi | ||
timesync_ntp_servers: | ||
- hostname: clock.redhat.com | ||
# edpm_network_config | ||
# Default nic config template for a EDPM compute node | ||
# These vars are edpm_network_config role vars | ||
edpm_network_config_hide_sensitive_logs: false | ||
edpm_network_config_template: templates/single_nic_vlans/single_nic_vlans.j2 | ||
# These vars are for the network config templates themselves and are | ||
# considered EDPM network defaults. | ||
neutron_physical_bridge_name: br-ex | ||
neutron_public_interface_name: eth0 | ||
ctlplane_mtu: 1500 | ||
ctlplane_cidr: 24 | ||
ctlplane_gateway_ip: 192.168.122.1 | ||
ctlplane_host_routes: | ||
- ip_netmask: 0.0.0.0/0 | ||
next_hop: 192.168.122.1 | ||
external_mtu: 1500 | ||
external_vlan_id: 44 | ||
external_cidr: '24' | ||
external_host_routes: [] | ||
internalapi_mtu: 1500 | ||
internalapi_vlan_id: 20 | ||
internalapi_cidr: '24' | ||
internalapi_host_routes: [] | ||
storage_mtu: 1500 | ||
storage_vlan_id: 21 | ||
storage_cidr: '24' | ||
storage_host_routes: [] | ||
tenant_mtu: 1500 | ||
tenant_vlan_id: 22 | ||
tenant_cidr: '24' | ||
tenant_host_routes: [] | ||
role_networks: | ||
- InternalApi | ||
- Storage | ||
- Tenant | ||
networks_lower: | ||
External: external | ||
InternalApi: internalapi | ||
Storage: storage | ||
Tenant: tenant | ||
# edpm_nodes_validation | ||
edpm_nodes_validation_validate_controllers_icmp: false | ||
edpm_nodes_validation_validate_gateway_icmp: false | ||
ctlplane_dns_nameservers: | ||
- 192.168.122.1 | ||
dns_search_domains: [] | ||
gather_facts: false | ||
enable_debug: false | ||
# edpm firewall, change the allowed CIDR if needed | ||
edpm_sshd_configure_firewall: true | ||
edpm_sshd_allowed_ranges: ['192.168.122.0/24'] | ||
# SELinux module | ||
edpm_selinux_mode: enforcing | ||
status: | ||
conditions: | ||
- message: Deployment not started | ||
reason: Requested | ||
status: "False" | ||
type: Ready | ||
- message: Deployment not started | ||
reason: Requested | ||
status: "False" | ||
type: DeploymentReady | ||
- message: Input data complete | ||
reason: Ready | ||
status: "True" | ||
type: InputReady | ||
- message: Setup complete | ||
reason: Ready | ||
status: "True" | ||
type: SetupReady |
Oops, something went wrong.