#include fails silently.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cloud-init |
Fix Released
|
High
|
James Falcon | ||
cloud-init (Ubuntu) |
Fix Released
|
High
|
Unassigned |
Bug Description
Cloud-init can fail to download a url in '#include' for reasons such
as bug 1734167 but not represent that failure anywhere.
$ curl --silent https:/
#!/bin/sh
cat /proc/uptime | tee /run/user-
$ lxc launch ubuntu-daily:bionic b4 "--config=
$ sleep 20
$ lxc exec b4 grep WARN /var/log/
2017-11-28 16:49:12,251 - user_data.
$ lxc exec b4 cat /run/cloud-
{
"v1": {
"datasource": "DataSourceNoCloud [seed=/
"errors": []
}
}
Related bugs:
* bug 1734167: DNS doesn't work in no-cloud as launched by ubuntu
ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: cloud-init 17.1-41-
ProcVersionSign
Uname: Linux 4.13.0-16-generic x86_64
ApportVersion: 2.20.8-0ubuntu2
Architecture: amd64
CloudName: NoCloud
Date: Tue Nov 28 16:38:49 2017
PackageArchitec
ProcEnviron:
TERM=xterm-
PATH=(custom, no user)
LANG=C.UTF-8
SourcePackage: cloud-init
UpgradeStatus: No upgrade log present (probably fresh install)
cloud-init-
user_data.txt: #include http://
description: | updated |
Changed in cloud-init: | |
assignee: | nobody → James Falcon (falcojr) |
Changed in cloud-init: | |
status: | Confirmed → Fix Committed |
https:/ /github. com/canonical/ cloud-init/ pull/367