/srv/irclogs.ubuntu.com/2019/07/22/#cloud-init.txt

rharperOdd_Bloke: thanks for the reminder about the upcoming meeting15:30
* rharper goes and gets the meetingology commands 15:30
robjoI am going to have to miss the meeting today, sorry16:11
robjorharper: I'll catch up to the comments in the next couple of days16:11
rharperrobjo: np16:12
rharper#startmeeting Cloud-init bi-weekly status16:15
meetingologyMeeting started Mon Jul 22 16:15:03 2019 UTC.  The chair is rharper. Information about MeetBot at http://wiki.ubuntu.com/meetingology.16:15
meetingologyAvailable commands: action commands idea info link nick16:15
rharper\o/16:15
rharper#chair Odd_Bloke16:15
meetingologyCurrent chairs: Odd_Bloke rharper16:15
rharperhi folks, welcome to another cloud-init community status meeting. All discussions and interjections welcome.16:15
rharpercloud-init upstream uses this meeting as a platform for community updates, feature/bug discussions, and an opportunity to get some extra input on current development.16:16
rharperour format is the following topics: Previous Actions, Recent Changes, In-progress Development, Office Hours16:16
rharperanyone is welcome to participate, interject, make suggestions or ask questions16:16
rharperwe host the meeting every two weeks at the date and time  indicated in the IRC channel topic  ^16:16
rharper#topic Previous Actions16:17
Odd_Blokeo/16:17
rharperWe had a few previous action items to look at16:17
rharperhttps://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/183238116:18
ubot5Ubuntu bug 1832381 in cloud-init (Ubuntu) "vm fails to boot due to conflicting network configuration when user switches from netplan to eni" [Undecided,Incomplete]16:18
rharperAnhVoMSFT was looking to collect logs from this scenario;16:18
Gonerihey!16:19
rharperit appears that getting an instance where the MAC address changes is harder so fewer folks trip over this; however, we agreed that cloud-init can track which renderer it used and if it switches it can clean up the config it wrote;16:19
rharper#action rharper to update https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/1832381 status16:19
meetingologyACTION: rharper to update https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/1832381 status16:19
ubot5Ubuntu bug 1832381 in cloud-init (Ubuntu) "vm fails to boot due to conflicting network configuration when user switches from netplan to eni" [Undecided,Incomplete]16:19
rharperThe other action was to review https://code.launchpad.net/~vtqanh/cloud-init/+git/cloud-init/+merge/36978516:20
rharperThis was completed the other week while we worked toward the 19.2 release; that branch is currently work-in-progress, awaiting feedback/changes from submitter16:20
rharperthat's all of the action items from previous meeting16:21
rharperprevious meeting status found here:16:22
rharper#link http://ubottu.com/meetingology/logs/cloud-init/2019/cloud-init.2019-07-08-16.16.html16:22
rharpernormally at the cloud-init.github.io status page; looks like we didn't push the logs there.16:23
rharper#action rharper to followup with blackboxsw on pushing status minutes up to cloud-init.github.io page16:23
meetingologyACTION: rharper to followup with blackboxsw on pushing status minutes up to cloud-init.github.io page16:23
rharper#topic Recent Changes16:23
rharper% git log --oneline  --since 2019-07-0816:25
rharpera02c0c9 (HEAD -> master, origin/master, origin/HEAD) cloud_tests: updates and fixes16:25
rharper5498107 Fix bug rendering MTU on bond or vlan when input was netplan.16:25
rharperb3a87fc net: update net sequence, include wait on netdevs, opensuse netrules path16:25
rharper060b1a1 (tag: 19.2, raharper/release/19.2, release/19.2, fix/fs_setup_custom_command_lp1801790) Release 19.216:25
rharper07b1723 net: add rfc3442 (classless static routes) to EphemeralDHCP16:25
rharper1404817 templates/ntp.conf.debian.tmpl: fix missing newline for pools16:25
rharpera785462 Support netplan renderer in Arch Linux16:25
rharpera066ccd Fix typo in publicly viewable documentation.16:25
rharperd9769c4 Add a cdrom size checker for OVF ds to ds-identify16:26
rharper9c47c68 VMWare: Trigger the post customization script via cc_scripts module.16:26
rharpera24550a Cloud-init analyze module: Added ability to analyze boot events.16:26
rharpera6faf3a Update debian eni network configuration location, retain Ubuntu setting16:26
rharpere5f5421 net: skip bond interfaces in get_interfaces16:26
rharper217c893 Fix a couple of issues raised by a coverity scan16:26
rharperbiggest item in there is the 19.2 release16:26
rharper#link https://discourse.ubuntu.com/t/cloud-init-19-2-release/1187316:26
rharpera big thank you from the cloud-init team to everyone who helped contribute to the release16:26
Gonerido you have time for a little BSD update?16:27
rharperYes, let's talk about In progress developement16:27
rharper#topic In Progress Development16:27
rharperGoneri: go ahead16:27
Goneri#topic FreeBSD/NetBSD status16:28
Goneriso there is two active branches, the first one is: https://code.launchpad.net/~goneri/cloud-init/+git/cloud-init/+merge/36850716:28
rharper#link https://code.launchpad.net/~goneri/cloud-init/+git/cloud-init/+merge/36850716:28
Goneriit has started with a tiny fix to address a configuration difference with FreeBSD (there is no chpasswd there)16:29
Goneriand it's now a slightly bigger refactoring now, I believe it clarify the code base and I would like to land it like that.16:29
Goneria discussion is ongoing with rharper on the PR16:30
Gonerisecond PR is https://code.launchpad.net/~goneri/cloud-init/+git/cloud-init/+merge/36564116:30
Goneri#link https://code.launchpad.net/~goneri/cloud-init/+git/cloud-init/+merge/36564116:30
Gonerithis one is much bigger, and I've just addressed the last comment from rharper, I test it often and it works fine for me16:30
Goneriif you want to give it a try, I pushed some pre-built images here: http://bsd-cloud-image.org/16:31
rharpernice!16:31
GoneriI test it with OpenStack and NoCloud, a friend who maintains CBSD also test it on Bhyve (FreeBSD)16:31
Gonerifinally, the last one is https://code.launchpad.net/~goneri/cloud-init/+git/cloud-init/+merge/36850816:32
Goneri#link https://code.launchpad.net/~goneri/cloud-init/+git/cloud-init/+merge/36850816:32
GoneriNo active merge request yet because it depends on the two actives PR that I just mentioned16:32
Gonerithis patch brings NetBSD support (7 and 8)16:32
GoneriI would like to work on OpenBSD later, but it's still a low priority16:33
rharperGoneri: thanks for the update16:34
Gonerifinally, I've a bunch of scripts that I use to build my images16:34
Goneriit's still rather raw, but I would like to integrate that at some point with your CI16:35
Gonerithat's all16:35
rharperthanks16:35
rharper#topic In Progress Development16:36
rharper#link https://code.launchpad.net/~tribaal/cloud-init/+git/cloud-init/+merge/36951616:36
rharperAdding a new datasource for Exoscale16:36
rharper#link https://code.launchpad.net/~xiaofengw/cloud-init/+git/cloud-init/+merge/36788916:36
rharpervmware user-defined-scripts16:36
rharper#link https://code.launchpad.net/~daniel-thewatkins/cloud-init/+git/cloud-init/+merge/36978316:37
rharperAllow datasources to configure the order of network-config sources16:37
rharper#link https://code.launchpad.net/~raharper/cloud-init/+git/cloud-init/+ref/feature/stage_threadpool16:37
Odd_BlokeI'm expecting to have a response to Ryan's review comments on that today, and whatever conclusion we reach shouldn't be too much work to implement.16:38
rharperdefinitely16:38
Odd_BlokeAnd then I'll have a follow-up to split apart the "cmdline" network data source in to "cmdline" and "initramfs", which are currently conflated.16:38
Odd_Bloke(Neither of these should cause behavioural changes, they're just setting us up for some data source work down the line.)16:39
rharperThe threadpool branch is a more general approach to handle running modules async from the mainthread;  there were some limitations depending on systemd;  and there is a desire for more than just disk_setup to run async;  this branch I'm working on would allow modules to be tagged async and they run in a separate thread allowing the next module to proceed; we then join at the end of stage to ensure completion of threads;16:40
rharperany other upstream development I'm missing?16:41
rharperok, I think that's it then;16:43
rharper#topic  Office Hours (next ~30 mins)16:43
rharperfeel free to ask for help, reviews, discussions on any cloud-init items you're looking at.16:43
metsukeIs Ubuntu the recommended, or most maintained, distribution of cloud-init?16:44
rharpermetsuke: hi; cloud-init in Ubuntu is the most-up-to-date as we're both the upstream maintainers (working for Canonical) and handle getting the latest upstream into Ubuntu images16:46
rharpermetsuke: we also help produce daily rpm builds for RedHat/Centos/Fedora in our copr repo16:47
rharper#link https://copr.fedorainfracloud.org/coprs/g/cloud-init/cloud-init-dev/16:47
rharper#link https://download.opensuse.org/repositories/Cloud:/Tools/16:48
rharpersuse's cloud:Tools keeps a really recent cloud-init as well16:48
metsukegreat, thanks for the info!16:48
rharpersure16:48
metsukeI'm looking to distribute standardized VMs to 100+ sites running ESXi so I'm trying to find the best way to do that =)16:49
Odd_Blokemetsuke: If you have any questions, please don't hesitate to ask in here; we're generally around US working hours, for reference.16:52
rharperyes, cloud-init can help keep your base image generic, allowing customization to happen at boot time;16:53
metsukethanks, I'm trying to do some preliminary investigation so I have an intelligent question to ask =P16:53
rharper#endmeeting17:15
meetingologyMeeting ended Mon Jul 22 17:15:54 2019 UTC.17:15
meetingologyMinutes:        http://ubottu.com/meetingology/logs/cloud-init/2019/cloud-init.2019-07-22-16.15.moin.txt17:15
rharperThanks everyone !17:16
Odd_BlokeYes, thanks folks!17:24
Odd_Blokerharper: https://code.launchpad.net/~daniel-thewatkins/cloud-init/+git/cloud-init/+merge/369783 <-- I have hopefully responded properly to your comment here, let me know if you have any questions!18:16
rharperOdd_Bloke: thanks!18:29
AhosmanMSFTHi I'm Ahmed from Microsoft. I'd like to get more information on cloud testing with cloud init?19:09
meenaAhosmanMSFT: testing, what, exactly?19:10
AhosmanMSFTupstream cloud tests19:11
AhosmanMSFThttps://cloudinit.readthedocs.io/en/latest/topics/tests.html19:12
rharperAhosmanMSFT: hi19:12
rharperAhosmanMSFT: I think the platforms is the most interesting part19:13
rharperif you look at tests/cloud_tests/platforms/ec2/platofrm.py ; for Azure, you'd need a platform subclass which talks Azure API to implemeant each of the platform methods19:14
rharperthat's mostly image related and then handling the instance creation/destruction in instance.py for the platform.19:15
AhosmanMSFTrharper I see, so the base code is there it just needs to be inherited by us19:17
rharperAhosmanMSFT: yeah; the structure of the tests framework is there, you'd be adding a new platform,19:18
rharperthe basic flow is 1) get an image 2) boot it  3) copy in the cloud-init package to be installed/upgraded  4) install test cloud-init package 5) clean-up  6) shutdown and capture image for boot;19:19
rharperthis is saved as a snapshot image; and then the collect phase boots the snapshot for each test-case we have; and then waits to ssh'in and collect output;19:20
rharperand the verify stage runs the unittests against the collected data;19:20
AhosmanMSFTrharper: Thanks, trying this now. Can I contact you for assistance?19:30
Odd_BlokeAhosmanMSFT: Feel free to ping rharper or myself if you need anything.19:33
AhosmanMSFTOdd_Bloke: 👍19:33
metsukedoes cloud-init directly compare to hashicorp's Packer for its base functionality?  I'm trying to get a sense of scope of features and use case.20:55
rharperhttps://events.linuxfoundation.org/wp-content/uploads/2017/12/cloud-init-The-cross-cloud-Magic-Sauce-Scott-Moser-Chad-Smith-Canonical.pdf20:56
rharpermetsuke: ^^20:57
rharpermetsuke: I would say that packer creates custom _images_ where as cloud-init customizes _instances_ ;  starting with a generic image, at _runtime_ you pass in user-data/configuration and cloud-init helps customize that instances consistently (allowing a common image and config to run the same on many platforms)20:58
metsukeInteresting. So does cloud-init need access to the platform that the images are being spun up on?20:59
metsukeor rather, are you executing cloud-init in the same network in which your VM platform resides (including cloud)?21:00
Odd_Blokemetsuke: cloud-init runs within the instance.21:02
Odd_BlokeSo during boot, it will run, determine which platform it is on, gather configuration from various sources, and then apply that configuration.21:03
metsukehm, that's kind of backwards from the other model.  Cool21:04
AhosmanMSFTFor the files __init__.py, image, instance, platform and snapshot.py in cloud_tests. Should I work on these in any specific order, since some of the files depend on others. Also after implementing the files, what would be the next steps?21:04
Odd_BlokeAhosmanMSFT: So I haven't written a cloud test platform myself, so take this with a grain of salt, but I think you're going to need to work on them all together.  That said, I would do this by working out a cloud_tests command line that works, changing the platform to "azure" and then iterating on the missing pieces reported by the framework.  (I _expect_ that would go in the order platform, image,21:17
Odd_Blokesnapshot, instance based on reading cloud_tests/collect.py.)21:17
Odd_BlokeSo, for example, `tox -e citest -- tree_run --verbose --os-name bionic --preserve-data --data-dir ~/scratch/citest --platform lxd --test-config tests/cloud_tests/testcases/modules/ntp.yaml` runs the NTP tests in lxd for me.  So I would change "lxd" to "azure" and see what happens, and then iterate.21:18
Odd_BlokeAhosmanMSFT: Is that a useful answer?  If not, I'll ping the folks with more domain knowledge. :)21:19
AhosmanMSFTThat helps. It would be great to get some more insight from them too.21:22
Odd_Blokerharper: powersj: Perhaps you can flesh out my answer to help AhosmanMSFT get started on Azure cloud tests?21:23
rharperOdd_Bloke: that's exactly where'd I'd start as well.21:51
powersjAhosmanMSFT, I would start with platform. That is how you setup how we interact with Azure. Any work that is needed before an instance is done goes there23:48
powersjAfter that, go after instance. There all the basic operations of start stop and getting the instance log23:48
powersjthen go to snapshot to generate a... snapshot of the instance :)23:49
powersjand finally image23:49
* powersj disappears for a while23:50

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