$ sleep 20
$ lxc exec b4 grep WARN /var/log/cloud-init.log
2017-11-28 16:49:12,251 - user_data.py[WARNING]: HTTPSConnectionPool(host='hastebin.com', port=443): Max retries exceeded with url: /raw/coladicuva (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f20736a4e80>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution',)) for url: https://hastebin.com/raw/coladicuva
I've verified that this is reproducible within lxc, and then filed a bug i
saw (bug 1734939) as a result.
Heres a trivial reproduce:
## just showing content of the url. /hastebin. com/raw/ coladicuva script- uptime
$ curl --silent https:/
#!/bin/sh
cat /proc/uptime | tee /run/user-
$ name=btest user.user- data=#include https:/ /hastebin. com/raw/ coladicuva"
$ lxc launch ubuntu-daily:bionic $name \
"--config=
$ sleep 20 cloud-init. log py[WARNING] : HTTPSConnection Pool(host= 'hastebin. com', port=443): Max retries exceeded with url: /raw/coladicuva (Caused by NewConnectionEr ror('<urllib3. connection. VerifiedHTTPSCo nnection object at 0x7f20736a4e80>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution',)) for url: https:/ /hastebin. com/raw/ coladicuva
$ lxc exec b4 grep WARN /var/log/
2017-11-28 16:49:12,251 - user_data.