Merge pull request #11425 from sivel/rax-tests-timeout

Make the wait_timeout for rax tests a configurable default
pull/11429/merge
Matt Martz 10 years ago
commit 8a1a86797d

@ -14,3 +14,5 @@ rackspace_alt_image_name: "CentOS 6 (PVHVM)"
rackspace_alt_image_human_id: "centos-6-pvhvm" rackspace_alt_image_human_id: "centos-6-pvhvm"
rackspace_alt_flavor: "general1-1" rackspace_alt_flavor: "general1-1"
rackspace_wait_timeout: 600

@ -119,6 +119,7 @@
name: "{{ resource_prefix }}-1" name: "{{ resource_prefix }}-1"
state: absent state: absent
wait: true wait: true
wait_timeout: "{{ rackspace_wait_timeout }}"
register: rax register: rax
- name: "Validate delete integration 1" - name: "Validate delete integration 1"
@ -141,6 +142,7 @@
flavor: "{{ rackspace_flavor }}" flavor: "{{ rackspace_flavor }}"
name: "{{ resource_prefix }}-2" name: "{{ resource_prefix }}-2"
wait: true wait: true
wait_timeout: "{{ rackspace_wait_timeout }}"
register: rax register: rax
- name: Validate rax basic idepmpotency 1 - name: Validate rax basic idepmpotency 1
@ -163,6 +165,7 @@
flavor: "{{ rackspace_flavor }}" flavor: "{{ rackspace_flavor }}"
name: "{{ resource_prefix }}-2" name: "{{ resource_prefix }}-2"
wait: true wait: true
wait_timeout: "{{ rackspace_wait_timeout }}"
register: rax register: rax
- name: Validate rax basic idempotency 2 - name: Validate rax basic idempotency 2
@ -185,6 +188,7 @@
name: "{{ resource_prefix }}-2" name: "{{ resource_prefix }}-2"
state: absent state: absent
wait: true wait: true
wait_timeout: "{{ rackspace_wait_timeout }}"
register: rax register: rax
- name: "Validate delete integration 2" - name: "Validate delete integration 2"
@ -211,6 +215,7 @@
meta: meta:
foo: bar foo: bar
wait: true wait: true
wait_timeout: "{{ rackspace_wait_timeout }}"
register: rax register: rax
- name: Validate rax basic idepmpotency with meta 1 - name: Validate rax basic idepmpotency with meta 1
@ -236,6 +241,7 @@
meta: meta:
foo: bar foo: bar
wait: true wait: true
wait_timeout: "{{ rackspace_wait_timeout }}"
register: rax register: rax
- name: Validate rax basic idempotency with meta 2 - name: Validate rax basic idempotency with meta 2
@ -260,6 +266,7 @@
meta: meta:
foo: bar foo: bar
wait: true wait: true
wait_timeout: "{{ rackspace_wait_timeout }}"
register: rax register: rax
- name: "Validate delete integration 3" - name: "Validate delete integration 3"
@ -285,6 +292,7 @@
name: "{{ resource_prefix }}-4" name: "{{ resource_prefix }}-4"
count: 2 count: 2
wait: true wait: true
wait_timeout: "{{ rackspace_wait_timeout }}"
register: rax register: rax
- name: Validate rax basic idepmpotency multi server 1 - name: Validate rax basic idepmpotency multi server 1
@ -306,6 +314,7 @@
name: "{{ resource_prefix }}-4" name: "{{ resource_prefix }}-4"
count: 2 count: 2
wait: true wait: true
wait_timeout: "{{ rackspace_wait_timeout }}"
register: rax register: rax
- name: Validate rax basic idempotency multi server 2 - name: Validate rax basic idempotency multi server 2
@ -327,6 +336,7 @@
name: "{{ resource_prefix }}-4" name: "{{ resource_prefix }}-4"
count: 3 count: 3
wait: true wait: true
wait_timeout: "{{ rackspace_wait_timeout }}"
register: rax register: rax
- name: Validate rax basic idempotency multi server 3 - name: Validate rax basic idempotency multi server 3
@ -349,6 +359,7 @@
count: 3 count: 3
state: absent state: absent
wait: true wait: true
wait_timeout: "{{ rackspace_wait_timeout }}"
register: rax register: rax
- name: "Validate delete integration 4" - name: "Validate delete integration 4"
@ -375,6 +386,7 @@
count: 2 count: 2
group: "{{ resource_prefix }}-5" group: "{{ resource_prefix }}-5"
wait: true wait: true
wait_timeout: "{{ rackspace_wait_timeout }}"
register: rax register: rax
- name: Validate rax multi server group without exact_count 1 - name: Validate rax multi server group without exact_count 1
@ -398,6 +410,7 @@
count: 2 count: 2
group: "{{ resource_prefix }}-5" group: "{{ resource_prefix }}-5"
wait: true wait: true
wait_timeout: "{{ rackspace_wait_timeout }}"
state: absent state: absent
register: rax register: rax
@ -425,6 +438,7 @@
count: 2 count: 2
group: "{{ resource_prefix }}-6" group: "{{ resource_prefix }}-6"
wait: true wait: true
wait_timeout: "{{ rackspace_wait_timeout }}"
register: rax register: rax
- name: Validate rax multi server group without exact_count non-idempotency 1 - name: Validate rax multi server group without exact_count non-idempotency 1
@ -448,6 +462,7 @@
count: 2 count: 2
group: "{{ resource_prefix }}-6" group: "{{ resource_prefix }}-6"
wait: true wait: true
wait_timeout: "{{ rackspace_wait_timeout }}"
register: rax register: rax
- name: Validate rax multi server group without exact_count non-idempotency 2 - name: Validate rax multi server group without exact_count non-idempotency 2
@ -470,6 +485,7 @@
count: 4 count: 4
group: "{{ resource_prefix }}-6" group: "{{ resource_prefix }}-6"
wait: true wait: true
wait_timeout: "{{ rackspace_wait_timeout }}"
state: absent state: absent
register: rax register: rax
@ -498,6 +514,7 @@
exact_count: true exact_count: true
group: "{{ resource_prefix }}-7" group: "{{ resource_prefix }}-7"
wait: true wait: true
wait_timeout: "{{ rackspace_wait_timeout }}"
register: rax register: rax
- name: Validate rax multi server group with exact_count 1 - name: Validate rax multi server group with exact_count 1
@ -522,6 +539,7 @@
exact_count: true exact_count: true
group: "{{ resource_prefix }}-7" group: "{{ resource_prefix }}-7"
wait: true wait: true
wait_timeout: "{{ rackspace_wait_timeout }}"
register: rax register: rax
- name: Validate rax multi server group with exact_count 2 - name: Validate rax multi server group with exact_count 2
@ -545,6 +563,7 @@
exact_count: true exact_count: true
group: "{{ resource_prefix }}-7" group: "{{ resource_prefix }}-7"
wait: true wait: true
wait_timeout: "{{ rackspace_wait_timeout }}"
register: rax register: rax
- name: Validate rax multi server group with exact_count 3 - name: Validate rax multi server group with exact_count 3
@ -570,6 +589,7 @@
exact_count: true exact_count: true
group: "{{ resource_prefix }}-7" group: "{{ resource_prefix }}-7"
wait: true wait: true
wait_timeout: "{{ rackspace_wait_timeout }}"
register: rax register: rax
- name: "Validate delete integration 7" - name: "Validate delete integration 7"
@ -597,6 +617,7 @@
group: "{{ resource_prefix }}-8" group: "{{ resource_prefix }}-8"
auto_increment: false auto_increment: false
wait: true wait: true
wait_timeout: "{{ rackspace_wait_timeout }}"
register: rax register: rax
- name: Validate rax multi server group without exact_count and disabled auto_increment 1 - name: Validate rax multi server group without exact_count and disabled auto_increment 1
@ -621,6 +642,7 @@
group: "{{ resource_prefix }}-8" group: "{{ resource_prefix }}-8"
auto_increment: false auto_increment: false
wait: true wait: true
wait_timeout: "{{ rackspace_wait_timeout }}"
state: absent state: absent
register: rax register: rax
@ -649,6 +671,7 @@
exact_count: true exact_count: true
group: "{{ resource_prefix }}-9" group: "{{ resource_prefix }}-9"
wait: true wait: true
wait_timeout: "{{ rackspace_wait_timeout }}"
register: rax register: rax
- name: Validate rax multi server group with exact_count and no printf 1 - name: Validate rax multi server group with exact_count and no printf 1
@ -673,6 +696,7 @@
exact_count: true exact_count: true
group: "{{ resource_prefix }}-9" group: "{{ resource_prefix }}-9"
wait: true wait: true
wait_timeout: "{{ rackspace_wait_timeout }}"
register: rax register: rax
- name: "Validate delete integration 9" - name: "Validate delete integration 9"
@ -701,6 +725,7 @@
exact_count: true exact_count: true
group: "{{ resource_prefix }}-10" group: "{{ resource_prefix }}-10"
wait: true wait: true
wait_timeout: "{{ rackspace_wait_timeout }}"
register: rax register: rax
- name: Validate rax multi server group with exact_count and offset 1 - name: Validate rax multi server group with exact_count and offset 1
@ -726,6 +751,7 @@
exact_count: true exact_count: true
group: "{{ resource_prefix }}-10" group: "{{ resource_prefix }}-10"
wait: true wait: true
wait_timeout: "{{ rackspace_wait_timeout }}"
register: rax register: rax
- name: "Validate delete integration 10" - name: "Validate delete integration 10"
@ -754,6 +780,7 @@
exact_count: true exact_count: true
group: "{{ resource_prefix }}-11" group: "{{ resource_prefix }}-11"
wait: true wait: true
wait_timeout: "{{ rackspace_wait_timeout }}"
register: rax register: rax
- name: Validate rax multi server group with exact_count and offset 1 - name: Validate rax multi server group with exact_count and offset 1
@ -779,6 +806,7 @@
exact_count: true exact_count: true
group: "{{ resource_prefix }}-11" group: "{{ resource_prefix }}-11"
wait: true wait: true
wait_timeout: "{{ rackspace_wait_timeout }}"
register: rax register: rax
- name: "Validate delete integration 11" - name: "Validate delete integration 11"
@ -803,6 +831,7 @@
flavor: "{{ rackspace_flavor }}" flavor: "{{ rackspace_flavor }}"
name: "{{ resource_prefix }}-12" name: "{{ resource_prefix }}-12"
wait: true wait: true
wait_timeout: "{{ rackspace_wait_timeout }}"
register: rax register: rax
- name: Validate rax instance_ids absent 1 (create) - name: Validate rax instance_ids absent 1 (create)
@ -827,6 +856,7 @@
- "{{ rax.success.0.rax_id }}" - "{{ rax.success.0.rax_id }}"
state: absent state: absent
wait: true wait: true
wait_timeout: "{{ rackspace_wait_timeout }}"
register: rax2 register: rax2
- name: Validate rax instance_ids absent 2 (delete) - name: Validate rax instance_ids absent 2 (delete)

