/srv/irclogs.ubuntu.com/2018/07/30/#cloud-init.txt

smoserpowersj: https://jenkins.ubuntu.com/server/view/cloud-init,%20curtin,%20streams/job/cloud-init-integration-lxd-c/15:21
smoserhow often / how does that run ?15:22
smoserit looks like it just stopped running on the 20th15:22
powersjlxd is daily15:22
powersjhmmm15:22
powersjhmm xenial is running daily, but not set to kick the bionic test15:24
powersjdoh: set to kick project: cloud-init-integration-lxd-a15:24
smoserhm..15:25
powersjfixed15:26
[42]can you point me somewhere for getting started creating a debian template image to be used with qemu (proxmox)?16:15
blackboxswsmoser, time to reset cloud-init status meeting date. it doesn't look like we had one since 07/0216:33
blackboxswand it looks like someone kicked off a meeting start a couple days ago by accident16:34
blackboxswhttps://ubottu.com/meetingology/logs/cloud-init/2018/cloud-init.2018-07-23-16.05.log.txt16:34
blackboxsw#endmeeting16:34
meetingologyMeeting ended Mon Jul 30 16:34:15 2018 UTC.16:34
meetingologyMinutes:        http://ubottu.com/meetingology/logs/cloud-init/2018/cloud-init.2018-07-23-16.05.moin.txt16:34
blackboxswsmoser: think we should host the status meeting next monday?16:35
smoserblackboxsw: that sfine with me...16:41
smoser(long delayed)16:41
blackboxswlotta vacation16:43
=== blackboxsw changed the topic of #cloud-init to: Reviews: http://bit.ly/ci-reviews | Meeting minutes: https://goo.gl/mrHdaj | Next status meeting: Monday 8/6 16:00 UTC | cloud-init 18.3 released (06/20/2018)
TJ-I'm trying to diagnose why a vagrant ubuntu/bionic64 box doesn't appear to be getting its network configured. As I understand it cloud-init should be doing that on first boot. Are there docs that'll help me figure it out?17:33
blackboxswTJ http://cloudinit.readthedocs.io/en/latest/topics/network-config.html should be an overview of what cloud-init does17:34
blackboxswgenerally speaking if you are on cloud-init version 17.2 or greater you can run "cloud-init status --long" on the commandline if you can access the serial console of the box to see if there are errors17:34
blackboxswotherwise look in  /var/log/cloud-init.log  for Tracebacks17:35
blackboxswon bionic you should have 18.2 or later cloud-init so should be ok on the version17:35
TJ-Thanks; it seems there's no "network:" defined. I presume that is something to do with the vagrant box17:38
TJ-no log whatsoever; systemctl status shows all cloud-* services dead17:38
blackboxswhrm, I would've expected "systemctl list-dependencies" to list all cloud-init jobs/units in green status unless dependency chains were broken by some other units/services that are running in the environment18:17
blackboxswroot@myb1:~# systemctl list-dependencies | grep cloud18:17
blackboxsw●   ├─cloud-init.target18:17
blackboxsw●   │ ├─cloud-config.service18:17
blackboxsw●   │ ├─cloud-final.service18:17
blackboxsw●   │ ├─cloud-init-local.service18:17
blackboxsw●   │ └─cloud-init.service18:17
blackboxswif dependency chains were broken due to ordering cycles, you'd see "Breaking ordering cycle" from "journalctl -b"   which may tell you if cloud-init was not run or disabled by the booting system18:19
blackboxswsudo cloud-init collect-logs   will collect a tarfile of cloud-init logs that you could post to me if you'd like me to peek at what may be the symptom. but generally "cloud-init status --long" of look in /var/log/cloud-init.log for any Tracebacks18:20
TJ-I'm not sure that vagrant relies on cloud-init - lack of authoritative docs though. I've just read an overview says vagrant box /should/ be configured to use DHCP. My situation is even the vagrant management interface isn't UP, let alone running dhclient to get an IP address.18:25
blackboxswso artful/bionic should have switched from using /etc/network/interfaces to /etc/netplan. I'd expect you'd see /etc/netplan/50-cloud-init.yaml if cloud-init was in charge of your networking.18:29
blackboxswif your vagrant image contains network configuration in /etc/network/interfaces(.d) it's likely misconfigured18:30
blackboxswnetplan *should* be relying on networkd to do all your dhclient work from artful/bionic or later18:31
TJ-right, no netplan config, nothing under /run/systemd/network/ or whatever18:35
TJ-This is the ubuntu/bionic64 vagrant box , so very weird18:36
TJ-OK, I've solved it! The problem is vagrant-mutate. The Ubuntu boxes are for VirtualBox and have 2 vmdk disk images, 1 of which is  cloudimage-configdrive. vagrant-mutate only copies over the root-fs so there's no config data for cloud-init19:09
TJ-looks like vagrant-mutate is no longer maintained by its author either. I'll have to fork and see if I can get a handle on the code19:10
TJ-Thanks for the pointers; helped me reduce the problem space considerably19:11
arthurlhi guys- I'm trying to pass a cloud-init.yml to packer to build a custom ami in aws ec2- the ami is being built but i see none of the cloud-init actually gets run...21:27
blackboxswthanks for the write back TJ22:10

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!