seed_random runs too early if local datasource used
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cloud-init |
Won't Fix
|
Medium
|
Unassigned | ||
cloud-init (Ubuntu) |
Won't Fix
|
Medium
|
Unassigned |
Bug Description
right now, seed_random is running in 'cloud_
The reason for that was to ensure that it ran before the ssh config module (which writes the ssh keys).
The problem is that cloud_init_modules is not guaranteed to have network access, and we're running 'pollinate -q', which depends on network.
the result is that if you seed an image (cloud-localds) or use config-drive, pollinate will/may run before network is available.
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: cloud-init 0.7.5-0ubuntu1
ProcVersionSign
Uname: Linux 3.13.0-24-generic x86_64
ApportVersion: 2.14.1-0ubuntu3.1
Architecture: amd64
Date: Fri May 23 16:09:11 2014
Ec2AMI: ami-00000005
Ec2AMIManifest: FIXME
Ec2Availability
Ec2InstanceType: m1.small
Ec2Kernel: aki-00000002
Ec2Ramdisk: ari-00000002
PackageArchitec
ProcEnviron:
TERM=xterm
PATH=(custom, no user)
XDG_RUNTIME_
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: cloud-init
UpgradeStatus: No upgrade log present (probably fresh install)
pollinate is no longer called in cc_seed_random.py