@ -55,6 +55,7 @@
region: "{{ rackspace_region }}" region: "{{ rackspace_region }}"
name: "{{ resource_prefix }}-1" name: "{{ resource_prefix }}-1"
wait: true wait: true
wait_timeout: "{{ rackspace_wait_timeout }}"
register: rax_cbs register: rax_cbs
- name: Validate rax_cbs creds, region and name - name: Validate rax_cbs creds, region and name
@ -116,6 +117,7 @@
name: "{{ resource_prefix }}-2" name: "{{ resource_prefix }}-2"
size: 150 size: 150
wait: true wait: true
wait_timeout: "{{ rackspace_wait_timeout }}"
register: rax_cbs register: rax_cbs
- name: Validate rax_cbs creds, region and valid size - name: Validate rax_cbs creds, region and valid size
@ -177,6 +179,7 @@
name: "{{ resource_prefix }}-3" name: "{{ resource_prefix }}-3"
volume_type: SSD volume_type: SSD
wait: true wait: true
wait_timeout: "{{ rackspace_wait_timeout }}"
register: rax_cbs register: rax_cbs
- name: Validate rax_cbs creds, region and valid volume_size - name: Validate rax_cbs creds, region and valid volume_size
@ -218,6 +221,7 @@
name: "{{ resource_prefix }}-4" name: "{{ resource_prefix }}-4"
description: "{{ resource_prefix }}-4 description" description: "{{ resource_prefix }}-4 description"
wait: true wait: true
wait_timeout: "{{ rackspace_wait_timeout }}"
register: rax_cbs register: rax_cbs
- name: Validate rax_cbs creds, region and description - name: Validate rax_cbs creds, region and description
@ -261,6 +265,7 @@
meta: meta:
foo: bar foo: bar
wait: true wait: true
wait_timeout: "{{ rackspace_wait_timeout }}"
register: rax_cbs register: rax_cbs
- name: Validate rax_cbs creds, region and meta - name: Validate rax_cbs creds, region and meta
@ -302,6 +307,7 @@
region: "{{ rackspace_region }}" region: "{{ rackspace_region }}"
name: "{{ resource_prefix }}-6" name: "{{ resource_prefix }}-6"
wait: true wait: true
wait_timeout: "{{ rackspace_wait_timeout }}"
register: rax_cbs_1 register: rax_cbs_1
- name: Validate rax_cbs with idempotency 1 - name: Validate rax_cbs with idempotency 1

