From ee28fd02369739c6ea49f7f7607f7bae123093dd Mon Sep 17 00:00:00 2001 From: anna-savina Date: Thu, 26 Dec 2024 11:25:54 +0200 Subject: [PATCH 1/2] added cluster name to the ovf template tests --- .../targets/vmware_ops_deploy_ovf_test/tasks/main.yml | 1 + .../targets/vmware_ops_export_vm_as_ovf_test/tasks/main.yml | 1 + 2 files changed, 2 insertions(+) diff --git a/tests/integration/targets/vmware_ops_deploy_ovf_test/tasks/main.yml b/tests/integration/targets/vmware_ops_deploy_ovf_test/tasks/main.yml index 56e1f12e..8f102c51 100644 --- a/tests/integration/targets/vmware_ops_deploy_ovf_test/tasks/main.yml +++ b/tests/integration/targets/vmware_ops_deploy_ovf_test/tasks/main.yml @@ -16,6 +16,7 @@ state: poweredoff folder: "{{ deploy_ovf_folder }}" datacenter: "{{ deploy_ovf_datacenter_name }}" + cluster: "{{ vcenter_cluster_name }}" disk: - size_gb: 5 type: thick diff --git a/tests/integration/targets/vmware_ops_export_vm_as_ovf_test/tasks/main.yml b/tests/integration/targets/vmware_ops_export_vm_as_ovf_test/tasks/main.yml index b1539cfa..d8e98ff6 100644 --- a/tests/integration/targets/vmware_ops_export_vm_as_ovf_test/tasks/main.yml +++ b/tests/integration/targets/vmware_ops_export_vm_as_ovf_test/tasks/main.yml @@ -13,6 +13,7 @@ password: "{{ vmware_ops_password }}" validate_certs: "{{ vmware_ops_validate_certs }}" name: "{{ export_vm_as_ovf_vm_name }}" + cluster: "{{ vcenter_cluster_name }}" state: poweredoff folder: "/{{ vcenter_datacenter }}/vm/e2e-qe" datacenter: "{{ export_vm_as_ovf_datacenter }}" From ad6dc0e59d645e46d494861aeedb4ac6d8dfc04f Mon Sep 17 00:00:00 2001 From: anna-savina Date: Thu, 26 Dec 2024 16:54:48 +0200 Subject: [PATCH 2/2] fixed ISO path --- tests/integration/targets/group_vars.yml | 2 +- .../targets/vmware_ops_provision_vm_test/vars/main.yml | 4 ++-- .../targets/vmware_ops_snapshot_management_test/vars/main.yml | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/integration/targets/group_vars.yml b/tests/integration/targets/group_vars.yml index abd11bce..d7ac230a 100644 --- a/tests/integration/targets/group_vars.yml +++ b/tests/integration/targets/group_vars.yml @@ -7,7 +7,7 @@ custom_esxi_8_username: "root" custom_esxi_8_password: "!#%135qEt" custom_esxi_8_iso_path: "[eco-nfs-datastore-iso] custom_esxi_8.iso" rhel_8_9_iso_path: "[eco-nfs-datastore-iso] rhel-8.9-x86_64-boot.iso" -rhel_9_3_iso_path: "[eco-nfs-datastore-iso] rhel-9.3-x86_64-dvd.iso" +rhel_9_4_iso_path: "[eco-nfs-datastore-iso] rhel-9.4-x86_64-boot.iso" shared_storage_01: "eco-iscsi-ds1" vm_network_name: "VM Network" test_network_name: "TestNetwork" diff --git a/tests/integration/targets/vmware_ops_provision_vm_test/vars/main.yml b/tests/integration/targets/vmware_ops_provision_vm_test/vars/main.yml index c7508717..0cb9872e 100644 --- a/tests/integration/targets/vmware_ops_provision_vm_test/vars/main.yml +++ b/tests/integration/targets/vmware_ops_provision_vm_test/vars/main.yml @@ -14,7 +14,7 @@ provision_vms_template: unit_number: 0 state: present type: iso - iso_path: "{{ rhel_9_3_iso_path }}" + iso_path: "{{ rhel_9_4_iso_path }}" provision_vm_networks: - name: "{{ vm_network_name }}" device_type: "vmxnet3" @@ -48,7 +48,7 @@ provision_vms: unit_number: 0 state: present type: iso - iso_path: "{{ rhel_9_3_iso_path }}" + iso_path: "{{ rhel_9_4_iso_path }}" provision_vm_networks: - name: "{{ vm_network_name }}" device_type: "vmxnet3" diff --git a/tests/integration/targets/vmware_ops_snapshot_management_test/vars/main.yml b/tests/integration/targets/vmware_ops_snapshot_management_test/vars/main.yml index 61a1681a..d0ab3122 100644 --- a/tests/integration/targets/vmware_ops_snapshot_management_test/vars/main.yml +++ b/tests/integration/targets/vmware_ops_snapshot_management_test/vars/main.yml @@ -38,7 +38,7 @@ provision_vm_cdrom: unit_number: 0 state: present type: iso - iso_path: "{{ rhel_9_3_iso_path }}" + iso_path: "{{ rhel_9_4_iso_path }}" provision_vm_networks: - name: "{{ vm_network_name }}" device_type: "vmxnet3"