Cloud-init timeout...

Martinx - ジェームズ thiagocmartinsc at gmail.com
Sun Oct 11 20:36:41 UTC 2015


Hey guys,

 Sorry to ask this question here but, I'm trying to create a CentOS
6.7 QCoW2 image for running in on OpenStack, with Cloud Init but, to
test the image, I'll be running it outside of OpenStack...

 And, I'm facing the following problem:

 I've configured the file "10_ec2_timeouts.cfg" with:

---
datasource:
  Ec2:
    timeout : 20
    max_wait : 30
---

 But, the timeout is valid only for the first try, look:

---
http://paste.openstack.org/show/475992/
---

 Then, "DataSourceEc2.py[CRITICAL]: Giving up on md from
['http://169.254.169.254/2009-04-04/meta-data/instance-id'] after 30
seconds" and there is another 120s of waiting...

 So, how can I reduce all timeouts (not only the first try) ?

 BTW, I'm asking this "CentOS question" here, because it is related to
cloud-init (I think), and cloud-init experts are here...     :-)

Thanks!
Thiago




More information about the ubuntu-server mailing list