@ -80,6 +80,7 @@
region: "{{ rackspace_region }}" region: "{{ rackspace_region }}"
name: "{{ resource_prefix }}-rax_cbs_attachments" name: "{{ resource_prefix }}-rax_cbs_attachments"
wait: true wait: true
wait_timeout: "{{ rackspace_wait_timeout }}"
register: rax_cbs register: rax_cbs
- name: Validate volume build - name: Validate volume build
@ -102,6 +103,7 @@
flavor: "{{ rackspace_flavor }}" flavor: "{{ rackspace_flavor }}"
name: "{{ resource_prefix }}-rax_cbs_attachments" name: "{{ resource_prefix }}-rax_cbs_attachments"
wait: true wait: true
wait_timeout: "{{ rackspace_wait_timeout }}"
register: rax register: rax
- name: Validate CloudServer build - name: Validate CloudServer build
@ -147,6 +149,7 @@
volume: "{{ rax_cbs.volume.id }}" volume: "{{ rax_cbs.volume.id }}"
device: /dev/xvde device: /dev/xvde
wait: true wait: true
wait_timeout: "{{ rackspace_wait_timeout }}"
register: rax_cbs_attachments register: rax_cbs_attachments
- name: Validate rax_cbs_attachments creds, region, server, volume and device (valid) - name: Validate rax_cbs_attachments creds, region, server, volume and device (valid)
@ -166,6 +169,7 @@
volume: "{{ rax_cbs.volume.id }}" volume: "{{ rax_cbs.volume.id }}"
device: /dev/xvde device: /dev/xvde
wait: true wait: true
wait_timeout: "{{ rackspace_wait_timeout }}"
register: rax_cbs_attachments register: rax_cbs_attachments
- name: Validate idempotent present test - name: Validate idempotent present test
@ -183,6 +187,7 @@
volume: "{{ rax_cbs.volume.id }}" volume: "{{ rax_cbs.volume.id }}"
device: /dev/xvde device: /dev/xvde
wait: true wait: true
wait_timeout: "{{ rackspace_wait_timeout }}"
state: absent state: absent
register: rax_cbs_attachments register: rax_cbs_attachments
@ -202,6 +207,7 @@
volume: "{{ rax_cbs.volume.id }}" volume: "{{ rax_cbs.volume.id }}"
device: /dev/xvde device: /dev/xvde
wait: true wait: true
wait_timeout: "{{ rackspace_wait_timeout }}"
state: absent state: absent
register: rax_cbs_attachments register: rax_cbs_attachments
@ -242,6 +248,7 @@
instance_ids: "{{ rax.instances[0].id }}" instance_ids: "{{ rax.instances[0].id }}"
state: absent state: absent
wait: true wait: true
wait_timeout: "{{ rackspace_wait_timeout }}"
register: rax register: rax
- name: "Validate delete" - name: "Validate delete"

