You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ansible/test/legacy/roles
Gaudenz Steinlin 4c94c6f9ba cloudscale_server: add timeout param and increase default timeout (#33088)
* Improve error message in cloudscale_server module

Fix punctuation and add the full contents of "info" to the output in
case of failed API calls. This is useful in case of connection timeouts
and other error conditions where there is no response body available.

* Increase timeouts in cloudscale_server module

Increase the timeouts to not fail in case the API calls take a bit
longer than usual. The default timeout of fetch_url is 10s which is
quite short. Increase it to 30s. The timeout for waiting for a server
change is increased as well as it calls the API in a loop. Therefore
this value should be larger than the API timeout.

* Send API parameters as JSON in cloudscale_server module

Use JSON to send the POST data to the API instead of an urlencoded
string. Urlencoding is not really a good match for some Python
datatypes.

This fixes an issue when submitting a list of SSH keys which did not get
translated properly.

* Fix typo in cloudscale_server documentation

* cloudscale_sever: Replace timeout const by api_timeout param

Replace the static TIMEOUT_API constant by a user configurable
api_timeout parameter. Also eliminate the TIMEOUT_WAIT constant by
2*api_timeout. This means that the timeout to wait for server changes is
always double the timeout for API calls.

* Use Debian 9 image for cloudscale_server tests
7 years ago
..
azure_rm_networkinterface/tasks Reorganize integration tests: 7 years ago
azure_rm_resourcegroup/tasks Reorganize integration tests: 7 years ago
cloudscale_server cloudscale_server: add timeout param and increase default timeout (#33088) 7 years ago
cnos_backup Reorganize integration tests: 7 years ago
cnos_bgp Add a code-smell test for smart quotes and remove smart quotes from all files 7 years ago
cnos_command Reorganize integration tests: 7 years ago
cnos_conditional_command Reorganize integration tests: 7 years ago
cnos_conditional_template Reorganize integration tests: 7 years ago
cnos_ethernet Reorganize integration tests: 7 years ago
cnos_facts Reorganize integration tests: 7 years ago
cnos_image Add a code-smell test for smart quotes and remove smart quotes from all files 7 years ago
cnos_portchannel Reorganize integration tests: 7 years ago
cnos_rollback Add a code-smell test for smart quotes and remove smart quotes from all files 7 years ago
cnos_save Reorganize integration tests: 7 years ago
cnos_showrun Reorganize integration tests: 7 years ago
cnos_template Reorganize integration tests: 7 years ago
cnos_vlag Reorganize integration tests: 7 years ago
cnos_vlan Reorganize integration tests: 7 years ago
ec2_elb_instance_setup Reorganize integration tests: 7 years ago
ec2_provision_instances Reorganize integration tests: 7 years ago
netscaler_cs_action Reorganize integration tests: 7 years ago
netscaler_cs_policy Reorganize integration tests: 7 years ago
netscaler_cs_vserver Reorganize integration tests: 7 years ago
netscaler_gslb_service Reorganize integration tests: 7 years ago
netscaler_gslb_site Reorganize integration tests: 7 years ago
netscaler_gslb_vserver Reorganize integration tests: 7 years ago
netscaler_lb_monitor Reorganize integration tests: 7 years ago
netscaler_lb_vserver Reorganize integration tests: 7 years ago
netscaler_save_config Reorganize integration tests: 7 years ago
netscaler_server Reorganize integration tests: 7 years ago
netscaler_service Reorganize integration tests: 7 years ago
netscaler_servicegroup Reorganize integration tests: 7 years ago
netscaler_ssl_certkey Reorganize integration tests: 7 years ago
prepare_rax_tests/defaults Reorganize integration tests: 7 years ago
prepare_tests/tasks Reorganize integration tests: 7 years ago
test_azure Reorganize integration tests: 7 years ago
test_cloudflare_dns Reorganize integration tests: 7 years ago
test_consul_acl Reorganize integration tests: 7 years ago
test_consul_inventory/tasks Reorganize integration tests: 7 years ago
test_consul_kv/tasks Reorganize integration tests: 7 years ago
test_consul_service/tasks Reorganize integration tests: 7 years ago
test_consul_session/tasks Reorganize integration tests: 7 years ago
test_ec2 Reorganize integration tests: 7 years ago
test_ec2_asg/tasks Reorganize integration tests: 7 years ago
test_ec2_eip Reorganize integration tests: 7 years ago
test_ec2_elb Reorganize integration tests: 7 years ago
test_ec2_vpc_nat_gateway Reorganize integration tests: 7 years ago
test_exoscale_dns Reorganize integration tests: 7 years ago
test_gcdns Reorganize integration tests: 7 years ago
test_gce Reorganize integration tests: 7 years ago
test_gce_labels Reorganize integration tests: 7 years ago
test_gce_mig Reorganize integration tests: 7 years ago
test_gce_net Reorganize integration tests: 7 years ago
test_gce_pd Reorganize integration tests: 7 years ago
test_gce_tag Reorganize integration tests: 7 years ago
test_gcp_glb Reorganize integration tests: 7 years ago
test_gcp_healthcheck Reorganize integration tests: 7 years ago
test_gcp_url_map Reorganize integration tests: 7 years ago
test_jenkins_job Reorganize integration tests: 7 years ago
test_rax Reorganize integration tests: 7 years ago
test_rax_cbs Reorganize integration tests: 7 years ago
test_rax_cbs_attachments Reorganize integration tests: 7 years ago
test_rax_cdb Reorganize integration tests: 7 years ago
test_rax_cdb_database Reorganize integration tests: 7 years ago
test_rax_clb Reorganize integration tests: 7 years ago
test_rax_clb_nodes Reorganize integration tests: 7 years ago
test_rax_facts Reorganize integration tests: 7 years ago
test_rax_identity Reorganize integration tests: 7 years ago
test_rax_keypair Reorganize integration tests: 7 years ago
test_rax_meta Reorganize integration tests: 7 years ago
test_rax_network Reorganize integration tests: 7 years ago
test_rax_scaling_group Reorganize integration tests: 7 years ago
setup_ec2 Reorganize integration tests: 7 years ago
setup_sshkey Reorganize integration tests: 7 years ago