The really time-consuming part seems to be this on EC2:

Oct 03 08:45:10 ubuntu cloud-init[1015]: [CLOUDINIT] handlers.py[DEBUG]: start: 
init-network/search-GCE: searching for network data from DataSourceGCE
Oct 03 08:45:10 ubuntu cloud-init[1015]: [CLOUDINIT] __init__.py[DEBUG]: Seeing 
if we can get any data from <class 
'cloudinit.sources.DataSourceGCE.DataSourceGCE'>
Oct 03 08:45:49 ubuntu systemd-timesyncd[671]: Synchronized to time server 
91.189.89.199:123 (ntp.ubuntu.com).
Oct 03 08:46:02 ubuntu kernel: random: crng init done
Oct 03 08:46:50 ubuntu cloud-init[1015]: [CLOUDINIT] DataSourceGCE.py[DEBUG]: 
http://metadata.google.internal/computeMetadata/v1/ is not resolvable
Oct 03 08:46:50 ubuntu cloud-init[1015]: [CLOUDINIT] handlers.py[DEBUG]: 
finish: init-network/search-GCE: SUCCESS: no network data found from 
DataSourceGCE

And, similarly, on GCE:

Oct 03 08:46:32 ubuntu cloud-init[1244]: [CLOUDINIT] handlers.py[DEBUG]: start: 
init-network/search-GCE: searching for network data from DataSourceGCE
Oct 03 08:46:32 ubuntu cloud-init[1244]: [CLOUDINIT] __init__.py[DEBUG]: Seeing 
if we can get any data from <class 
'cloudinit.sources.DataSourceGCE.DataSourceGCE'>
Oct 03 08:47:47 ubuntu cloud-init[1244]: [CLOUDINIT] url_helper.py[DEBUG]: 
[0/1] open 'http://metadata.google.internal/computeMetadata/v1/instance/id' 
with {'method': 'GET', 'url': 
'http://metadata.google.internal/computeMetadata/v1/instance/id', 
'allow_redirects': True, 'headers': {'X-Google-Metadata-Request': 'True', 
'User-Agent': 'Cloud-Init/0.7.8'}} configuration

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1629797

Title:
  cloud-init seems to take most of yakkety slow boot time

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to