@ -73,6 +73,7 @@
region: "{{ rackspace_region }}" region: "{{ rackspace_region }}"
name: "{{ resource_prefix }}-1" name: "{{ resource_prefix }}-1"
wait: true wait: true
wait_timeout: "{{ rackspace_wait_timeout }}"
register: rax_cdb register: rax_cdb
- name: Validate rax_cdb with creds, region and name - name: Validate rax_cdb with creds, region and name
@ -92,6 +93,7 @@
name: "{{ resource_prefix }}-1" name: "{{ resource_prefix }}-1"
state: absent state: absent
wait: true wait: true
wait_timeout: "{{ rackspace_wait_timeout }}"
register: rax_cdb register: rax_cdb
- name: "Validate delete integration 1" - name: "Validate delete integration 1"
@ -113,6 +115,7 @@
region: "{{ rackspace_region }}" region: "{{ rackspace_region }}"
name: "{{ resource_prefix }}-2" name: "{{ resource_prefix }}-2"
wait: true wait: true
wait_timeout: "{{ rackspace_wait_timeout }}"
register: rax_cdb register: rax_cdb
- name: Validate rax_cdb idempotent test 1 - name: Validate rax_cdb idempotent test 1
@ -130,6 +133,7 @@
region: "{{ rackspace_region }}" region: "{{ rackspace_region }}"
name: "{{ resource_prefix }}-2" name: "{{ resource_prefix }}-2"
wait: true wait: true
wait_timeout: "{{ rackspace_wait_timeout }}"
register: rax_cdb register: rax_cdb
- name: Validate rax_cdb idempotent test 2 - name: Validate rax_cdb idempotent test 2
@ -148,6 +152,7 @@
name: "{{ resource_prefix }}-2" name: "{{ resource_prefix }}-2"
state: absent state: absent
wait: true wait: true
wait_timeout: "{{ rackspace_wait_timeout }}"
register: rax_cdb register: rax_cdb
- name: "Validate delete integration 2" - name: "Validate delete integration 2"
@ -167,6 +172,7 @@
region: "{{ rackspace_region }}" region: "{{ rackspace_region }}"
name: "{{ resource_prefix }}-3" name: "{{ resource_prefix }}-3"
wait: true wait: true
wait_timeout: "{{ rackspace_wait_timeout }}"
register: rax_cdb register: rax_cdb
- name: Validate rax_cdb resize volume 1 - name: Validate rax_cdb resize volume 1
@ -185,6 +191,7 @@
name: "{{ resource_prefix }}-3" name: "{{ resource_prefix }}-3"
volume: 3 volume: 3
wait: true wait: true
wait_timeout: "{{ rackspace_wait_timeout }}"
wait_timeout: 600 wait_timeout: 600
register: rax_cdb register: rax_cdb
@ -204,6 +211,7 @@
name: "{{ resource_prefix }}-3" name: "{{ resource_prefix }}-3"
state: absent state: absent
wait: true wait: true
wait_timeout: "{{ rackspace_wait_timeout }}"
register: rax_cdb register: rax_cdb
- name: "Validate delete integration 3" - name: "Validate delete integration 3"
@ -223,6 +231,7 @@
region: "{{ rackspace_region }}" region: "{{ rackspace_region }}"
name: "{{ resource_prefix }}-4" name: "{{ resource_prefix }}-4"
wait: true wait: true
wait_timeout: "{{ rackspace_wait_timeout }}"
register: rax_cdb register: rax_cdb
- name: Validate rax_cdb resize flavor 1 - name: Validate rax_cdb resize flavor 1
@ -241,6 +250,7 @@
name: "{{ resource_prefix }}-4" name: "{{ resource_prefix }}-4"
flavor: 2 flavor: 2
wait: true wait: true
wait_timeout: "{{ rackspace_wait_timeout }}"
wait_timeout: 600 wait_timeout: 600
register: rax_cdb register: rax_cdb
@ -260,6 +270,7 @@
name: "{{ resource_prefix }}-4" name: "{{ resource_prefix }}-4"
state: absent state: absent
wait: true wait: true
wait_timeout: "{{ rackspace_wait_timeout }}"
register: rax_cdb register: rax_cdb
- name: "Validate delete integration 4" - name: "Validate delete integration 4"

