tests: changing gcp_tpu_node side

v2-8 seems to be in high demand causing test failures. changing it to
v2-32 seems to pass more consistently.
This commit is contained in:
Yusuke Tsutsumi 2022-10-10 20:33:23 +00:00
parent 3aa8682d5f
commit 3f6a50208d

View file

@ -16,8 +16,8 @@
- name: delete a node - name: delete a node
google.cloud.gcp_tpu_node: google.cloud.gcp_tpu_node:
name: "{{ resource_name }}" name: "{{ resource_name }}"
zone: us-central1-b zone: us-central1-a
accelerator_type: v2-8 accelerator_type: "v2-32"
tensorflow_version: '2.10.0' tensorflow_version: '2.10.0'
cidr_block: 10.2.0.0/29 cidr_block: 10.2.0.0/29
project: "{{ gcp_project }}" project: "{{ gcp_project }}"
@ -28,8 +28,8 @@
- name: create a node - name: create a node
google.cloud.gcp_tpu_node: google.cloud.gcp_tpu_node:
name: "{{ resource_name }}" name: "{{ resource_name }}"
zone: us-central1-b zone: us-central1-a
accelerator_type: v2-8 accelerator_type: "v2-32"
tensorflow_version: '2.10.0' tensorflow_version: '2.10.0'
cidr_block: 10.2.0.0/29 cidr_block: 10.2.0.0/29
project: "{{ gcp_project }}" project: "{{ gcp_project }}"
@ -43,7 +43,7 @@
- result.changed == true - result.changed == true
- name: verify that node was created - name: verify that node was created
google.cloud.gcp_tpu_node_info: google.cloud.gcp_tpu_node_info:
zone: us-central1-b zone: us-central1-a
project: "{{ gcp_project }}" project: "{{ gcp_project }}"
auth_kind: "{{ gcp_cred_kind }}" auth_kind: "{{ gcp_cred_kind }}"
service_account_file: "{{ gcp_cred_file }}" service_account_file: "{{ gcp_cred_file }}"
@ -58,8 +58,8 @@
- name: create a node that already exists - name: create a node that already exists
google.cloud.gcp_tpu_node: google.cloud.gcp_tpu_node:
name: "{{ resource_name }}" name: "{{ resource_name }}"
zone: us-central1-b zone: us-central1-a
accelerator_type: v2-8 accelerator_type: "v2-32"
tensorflow_version: '2.10.0' tensorflow_version: '2.10.0'
cidr_block: 10.2.0.0/29 cidr_block: 10.2.0.0/29
project: "{{ gcp_project }}" project: "{{ gcp_project }}"
@ -75,8 +75,8 @@
- name: delete a node - name: delete a node
google.cloud.gcp_tpu_node: google.cloud.gcp_tpu_node:
name: "{{ resource_name }}" name: "{{ resource_name }}"
zone: us-central1-b zone: us-central1-a
accelerator_type: v2-8 accelerator_type: "v2-32"
tensorflow_version: '2.10.0' tensorflow_version: '2.10.0'
cidr_block: 10.2.0.0/29 cidr_block: 10.2.0.0/29
project: "{{ gcp_project }}" project: "{{ gcp_project }}"
@ -90,7 +90,7 @@
- result.changed == true - result.changed == true
- name: verify that node was deleted - name: verify that node was deleted
google.cloud.gcp_tpu_node_info: google.cloud.gcp_tpu_node_info:
zone: us-central1-b zone: us-central1-a
project: "{{ gcp_project }}" project: "{{ gcp_project }}"
auth_kind: "{{ gcp_cred_kind }}" auth_kind: "{{ gcp_cred_kind }}"
service_account_file: "{{ gcp_cred_file }}" service_account_file: "{{ gcp_cred_file }}"
@ -105,8 +105,8 @@
- name: delete a node that does not exist - name: delete a node that does not exist
google.cloud.gcp_tpu_node: google.cloud.gcp_tpu_node:
name: "{{ resource_name }}" name: "{{ resource_name }}"
zone: us-central1-b zone: us-central1-a
accelerator_type: v2-8 accelerator_type: "v2-32"
tensorflow_version: '2.10.0' tensorflow_version: '2.10.0'
cidr_block: 10.2.0.0/29 cidr_block: 10.2.0.0/29
project: "{{ gcp_project }}" project: "{{ gcp_project }}"