Skip to content

Commit 83b5f26

Browse files
authored
Kubevirt fixes (#830)
* Update kubevirt API version Signed-off-by: Raul Sevilla <[email protected]> * Wait for servers to be running before registering interfaces Signed-off-by: Raul Sevilla <[email protected]> * Centos 8 appstream is EOL: Use vault repository Signed-off-by: Raul Sevilla <[email protected]> --------- Signed-off-by: Raul Sevilla <[email protected]>
1 parent f5ffc3c commit 83b5f26

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
[centos8-appstream-x86_64]
22
name=CentOS-8-Appstream-x86_64
3-
baseurl=http://mirror.centos.org/centos/8-stream/AppStream/x86_64/os/
3+
baseurl=http://vault.centos.org/centos/8-stream/AppStream/x86_64/os/
44
enabled=0
55
gpgcheck=0
66

77
[centos8-appstream-aarch64]
88
name=CentOS-8-Appstream-aarch64
9-
baseurl=http://mirror.centos.org/centos/8-stream/AppStream/aarch64/os/
9+
baseurl=http://vault.centos.org/centos/8-stream/AppStream/aarch64/os/
1010
enabled=0
1111
gpgcheck=0
1212

1313
[centos8-appstream-ppc64le]
1414
name=CentOS-8-Appstream-ppc64le
15-
baseurl=http://mirror.centos.org/centos/8-stream/AppStream/ppc64le/os/
15+
baseurl=http://vault.centos.org/centos/8-stream/AppStream/ppc64le/os/
1616
enabled=0
1717
gpgcheck=0

roles/fio_distributed/tasks/main.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@
9393
- name: Capture pod list
9494
k8s_info:
9595
kind: VirtualMachineInstance
96-
api_version: kubevirt.io/v1alpha3
96+
api_version: kubevirt.io/v1
9797
namespace: '{{ operator_namespace }}'
9898
label_selectors:
9999
- app = fio-benchmark-{{ trunc_uuid }}
@@ -110,6 +110,7 @@
110110
set_fact:
111111
pod_details: "{{ pod_details|default({}) | combine({item.status.interfaces[0].ipAddress: item.status.nodeName}) }}"
112112
with_items: "{{ server_pods.resources }}"
113+
when: benchmark_state.resources[0].status.state == "StartingClient"
113114

114115
when: (workload.args.kind | default('pod')) == "vm"
115116

roles/fio_distributed/templates/server_vm.yml.j2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
apiVersion: kubevirt.io/v1alpha3
2+
apiVersion: kubevirt.io/v1
33
kind: VirtualMachineInstance
44
metadata:
55
name: 'fio-server-{{item | string}}-{{ trunc_uuid }}'

0 commit comments

Comments
 (0)