@ -92,6 +92,7 @@
region: "{{ rackspace_region }}" region: "{{ rackspace_region }}"
name: "{{ resource_prefix }}-rax_cdb_database" name: "{{ resource_prefix }}-rax_cdb_database"
wait: true wait: true
wait_timeout: "{{ rackspace_wait_timeout }}"
register: rax_cdb register: rax_cdb
- name: Validate build - name: Validate build
@ -204,6 +205,7 @@
name: "{{ resource_prefix }}-rax_cdb_database" name: "{{ resource_prefix }}-rax_cdb_database"
state: absent state: absent
wait: true wait: true
wait_timeout: "{{ rackspace_wait_timeout }}"
register: rax_cdb register: rax_cdb
- name: Validate Delete - name: Validate Delete

@ -73,6 +73,7 @@
region: "{{ rackspace_region }}" region: "{{ rackspace_region }}"
name: "{{ resource_prefix }}-1" name: "{{ resource_prefix }}-1"
wait: true wait: true
wait_timeout: "{{ rackspace_wait_timeout }}"
register: rax_clb register: rax_clb
- name: Validate rax_clb with creds, region and name - name: Validate rax_clb with creds, region and name
@ -95,6 +96,7 @@
name: "{{ resource_prefix }}-1" name: "{{ resource_prefix }}-1"
state: absent state: absent
wait: true wait: true
wait_timeout: "{{ rackspace_wait_timeout }}"
register: rax_clb register: rax_clb
- name: "Validate delete integration 1" - name: "Validate delete integration 1"
@ -116,6 +118,7 @@
name: "{{ resource_prefix }}-2" name: "{{ resource_prefix }}-2"
protocol: TCP protocol: TCP
wait: true wait: true
wait_timeout: "{{ rackspace_wait_timeout }}"
register: rax_clb register: rax_clb
- name: Validate rax_clb with creds, region, name and protocol - name: Validate rax_clb with creds, region, name and protocol
@ -137,6 +140,7 @@
name: "{{ resource_prefix }}-2" name: "{{ resource_prefix }}-2"
state: absent state: absent
wait: true wait: true
wait_timeout: "{{ rackspace_wait_timeout }}"
register: rax_clb register: rax_clb
- name: "Validate delete integration 2" - name: "Validate delete integration 2"
@ -158,6 +162,7 @@
protocol: TCP protocol: TCP
port: 8080 port: 8080
wait: true wait: true
wait_timeout: "{{ rackspace_wait_timeout }}"
register: rax_clb register: rax_clb
- name: Validate rax_clb with creds, region, name, protocol and port - name: Validate rax_clb with creds, region, name, protocol and port
@ -179,6 +184,7 @@
name: "{{ resource_prefix }}-3" name: "{{ resource_prefix }}-3"
state: absent state: absent
wait: true wait: true
wait_timeout: "{{ rackspace_wait_timeout }}"
register: rax_clb register: rax_clb
- name: "Validate delete integration 3" - name: "Validate delete integration 3"
@ -201,6 +207,7 @@
port: 8080 port: 8080
type: SERVICENET type: SERVICENET
wait: true wait: true
wait_timeout: "{{ rackspace_wait_timeout }}"
register: rax_clb register: rax_clb
- name: Validate rax_clb with creds, region, name, protocol and type - name: Validate rax_clb with creds, region, name, protocol and type
@ -222,6 +229,7 @@
name: "{{ resource_prefix }}-4" name: "{{ resource_prefix }}-4"
state: absent state: absent
wait: true wait: true
wait_timeout: "{{ rackspace_wait_timeout }}"
register: rax_clb register: rax_clb
- name: "Validate delete integration 4" - name: "Validate delete integration 4"
@ -245,6 +253,7 @@
type: SERVICENET type: SERVICENET
timeout: 1 timeout: 1
wait: true wait: true
wait_timeout: "{{ rackspace_wait_timeout }}"
ignore_errors: true ignore_errors: true
register: rax_clb register: rax_clb
@ -269,6 +278,7 @@
type: SERVICENET type: SERVICENET
timeout: 60 timeout: 60
wait: true wait: true
wait_timeout: "{{ rackspace_wait_timeout }}"
register: rax_clb register: rax_clb
- name: Validate rax_clb with creds, region, name, protocol, type and timeout - name: Validate rax_clb with creds, region, name, protocol, type and timeout
@ -290,6 +300,7 @@
name: "{{ resource_prefix }}-5" name: "{{ resource_prefix }}-5"
state: absent state: absent
wait: true wait: true
wait_timeout: "{{ rackspace_wait_timeout }}"
register: rax_clb register: rax_clb
- name: "Validate delete integration 5" - name: "Validate delete integration 5"
@ -314,6 +325,7 @@
timeout: 60 timeout: 60
algorithm: RANDOM algorithm: RANDOM
wait: true wait: true
wait_timeout: "{{ rackspace_wait_timeout }}"
register: rax_clb register: rax_clb
- name: Validate rax_clb with creds, region, name, protocol, type, timeout and algorithm - name: Validate rax_clb with creds, region, name, protocol, type, timeout and algorithm
@ -336,6 +348,7 @@
name: "{{ resource_prefix }}-6" name: "{{ resource_prefix }}-6"
state: absent state: absent
wait: true wait: true
wait_timeout: "{{ rackspace_wait_timeout }}"
register: rax_clb register: rax_clb
- name: "Validate delete integration 6" - name: "Validate delete integration 6"
@ -357,6 +370,7 @@
type: BAD type: BAD
timeout: 1 timeout: 1
wait: true wait: true
wait_timeout: "{{ rackspace_wait_timeout }}"
ignore_errors: true ignore_errors: true
register: rax_clb register: rax_clb
@ -379,6 +393,7 @@
protocol: BAD protocol: BAD
timeout: 1 timeout: 1
wait: true wait: true
wait_timeout: "{{ rackspace_wait_timeout }}"
ignore_errors: true ignore_errors: true
register: rax_clb register: rax_clb
@ -401,6 +416,7 @@
algorithm: BAD algorithm: BAD
timeout: 1 timeout: 1
wait: true wait: true
wait_timeout: "{{ rackspace_wait_timeout }}"
ignore_errors: true ignore_errors: true
register: rax_clb register: rax_clb
@ -428,6 +444,7 @@
meta: meta:
foo: bar foo: bar
wait: true wait: true
wait_timeout: "{{ rackspace_wait_timeout }}"
register: rax_clb register: rax_clb
- name: Validate rax_clb with creds, region, name, protocol, type, timeout, algorithm and metadata - name: Validate rax_clb with creds, region, name, protocol, type, timeout, algorithm and metadata
@ -451,6 +468,7 @@
name: "{{ resource_prefix }}-7" name: "{{ resource_prefix }}-7"
state: absent state: absent
wait: true wait: true
wait_timeout: "{{ rackspace_wait_timeout }}"
register: rax_clb register: rax_clb
- name: "Validate delete integration 7" - name: "Validate delete integration 7"
@ -470,6 +488,7 @@
region: "{{ rackspace_region }}" region: "{{ rackspace_region }}"
name: "{{ resource_prefix }}-8-HTTP" name: "{{ resource_prefix }}-8-HTTP"
wait: true wait: true
wait_timeout: "{{ rackspace_wait_timeout }}"
register: rax_clb_http register: rax_clb_http
- name: Validate rax_clb with shared VIP HTTP - name: Validate rax_clb with shared VIP HTTP
@ -489,6 +508,7 @@
protocol: HTTPS protocol: HTTPS
port: 443 port: 443
wait: true wait: true
wait_timeout: "{{ rackspace_wait_timeout }}"
vip_id: "{{ (rax_clb_http.balancer.virtual_ips|first).id }}" vip_id: "{{ (rax_clb_http.balancer.virtual_ips|first).id }}"
register: rax_clb_https register: rax_clb_https
@ -508,6 +528,7 @@
name: "{{ resource_prefix }}-8-HTTP" name: "{{ resource_prefix }}-8-HTTP"
state: absent state: absent
wait: true wait: true
wait_timeout: "{{ rackspace_wait_timeout }}"
register: rax_clb_http register: rax_clb_http
- name: "Delete integration 8 HTTPS" - name: "Delete integration 8 HTTPS"
@ -518,6 +539,7 @@
name: "{{ resource_prefix }}-8-HTTPS" name: "{{ resource_prefix }}-8-HTTPS"
state: absent state: absent
wait: true wait: true
wait_timeout: "{{ rackspace_wait_timeout }}"
register: rax_clb_http register: rax_clb_http
- name: "Validate delete integration 8" - name: "Validate delete integration 8"
@ -537,6 +559,7 @@
region: "{{ rackspace_region }}" region: "{{ rackspace_region }}"
name: "{{ resource_prefix }}-9" name: "{{ resource_prefix }}-9"
wait: true wait: true
wait_timeout: "{{ rackspace_wait_timeout }}"
register: rax_clb_p1 register: rax_clb_p1
- name: Validate rax_clb with updated protocol 1 - name: Validate rax_clb with updated protocol 1
@ -555,6 +578,7 @@
name: "{{ resource_prefix }}-9" name: "{{ resource_prefix }}-9"
protocol: TCP protocol: TCP
wait: true wait: true
wait_timeout: "{{ rackspace_wait_timeout }}"
register: rax_clb_p2 register: rax_clb_p2
- name: Validate rax_clb with updated protocol 2 - name: Validate rax_clb with updated protocol 2
@ -574,6 +598,7 @@
name: "{{ resource_prefix }}-9" name: "{{ resource_prefix }}-9"
state: absent state: absent
wait: true wait: true
wait_timeout: "{{ rackspace_wait_timeout }}"
register: rax_clb register: rax_clb
- name: "Validate delete integration 9" - name: "Validate delete integration 9"
@ -592,6 +617,7 @@
region: "{{ rackspace_region }}" region: "{{ rackspace_region }}"
name: "{{ resource_prefix }}-10" name: "{{ resource_prefix }}-10"
wait: true wait: true
wait_timeout: "{{ rackspace_wait_timeout }}"
register: rax_clb_a1 register: rax_clb_a1
- name: Validate rax_clb with updated algorithm 1 - name: Validate rax_clb with updated algorithm 1
@ -609,6 +635,7 @@
name: "{{ resource_prefix }}-10" name: "{{ resource_prefix }}-10"
algorithm: RANDOM algorithm: RANDOM
wait: true wait: true
wait_timeout: "{{ rackspace_wait_timeout }}"
register: rax_clb_a2 register: rax_clb_a2
- name: Validate rax_clb with updated algorithm 2 - name: Validate rax_clb with updated algorithm 2
@ -628,6 +655,7 @@
name: "{{ resource_prefix }}-10" name: "{{ resource_prefix }}-10"
state: absent state: absent
wait: true wait: true
wait_timeout: "{{ rackspace_wait_timeout }}"
register: rax_clb register: rax_clb
- name: "Validate delete integration 10" - name: "Validate delete integration 10"
@ -647,6 +675,7 @@
region: "{{ rackspace_region }}" region: "{{ rackspace_region }}"
name: "{{ resource_prefix }}-11" name: "{{ resource_prefix }}-11"
wait: true wait: true
wait_timeout: "{{ rackspace_wait_timeout }}"
register: rax_clb_1 register: rax_clb_1
- name: Validate rax_clb with updated port 1 - name: Validate rax_clb with updated port 1
@ -664,6 +693,7 @@
name: "{{ resource_prefix }}-11" name: "{{ resource_prefix }}-11"
port: 8080 port: 8080
wait: true wait: true
wait_timeout: "{{ rackspace_wait_timeout }}"
register: rax_clb_2 register: rax_clb_2
- name: Validate rax_clb with updated port 2 - name: Validate rax_clb with updated port 2
@ -683,6 +713,7 @@
name: "{{ resource_prefix }}-11" name: "{{ resource_prefix }}-11"
state: absent state: absent
wait: true wait: true
wait_timeout: "{{ rackspace_wait_timeout }}"
register: rax_clb register: rax_clb
- name: "Validate delete integration 11" - name: "Validate delete integration 11"
@ -702,6 +733,7 @@
region: "{{ rackspace_region }}" region: "{{ rackspace_region }}"
name: "{{ resource_prefix }}-12" name: "{{ resource_prefix }}-12"
wait: true wait: true
wait_timeout: "{{ rackspace_wait_timeout }}"
register: rax_clb_1 register: rax_clb_1
- name: Validate rax_clb with updated timeout 1 - name: Validate rax_clb with updated timeout 1
@ -719,6 +751,7 @@
name: "{{ resource_prefix }}-12" name: "{{ resource_prefix }}-12"
timeout: 60 timeout: 60
wait: true wait: true
wait_timeout: "{{ rackspace_wait_timeout }}"
register: rax_clb_2 register: rax_clb_2
- name: Validate rax_clb with updated timeout 2 - name: Validate rax_clb with updated timeout 2
@ -738,6 +771,7 @@
name: "{{ resource_prefix }}-12" name: "{{ resource_prefix }}-12"
state: absent state: absent
wait: true wait: true
wait_timeout: "{{ rackspace_wait_timeout }}"
register: rax_clb register: rax_clb
- name: "Validate delete integration 12" - name: "Validate delete integration 12"
@ -757,6 +791,7 @@
region: "{{ rackspace_region }}" region: "{{ rackspace_region }}"
name: "{{ resource_prefix }}-13" name: "{{ resource_prefix }}-13"
wait: true wait: true
wait_timeout: "{{ rackspace_wait_timeout }}"
register: rax_clb_1 register: rax_clb_1
- name: Validate rax_clb with invalid updated type 1 - name: Validate rax_clb with invalid updated type 1
@ -773,6 +808,7 @@
name: "{{ resource_prefix }}-13" name: "{{ resource_prefix }}-13"
type: SERVICENET type: SERVICENET
wait: true wait: true
wait_timeout: "{{ rackspace_wait_timeout }}"
register: rax_clb_2 register: rax_clb_2
ignore_errors: true ignore_errors: true
@ -790,6 +826,7 @@
name: "{{ resource_prefix }}-13" name: "{{ resource_prefix }}-13"
state: absent state: absent
wait: true wait: true
wait_timeout: "{{ rackspace_wait_timeout }}"
register: rax_clb register: rax_clb
- name: "Validate delete integration 13" - name: "Validate delete integration 13"
@ -809,6 +846,7 @@
region: "{{ rackspace_region }}" region: "{{ rackspace_region }}"
name: "{{ resource_prefix }}-14" name: "{{ resource_prefix }}-14"
wait: true wait: true
wait_timeout: "{{ rackspace_wait_timeout }}"
register: rax_clb_1 register: rax_clb_1
- name: Validate rax_clb with updated meta 1 - name: Validate rax_clb with updated meta 1
@ -827,6 +865,7 @@
meta: meta:
foo: bar foo: bar
wait: true wait: true
wait_timeout: "{{ rackspace_wait_timeout }}"
register: rax_clb_2 register: rax_clb_2
- name: Validate rax_clb with updated meta 2 - name: Validate rax_clb with updated meta 2
@ -847,6 +886,7 @@
name: "{{ resource_prefix }}-14" name: "{{ resource_prefix }}-14"
state: absent state: absent
wait: true wait: true
wait_timeout: "{{ rackspace_wait_timeout }}"
register: rax_clb register: rax_clb
- name: "Validate delete integration 14" - name: "Validate delete integration 14"

