← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1451192] [NEW] Datasource discovery hangs on CloudStack for 2 minutes

 

Public bug reported:

I'm trying to build a custom AWS AMI, so I configured the
/etc/cloud/cloud.cfg in that way:

datasource:
  Ec2:
    metadata_urls:
     - http://169.254.169.254
datasource_list:
 - Ec2

cloud-init still tries to get the metadata from all datasource modules,
and CloudStack module runs for 2 minutes (because of timeouts), so it
blocks the instance's OpenSSH startup.

I don't really want other modules to be loaded, but failed to find a
config example for disabling every datasource except EC2.

Is there a correct way to do this?

Thanks

** Affects: cloud-init
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to cloud-init.
https://bugs.launchpad.net/bugs/1451192

Title:
  Datasource discovery hangs on CloudStack for 2 minutes

Status in Init scripts for use on cloud images:
  New

Bug description:
  I'm trying to build a custom AWS AMI, so I configured the
  /etc/cloud/cloud.cfg in that way:

  datasource:
    Ec2:
      metadata_urls:
       - http://169.254.169.254
  datasource_list:
   - Ec2

  cloud-init still tries to get the metadata from all datasource
  modules, and CloudStack module runs for 2 minutes (because of
  timeouts), so it blocks the instance's OpenSSH startup.

  I don't really want other modules to be loaded, but failed to find a
  config example for disabling every datasource except EC2.

  Is there a correct way to do this?

  Thanks

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/1451192/+subscriptions


Follow ups

References