mirror of https://github.com/ansible/ansible.git
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.
69ff43d253
Sometimes when using digital_ocean with wait=no I get the error "No ip is found". But with wait=no I wouldn't expect there to be any IP, that gets allocated later. However, looking at the code, it turns out that with even with wait=no it waits up to 10 seconds for an IP to be allocated. We could wait longer, but with wait=no that seems like the wrong choice; it's easy enough to grab an IP later with a wait=yes command. To make this change I removed the call to update_attr in @classmethod add. An add is always followed by an ensure_powered_on which will do the update_attr if wait=yes. It would be possible to instead do a call to update_attr with no retries and ignore the errors but I figured it would be better to be consistently not return an IP than to sometimes return it and sometimes not. Inconsistent behaviour makes debugging deployment scripts very difficult. |
12 years ago | |
---|---|---|
.. | ||
cloudformation | 12 years ago | |
digital_ocean | 12 years ago | |
ec2 | 12 years ago | |
ec2_elb | 12 years ago | |
ec2_facts | 12 years ago | |
ec2_vol | 12 years ago | |
glance_image | 12 years ago | |
keystone_user | 12 years ago | |
linode | 12 years ago | |
nova_compute | 12 years ago | |
nova_keypair | 12 years ago | |
quantum_floating_ip | 12 years ago | |
quantum_floating_ip_associate | 12 years ago | |
quantum_network | 12 years ago | |
quantum_router | 12 years ago | |
quantum_router_gateway | 12 years ago | |
quantum_router_interface | 12 years ago | |
quantum_subnet | 12 years ago | |
rax | 12 years ago | |
rds | 12 years ago | |
s3 | 12 years ago | |
virt | 12 years ago |