@ -74,6 +74,7 @@
region: "{{ rackspace_region }}" region: "{{ rackspace_region }}"
name: "{{ resource_prefix }}-clb" name: "{{ resource_prefix }}-clb"
wait: true wait: true
wait_timeout: "{{ rackspace_wait_timeout }}"
register: rax_clb register: rax_clb
- name: Validate rax_clb creation - name: Validate rax_clb creation
@ -158,6 +159,7 @@
address: '172.16.0.1' address: '172.16.0.1'
port: 80 port: 80
wait: true wait: true
wait_timeout: "{{ rackspace_wait_timeout }}"
register: rax_clb_nodes register: rax_clb_nodes
- name: Validate rax_clb_nodes creds, region, load_balancer_id, address and port - name: Validate rax_clb_nodes creds, region, load_balancer_id, address and port
@ -180,6 +182,7 @@
node_id: "{{ rax_clb_nodes.node.id }}" node_id: "{{ rax_clb_nodes.node.id }}"
state: absent state: absent
wait: true wait: true
wait_timeout: "{{ rackspace_wait_timeout }}"
register: rax_clb_nodes register: rax_clb_nodes
- name: Validate delete integration 1 - name: Validate delete integration 1
@ -201,6 +204,7 @@
port: 80 port: 80
type: secondary type: secondary
wait: true wait: true
wait_timeout: "{{ rackspace_wait_timeout }}"
ignore_errors: true ignore_errors: true
register: rax_clb_nodes register: rax_clb_nodes
@ -222,6 +226,7 @@
name: "{{ rax_clb.balancer.name }}" name: "{{ rax_clb.balancer.name }}"
state: absent state: absent
wait: true wait: true
wait_timeout: "{{ rackspace_wait_timeout }}"
register: rax_clb register: rax_clb
- name: "Validate delete integration 3" - name: "Validate delete integration 3"

