pollinate fails in many circumstances, cloud-init reports that failure, maas reports node failed deployment
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cloud-init |
Fix Released
|
Medium
|
Unassigned | ||
cloud-init (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
pollinate (Ubuntu) |
Fix Released
|
Critical
|
Dustin Kirkland | ||
Trusty |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
cloud-init runs pollinate via 'cc_seed_random.py' config job.
Some points
a.) in addition to seeding via pollinate seed_random will seed the random device with data from the datasource if it is provided (azure and openstack provide a random seed for this purpose)
b.) we really want seed_random to run before ssh , so that keys are generated with good entropy in place.
c.) seed_random runs early via 'init_modules' mostly to accomplish 'b'. Unfortunately, network is not guaranteed at this point if the datasource is a 'local' datasource (such as config drive).
e.) in many cases pollinate will not have access to https:/
f.) in xenial, cloud-init reports events to maas as they occur, and when this module fails, it reports that.
g.) maas marks nodes as failed deployment when cloud-init reports failure
End result, if you dont have access to entropy.ubuntu.com, then you fail deployment.
ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: cloud-init 0.7.7~bzr1176-
ProcVersionSign
Uname: Linux 4.4.0-10-generic x86_64
NonfreeKernelMo
ApportVersion: 2.20-0ubuntu3
Architecture: amd64
Date: Mon Mar 7 17:30:00 2016
PackageArchitec
ProcEnviron:
TERM=xterm-
PATH=(custom, no user)
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: cloud-init
UpgradeStatus: No upgrade log present (probably fresh install)
Related branches
- Ryan Harper: Approve
- Dustin Kirkland : Pending requested
-
Diff: 102 lines (+42/-7)4 files modifiedChangeLog (+1/-0)
cloudinit/config/cc_seed_random.py (+1/-1)
doc/examples/cloud-config-seed-random.txt (+32/-0)
tests/unittests/test_handler/test_handler_seed_random.py (+8/-6)
tags: | added: kanban-cross-team landscape |
tags: | removed: kanban-cross-team |
Changed in cloud-init: | |
status: | New → Confirmed |
Changed in cloud-init (Ubuntu): | |
status: | New → Confirmed |
Changed in cloud-init: | |
importance: | Undecided → Medium |
Changed in cloud-init (Ubuntu): | |
importance: | Undecided → Medium |
Changed in cloud-init: | |
status: | Confirmed → Fix Committed |
no longer affects: | maas |
I think the pollinate job is also ignoring https_proxy.