@ -122,6 +122,7 @@
flavor: "{{ rackspace_flavor }}" flavor: "{{ rackspace_flavor }}"
name: "{{ resource_prefix }}-rax_facts" name: "{{ resource_prefix }}-rax_facts"
wait: true wait: true
wait_timeout: "{{ rackspace_wait_timeout }}"
register: rax register: rax
- name: Validate build - name: Validate build
@ -267,6 +268,7 @@
name: "{{ resource_prefix }}-rax_facts" name: "{{ resource_prefix }}-rax_facts"
state: absent state: absent
wait: true wait: true
wait_timeout: "{{ rackspace_wait_timeout }}"
register: rax register: rax
- name: "Validate delete" - name: "Validate delete"

@ -119,6 +119,7 @@
meta: meta:
foo: bar foo: bar
wait: true wait: true
wait_timeout: "{{ rackspace_wait_timeout }}"
register: rax register: rax
- name: Validate build - name: Validate build
@ -322,6 +323,7 @@
- "{{ rax.success.0.rax_id }}" - "{{ rax.success.0.rax_id }}"
state: absent state: absent
wait: true wait: true
wait_timeout: "{{ rackspace_wait_timeout }}"
register: rax register: rax
- name: "Validate delete" - name: "Validate delete"

@ -269,6 +269,7 @@
region: "{{ rackspace_region }}" region: "{{ rackspace_region }}"
name: "{{ resource_prefix }}-clb" name: "{{ resource_prefix }}-clb"
wait: true wait: true
wait_timeout: "{{ rackspace_wait_timeout }}"
register: rax_clb register: rax_clb
- name: Validate rax_clb creation - name: Validate rax_clb creation
@ -867,6 +868,7 @@
name: "{{ rax_clb.balancer.name }}" name: "{{ rax_clb.balancer.name }}"
state: absent state: absent
wait: true wait: true
wait_timeout: "{{ rackspace_wait_timeout }}"
register: rax_clb register: rax_clb
- name: "Validate delete integration 3" - name: "Validate delete integration 3"

Loading…
Cancel
Save